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.
Options for the remote JSON Web Key Set.
• optional [customFetch]: FetchImplementation
See customFetch.
• optional [jwksCache]: JWKSCacheInput
See jwksCache.
• optional cacheMaxAge: number
Maximum time (in milliseconds) between successful HTTP requests. Default is 600000 (10 minutes).
• optional cooldownDuration: number
Duration (in milliseconds) for which no more HTTP requests will be triggered after a previous successful fetch. Default is 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. Default is 5000 (5 seconds).