Functions
Function: useAuth
react-autonomy.useAuth
▸ useAuth<T>(): UseAuth<T>
The useAuth hook returns information about the current authentication session, and functions for logging in and logging out. Chord's preferred authentication provider is Magic through our chord-magic package.
Name | Type |
---|---|
T | extends AuthClient<any, T> = any |
UseAuth<T>