mix ash_authentication_phoenix.add_strategy.recovery_code
(ash_authentication_phoenix v3.0.0-rc.6)
View Source
Adds Phoenix integration for the recovery code authentication strategy
Adds recovery code routes to the router and modifies the AuthController to handle recovery code verification.
This task is typically composed by ash_authentication_phoenix.add_strategy
or the ash_authentication_phoenix.install task. It can also be run directly
to add recovery code Phoenix integration to an existing project.
Example
mix ash_authentication_phoenix.add_strategy.recovery_code
Options
--user,-u- The user resource. Defaults toYourApp.Accounts.User--name,-n- The name of the recovery code strategy. Defaults torecovery_code.
Summary
Functions
Callback implementation for Igniter.Mix.Task.igniter/1.
Functions
Callback implementation for Igniter.Mix.Task.igniter/1.