registerWebAuthn

fun registerWebAuthn(    context: Context,     userName: String,     displayName: String?,     callback: TSAuthCallback<RegistrationResult, TSWebAuthnRegistrationError>)

Register credentials with WebAuthn, including prompting the user for biometrics. If successful, returns a webauthn registration result encoded as a base64 string, which is required to complete the registration via your backend.

Parameters

context

application context object.

userName

username for the registering account.

displayName

display name for this registered credential. Default is the username.

callback

operation success/failure callback.