|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
com.google.api.client.auth.oauth2.TokenErrorResponse
public class TokenErrorResponse
OAuth 2.0 parser for an error access token response as specified in Error Response.
Implementation is not thread-safe.
| Nested Class Summary |
|---|
| 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> |
| Constructor Summary | |
|---|---|
TokenErrorResponse()
|
|
| Method Summary | |
|---|---|
String |
getError()
Returns the error code ( "invalid_request", "invalid_client",
"invalid_grant", "unauthorized_client", "unsupported_grant_type",
"invalid_scope", or an extension error code as specified in Defining Additional Error
Codes). |
String |
getErrorDescription()
Returns the human-readable text providing additional information, used to assist the client developer in understanding the error that occurred or null for none. |
String |
getErrorUri()
Returns the URI identifying a human-readable web page with information about the error, used to provide the client developer with additional information about the error or null for
none. |
TokenErrorResponse |
setError(String error)
Sets the error code ( "invalid_request", "invalid_client",
"invalid_grant", "unauthorized_client", "unsupported_grant_type",
"invalid_scope", or an extension error code as specified in Defining Additional Error
Codes). |
TokenErrorResponse |
setErrorDescription(String errorDescription)
Sets the human-readable text providing additional information, used to assist the client developer in understanding the error that occurred or null for none. |
TokenErrorResponse |
setErrorUri(String errorUri)
Sets the URI identifying a human-readable web page with information about the error, used to provide the client developer with additional information about the error or null for
none. |
| Methods inherited from class com.google.api.client.json.GenericJson |
|---|
clone, getFactory, setFactory, toPrettyString, toString |
| Methods inherited from class com.google.api.client.util.GenericData |
|---|
entrySet, get, getUnknownKeys, put, putAll, remove, set, setUnknownKeys |
| Methods inherited from class java.util.AbstractMap |
|---|
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TokenErrorResponse()
| Method Detail |
|---|
public final String getError()
"invalid_request", "invalid_client",
"invalid_grant", "unauthorized_client", "unsupported_grant_type",
"invalid_scope", or an extension error code as specified in Defining Additional Error
Codes).
public TokenErrorResponse setError(String error)
"invalid_request", "invalid_client",
"invalid_grant", "unauthorized_client", "unsupported_grant_type",
"invalid_scope", or an extension error code as specified in Defining Additional Error
Codes).
Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.
public final String getErrorDescription()
null for none.
public TokenErrorResponse setErrorDescription(String errorDescription)
null for none.
Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.
public final String getErrorUri()
null for
none.
public TokenErrorResponse setErrorUri(String errorUri)
null for
none.
Overriding is only supported for the purpose of calling the super implementation and changing the return type, but nothing else.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||