AshAuthentication.Phoenix.Components.MagicLink.SignIn (ash_authentication_phoenix v2.10.0)
View SourceRenders a magic sign in button.
Component heirarchy
Children:
Props
token
- The magic link token.resource
- The resource to sign into.strategy
- The magic link strategy.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 rootdiv
element.:strategy_class
- CSS class for thediv
surrounding each strategy component.:show_banner
- Whether or not to show the banner
See AshAuthentication.Phoenix.Overrides
for more information.