authenticateNativeBiometrics

Authenticate a user by prompting for biometrics and signing the provided challenge. On success, returns a signed challenge that must be sent to your backend to complete authentication.

Parameters

context

FragmentActivity context required to display the biometric prompt.

username

username of the account to authenticate.

challenge

server-provided challenge to sign with the biometric key.

promptTexts

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

callback

operation success/failure callback.