Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

redis.auth

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redis.auth - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

.nyc_output/22875.json

1

index.js

@@ -48,2 +48,3 @@ //Global variables

redis.get(req.headers[config.header], function(err,response) {
req.auth = response
if (err) {

@@ -50,0 +51,0 @@ if (config.returnError == true) {

2

package.json
{
"name": "redis.auth",
"version": "0.2.0",
"version": "0.2.1",
"description": "A non prescriptive Redis Authentication module for Express",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -61,2 +61,3 @@ [![Build Status](https://travis-ci.org/ChrisCates/redis.auth.svg?branch=master)](https://travis-ci.org/ChrisCates/redis.auth)

```
req.auth = {Redis Object}
return res.status(403).send({

@@ -72,2 +73,3 @@ "error": true,

```
req.auth = {Redis Object}
//Sets these variables in req so you can check for them on your own

@@ -74,0 +76,0 @@ req.error = true

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc