Skip to Content
SdkClientInternalFunctionspostAuthOauthByProviderExchange

postAuthOauthByProviderExchange

postAuthOauthByProviderExchange<ThrowOnError>(options: Options<PostAuthOauthByProviderExchangeData, ThrowOnError>): RequestResult<PostAuthOauthByProviderExchangeResponses, PostAuthOauthByProviderExchangeErrors, ThrowOnError>

Defined in: src/client/sdk.gen.ts:466 

Exchange authorization code for tokens

Exchanges an OAuth authorization code for access and refresh tokens

Type Parameters

Type ParameterDefault type

ThrowOnError extends boolean

false

Parameters

ParameterType

options

Options<PostAuthOauthByProviderExchangeData, ThrowOnError>

Returns

RequestResult<PostAuthOauthByProviderExchangeResponses, PostAuthOauthByProviderExchangeErrors, ThrowOnError>

Last updated on