View Source AshAuthentication.Strategy.MagicLink.Actions (ash_authentication v3.10.4)
Actions for the magic link strategy.
Provides the code interface for working with user resources for providing magic links.
Link to this section Summary
Link to this section Functions
@spec request(AshAuthentication.Strategy.MagicLink.t(), map(), keyword()) :: :ok | {:error, any()}
Request a magic link for a user.
@spec sign_in(AshAuthentication.Strategy.MagicLink.t(), map(), keyword()) :: {:ok, Ash.Resource.record()} | {:error, AshAuthentication.Errors.AuthenticationFailed.t()}
Attempt to sign a user in via magic link.