Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 1.72 KB

File metadata and controls

32 lines (20 loc) · 1.72 KB

Function: revocationRequest()

💗 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

Parameter Type Description
as AuthorizationServer Authorization Server Metadata.
client Client Client Metadata.
clientAuthentication ClientAuth Client Authentication Method.
token string Token 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