signTransactionWebAuthn

Sign a WebAuthn transaction for the given user. Prompts the user for biometrics and returns a signed result that must be sent to your backend.

Parameters

context

application context object.

userName

username of the account signing the transaction. Optional — if null, all credentials for this app are offered.

callback

operation success/failure callback.


fun signTransactionWebAuthn(context: Context, webAuthnAuthenticationData: TSWebAuthnAuthenticationData, callback: TSAuthCallback<AuthenticationResult, TSWebAuthnAuthenticationError>)

Sign a WebAuthn transaction using explicit credential request data. Prompts the user for biometrics and returns a signed result that must be sent to your backend.

Parameters

context

application context object.

webAuthnAuthenticationData

credential request data for the transaction.

callback

operation success/failure callback.