Skip to content

Commit

Permalink
docs: added caching clarification to createRemoteJWKSet
Browse files Browse the repository at this point in the history
  • Loading branch information
tabarra authored Jan 22, 2022
1 parent 7cb8af4 commit 1039bcd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/jwks/remote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,9 @@ interface URL {
* remote endpoint returning a JSON Web Key Set, that is, for example,
* an OAuth 2.0 or OIDC jwks_uri. Only a single public key must match
* the selection process.
* The JSON Web Key Set is fetched when no key matches the selection
* process but only as frequently as the `cooldownDuration` option allows,
* to prevent abuse.
*
* @param url URL to fetch the JSON Web Key Set from.
* @param options Options for the remote JSON Web Key Set.
Expand Down

0 comments on commit 1039bcd

Please sign in to comment.