Package com.github.scribejava.core.model
Enum OAuth2AccessTokenErrorResponse.ErrorCode
- java.lang.Object
-
- java.lang.Enum<OAuth2AccessTokenErrorResponse.ErrorCode>
-
- com.github.scribejava.core.model.OAuth2AccessTokenErrorResponse.ErrorCode
-
- All Implemented Interfaces:
Serializable,Comparable<OAuth2AccessTokenErrorResponse.ErrorCode>
- Enclosing class:
- OAuth2AccessTokenErrorResponse
@Deprecated public static enum OAuth2AccessTokenErrorResponse.ErrorCode extends Enum<OAuth2AccessTokenErrorResponse.ErrorCode>
Deprecated.useOAuth2Error
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INVALID_CLIENTDeprecated.INVALID_GRANTDeprecated.INVALID_REQUESTDeprecated.INVALID_SCOPEDeprecated.UNAUTHORIZED_CLIENTDeprecated.UNSUPPORTED_GRANT_TYPEDeprecated.UNSUPPORTED_TOKEN_TYPEDeprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static OAuth2AccessTokenErrorResponse.ErrorCodeparseFrom(String errorCodeString)Deprecated.static OAuth2AccessTokenErrorResponse.ErrorCodevalueOf(String name)Deprecated.Returns the enum constant of this type with the specified name.static OAuth2AccessTokenErrorResponse.ErrorCode[]values()Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INVALID_REQUEST
public static final OAuth2AccessTokenErrorResponse.ErrorCode INVALID_REQUEST
Deprecated.
-
INVALID_CLIENT
public static final OAuth2AccessTokenErrorResponse.ErrorCode INVALID_CLIENT
Deprecated.
-
INVALID_GRANT
public static final OAuth2AccessTokenErrorResponse.ErrorCode INVALID_GRANT
Deprecated.
-
UNAUTHORIZED_CLIENT
public static final OAuth2AccessTokenErrorResponse.ErrorCode UNAUTHORIZED_CLIENT
Deprecated.
-
UNSUPPORTED_GRANT_TYPE
public static final OAuth2AccessTokenErrorResponse.ErrorCode UNSUPPORTED_GRANT_TYPE
Deprecated.
-
INVALID_SCOPE
public static final OAuth2AccessTokenErrorResponse.ErrorCode INVALID_SCOPE
Deprecated.
-
UNSUPPORTED_TOKEN_TYPE
public static final OAuth2AccessTokenErrorResponse.ErrorCode UNSUPPORTED_TOKEN_TYPE
Deprecated.- See Also:
- RFC 7009, 2.2.1. Error Response
-
-
Method Detail
-
values
public static OAuth2AccessTokenErrorResponse.ErrorCode[] values()
Deprecated.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 (OAuth2AccessTokenErrorResponse.ErrorCode c : OAuth2AccessTokenErrorResponse.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 OAuth2AccessTokenErrorResponse.ErrorCode valueOf(String name)
Deprecated.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
-
parseFrom
public static OAuth2AccessTokenErrorResponse.ErrorCode parseFrom(String errorCodeString)
Deprecated.
-
-