Enum Class ErrorCode
- All Implemented Interfaces:
Serializable
,Comparable<ErrorCode>
,Constable
Dynamic Client Registration error codes, as specified by spec:
OAuth 2.0 Dynamic Client Registration Protocol.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe value of one of the client metadata fields is invalid and the server has rejected this request.The value of one or more redirection URIs is invalid.The software statement presented is invalid.The software statement presented is not approved for use by this authorization server.In case the error is undefined or unknown. -
Method Summary
-
Enum Constant Details
-
INVALID_REDIRECT_URI
The value of one or more redirection URIs is invalid. -
INVALID_CLIENT_METADATA
The value of one of the client metadata fields is invalid and the server has rejected this request. -
INVALID_SOFTWARE_STATEMENT
The software statement presented is invalid. -
UNAPPROVED_SOFTWARE_STATEMENT
The software statement presented is not approved for use by this authorization server. -
UNKNOWN
In case the error is undefined or unknown.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getCode
Returns the error code.- Returns:
- the error code
-
toString
-