DeviceLocalAuthentication class
Properties
-
canCheckBiometrics
→ Future<bool>
-
Returns true if device is capable of checking biometrics.
no setterinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
authenticate({required String localizedReason, Iterable<AuthMessages> authMessages = const <AuthMessages>[IOSAuthMessages(), AndroidAuthMessages(), WindowsAuthMessages()], AuthenticationOptions options = const AuthenticationOptions()})
→ Future<bool>
-
Authenticates the user with biometrics available on the device while also
allowing the user to use device authentication - pin, pattern, passcode.
inherited
-
getAvailableBiometrics()
→ Future<List<BiometricType>>
-
Returns a list of enrolled biometrics.
inherited
-
isDeviceSupported()
→ Future<bool>
-
Returns true if device is capable of checking biometrics or is able to
fail over to device credentials.
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
stopAuthentication()
→ Future<bool>
-
Cancels any in-progress authentication, returning true if auth was
cancelled successfully.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited