OAuth2Client.validateAuthorizationCode()
Validates an authorization code for an access token. Pass codeVerifier
for PKCE.
Definitions
async function validateAuthorizationCode(
tokenEndpoint: string,
code: string,
codeVerifier: string | null
): Promise<OAuth2Tokens>;
Parameters
tokenEndpoint
code
codeVerifier