docs/jwks/remote/interfaces/RemoteJWKSetOptions.md
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.
Remote JWKS resolver options.
⢠optional [customFetch]?: FetchImplementation
See customFetch.
⢠optional [jwksCache]?: JWKSCacheInput
See jwksCache.
⢠optional cacheMaxAge?: number
Maximum age of cached keys in milliseconds. Defaults to 600000 (10 minutes); Infinity
disables expiry. Must not be NaN.
⢠optional cooldownDuration?: number
Time in milliseconds after a successful fetch before a missing key can trigger another fetch.
Must not be NaN. Defaults to 30000 (30 seconds).
⢠optional headers?: Record<string, string>
Headers to be sent with the HTTP request.
⢠optional timeoutDuration?: number
Timeout (in milliseconds) for the HTTP request. When reached the request will be aborted and the verification will fail. Must be a non-negative integer. Default is 5000 (5 seconds).