authority v0.1.0 Authority.Recovery behaviour
A minimal behaviour for recovering a user account.
Usage
defmodule MyApp.Accounts.Recovery do
use Authority.Recovery
@impl Authority.Recovery
def recover(email) do
# Send a password reset email to the user
end
end
Link to this section Summary
Callbacks
Initiates a password recovery process for the user associated with the identifier
Link to this section Types
An identifier representing a user, such as an email address.
Link to this section Callbacks
Initiates a password recovery process for the user associated with the identifier.