with Biometric
fun withBiometric(biometricType: BiometricType, fragmentActivity: FragmentActivity?, biometricPromptConfig: BiometricPromptConfig?): AuthProvider
Content copied to clipboard
Specifies parameters for biometric authentication.
Parameters
biometric Type
The type of biometric sensor. If biometricType is BiometricType.ANY, then the biometric user authentication will be required. If biometricType is BiometricType.NO, the biometric user authentication will not be required, and null can be passed as fragmentActivity
fragment Activity
The fragment activity for invoke BiometricPrompt
biometric Prompt Config
The configuration of BiometricPrompt.PromptInfo