VerificationAction Enum

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

Usage

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

Enum Values

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

Value Description
EMAIL Indicates that the user is verifying their identity with email.
SMS Indicates that the user is verifying their identity with SMS.