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

Actions for the magic link strategy.

Provides the code interface for working with user resources for providing magic links.

Summary

Functions

Request a magic link for a user.

Attempt to sign a user in via magic link.

Functions

request(strategy, params, options)

@spec request(AshAuthentication.Strategy.MagicLink.t(), map(), keyword()) ::
  :ok | {:error, any()}

Request a magic link for a user.

sign_in(strategy, params, options)

Attempt to sign a user in via magic link.