@turnkey/react-wallet-kit
Version:
The easiest and most powerful way to integrate Turnkey's Embedded Wallets into your React applications.
14 lines • 443 B
TypeScript
/**
* Generates a PKCE challenge pair (verifier and code challenge)
*/
export declare function generateChallengePair(): Promise<{
verifier: string;
codeChallenge: string;
}>;
/**
* Exchanges Facebook authorization code for token
*/
export declare function exchangeFacebookCodeForToken(clientId: string, redirectUri: string, code: string, codeVerifier: string): Promise<{
id_token: string;
}>;
//# sourceMappingURL=pkce.d.ts.map