Skip to main content

Function: captureProviderConnectionState()

captureProviderConnectionState(args: { ctx: ProviderConnectionContext; includeGoogleDriveAccountLabel?: boolean; tokenStorageKey: string; }): Promise<ProviderConnectionStateSnapshot>

Defined in: electron/services/cloud/internal/providerConnectionState.ts:29

Captures provider connection state so failed connect attempts can roll back to a consistent previous configuration.

Parameters

args

ctx

ProviderConnectionContext

includeGoogleDriveAccountLabel?

boolean

tokenStorageKey

string

Returns

Promise<ProviderConnectionStateSnapshot>