Package: react-wallet-kit
Defined in: react-wallet-kit/src/providers/client/Types.tsx:111
Overview
Handles the login or sign-up flow.- This function opens a modal with the AuthComponent, allowing the user to log in or sign up using any enabled authentication method (Passkey, Wallet, OTP, or OAuth).
- It automatically determines available authentication methods based on the current provider configuration and proxy settings.
- The modal-driven flow guides the user through the appropriate authentication steps, including social login if enabled.
- After successful authentication, the provider state is updated and all relevant session, user, and wallet data are refreshed.
- This function is typically used to trigger authentication from a UI button or navigation event.
Parameters
Response
A successful response returns the following fields:A void promise.