register Web Authn
fun registerWebAuthn( context: Context, userName: String, displayName: String?, callback: TSAuthCallback<RegistrationResult, TSWebAuthnRegistrationError>)
Content copied to clipboard
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.
user Name
username for the registering account.
display Name
display name for this registered credential. Default is the username.
callback
operation success/failure callback.