authentication.presentation library Null safety
Presentation layer for Authentication feature.
Classes
- AppStarted
- The event that is triggered when app is started
- Authenticated
- Authenticated state : when the user is authenticated
- AuthenticationBloc
- Authentication bloc, Business logic component that manage AuthenticationState and handle AuthenticationEvent events Note: The SignInBloc and AuthenticationBloc has two different roles: AuthenticationBloc is used to manage authentication state of user in the whole application, while SignInBloc handle the state of the sign in operation at the sign in.
- AuthenticationEvent
- Abstract class to represent authentication events
- AuthenticationState
- Abstract class to represent authentication state
- ChangePasswordScreen
- Screen: Allows users to change the password
- CheckEmailScreen
- Screen: Is shown when a confirmation email has been sent
- ForgotPasswordScreen
- Screen: Is shown when the user wants to reset his password
- LoggedIn
- The event that is triggered when a user is successfully logged in
- LoggedOut
- The event that is triggered when a user is logged out
- RegisterBloc
- Register bloc, Business logic component that manage RegisterState and handle RegisterEvent events
- RegisterErrorState
- Error state: when the register operation fails
- RegisterEvent
- Abstract class to represent register events
- RegisterForm
- RegisterInitialState
- Initial state: the default state
- RegisterLoadingState
- Loading state: when the register operation is loading (in progress)
- RegisterScreen
- Screen: Allows the user to register an account
- RegisterState
- Abstract class to represent the registration operation
- RegisterSubmitEvent
- This event is triggered when the user submit the registration form
- RegisterSuccesfulState
- Successfuly state: when the user is registered successfully (new user is created)
- SignInBloc
- Sing in bloc, Business logic component that manage SignInState and handle SignInEvent events
- SignInErrorState
- SignInInitialState : error state if the sign in operation fails
- SignInEvent
- Abstract class to represent Sign in events
- SignInFinishedState
- SignInInitialState : Successful state if the user login successfully
- SignInForm
- SignInInitialState
- SignInInitialState : initial state of the sign in operation
- SignInPressed
- The event that is triggered when user tries to sign in using a username and a password
- SignInPressedFacebook
- The event that is triggered when user tries to sign in using Facebook provider
- SignInPressedGoogle
- The event that is triggered when user tries to sign in using Google provider
- SignInPressedTwitter
- The event that is triggered when user tries to sign in using Twitter provider
- SignInProcessingState
- SignInInitialState : loading (in progress) state of the sign in operation
- SignInProviderButton
- Widget: A circular button created for social login action (contains provider icon)
- SignInScreen
- Screen: Allows the user to login using username and password or using social login (Facebook, Google, Twitter)
- SignInState
- Abstract class to represent Sign in state
- Unauthenticated
- Unauthenticated state : when the user is not authenticated
- Uninitialized
- Uninitialized state of authentication, (initial state when app is started)