View Source AshAuthentication.Strategy.MagicLink.RequestPreparation (ash_authentication v4.3.2)

Prepare a query for a magic link request.

This preparation performs three jobs, one before the query executes and two after:

  1. it constraints the query to match the identity field passed to the action.
  2. 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