import { authorizationCodeGrantRequest } from "https://deno.land/x/oauth4webapi@v3.1.2/mod.ts";
Performs an Authorization Code grant request at the
AuthorizationServer.token_endpoint | as.token_endpoint
.
Parameters
Authorization Server Metadata.
client: Client
Client Metadata.
clientAuthentication: ClientAuth
Client Authentication Method.
callbackParameters: URLSearchParams
Parameters obtained from the callback to redirect_uri, this is returned from validateAuthResponse, or validateJwtAuthResponse.
optional
options: TokenEndpointRequestOptions