Class: WebAuthnRegistration

.Components.Data.WebAuthnRegistration(save_tokenopt, default_erroropt)

new WebAuthnRegistration(save_tokenopt, default_erroropt)

Componente que renderiza un link para registrarse con WebAuthn. El usuario debe estar logueado para usar este componente.

Parameters:
Name Type Attributes Default Description
save_token BooleanString <optional>
"false"

determina si se va a guardar en localStorage el jwt

default_error string <optional>
"Se produjo un error al registrarse"

establece un mensaje de error cuando Orquesta no puede responder

Source:
Example
<webauthn_registration> 
  <!--icono de huella digital-->
  <i></i>
</webauthn_registration>