BiometricAuth class

A helper for handling Biometric Authentication (FaceID, TouchID).

Constructors

BiometricAuth()

Properties

hashCode int
The hash code for this object.
no setterinherited
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

Static Properties

isAvailable Future<bool>
Checks if biometrics are available on the device.
no setter

Static Methods

authenticate({String reason = 'Please authenticate to proceed', bool sticky = true, bool biometricOnly = false}) Future<bool>
Authenticate the user with biometrics.
getAvailableBiometrics() Future<List<BiometricType>>
Get list of available biometrics.