public enum AuthorizationErrorCode extends java.lang.Enum<AuthorizationErrorCode> implements ErrorCode
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getErrorCode() |
java.lang.String |
getErrorCodeDescription() |
java.lang.String |
toString() |
static AuthorizationErrorCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AuthorizationErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthorizationErrorCode INTERACTION_REQUIRED
public static final AuthorizationErrorCode LOGIN_REQUIRED
public static final AuthorizationErrorCode ACCOUNT_SELECTION_REQUIRED
public static final AuthorizationErrorCode CONSENT_REQUIRED
public static final AuthorizationErrorCode INVALID_REQUEST_URI
public static final AuthorizationErrorCode INVALID_REQUEST_OBJECT
public static final AuthorizationErrorCode REQUEST_NOT_SUPPORTED
public static final AuthorizationErrorCode REQUEST_URI_NOT_SUPPORTED
public static final AuthorizationErrorCode REGISTRATION_NOT_SUPPORTED
public static final AuthorizationErrorCode INVALID_REQUEST
public static final AuthorizationErrorCode UNAUTHORIZED_CLIENT
public static final AuthorizationErrorCode ACCESS_DENIED
public static final AuthorizationErrorCode UNSUPPORTED_RESPONSE_TYPE
public static final AuthorizationErrorCode INVALID_SCOPE
public static final AuthorizationErrorCode SERVER_ERROR
public static final AuthorizationErrorCode TEMPORARILY_UNAVAILABLE
public static final AuthorizationErrorCode UNAUTHORIZED_SCOPE_ERROR
public static final AuthorizationErrorCode USER_CANCELLED_AUTHORIZE
public static AuthorizationErrorCode[] values()
for (AuthorizationErrorCode c : AuthorizationErrorCode.values()) System.out.println(c);
public static AuthorizationErrorCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getErrorCode()
getErrorCode
in interface ErrorCode
public java.lang.String getErrorCodeDescription()
getErrorCodeDescription
in interface ErrorCode
public java.lang.String toString()
toString
in class java.lang.Enum<AuthorizationErrorCode>