Package: react-wallet-kit
Defined in: react-wallet-kit/src/providers/client/Types.tsx:212
openInPage
parameter.state
parameter includes the provider, flow type, public key, and any additional state parameters for tracking or custom logic.openInPage
is true, the current page is redirected to the Google OAuth URL and the function returns a promise that resolves on redirect or times out after 5 minutes.openInPage
is false, a popup window is opened for the OAuth flow, and the function returns a promise that resolves when the flow completes or rejects if the window is closed or times out.onOauthSuccess
callback, triggers the onOauthRedirect
callback from provider callbacks, or completes the OAuth flow internally by calling completeOauth
.TurnkeyError
with appropriate error codes.