DefaultLocalAuthPlatform class
The default interface implementation acting as a placeholder for the native implementation to be set.
This implementation is not used by any of the implementations in this repository, and exists only for backward compatibility with any clients that were relying on internal details of the method channel in the pre-federated plugin.
- Inheritance
-
- Object
- PlatformInterface
- LocalAuthPlatform
- DefaultLocalAuthPlatform
Constructors
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> -
Cancels any authentication currently in progress.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited