BiometricManager.Authenticators
public
static
interface
BiometricManager.Authenticators
android.hardware.biometrics.BiometricManager.Authenticators |
Types of authenticators, defined at a level of granularity supported by
BiometricManager
and BiometricPrompt
.
Types may combined via bitwise OR into a single integer representing multiple
authenticators (e.g. DEVICE_CREDENTIAL | BIOMETRIC_WEAK
).
See also:
Summary
Constants | |
---|---|
int |
BIOMETRIC_STRONG
Any biometric (e.g. fingerprint, iris, or face) on the device that meets or exceeds the requirements for Class 3 (formerly Strong), as defined by the Android CDD. |
int |
BIOMETRIC_WEAK
Any biometric (e.g. fingerprint, iris, or face) on the device that meets or exceeds the requirements for Class 2 (formerly Weak), as defined by the Android CDD. |
int |
DEVICE_CREDENTIAL
The non-biometric credential used to secure the device (i.e., PIN, pattern, or password). |
int |
IDENTITY_CHECK
The bit is used to request for Identity Check. |
Constants
BIOMETRIC_STRONG
public static final int BIOMETRIC_STRONG
Any biometric (e.g. fingerprint, iris, or face) on the device that meets or exceeds the requirements for Class 3 (formerly Strong), as defined by the Android CDD.
This corresponds to KeyProperties.AUTH_BIOMETRIC_STRONG
during key generation.
See also:
Constant Value: 15 (0x0000000f)
BIOMETRIC_WEAK
public static final int BIOMETRIC_WEAK
Any biometric (e.g. fingerprint, iris, or face) on the device that meets or exceeds the requirements for Class 2 (formerly Weak), as defined by the Android CDD.
Note that this is a superset of BIOMETRIC_STRONG
and is defined such that
BIOMETRIC_STRONG | BIOMETRIC_WEAK == BIOMETRIC_WEAK
.
Constant Value: 255 (0x000000ff)
DEVICE_CREDENTIAL
public static final int DEVICE_CREDENTIAL
The non-biometric credential used to secure the device (i.e., PIN, pattern, or password).
This should typically only be used in combination with a biometric auth type, such as
BIOMETRIC_WEAK
.
This corresponds to KeyProperties.AUTH_DEVICE_CREDENTIAL
during key
generation.
See also:
Constant Value: 32768 (0x00008000)
IDENTITY_CHECK
public static final int IDENTITY_CHECK
The bit is used to request for Identity Check. Identity Check is a feature which requires class 3 biometric authentication to access sensitive surfaces when the device is outside trusted places.
The requirements to trigger Identity Check are as follows:
1. User must have enabled the toggle for Identity Check in settings
2. User must have enrollments for at least one BIOMETRIC_STRONG
sensor
3. The device is determined to be in a high risk environment, for example if it is
outside of the user's trusted locations or fails to meet similar conditions.
4. The Identity Check requirements bit must be true
If all the above conditions are satisfied, only BIOMETRIC_STRONG
sensors
will be eligible for authentication, and device credential fallback will be dropped.
Constant Value: 65536 (0x00010000)