View Source AshAuthentication.Strategy.MagicLink.RequestPreparation (ash_authentication v4.0.1)
Prepare a query for a magic link request.
This preparation performs three jobs, one before the query executes and two after:
- it constraints the query to match the identity field passed to the action.
- if there is a user returned by the query, then a. generate a magic link token and b. publish a notification.
Always returns an empty result.
Summary
Functions
Callback implementation for Ash.Resource.Preparation.init/1
.
Functions
Callback implementation for Ash.Resource.Preparation.init/1
.