View Source mix ash_authentication.install (ash_authentication v4.3.5)
Installs AshAuthentication. Invoke with mix igniter.install ash_authentication
Example
mix igniter.install ash_authentication_phoenix
Options
--accounts
or-a
- The domain that contains your resources. Defaults toYourApp.Accounts
.--user
or-u
- The resource that represents a user. Defaults to<accounts>.User
.--token
or-t
- The resource that represents a token. Defaults to<accounts>.Token
.--auth-strategy
- The strategy or strategies to use for authentication. None by default, can be specified multiple times for more than one strategy. To add after installation, usemix ash_authentication.add_strategy password