Skip to content

Commit 0602619

Browse files
authoredOct 7, 2022
Merge pull request #327 from auth0/adamjmcgrath-patch-2
Update README.md
2 parents f023862 + bdf4f0c commit 0602619

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
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

0 commit comments

Comments
 (0)
Please sign in to comment.