Skip to Content

migrateDriveToken

migrateDriveToken(walletAddress: string): Promise<boolean>

Defined in: src/lib/auth/google-drive.ts:570 

Migrate unencrypted Drive tokens to encrypted storage. Call this when a wallet address and encryption key become available after the initial OAuth flow.

Parameters

ParameterType

walletAddress

string

Returns

Promise<boolean>

true if migration occurred, false otherwise

Last updated on