Sha256: df735caffcea356152056dd17fed578a545dfbd2a2ad67a8b1f28198b1168e04

Contents?: true

Size: 875 Bytes

Versions: 11

Compression:

Stored size: 875 Bytes

Contents

<form method="post" action="#{rodauth.webauthn_auth_form_path}" class="rodauth" role="form" id="webauthn-auth-form" data-credential-options="#{h((cred = rodauth.webauthn_credential_options_for_get).as_json.to_json)}">
  #{rodauth.webauthn_auth_additional_form_tags}
  #{rodauth.csrf_tag(rodauth.webauthn_auth_form_path)}
  <input type="hidden" name="#{rodauth.webauthn_auth_challenge_param}" value="#{cred.challenge}" />
  <input type="hidden" name="#{rodauth.webauthn_auth_challenge_hmac_param}" value="#{rodauth.compute_hmac(cred.challenge)}" />
  <input class="rodauth_hidden d-none" aria-hidden="true" type="text" name="#{rodauth.webauthn_auth_param}" id="webauthn-auth" value="" />
  <div id="webauthn-auth-button"> 
    #{rodauth.button(rodauth.webauthn_auth_button)}
  </div>
</form>
<script src="#{rodauth.webauthn_js_host}#{rodauth.webauthn_auth_js_path}"></script>

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rodauth-2.38.0 templates/webauthn-auth.str
rodauth-2.37.0 templates/webauthn-auth.str
rodauth-2.36.0 templates/webauthn-auth.str
rodauth-2.34.0 templates/webauthn-auth.str
rodauth-2.33.0 templates/webauthn-auth.str
rodauth-2.32.0 templates/webauthn-auth.str
rodauth-2.31.0 templates/webauthn-auth.str
rodauth-2.30.0 templates/webauthn-auth.str
rodauth-2.29.0 templates/webauthn-auth.str
rodauth-2.28.0 templates/webauthn-auth.str
rodauth-2.27.0 templates/webauthn-auth.str