com.google.api.client.auth.oauth2
Class AccessTokenErrorResponse

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by com.google.api.client.util.GenericData
          extended by 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 Class Summary
static class AccessTokenErrorResponse.KnownError
          Deprecated. Error codes listed in Error Codes.
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
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.
 
Fields inherited from class com.google.api.client.util.GenericData
unknownFields
 
Constructor Summary
AccessTokenErrorResponse()
          Deprecated.  
 
Method Summary
 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.
 
Methods inherited from class com.google.api.client.util.GenericData
clone, entrySet, get, put, putAll, remove, set
 
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

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.

Constructor Detail

AccessTokenErrorResponse

public AccessTokenErrorResponse()
Deprecated. 
Method Detail

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.