Skip to content

Latest commit

 

History

History
67 lines (40 loc) · 2 KB

jwks_remote.RemoteJWKSetOptions.md

File metadata and controls

67 lines (40 loc) · 2 KB

Interface: RemoteJWKSetOptions

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.

Table of contents

Properties

Properties

agent

Optional agent: any

An instance of http.Agent or https.Agent to pass to the http.get or https.get method's options. Use when behind an http(s) proxy. This is a Node.js runtime specific option, it is ignored when used outside of Node.js runtime.


cacheMaxAge

Optional cacheMaxAge: number

Maximum time (in milliseconds) between successful HTTP requests. Default is 600000 (10 minutes).


cooldownDuration

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).


headers

Optional headers: Record<string, string>

Optional headers to be sent with the HTTP request.


timeoutDuration

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).