View Source AshAuthentication.Phoenix.Components.Password (ash_authentication_phoenix v1.4.7)
Generates sign in, registration and reset forms for a resource.
component-hierarchy
Component hierarchy
This is the top-most provider-specific component, nested below
AshAuthentication.Phoenix.Components.SignIn.
Children:
AshAuthentication.Phoenix.Components.Password.SignInFormAshAuthentication.Phoenix.Components.Password.RegisterFormAshAuthentication.Phoenix.Components.Password.ResetForm
props
Props
strategy- The strategy configuration as perAshAuthentication.Info.strategy/2. Required.overrides- A list of override modules.
overrides
Overrides
This component provides the following overrides:
:hide_class- CSS class to apply to hide an element.:interstitial_class- CSS class for thedivelement between the form and the button.:register_toggle_text- Toggle text to display when the register form is not showing.:reset_toggle_text- Toggle text to display when the reset form is not showing.:root_class- CSS class for the rootdivelement.:show_first- The form to show on first load. Either:sign_inor:register.:sign_in_toggle_text- Toggle text to display when the sign in form is not showing.:toggler_class- CSS class for the toggleraelement.
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()] }