Package io.asgardeo.java.oidc.sdk
Enum SSOAgentConstants.ErrorMessages
- java.lang.Object
-
- java.lang.Enum<SSOAgentConstants.ErrorMessages>
-
- io.asgardeo.java.oidc.sdk.SSOAgentConstants.ErrorMessages
-
- All Implemented Interfaces:
Serializable,Comparable<SSOAgentConstants.ErrorMessages>
- Enclosing class:
- SSOAgentConstants
public static enum SSOAgentConstants.ErrorMessages extends Enum<SSOAgentConstants.ErrorMessages>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AGENT_CONFIG_CALLBACK_URLAGENT_CONFIG_CLIENT_IDAGENT_CONFIG_CLIENT_SECRETAGENT_CONFIG_SCOPEAUTHENTICATION_FAILEDID_TOKEN_NULLID_TOKEN_PARSEJWT_PARSESERVLET_CONNECTION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCode()StringgetMessage()StringtoString()static SSOAgentConstants.ErrorMessagesvalueOf(String name)Returns the enum constant of this type with the specified name.static SSOAgentConstants.ErrorMessages[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTHENTICATION_FAILED
public static final SSOAgentConstants.ErrorMessages AUTHENTICATION_FAILED
-
ID_TOKEN_NULL
public static final SSOAgentConstants.ErrorMessages ID_TOKEN_NULL
-
ID_TOKEN_PARSE
public static final SSOAgentConstants.ErrorMessages ID_TOKEN_PARSE
-
JWT_PARSE
public static final SSOAgentConstants.ErrorMessages JWT_PARSE
-
AGENT_CONFIG_SCOPE
public static final SSOAgentConstants.ErrorMessages AGENT_CONFIG_SCOPE
-
AGENT_CONFIG_CLIENT_ID
public static final SSOAgentConstants.ErrorMessages AGENT_CONFIG_CLIENT_ID
-
AGENT_CONFIG_CLIENT_SECRET
public static final SSOAgentConstants.ErrorMessages AGENT_CONFIG_CLIENT_SECRET
-
AGENT_CONFIG_CALLBACK_URL
public static final SSOAgentConstants.ErrorMessages AGENT_CONFIG_CALLBACK_URL
-
SERVLET_CONNECTION
public static final SSOAgentConstants.ErrorMessages SERVLET_CONNECTION
-
-
Method Detail
-
values
public static SSOAgentConstants.ErrorMessages[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SSOAgentConstants.ErrorMessages c : SSOAgentConstants.ErrorMessages.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SSOAgentConstants.ErrorMessages valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getCode
public String getCode()
-
getMessage
public String getMessage()
-
toString
public String toString()
- Overrides:
toStringin classEnum<SSOAgentConstants.ErrorMessages>
-
-