LocalAuthWindows class

The implementation of LocalAuthPlatform for Windows.

Inheritance
  • Object
  • PlatformInterface
  • LocalAuthPlatform
  • LocalAuthWindows

Constructors

LocalAuthWindows({@visibleForTesting LocalAuthApi? api})
Creates a new plugin implementation instance.

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 localizedReason, required Iterable<AuthMessages> authMessages, 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.
override
deviceSupportsBiometrics() Future<bool>
Returns true if the device is capable of checking biometrics.
override
getEnrolledBiometrics() Future<List<BiometricType>>
Returns a list of enrolled biometrics.
override
isDeviceSupported() Future<bool>
Returns true if device is capable of checking biometrics or is able to fail over to device credentials.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
stopAuthentication() Future<bool>
Always returns false as this method is not supported on Windows.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

registerWith() → void
Registers this class as the default instance of LocalAuthPlatform.