View Source AshAuthentication.Phoenix.Components.MagicLink (ash_authentication_phoenix v1.5.0)

Generates a sign-in for for a resource using the "Magic link" strategy.

component-hierarchy

Component hierarchy

This is the top-most strategy-specific component, nested below AshAuthentication.Phoenix.Components.SignIn.

Children:

props

Props

overrides

Overrides

This component provides the following overrides:

  • :disable_button_text - Text for the submit button when the request is happening.
  • :form_class - CSS class for the form element.
  • :label_class - CSS class for the h2 element.
  • :request_flash_text - Text for the flash message when a request is received. Set to nil to disable.
  • :root_class - CSS class for the root div element.

See AshAuthentication.Phoenix.Overrides for more information.

Link to this section Summary

Link to this section Types

@type props() :: %{
  :strategy => AshAuthentication.Strategy.t(),
  optional(:overrides) => [module()]
}