Skip to Content

migrateGithubToken

migrateGithubToken(walletAddress: string): Promise<boolean>

Defined in: src/lib/auth/github.ts:575 

Migrate unencrypted GitHub 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