Package-level declarations

Functions

Link copied to clipboard
suspend fun showBiometricPrompt(activity: FragmentActivity, title: String, subtitle: String, cryptoObject: BiometricPrompt.CryptoObject?, userAuthenticationTypes: Set<UserAuthenticationType>, requireConfirmation: Boolean): Boolean

Show the Biometric prompt

fun showBiometricPrompt(activity: FragmentActivity, title: String, subtitle: String, cryptoObject: BiometricPrompt.CryptoObject?, userAuthenticationTypes: Set<UserAuthenticationType>, requireConfirmation: Boolean, onSuccess: () -> Unit, onCanceled: () -> Unit, onError: (Throwable) -> Unit)

Prompts user for authentication, and calls the provided functions when authentication is complete. Biometric authentication will be offered first if both UserAuthenticationType.LSKF and UserAuthenticationType.BIOMETRIC are allowed.