Sign in

Type: AuthenticationState

Authentication State returned by useAuth hook.

Properties

PropertyTypeDescription
error?ErrorError encountered during authentication, if any.
isAuthenticatedbooleanFlag indicating if the user is authenticated.
isLoadingbooleanFlag indicating if the authentication state is still loading.
refetch(refresh?: boolean) => voidFunction to refetch the authentication state.
user?MonoCloudUserThe authenticated user's information, if available.
© 2024 MonoCloud. All rights reserved.