Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oauth4webapi/mod.ts>processRevocationResponse

OAuth 2 / OpenID Connect for JavaScript Runtimes
Go to Latest
function processRevocationResponse
import { processRevocationResponse } from "https://deno.land/x/oauth4webapi@v2.8.0/mod.ts";

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

Parameters

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.