Enum Class ClientRegistrationException.ErrorCode
java.lang.Object
java.lang.Enum<ClientRegistrationException.ErrorCode>
com.pingidentity.sdk.oauth20.registration.ClientRegistrationException.ErrorCode
- All Implemented Interfaces:
Serializable,Comparable<ClientRegistrationException.ErrorCode>,Constable
- Enclosing class:
- ClientRegistrationException
public static enum ClientRegistrationException.ErrorCode
extends Enum<ClientRegistrationException.ErrorCode>
Error codes for Dynamic Client Registration.
- Since:
- 9.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionInternal error while handling the request.The access token presented is invalid.The value of one of the client metadata fields is invalid.The request payload presented is invalid.The value of one or more redirect URIs is invalid.The software statement presented is invalid.Dynamic client registration management is not enabledThe software statement presented is not approved for use.The client does not exist -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
resource_not_found
Dynamic client registration management is not enabled -
unauthorized
The client does not exist -
invalid_access_token
The access token presented is invalid. -
invalid_payload
The request payload presented is invalid. -
internal_error
Internal error while handling the request. -
invalid_client_metadata
The value of one of the client metadata fields is invalid. -
invalid_software_statement
The software statement presented is invalid. -
unapproved_software_statement
The software statement presented is not approved for use. -
invalid_redirect_uri
The value of one or more redirect URIs is invalid.
-
-
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
-