AshAuthentication.Phoenix.Components.MagicLink (ash_authentication_phoenix v2.12.2)
View SourceGenerates a sign-in for for a resource using the "Magic link" strategy.
Component hierarchy
This is the top-most strategy-specific component, nested below
AshAuthentication.Phoenix.Components.SignIn.
Children:
AshAuthentication.Phoenix.Components.Password.Input.identity_field/1AshAuthentication.Phoenix.Components.Password.Input.submit/1
Props
strategy- the strategy configuration as perAshAuthentication.Info.strategy/2. Required.overrides- A list of override modules.gettext_fn- Optional text translation function.
Overrides
This component provides the following overrides:
:root_class- CSS class for the rootdivelement.:label_class- CSS class for theh2element.:form_class- CSS class for theformelement.:disable_button_text- Text for the submit button when the request is happening.:request_flash_text- Text for the flash message when a request is received. Set tonilto disable.
See AshAuthentication.Phoenix.Overrides for more information.