import { genericTokenEndpointRequest } from "https://deno.land/x/oauth4webapi@v3.1.2/mod.ts";
Performs any Grant request at the AuthorizationServer.token_endpoint | as.token_endpoint
.
The purpose is to be able to execute grant requests such as Token Exchange Grant Type, JWT Bearer
Token Grant Type, or SAML 2.0 Bearer Assertion Grant Type.
Parameters
Authorization Server Metadata.
client: Client
Client Metadata.
clientAuthentication: ClientAuth
Client Authentication Method.
parameters: URLSearchParams | Record<string, string> | string[][]
optional
options: Omit<TokenEndpointRequestOptions, "additionalParameters">