Skip to content

Latest commit

 

History

History
59 lines (33 loc) · 2.04 KB

ValidateDetachedSignatureResponseOptions.md

File metadata and controls

59 lines (33 loc) · 2.04 KB

Interface: ValidateDetachedSignatureResponseOptions

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


Properties

[customFetch]()?

optional [customFetch]: (input, init?) => Promise<Response>

See customFetch.

Parameters

Parameter Type
input RequestInfo | URL
init? RequestInit

Returns

Promise<Response>


[experimental_jwksCache]?

optional [experimental_jwksCache]: JWKSCacheInput

See experimental_jwksCache.


headers?

optional headers: Record<string, string> | [string, string][] | Headers

Headers to additionally send with the HTTP request(s) triggered by this function's invocation.


signal?

optional signal: AbortSignal | () => AbortSignal

An AbortSignal instance, or a factory returning one, to abort the HTTP request(s) triggered by this function's invocation.

Example

A 5000ms timeout AbortSignal for every request

const signal = () => AbortSignal.timeout(5_000) // Note: AbortSignal.timeout may not yet be available in all runtimes.