com.google.api.client.auth.oauth2
Class AccessTokenErrorResponse
java.lang.Object
java.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.auth.oauth2.AccessTokenErrorResponse
- All Implemented Interfaces:
- Cloneable, Map<String,Object>
Deprecated. (scheduled to be removed in 1.5) Use
AccessTokenErrorResponse
@Deprecated
public class AccessTokenErrorResponse
- extends GenericData
OAuth 2.0 access token error response as specified in Error Response.
- Since:
- 1.2
- Author:
- Yaniv Inbar
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
|
Field Summary |
String |
error
Deprecated. (REQUIRED) A single error code. |
String |
errorDescription
Deprecated. (OPTIONAL) A human-readable text providing additional information, used to assist in the
understanding and resolution of the error occurred. |
String |
errorUri
Deprecated. (OPTIONAL) A URI identifying a human-readable web page with information about the error, used
to provide the end-user with additional information about the error. |
error
public String error
- Deprecated.
- (REQUIRED) A single error code.
- See Also:
getErrorCodeIfKnown()
errorDescription
public String errorDescription
- Deprecated.
- (OPTIONAL) A human-readable text providing additional information, used to assist in the
understanding and resolution of the error occurred.
errorUri
public String errorUri
- Deprecated.
- (OPTIONAL) A URI identifying a human-readable web page with information about the error, used
to provide the end-user with additional information about the error.
AccessTokenErrorResponse
public AccessTokenErrorResponse()
- Deprecated.
getErrorCodeIfKnown
public final AccessTokenErrorResponse.KnownError getErrorCodeIfKnown()
- Deprecated.
- Returns a known error code if
error is one of the error codes listed in the OAuth 2
specification or null if the error is null or not known.
Copyright © 2010-2011 Google. All Rights Reserved.