Enum ClientRegistrationException.ErrorCode
- java.lang.Object
-
- java.lang.Enum<ClientRegistrationException.ErrorCode>
-
- com.pingidentity.sdk.oauth20.registration.ClientRegistrationException.ErrorCode
-
- All Implemented Interfaces:
Serializable,Comparable<ClientRegistrationException.ErrorCode>
- Enclosing class:
- ClientRegistrationException
public static enum ClientRegistrationException.ErrorCode extends Enum<ClientRegistrationException.ErrorCode>
Error codes for Dynamic Client Registration.- Since:
- 9.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description internal_errorInternal error while handling the request.invalid_access_tokenThe access token presented is invalid.invalid_client_metadataThe value of one of the client metadata fields is invalid.invalid_payloadThe request payload presented is invalid.invalid_redirect_uriThe value of one or more redirect URIs is invalid.invalid_software_statementThe software statement presented is invalid.resource_not_foundDynamic client registration management is not enabledunapproved_software_statementThe software statement presented is not approved for use.unauthorizedThe client does not exist
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClientRegistrationException.ErrorCodevalueOf(String name)Returns the enum constant of this type with the specified name.static ClientRegistrationException.ErrorCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
resource_not_found
public static final ClientRegistrationException.ErrorCode resource_not_found
Dynamic client registration management is not enabled
-
unauthorized
public static final ClientRegistrationException.ErrorCode unauthorized
The client does not exist
-
invalid_access_token
public static final ClientRegistrationException.ErrorCode invalid_access_token
The access token presented is invalid.
-
invalid_payload
public static final ClientRegistrationException.ErrorCode invalid_payload
The request payload presented is invalid.
-
internal_error
public static final ClientRegistrationException.ErrorCode internal_error
Internal error while handling the request.
-
invalid_client_metadata
public static final ClientRegistrationException.ErrorCode invalid_client_metadata
The value of one of the client metadata fields is invalid.
-
invalid_software_statement
public static final ClientRegistrationException.ErrorCode invalid_software_statement
The software statement presented is invalid.
-
unapproved_software_statement
public static final ClientRegistrationException.ErrorCode unapproved_software_statement
The software statement presented is not approved for use.
-
invalid_redirect_uri
public static final ClientRegistrationException.ErrorCode invalid_redirect_uri
The value of one or more redirect URIs is invalid.
-
-
Method Detail
-
values
public static ClientRegistrationException.ErrorCode[] 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 (ClientRegistrationException.ErrorCode c : ClientRegistrationException.ErrorCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClientRegistrationException.ErrorCode 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
-
-