useAuth
Manage user authentication with functions such as connect, logout, and retrieve access token.
Connect Users
Use the connect()
function to handle user sign-ups and sign-ins. When a user signs up, a wallet is created for them behind the scenes and becomes immediately available upon completion of the sign-up process. To modify the login options, simply visit the tweed.
Logout users
To logout users from the application, call the logout function.
Get user access token
Get the user access token (JWT)
Verify if the user is logged in
Last updated