A custom hook to access the authentication context. Throws an error if used outside of an AuthProvider.
The authentication context values (user and loading state).
If used outside of an AuthProvider.
A custom hook to access the authentication context. Throws an error if used outside of an AuthProvider.