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

processRevocationResponse.md

Function: processRevocationResponse

💗 Help the project

â–¸ processRevocationResponse(response): Promise<undefined | OAuth2Error>

Validates Response instance to be one coming from the as.revocation_endpoint.

see RFC 7009 - OAuth 2.0 Token Revocation

Parameters

Name Type Description
response Response Resolved value from revocationRequest.

Returns

Promise<undefined | OAuth2Error>

Resolves with undefined when the request was successful, or an object representing an OAuth 2.0 protocol style error.

oauth4webapi

Version Info

Tagged at
2 years ago