---
schema_version: "1"
id: b7d2890c82ced3f18a035299714282ef8968ecd8cbfad750e50db00e72261b95
title: VerificationMethod Enum
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_enum_Auth_VerificationMethod.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_enum_Auth_VerificationMethod.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: f399eeb7e129e6f320dee8d140aabf60d7d65888ca7d9d4c436a4b46ad45a639
description: 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.
---
# 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](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_classes_sites.htm#apex_System_Site_passwordlessLogin "Logs in a user to a Salesforce Site or Experience Cloud site using an identity verification method, such as email or text, instead of a password. Passwordless login is a convenient, mobile-centric way to welcome users into your site. Let your users log in with something other than their password, like their email address or phone number."), [System.UserManagement.registerVerificationMethod](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_System_UserManagement.htm#apex_System_UserManagement_registerVerificationMethod "Registers an identity verification method. Verification methods can be a time-based one-time password (TOTP), email or text verification code, Salesforce Authenticator, or U2F-compatible security key. End users register verification methods for themselves."), and [System.UserManagement.deregisterVerificationMethod](https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_class_System_UserManagement.htm#apex_System_UserManagement_deregisterVerificationMethod "Deregisters an identity verification method. Use this method to let users delete an existing verification method.") 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.

<table class="featureTable sort_table" summary="">


          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d63582e103">Value</th>

              <th class="featureTableHeader  " id="d63582e106">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d63582e103" data-title="Value"><samp class="codeph apex_code">BUILT_IN_AUTHENTICATOR</samp></td>

              <td class="entry" headers="d63582e106" data-title="Description">Identity verified with a built-in authenticator.</td>

            </tr>

            <tr>
              <td class="entry" headers="d63582e103" data-title="Value"><samp class="codeph apex_code">EMAIL</samp></td>

              <td class="entry" headers="d63582e106" data-title="Description">Identity verified with a verification code sent in an email message.</td>

            </tr>

            <tr>
              <td class="entry" headers="d63582e103" data-title="Value">
                <samp class="codeph apex_code">PASSWORD</samp>
              </td>

              <td class="entry" headers="d63582e106" data-title="Description">Identity verified with a password.</td>

            </tr>

            <tr>
              <td class="entry" headers="d63582e103" data-title="Value"><samp class="codeph apex_code">SALESFORCE_AUTHENTICATOR</samp></td>

              <td class="entry" headers="d63582e106" data-title="Description">Identity verified by Salesforce Authenticator.</td>

            </tr>

            <tr>
              <td class="entry" headers="d63582e103" data-title="Value"><samp class="codeph apex_code">SECURITY_KEY</samp></td>

              <td class="entry" headers="d63582e106" data-title="Description">Identity verified by a WebAuthn-compatible physical security key. Includes all
                security keys registered or used after Summer ’22.</td>

            </tr>

            <tr>
              <td class="entry" headers="d63582e103" data-title="Value"><samp class="codeph apex_code">SMS</samp></td>

              <td class="entry" headers="d63582e106" data-title="Description">Identity verified with a verification code sent via SMS message.</td>

            </tr>

            <tr>
              <td class="entry" headers="d63582e103" data-title="Value"><samp class="codeph apex_code">TOTP</samp></td>

              <td class="entry" headers="d63582e106" data-title="Description">Identity verified with a time-based one-time password (TOTP).</td>

            </tr>

            <tr>
              <td class="entry" headers="d63582e103" data-title="Value"><samp class="codeph apex_code">U2F</samp></td>

              <td class="entry" headers="d63582e106" data-title="Description">Identity verified by a U2F physical security key, such as a YubiKey.<p class="p">For U2F
                  security keys registered or used after Summer ’22, use SECURITY_KEY
                  instead.</p>
              </td>

            </tr>

          </tbody>

        </table>