hapi-auth-jwt2
Advanced tools
Comparing version 4.3.0 to 4.3.1
{ | ||
"name": "hapi-auth-jwt2", | ||
"version": "4.3.0", | ||
"version": "4.3.1", | ||
"description": "Hapi.js Authentication Plugin/Scheme using JSON Web Tokens (JWT)", | ||
@@ -32,2 +32,3 @@ "main": "lib/index.js", | ||
"devDependencies": { | ||
"aguid": "^1.0.3", | ||
"hapi": "^8.4.0", | ||
@@ -38,2 +39,3 @@ "codeclimate-test-reporter": "0.0.4", | ||
"pre-commit": "^1.0.6", | ||
"redis": "^0.12.1", | ||
"tap-spec": "^3.0.0", | ||
@@ -51,3 +53,4 @@ "tape": "^4.0.0" | ||
"codeclimate": "CODECLIMATE_REPO_TOKEN=1f00e2891b3e24ed11bb9b22a8a4793c55c5470d60e859389a0c3dd24220df46 ./node_modules/codeclimate-test-reporter/bin/codeclimate.js < ./coverage/lcov.info", | ||
"start":"node example/server.js" | ||
"start": "node example/server.js", | ||
"report":"open coverage/lcov-report/index.html" | ||
}, | ||
@@ -54,0 +57,0 @@ "pre-commit": [ |
@@ -9,2 +9,3 @@ # Hapi Auth with JSON Web Tokens (JWT) | ||
[](https://codeclimate.com/github/ideaq/hapi-auth-jwt2) | ||
[](https://www.bithound.io/github/ideaq/hapi-auth-jwt2) | ||
[")](https://david-dm.org/ideaq/hapi-auth-jwt2) | ||
@@ -153,2 +154,19 @@ [](http://nodejs.org/download/) | ||
### Production-ready Example using Redis? | ||
Redis is *perfect* for storing session data that needs to be checked | ||
on every authenticated request. | ||
If you are unfamiliar with Redis or anyone on your team needs a refresher, | ||
please checkout: https://github.com/docdis/learn-redis | ||
The ***code*** is in: **example/real_world_example_using_redis_on_heroku.js** | ||
(snappy name, right?) | ||
and corresponding ***tests*** in **test/real_world_example.js** | ||
feel free to inspect, use, or ask additional questions if unclear. | ||
Having a more real-world example was *seconded* by [@manonthemat](https://github.com/manonthemat) see: | ||
[hapi-auth-jwt2/issues/9](https://github.com/ideaq/hapi-auth-jwt2/issues/9) | ||
## Documentation | ||
@@ -190,11 +208,3 @@ | ||
<!-- | ||
# Production Ready Example Code | ||
redis://rediscloud:OhEJHaKRrjWvSgna@pub-redis-10689.eu-west-1-2.1.ec2.garantiadata.com:10689 | ||
--> | ||
======= | ||
This feature was requested in: [issues/29](https://github.com/ideaq/hapi-auth-jwt2/issues/29) | ||
- - - | ||
@@ -201,0 +211,0 @@ |
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
39911
15
702
278
9
7