deno.land / x / oauth4webapi@v1.2.2 / docs / functions / introspectionRequest.md

introspectionRequest.md

Function: introspectionRequest

💗 Help the project

â–¸ introspectionRequest(as, client, token, options?): Promise<Response>

Performs an Introspection Request at the as.introspection_endpoint.

see RFC 7662 - OAuth 2.0 Token Introspection

see draft-ietf-oauth-jwt-introspection-response-12 - JWT Response for OAuth Token Introspection

Parameters

Name Type Description
as AuthorizationServer Authorization Server Metadata.
client Client Client Metadata.
token string Token to introspect. You can provide the token_type_hint parameter via options.
options? IntrospectionRequestOptions -

Returns

Promise<Response>

oauth4webapi

Version Info

Tagged at
2 years ago