Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/oauth4webapi/mod.ts>processRevocationResponse

Low-Level OAuth 2 / OpenID Connect Client API for JavaScript Runtimes
Latest
function processRevocationResponse
import { processRevocationResponse } from "https://deno.land/x/oauth4webapi@v2.17.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.