▸ authorizationCodeGrantRequest(as
, client
, callbackParameters
, redirectUri
, codeVerifier
, options?
): Promise
<Response
>
Performs an Authorization Code grant request at the
as.token_endpoint
.
Name | Type | Description |
---|---|---|
as |
AuthorizationServer |
Authorization Server Metadata. |
client |
Client |
Client Metadata. |
callbackParameters |
URLSearchParams |
Parameters obtained from the callback to redirect_uri, this is returned from validateAuthResponse, or validateJwtAuthResponse. |
redirectUri |
string |
redirect_uri value used in the authorization request. |
codeVerifier |
string |
PKCE code_verifier to send to the token endpoint. |
options? |
TokenEndpointRequestOptions |
- |
See