View Source AshAuthentication.Phoenix.Components.OAuth2 (ash_authentication_phoenix v1.4.7)
Generates a sign-in button for OAuth2.
component-heirarchy
Component heirarchy
This is the top-most provider specific component, nested below
AshAuthentication.Phoenix.Components.SignIn.
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:
:icon_class- CSS classes for the icon SVG.:link_class- CSS classes for theaelement.:root_class- CSS classes for the rootdivelement.
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()] }