mix ash_authentication_phoenix.add_strategy.otp (ash_authentication_phoenix v3.0.0-rc.6)

View Source

Adds Phoenix integration for the OTP authentication strategy

Upgrades the OTP sender to deliver the code as a Swoosh email when a Swoosh mailer is available.

Example

mix ash_authentication_phoenix.add_strategy otp

Options

  • --user, -u - The user resource. Defaults to YourApp.Accounts.User

Summary

Functions

igniter(igniter)

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