Package: react-wallet-kit
Defined in: react-wallet-kit/src/providers/client/Types.tsx:140
openInPage
parameter.sessionStorage
for later use in the token exchange.state
parameter encodes the provider name, flow type, ephemeral public key, and any additional key-value pairs provided in additionalState
.openInPage
is true, the current page is redirected to the OAuth URL and the function returns a promise that resolves on redirect or rejects after 5 minutes if no redirect occurs.openInPage
is false, a popup window is opened for the OAuth flow, and the function returns a promise that resolves when the OAuth code is captured or rejects if the popup is closed or times out.proxyOAuth2Authenticate
) using the PKCE verifier, redirect URI, and nonce.onOauthSuccess
callback, triggers the onOauthRedirect
callback from provider callbacks, or completes the OAuth flow internally by calling completeOauth
.TurnkeyError
with appropriate error codes.