BiometricAuthAdvancedPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • BiometricAuthAdvancedPlatform
Implementers

Constructors

BiometricAuthAdvancedPlatform()
Constructs a BiometricAuthAdvancedPlatform.

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

authenticate({required String title, String? subtitle, String? description, String negativeButtonText = 'Cancel', bool confirmationRequired = false, bool allowDeviceCredential = false, String biometricStrength = 'strong'}) Future<Map<String, dynamic>>
Authenticate using biometrics or device credentials
canAuthenticateWithBiometricsStrong() Future<bool>
Check if device supports strong biometric authentication
canAuthenticateWithBiometricsWeak() Future<bool>
Check if device supports weak biometric authentication
canAuthenticateWithDeviceCredential() Future<bool>
Check if device credentials are enrolled
cancelAuthentication() Future<void>
Cancel current authentication
canCheckBiometrics() Future<bool>
Check if biometric hardware is available on the device
getAvailableBiometrics() Future<List<String>>
Get list of available biometric types on the device
getBiometricInfo() Future<Map<String, dynamic>>
Get detailed information about device biometric capabilities
getPlatformVersion() Future<String?>
hasEnrolledBiometrics() Future<bool>
Check if device has enrolled biometrics
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

instance BiometricAuthAdvancedPlatform
The default instance of BiometricAuthAdvancedPlatform to use.
getter/setter pair