approval Native Biometrics
fun approvalNativeBiometrics(context: FragmentActivity, userName: String, challenge: String, promptTexts: BiometricPromptTexts, callback: TSAuthCallback<TSNativeBiometricsApprovalResult, TSNativeBiometricsApprovalError>)
Authenticate the user with native biometrics to authorize a specific action. If successful, returns a signed challenge that must be sent to your backend to complete the approval.
Parameters
context
FragmentActivity context required to display the biometric prompt.
user Name
username of the account to authenticate.
challenge
server-provided challenge to sign.
prompt Texts
title, subtitle, and negative button text to display on the biometric prompt.
callback
operation success/failure callback.