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.
• optional
[customFetch]: (input
, init
?) => Promise
<Response
>
See customFetch.
Parameter | Type |
---|---|
input |
RequestInfo | URL |
init ? |
RequestInit |
• optional
[useMtlsAlias]: boolean
See useMtlsAlias.
• optional
additionalParameters: Record
<string
, string
> | URLSearchParams
| string
[][]
Any additional parameters to send. This cannot override existing parameter values.
• optional
clientPrivateKey: CryptoKey
| PrivateKey
Private key to use for private_key_jwt
client authentication. Its algorithm must be compatible with
a supported JWS alg
Algorithm.
• optional
headers: Record
<string
, string
> | [string
, string
][] | Headers
Headers to additionally send with the HTTP request(s) triggered by this function's invocation.
• optional
requestJwtResponse: boolean
Request a JWT Response from the
as.introspection_endpoint
. Default is
- True when
client.introspection_signed_response_alg
is set - False otherwise
• optional
signal: AbortSignal
| () => AbortSignal
An AbortSignal instance, or a factory returning one, to abort the HTTP request(s) triggered by this function's invocation.
A 5000ms timeout AbortSignal for every request
const signal = () => AbortSignal.timeout(5_000) // Note: AbortSignal.timeout may not yet be available in all runtimes.