Skip to content

Commit f6b15a6

Browse files
authoredOct 7, 2022
Merge branch 'master' into dependabot/npm_and_yarn/passport-0.6.0
2 parents bcf9b57 + 0602619 commit f6b15a6

File tree

3 files changed

+18
-16
lines changed

3 files changed

+18
-16
lines changed
 

‎README.md

+2
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ const signingKey = key.getPublicKey();
5050
- `requestHeaders`: (_optional_) an object of headers to pass to the request
5151
- `requestAgent`: (_optional_) a Node `http.Agent` to be passed to the http(s) request
5252
- `getKeysInterceptor`: (_optional_) a promise returning function hook [(details)](#loading-keys-from-local-file-environment-variable-or-other-externals)
53+
- `cacheMaxAge`: (_optional_) the duration for which to store a cached JWKS in ms (default 600,000 or 10 minutes)
54+
- `jwksRequestsPerMinute`: (_optional_) max number of requests allowed to the JWKS URI per minute (defaults to 10)
5355

5456
### Caching
5557

‎package-lock.json

+14-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
"node": ">=10 < 13 || >=14"
1313
},
1414
"dependencies": {
15-
"@types/express": "^4.17.13",
16-
"@types/jsonwebtoken": "^8.5.8",
15+
"@types/express": "^4.17.14",
16+
"@types/jsonwebtoken": "^8.5.9",
1717
"debug": "^4.3.4",
1818
"jose": "^2.0.6",
1919
"limiter": "^1.1.5",

0 commit comments

Comments
 (0)
Please sign in to comment.