mirror of
https://github.com/hanzoai/passport-jwt.git
synced 2026-09-24 17:01:40 +00:00
Note: This is a breaking change to the API. See README.md for more info.
New Features:
Switch to using functions (extractors) for parsing JWT from request
Provide a number of commonly used extractors
Provide a versionOneCompatibility extractor to mimic legacy behavior
39 lines
1015 B
JSON
39 lines
1015 B
JSON
{
|
|
"name": "passport-jwt",
|
|
"version": "2.0.0",
|
|
"description": "Passport authentication strategy using JSON Web Tokens",
|
|
"main": "./lib",
|
|
"scripts": {
|
|
"test": "./node_modules/.bin/mocha --reporter spec --require test/bootstrap test/*test.js",
|
|
"testcov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter spec --require test/bootstrap test/*test.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/themikenicholson/passport-jwt.git"
|
|
},
|
|
"keywords": [
|
|
"Passport",
|
|
"Strategy",
|
|
"JSON",
|
|
"Web",
|
|
"Token",
|
|
"JWT"
|
|
],
|
|
"author": "Mike Nicholson",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/themikenicholson/passport-jwt/issues"
|
|
},
|
|
"homepage": "https://github.com/themikenicholson/passport-jwt",
|
|
"devDependencies": {
|
|
"chai": "^1.9.2",
|
|
"chai-passport-strategy": "^0.2.0",
|
|
"mocha": "^2.0.1",
|
|
"sinon": "^1.11.1"
|
|
},
|
|
"dependencies": {
|
|
"jsonwebtoken": "^5.0.0",
|
|
"passport-strategy": "^1.0.0"
|
|
}
|
|
}
|