com.google.api.client.auth.oauth2.draft10
Class AccessTokenErrorResponse
java.lang.Object
java.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.auth.oauth2.draft10.AccessTokenErrorResponse
- All Implemented Interfaces:
- Cloneable, Map<String,Object>
public class AccessTokenErrorResponse
- extends GenericData
OAuth 2.0 (draft 10) access token error response as specified in Error Response.
- Since:
- 1.4
- Author:
- Yaniv Inbar
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
|
Field Summary |
String |
error
(REQUIRED) A single error code. |
String |
errorDescription
(OPTIONAL) A human-readable text providing additional information, used to assist in the
understanding and resolution of the error occurred. |
String |
errorUri
(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
- (REQUIRED) A single error code.
- See Also:
getErrorCodeIfKnown()
errorDescription
public String errorDescription
- (OPTIONAL) A human-readable text providing additional information, used to assist in the
understanding and resolution of the error occurred.
errorUri
public String errorUri
- (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()
getErrorCodeIfKnown
public final AccessTokenErrorResponse.KnownError getErrorCodeIfKnown()
- 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.