AuthenticateService<USER_ID> class
Constructors
Properties
- authStatus → AuthStatus
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shouldBeAuthenticated → bool
-
no setter
- userId → USER_ID?
-
no setter
Methods
-
authenticate(
dynamic credential, {bool neverTimeout = false, bool ignoreConnectionStatus = false}) → Future< AuthenticateResponse> -
authenticateAgainWithPreviousCredential(
{bool ignoreConnectionStatus = false}) → Future< AuthenticateResponse> -
throws
AuthenticationIsAlreadyInProgress
-
clearAuthentication(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
start(
{OnAutoReauthenticationFails? onAutoReauthenticationFails}) → dynamic -
toString(
) → String -
A string representation of this object.
inherited
-
waitForAuthentication(
{required bool neverTimeout, required bool isPersevere(), RequestType? requestType, String? route}) → Future< bool>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited