sign Transaction Web Authn
fun signTransactionWebAuthn(context: Context, userName: String?, callback: TSAuthCallback<AuthenticationResult, TSWebAuthnAuthenticationError>)
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.
user Name
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.
web Authn Authentication Data
credential request data for the transaction.
callback
operation success/failure callback.