Skip to Content
Anuma SDKClientInternalFunctionsgetConnectorsByProviderCallback

getConnectorsByProviderCallback

getConnectorsByProviderCallback<ThrowOnError>(options: Options<GetConnectorsByProviderCallbackData, ThrowOnError>): RequestResult<unknown, GetConnectorsByProviderCallbackErrors, ThrowOnError>

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

Upstream OAuth callback

Receives the authorization code from the upstream provider, atomically consumes the connect ticket, exchanges the code for tokens, and persists the encrypted refresh token. Redirects the browser back to ticket.return_to.

Type Parameters

Type ParameterDefault type

ThrowOnError extends boolean

false

Parameters

ParameterType

options

Options<GetConnectorsByProviderCallbackData, ThrowOnError>

Returns

RequestResult<unknown, GetConnectorsByProviderCallbackErrors, ThrowOnError>

Last updated on