View Source AshAuthentication.Strategy.MagicLink.Actions (ash_authentication v4.0.1)
Actions for the magic link strategy.
Provides the code interface for working with user resources for providing magic links.
Summary
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.