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.



JS


Type parameters

Name

Type

T

extends AuthClient<any, T> = any

Returns

UseAuth<T>

Defined in