deno.land / x / oauth4webapi@v1.2.2 / docs / interfaces / IntrospectionRequestOptions.md

IntrospectionRequestOptions.md

Interface: IntrospectionRequestOptions

💗 Help the project

Table of contents

Properties

Properties

additionalParameters

• Optional additionalParameters: URLSearchParams

Any additional parameters to send. This cannot override existing parameter values.


clientPrivateKey

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


headers

• Optional headers: Headers

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


requestJwtResponse

• Optional requestJwtResponse: boolean

Request a JWT Response from the as.introspection_endpoint. Default is


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

Version Info

Tagged at
2 years ago