mix ash_authentication.add_strategy.password (ash_authentication v5.0.0-rc.7)

Copy Markdown View Source

Adds password authentication to your user resource

Example

mix ash_authentication.add_strategy.password

Options

  • --user, -u - The user resource. Defaults to YourApp.Accounts.User
  • --identity-field, -i - The field on the user resource that will be used to identify the user. Defaults to email
  • --hash-provider - The hash provider to use, either bcrypt or argon2. Defaults to bcrypt.

Summary

Functions

igniter(igniter)

Callback implementation for Igniter.Mix.Task.igniter/1.