AuthenticationState class sealed
Base class for all authentication states.
The authentication state represents the current status of user authentication in the application. States transition based on events like login, logout, and tenant selection.
Properties
- hasError → bool
-
Returns true if the last authentication operation resulted in an error
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAuthenticated → bool
-
Returns true if the user is fully authenticated with a selected tenant
no setter
- isLoading → bool
-
Returns true if an authentication operation is in progress
no setter
- isSelectingTenant → bool
-
Returns true if the user is authenticated but needs to select a tenant
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited