Constructor needs NetworkType passing as parameter.
AuthProvider provides all methods to handle authentication actions.
CookieProvider provides all methods to handle cookie actions.
OAuthProvider provides all methods to handle fetching/patching oauth data.
Storage provides all methods to handle storage actions.
UserProvider provides all methods to handle fetching/patching user data.
Connect Discord account to current UID using Discord exchange code.
Connect new email to UID
Connect new wallet to UID
Check whether a user is logged in
Check whether a wallet address is existed
Log user out of current session. Also remove access token from storage.
The function to remove cookie credential
The function to remove credential
Send challenge data to server to confirm action
Connect new wallet to UID when forget/lost old wallets via email
Send otp verification via email
The function to modify/delete cookie credential
The function to modify/delete credential
Sign user in. Persist access token to storage.
Sign user in using Discord exchange code. Persist access token to storage.
Sign user up. Persist access token to storage.
Sign user up using Discord exchange code. Persist access token to storage.
Verify a wallet whether it belongs to current user or not.
Generated using TypeDoc
Export Actions