postApiV1ConnectorsImport
postApiV1ConnectorsImport<
ThrowOnError>(options:Options<PostApiV1ConnectorsImportData,ThrowOnError>):RequestResult<PostApiV1ConnectorsImportResponses,PostApiV1ConnectorsImportErrors,ThrowOnError>
Defined in: src/client/sdk.gen.ts:792Â
Import a browser-resident refresh token into the vault
Silent-migration entry point for users with existing browser-resident OAuth tokens. The portal verifies the refresh token against the upstream provider (capturing any rotation) and persists it in connector_credentials only if no active row exists. Invalid tokens return 400 invalid_grant; the client should clear localStorage and prompt the user to reconnect.
Type Parameters
| Type Parameter | Default type |
|---|---|
|
|
|
Parameters
| Parameter | Type |
|---|---|
|
|
|
Returns
RequestResult<PostApiV1ConnectorsImportResponses, PostApiV1ConnectorsImportErrors, ThrowOnError>