AshAuthentication.Phoenix.Components.MagicLink.SignIn (ash_authentication_phoenix v2.10.0)

View Source

Renders a magic sign in button.

Component heirarchy

Children:

Props

  • token - The magic link token.
  • resource - The resource to sign into.
  • strategy - The magic link strategy.
  • overrides - A list of override modules.
  • gettext_fn - Optional text translation function.
  • otp_app - The otp app to look for authenticated resources in

Overrides

This component provides the following overrides:

  • :root_class - CSS class for the root div element.
  • :strategy_class - CSS class for the div surrounding each strategy component.
  • :show_banner - Whether or not to show the banner

See AshAuthentication.Phoenix.Overrides for more information.