authenticateWebAuthn

fun authenticateWebAuthn(    context: Context,     userName: String? = "",     callback: TSAuthCallback<AuthenticationResult, TSWebAuthnAuthenticationError>)

Authenticate the user using WebAuthn credentials. If the username is not provided, all the credentials for this app in this device will be displayed. This will prompt the user for biometrics. If successful, it returns a webauthn authentication result encoded as a base64 string, which is required to complete the authentication via your backend.

Parameters

context

application context object.

userName

username for the authenticating account. Optional.

callback

operation success/failure callback.