Skip to main content
Module

x/oauth4webapi/mod.ts>revocationRequest

OAuth 2 / OpenID Connect for Web Platform API JavaScript runtimes
Go to Latest
function revocationRequest
import { revocationRequest } from "https://deno.land/x/oauth4webapi@v2.0.0/mod.ts";

Performs a Revocation Request at the AuthorizationServer.revocation_endpoint | as.revocation_endpoint.

Parameters

Authorization Server Metadata.

client: Client

Client Metadata.

token: string

Token to revoke. You can provide the token_type_hint parameter via RevocationRequestOptions.additionalParameters | options.

optional
options: RevocationRequestOptions