AshAuthentication.Phoenix.Components.Confirm (ash_authentication_phoenix v2.10.1)

View Source

Renders a confirmation button.

Component hierarchy

Children:

  • AshAuthentication.Phoenix.Components.ConfirmForm

Props

  • token - The confirmation token.
  • resource - The resource to confirm.
  • strategy - The strategy to confirm.
  • 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 a div surrounding each strategy component.
  • :show_banner - Whether or not to show the banner.

See AshAuthentication.Phoenix.Overrides for more information.

Summary

Types

props()

@type props() :: %{
  :token => String.t(),
  optional(:overrides) => [module()],
  optional(:current_tenant) => term(),
  optional(:gettext_fn) => {module(), atom()}
}