security-samples
security-samples copied to clipboard
Get Which Biometric is used for authentication on Onsucesscallback
BiometricPrompt.AuthenticationResult only provide following value
AUTHENTICATION_RESULT_TYPE_UNKNOWN, AUTHENTICATION_RESULT_TYPE_DEVICE_CREDENTIAL, AUTHENTICATION_RESULT_TYPE_BIOMETRIC
But from AUTHENTICATION_RESULT_TYPE_BIOMETRIC cant identify whether face or finger print or iris.
Usecase : my application only support finger print. Since Fingerprint only in strong authentication(class 3) now i can use, but safer side when any of other (fingerprint , iris) meet class 3 specification in future i need to show error message on success scenario.