Skip to main content
Module

x/oauth4webapi/mod.ts>processRevocationResponse

OAuth 2 / OpenID Connect for Web Platform API JavaScript runtimes
Go to Latest
function processRevocationResponse
import { processRevocationResponse } from "https://deno.land/x/oauth4webapi@v2.3.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.