Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 1.42 KB

getJwksCache.md

File metadata and controls

35 lines (23 loc) · 1.42 KB

Function: getJwksCache()

💗 Help the project

Support from the community to continue maintaining and improving this module is welcome. If you find the module useful, please consider supporting the project by becoming a sponsor.


▸ getJwksCache(config): ExportedJWKSCache | undefined

Exports the JSON Web Key Set cache used for signature validation.

This function can be used to export the JSON Web Key Set and the timestamp at which it was last fetched if the client used the authorization server's JWK Set to validate digital signatures.

This function is intended for cloud computing runtimes that cannot keep an in memory cache between their code's invocations. Use in runtimes where an in memory cache between requests is available is not desirable.

Note

The client only uses the authorization server's JWK Set when enableNonRepudiationChecks, useJwtResponseMode, useCodeIdTokenResponseType, or useIdTokenResponseType is used.

Parameters

Parameter Type
config Configuration

Returns

ExportedJWKSCache | undefined