Skip to Content

migrateCalendarToken

migrateCalendarToken(walletAddress: string): Promise<boolean>

Defined in: src/lib/auth/google-calendar.ts:573 

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

Returns true if migration was performed (or already complete), false otherwise.

Parameters

ParameterType

walletAddress

string

Returns

Promise<boolean>

Last updated on