VerificationAction Enum

Indicates the method that you use to send a one-time password (OTP) to a user during the headless passwordless login flow.

Use this enum to specify the user’s method of receiving a one-time password when you implement the Auth.HeadlessUserDiscoveryHandler interface.

The following are the values of the Auth.VerificationAction enum.

ValueDescription
EMAILIndicates that the user is verifying their identity with email.
SMSIndicates that the user is verifying their identity with SMS.