blocs/authentication/authentication_bloc library

Classes

AppUserSwitchEmailEvent
Toggles the user's email notification preference.
AppUserSwitchNotificationEvent
Toggles the user's push notification preference.
AuthenticationBloc
Manages user authentication flows and state transitions.
AuthenticationErrorEvent
Reports an authentication error.
AuthenticationErrorState
State representing an authentication error.
AuthenticationEvent
Base class for all authentication-related events.
AuthenticationInitializeEvent
Initializes the authentication flow and resets to the login screen.
AuthenticationInitialState
Initial state before any authentication has been attempted.
AuthenticationLogoutState
State indicating the user has logged out.
AuthenticationProcessingEvent
Indicates that an authentication action is currently being processed.
AuthenticationProcessingState
State indicating an authentication operation is in progress.
AuthenticationState
Base class for all authentication states.
LoginWithAppleEvent
Triggers Apple ID sign-in flow.
LoginWithGoogleEvent
Triggers Google OAuth sign-in flow.
LoginWithMicrosoftEvent
Triggers Microsoft OAuth (Azure AD) sign-in flow.
LoginWithMultipleTenantsEvent
Transitions to tenant selection when user has multiple tenant access.
LoginWithPasswordEvent
Triggers email and password authentication.
LoginWithSavedLoginEvent
Triggers biometric authentication using saved credentials.
LoginWithSelectedTenantEvent
Completes authentication by selecting a specific tenant.
UpdateAppUserProfileEvent
Updates the current user's profile information.
UserAuthenticatedState
State representing a successfully authenticated user.
UserAuthenticatedWithMultipleTenantsState
State when user is authenticated but has access to multiple tenants.
UserAuthenticatedWithSelectedTenantState
Fully authenticated state with both user and tenant information.
UserLogoutEvent
Triggers user logout and clears the current session.
UsingSavedAuthenticationEvent
Restores a previously saved authentication session.

Enums

AuthenticationAction
Represents the different authentication actions that can be performed.