AuthenticationStatus class final
Provides info about the authentication status.
- Annotations
-
- @external
Constructors
- AuthenticationStatus({bool isAuthenticated = false, String? userID})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAuthenticated → bool
-
Indicates whether the user is authenticated.
trueif authenticated, otherwisefalse.final - 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'sprops.no setterinherited - userID → String?
-
The user ID provided by the authentication service, if authenticated.
nullif not authenticated or no user ID was provided.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited