approvalNativeBiometrics

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.

userName

username of the account to authenticate.

challenge

server-provided challenge to sign.

promptTexts

title, subtitle, and negative button text to display on the biometric prompt.

callback

operation success/failure callback.