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

x/oauth4webapi/mod.ts>revocationRequest

OAuth 2 / OpenID Connect for JavaScript Runtimes
Go to Latest
function revocationRequest
import { revocationRequest } from "https://deno.land/x/oauth4webapi@v2.8.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