|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<AuthenticationException.Reason> com.kii.sdk.photocolle.AuthenticationException.Reason
public static enum AuthenticationException.Reason
Error reason returned from server.
Enum Constant Summary | |
---|---|
INVALID_CLIENT
Client authentication failed (e.g., unknown client, no client authentication included, or unsupported authentication method). |
|
INVALID_GRANT
The provided authorization grant (e.g., authorization code, resource owner credentials) or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client. |
|
INVALID_REQUEST
The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed. |
|
INVALID_SCOPE
The requested scope is invalid, unknown, or malformed. |
|
SERVER_ERROR
The authorization server encountered an unexpected condition that prevented it from fulfilling the request. |
|
TEMPORARILY_UNAVAILABLE
The authorization server is currently unable to handle the request due to a temporary overloading or maintenance of the server. |
|
UNAUTHORIZED_CLIENT
The client is not authorized to request an authorization code using this method. |
|
UNSUPPORTED_GRANT_TYPE
The authorization grant type is not supported by the authorization server. |
|
UNSUPPORTED_RESPONSE_TYPE
The authorization server does not support requested response type. |
Method Summary | |
---|---|
String |
getLabel()
|
static AuthenticationException.Reason |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AuthenticationException.Reason[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final AuthenticationException.Reason INVALID_REQUEST
public static final AuthenticationException.Reason UNSUPPORTED_RESPONSE_TYPE
public static final AuthenticationException.Reason SERVER_ERROR
public static final AuthenticationException.Reason INVALID_GRANT
public static final AuthenticationException.Reason INVALID_CLIENT
public static final AuthenticationException.Reason UNAUTHORIZED_CLIENT
public static final AuthenticationException.Reason UNSUPPORTED_GRANT_TYPE
public static final AuthenticationException.Reason INVALID_SCOPE
public static final AuthenticationException.Reason TEMPORARILY_UNAVAILABLE
Method Detail |
---|
public static AuthenticationException.Reason[] values()
for (AuthenticationException.Reason c : AuthenticationException.Reason.values()) System.out.println(c);
public static AuthenticationException.Reason valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getLabel()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |