The type returned by the useAuth hook.
The Firebase Auth instance used by FirebaseLogin.
The user's claims, including standard and custom claims.
A callback function that allows the user to sign in even though they are already authenticated. Calling this will display the login UI with a "close" button that is not normally shown.
If the link argument is true, the provider account they use will be
linked to the current user. However, if the provider account is already
linked to a Firebase user, the user will be shown an error.
If link is false or not given, the user is just signed out of the
current user account and signed in to the new one.
Most commonly this is used to convert an anonymously authenticated user to a fully logged in user.
The User object for the current user.
A hook that provides access to the user's authentication state.
This hook can only be used within a FirebaseLogin component. The values it provides are therefore always valid. If called from outside a FirebaseLogin component, an exception will be thrown.