AshAuthentication.Phoenix.Components.WebAuthn.Support (ash_authentication_phoenix v3.0.0-rc.6)

View Source

Detects WebAuthn browser support via a JS hook.

Renders a hidden element that triggers the WebAuthnSupportHook on mount. Sends {:passkeys_supported, boolean} to the parent LiveView.

Overrides

This component provides the following overrides:

  • :root_class - CSS class for the root element.
  • :unsupported_message - Message shown when WebAuthn is not supported by the browser.

See AshAuthentication.Phoenix.Overrides for more information.