biometric_guard library
Classes
- AuthContents
- Strings shown inside the native biometric prompt.
- AuthOptions
- Options forwarded to the native authenticator.
- AuthResult
- Strongly-typed result of a single authentication attempt.
- BiometricChannel
-
Low-level bridge to the native
device_authMethodChannel. - BiometricGuard
- Wraps a child widget and demands re-authentication whenever the global session has expired relative to sessionTimeout.
-
BiometricRoute<
T> - A PageRoute that authenticates the user before displaying builder.
- BiometricSessionManager
- SessionActive
- Session is valid; authentication succeeded within the timeout window.
- SessionAuthenticating
- Authentication is currently in progress.
- SessionExpired
- Session has expired or was never established.
- SessionFailed
- Authentication ended with a non-success result.
- SessionLockIndicator
- Convenience widget: shows lockedChild when the session has expired, and activeChild when it is live.
- SessionState
- The state broadcast by BiometricSessionManager's stream.
- SessionStateBuilder
- Rebuilds builder whenever BiometricSessionManager.sessionStream emits.
Enums
- AuthIntent
- Describes WHY authentication is being requested.
- AuthResultCode
- The raw result code returned by the native layer.
- AuthType
- Authentication method used on a successful result.