View Source AshAuthentication.Strategy.MagicLink.Plug (ash_authentication v4.3.5)

Plugs for the magic link strategy.

Handles requests and sign-ins.

Summary

Functions

Handle a request for a magic link.

Sign in via magic link.

Functions

request(conn, strategy)

Handle a request for a magic link.

Retrieves form parameters from nested within the subject name, eg:

%{
  "user" => %{
    "email" => "marty@mcfly.me"
  }
}

sign_in(conn, strategy)

Sign in via magic link.