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

x/oauth4webapi/mod.ts>processGenericTokenEndpointResponse

Low-Level OAuth 2 / OpenID Connect Client API for JavaScript Runtimes
Latest
function processGenericTokenEndpointResponse
import { processGenericTokenEndpointResponse } from "https://deno.land/x/oauth4webapi@v3.1.2/mod.ts";

Validates Token Endpoint !Response instance to be one coming from the AuthorizationServer.token_endpoint | as.token_endpoint.

Parameters

Authorization Server Metadata.

client: Client

Client Metadata.

response: Response

Resolved value from genericTokenEndpointRequest.

optional
options: JWEDecryptOptions