jose/docs/interfaces/jwks_remote.RemoteJWKSetOptions.md
2021-09-02 18:54:46 +02:00

1.6 KiB

Interface: RemoteJWKSetOptions

jwks/remote.RemoteJWKSetOptions

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.

Defined in

jwks/remote.ts:61


cooldownDuration

Optional cooldownDuration: number

Duration for which no more HTTP requests will be triggered after a previous successful fetch. Default is 30000.

Defined in

jwks/remote.ts:50


timeoutDuration

Optional timeoutDuration: number

Timeout for the HTTP request. When reached the request will be aborted and the verification will fail. Default is 5000.

Defined in

jwks/remote.ts:44