DOCS

Auth

Hooks provided to login, logout and get the user information. These hooks will use the domains setup in the authConfig defined in the ThirdwebProvider.

HooksDescription
useLoginUsed to securely login to a backend with the connected wallet
useLogoutUsed to logout the connected wallet from the backend.
useUserUsed to get the currently logged in user.