Actions for the OTP strategy.
Provides the code interface for working with user resources for OTP authentication.
Summary
Functions
@spec request(AshAuthentication.Strategy.Otp.t(), map(), keyword()) :: :ok | {:error, any()}
Request an OTP code for a user.
@spec sign_in(AshAuthentication.Strategy.Otp.t(), map(), keyword()) :: {:ok, Ash.Resource.record()} | {:error, AshAuthentication.Errors.AuthenticationFailed.t()}
Attempt to sign a user in via OTP code.