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

express-jwt

Package Overview
Dependencies
Maintainers
5
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-jwt - npm Package Compare versions

Comparing version 3.0.1 to 3.1.0

4

package.json
{
"name": "express-jwt",
"version": "3.0.1",
"version": "3.1.0",
"description": "JWT authentication middleware.",

@@ -38,3 +38,3 @@ "keywords": [

"async": "^0.9.0",
"express-unless": "0.0.0",
"express-unless": "^0.3.0",
"jsonwebtoken": "^5.0.0"

@@ -41,0 +41,0 @@ },

@@ -50,4 +50,6 @@ # express-jwt

This is especially useful when applying to multiple routes.
This is especially useful when applying to multiple routes. In the example above, `path` can be a string, a regexp, or an array of any of those.
> For more details on the `.unless` syntax including additional options, please see [express-unless](https://github.com/jfromaniello/express-unless).
This module also support tokens signed with public/private key pairs. Instead of a secret, you can specify a Buffer with the public key

@@ -98,3 +100,3 @@

var data = require('./data');
var utilities = requre('./utilities');
var utilities = require('./utilities');

@@ -127,3 +129,3 @@ var secretCallback = function(req, payload, done){

* `err` (`Any`) - The error that occurred.
* `secret` (`Boolean`) - `true` if the JWT is revoked, `false` otherwise.
* `revoked` (`Boolean`) - `true` if the JWT is revoked, `false` otherwise.

@@ -134,3 +136,3 @@ For example, if the `(iss, jti)` claim pair is used to identify a JWT:

var data = require('./data');
var utilities = requre('./utilities');
var utilities = require('./utilities');

@@ -191,3 +193,3 @@ var isRevokedCallback = function(req, payload, done){

## Contributors
Check them our [here](https://github.com/auth0/express-jwt/graphs/contributors)
Check them out [here](https://github.com/auth0/express-jwt/graphs/contributors)

@@ -194,0 +196,0 @@ ## License

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