UserAuthenticatedWithSelectedTenantState class final
Fully authenticated state with both user and tenant information.
This is the primary authenticated state where the user can access the application with a specific tenant context. The state includes equality comparison to trigger UI updates when user profile data changes.
- Inheritance
-
- Object
- AuthenticationState
- UserAuthenticatedWithSelectedTenantState
Constructors
- UserAuthenticatedWithSelectedTenantState({required AppUser user, required Tenant tenant})
-
const
Properties
- hasError → bool
-
Returns true if the last authentication operation resulted in an error
no setterinherited
- 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 setterinherited
- isLoading → bool
-
Returns true if an authentication operation is in progress
no setterinherited
- isSelectingTenant → bool
-
Returns true if the user is authenticated but needs to select a tenant
no setterinherited
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true, the toString method will be overridden to output this instance's props.no setterinherited - tenant → Tenant
-
The tenant context the user is currently working in
final
- user → AppUser
-
The authenticated user's profile data
final
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