Function: revocationRequest()

August 29, 2025 ยท View on GitHub

๐Ÿ’— 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.


โ–ธ revocationRequest(as, client, clientAuthentication, token, options?): Promise<Response>

Performs a Revocation Request at the as.revocation\_endpoint.

Parameters

ParameterTypeDescription
asAuthorizationServerAuthorization Server Metadata.
clientClientClient Metadata.
clientAuthenticationClientAuthClient Authentication Method.
tokenstringToken to revoke. You can provide the token_type_hint parameter via options.
options?RevocationRequestOptions-

Returns

Promise<Response>

Resolves with a Response to then invoke processRevocationResponse with

See

RFC 7009 - OAuth 2.0 Token Revocation