Biometrics¶
See the Biometrics guide.
Biometric authentication (Face ID, Touch ID, and fingerprint).
Enable it in pythonnative.toml. On iOS, face_id supplies the reason the
system prompt shows:
Biometrics gates an action behind the
device's biometric hardware through LAContext (iOS) and BiometricPrompt
(Android).
Example
Classes:
| Name | Description |
|---|---|
Biometrics |
Biometric authentication interface. |
Biometrics
¶
Biometric authentication interface.
Raises:
| Type | Description |
|---|---|
NativeModuleError
|
If the native module fails, or with the code
|
Methods:
| Name | Description |
|---|---|
is_available |
Return |
authenticate |
Present the biometric prompt; resolve |