View Source AshAuthentication.Phoenix.Components.Password (ash_authentication_phoenix v1.5.1)

Generates sign in, registration and reset forms for a resource.

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:

  • :hide_class - CSS class to apply to hide an element.
  • :interstitial_class - CSS class for the div element 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 root div element.
  • :show_first - The form to show on first load. Either :sign_in or :register.
  • :sign_in_toggle_text - Toggle text to display when the sign in form is not showing.
  • :toggler_class - CSS class for the toggler a 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()]
}