authenticate Web Authn
fun authenticateWebAuthn( context: Context, userName: String? = "", callback: TSAuthCallback<AuthenticationResult, TSWebAuthnAuthenticationError>)
Content copied to clipboard
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.
user Name
username for the authenticating account. Optional.
callback
operation success/failure callback.