AuthenticationErrorReason enum
The reason why the user was not authenticated.
Values
- userCanceled → const AuthenticationErrorReason
-
The user dismissed the prompt.
- systemCanceled → const AuthenticationErrorReason
-
The system dismissed the prompt, for example because the app moved to the background, or the app did it by calling
cancelAuthentication. - lockedOut → const AuthenticationErrorReason
-
Biometrics are locked out after too many failed attempts.
- notEnrolled → const AuthenticationErrorReason
-
The user did not enroll any biometrics.
- notAvailable → const AuthenticationErrorReason
-
The device has no hardware for the method, or it can not be used right now.
- credentialNotSet → const AuthenticationErrorReason
-
The device has no PIN, pattern, passcode or password, and the method needs it.
- unsupportedMethod → const AuthenticationErrorReason
-
The platform does not support the requested
AuthenticationMethod. - failed → const AuthenticationErrorReason
-
The user could not be authenticated, or the reason is unknown.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.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
Constants
-
values
→ const List<
AuthenticationErrorReason> - A constant List of the values in this enum, in order of their declaration.