---
schema_version: "1"
id: ca3e0d9b178ceafc8b80cbe90874d037dbad2f376a5f383cf7f501ef58815884
title: LoginDiscoveryMethod Enum
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/apexref/apex_enum_Auth_LoginDiscoveryMethod.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.apexref.meta/apexref/apex_enum_Auth_LoginDiscoveryMethod.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 7ebc3a517fda6761dbe3690de733885b220d9a5ea39a91afa33fd13ad05d0e42
description: Contains methods used to verify the user’s identity when the My Domain login process uses Login Discovery.
---
# LoginDiscoveryMethod Enum

Contains methods used to verify the user’s identity when the My Domain login process uses Login Discovery.

## Usage

Specifies the verification method used to authenticate internal users when My Domain is set up for Login Discovery.

## Enum Values

Auth.LoginDiscoveryMethod enum has the following values.

| Value | Description |
| --- | --- |
| LIGHTNING\_LOGIN | Verify identity by Lightning Login, which lets internal users log in with Salesforce Authenticator. |
| PASSWORD | Verify identity by entering a password. |
|  |  |