Go to developer

SDKs / typescript / oauth

exchangeAuthorizationCode()

SERVERmethod@keyra/typescript-sdk

Exchanges authorization code + PKCE verifier for access_token. Use access_token as verification_token for validateVerification.

Signature

TypeScript
exchangeAuthorizationCode(input: ExchangeAuthorizationCodeInput): unknown

Parameters

ParameterTypeRequiredDescription
inputExchangeAuthorizationCodeInputRequired

Returns

unknown

Underlying API