Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/npm_and_yarn/examples/passport-…
Browse files Browse the repository at this point in the history
…demo/passport-0.6.0
  • Loading branch information
adamjmcgrath authored Oct 7, 2022
2 parents f2888bb + d8992ad commit cb38250
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 26 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ const signingKey = key.getPublicKey();
- `requestHeaders`: (_optional_) an object of headers to pass to the request
- `requestAgent`: (_optional_) a Node `http.Agent` to be passed to the http(s) request
- `getKeysInterceptor`: (_optional_) a promise returning function hook [(details)](#loading-keys-from-local-file-environment-variable-or-other-externals)
- `cacheMaxAge`: (_optional_) the duration for which to store a cached JWKS in ms (default 600,000 or 10 minutes)
- `jwksRequestsPerMinute`: (_optional_) max number of requests allowed to the JWKS URI per minute (defaults to 10)

### Caching

Expand Down
52 changes: 29 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
"node": ">=10 < 13 || >=14"
},
"dependencies": {
"@types/express": "^4.17.13",
"@types/jsonwebtoken": "^8.5.8",
"@types/express": "^4.17.14",
"@types/jsonwebtoken": "^8.5.9",
"debug": "^4.3.4",
"jose": "^2.0.6",
"limiter": "^1.1.5",
Expand All @@ -37,7 +37,7 @@
"mocha": "^6.2.3",
"nock": "^13.0.0",
"nyc": "^15.1.0",
"passport": "^0.4.1",
"passport": "^0.6.0",
"passport-jwt": "^4.0.0",
"rimraf": "^2.7.1",
"supertest": "^3.4.2",
Expand Down

0 comments on commit cb38250

Please sign in to comment.