Please note that in order to use these hooks you must be in
a component (you can't use them directly from a callback function).
Anyhow, callbacks usually include a
FireCMSContext, which includes all
For state and operations regarding authentication.
The props provided by this context are:
userThe Firebase user currently logged in or null
authProviderErrorError dispatched by the auth provider
authLoadingIs the login process ongoing
loginSkippedIs the login skipped
notAllowedErrorThe current user was not allowed access