Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
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 |
|---|---|
| Indicates that the user is verifying their identity with email. | |
| SMS | Indicates that the user is verifying their identity with SMS. |