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.
HeadlessUserDiscoveryResponse Class
Namespace
Usage
HeadlessUserDiscoveryResponse Constructors
The following are constructors for HeadlessUserDiscoveryResponse.
HeadlessUserDiscoveryResponse(userIds, customErrorMessage)
Signature
public HeadlessUserDiscoveryResponse(Set<Id> userIds, String customErrorMessage)
Parameters
-
userIds:
The user ID that's associated with the data passed in the login_hint parameter. If there are multiple users associated with the data, it can return multiple IDs, but headless user discovery fails.
-
customErrorMessage:
Type: String
A custom error message that's returned if headless user discovery fails.
HeadlessUserDiscoveryResponse Properties
The following are properties for HeadlessUserDiscoveryResponse.
customErrorMessage
Signature
public String customErrorMessage {get; set;}
Property Value
Type: String