Newer Version Available

This content describes an older version of this product. View Latest

VerificationMethod Enum

Contains the different ways users can identify themselves when logging in. You can use it to implement mobile-centric passwordless login pages and to self-register (and deregister) verification methods.

Usage

The enum value is an argument in System.Site.passwordlessLogin, System.UserManagement.registerVerificationMethod, and System.UserManagement.deregisterVerificationMethod methods. The value indicates the method used to verify a user’s identity.

Enum Values

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

Value Description
EMAIL Identity verified with a verification code sent in an email message.
PASSWORD Identity verified with a password.
SALESFORCE_AUTHENTICATOR Identity verified by Salesforce Authenticator.
SMS Identity verified with a verification code sent via SMS message.
TOTP Identity verified with a time-based one-time password (TOTP).
U2F Identity verified by a U2F physical security key, such as a YubiKey.