public static enum OAuth2Types.ErrorType extends Enum<OAuth2Types.ErrorType>
| Enum Constant and Description |
|---|
ACCESS_DENIED |
INVALID_CLIENT |
INVALID_GRANT |
INVALID_REQUEST |
INVALID_SCOPE |
SERVER_ERROR |
TEMPORARILY_UNAVAILABLE |
UNAUTHORIZED_CLIENT |
UNSUPPORTED_GRANT_TYPE |
UNSUPPORTED_RESPONSE_TYPE |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static OAuth2Types.ErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OAuth2Types.ErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OAuth2Types.ErrorType INVALID_REQUEST
public static final OAuth2Types.ErrorType INVALID_CLIENT
public static final OAuth2Types.ErrorType INVALID_GRANT
public static final OAuth2Types.ErrorType UNAUTHORIZED_CLIENT
public static final OAuth2Types.ErrorType UNSUPPORTED_GRANT_TYPE
public static final OAuth2Types.ErrorType INVALID_SCOPE
public static final OAuth2Types.ErrorType ACCESS_DENIED
public static final OAuth2Types.ErrorType UNSUPPORTED_RESPONSE_TYPE
public static final OAuth2Types.ErrorType SERVER_ERROR
public static final OAuth2Types.ErrorType TEMPORARILY_UNAVAILABLE
public static OAuth2Types.ErrorType[] values()
for (OAuth2Types.ErrorType c : OAuth2Types.ErrorType.values()) System.out.println(c);
public static OAuth2Types.ErrorType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<OAuth2Types.ErrorType>Copyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.