(): T | null
Auth User Data React Hook
Call the hook, to get the authenticated user data into your React Component
This uses the context data to determine the user data
|Type of User State Object
React Hook with user state functionality.
If the user is authenticated, then user data is returned.
If the user is not authenticated, then
null is returned.
AuthError Thrown if the Hook is used outside the Provider Scope.
— 🔑 —
React Auth Kit is MIT License code