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 to YourApp.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, use mix ash_authentication.add_strategy password

Summary

Functions

data_layer_args(igniter, opts)

setup_data_layer(igniter, repo)