biometric_secure_vault library
Secure key-value storage gated by biometric authentication with change detection and PIN fallback.
Classes
- BiometricAvailability
- Represents the availability of biometric features on the current device.
- BiometricAvailable
- Biometric authentication is fully available and ready.
- BiometricNoHardware
- The device does not possess any biometric hardware (e.g., no scanner).
- BiometricNotEnrolled
- The device has hardware, but the user hasn't enrolled any biometrics in settings.
- BiometricUnsupported
- Biometric authentication is disabled, restricted, or unsupported by the platform.
- BiometricVault
- A secure key-value store that gates access behind biometric authentication.
- BiometricVaultImpl
- Default implementation of BiometricVault using local_auth and flutter_secure_storage.
-
VaultResult<
T> - Represents the result of an operation performed on the BiometricVault.
-
VaultResultBiometricsChanged<
T> - The biometric set on the device has changed (e.g., a new finger added).
-
VaultResultEmpty<
T> - The vault does not contain an entry for the requested key.
-
VaultResultFailure<
T> - A generic or platform-specific error occurred.
-
VaultResultLockout<
T> - The user failed authentication too many times.
-
VaultResultPermanentlyLockout<
T> - Biometric authentication is permanently locked due to too many failed attempts.
-
VaultResultSuccess<
T> - The operation completed successfully.
-
VaultResultUserCanceled<
T> - The user manually canceled the biometric prompt.