Class AccountLinkingFailed
- java.lang.Object
-
- com.pingidentity.sdk.api.authn.model.state.AccountLinkingFailed
-
public class AccountLinkingFailed extends Object
An API state model containing additional details for states in which the user has failed linking their account.- Since:
- 10.3
-
-
Constructor Summary
Constructors Constructor Description AccountLinkingFailed()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetMessage()Get the developer-facing error message.StringgetUserMessage()Get the user-facing error message.StringgetUserMessageKey()Get the user-facing error message key.voidsetMessage(String message)Set the developer-facing error message.voidsetUserMessage(String userMessage)Set the user-facing error message.voidsetUserMessageKey(String userMessageKey)Set the user-facing error message key.
-
-
-
Method Detail
-
getMessage
public String getMessage()
Get the developer-facing error message.
-
setMessage
public void setMessage(String message)
Set the developer-facing error message.
-
getUserMessage
public String getUserMessage()
Get the user-facing error message. A user-facing error message should be provided for any error likely to be displayed to the end user. A localizable message key can be provided withsetUserMessageKey()or the localized error message can be directly set withsetUserMessage().
-
setUserMessage
public void setUserMessage(String userMessage)
Set the user-facing error message. Where possible, the message should be user-friendly and localized.
-
setUserMessageKey
public void setUserMessageKey(String userMessageKey)
Set the user-facing error message key. In the JSON serialization this key will automatically be converted to a localized string if a corresponding message is defined in the authn-api-messages or pingfederate-messages properties file for the user's locale.
-
getUserMessageKey
public String getUserMessageKey()
Get the user-facing error message key.
-
-