isLoggedInStateFlow
Handle the authentication flow initially to check whether the user is authenticated or not.
emit: AuthenticationState.Loading - The application is in the process of loading the authentication state
emit: AuthenticationState.Authenticated - The user is authenticated to access the application
emit: AuthenticationState.Initial - The user is not authenticated to access the application
emit: AuthenticationState.Error - An error occurred during the authentication process
Parameters
context
The context of the application