|
||||||||||
| 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.services.oauth2.model.Tokeninfo
public final class Tokeninfo
Model definition for Tokeninfo.
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the . For a detailed explanation see: http://code.google.com/p/google-api-java-client/wiki/Json
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.api.client.util.GenericData |
|---|
GenericData.Flags |
| 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 | |
|---|---|
Tokeninfo()
|
|
| Method Summary | |
|---|---|
String |
getAccessType()
The access type granted with this token. |
String |
getAudience()
Who is the intended audience for this token. |
String |
getEmail()
The email address of the user. |
Integer |
getExpiresIn()
The expiry time of the token, as number of seconds left until expiry. |
String |
getIssuedTo()
To whom was the token issued to. |
HttpHeaders |
getResponseHeaders()
Returns the HTTP headers that were returned with the server response, or null. |
String |
getScope()
The space separated list of scopes granted to this token. |
String |
getUserId()
The Gaia obfuscated user id. |
Boolean |
getVerifiedEmail()
Boolean flag which is true if the email address is verified. |
Tokeninfo |
setAccessType(String accessType)
The access type granted with this token. |
Tokeninfo |
setAudience(String audience)
Who is the intended audience for this token. |
Tokeninfo |
setEmail(String email)
The email address of the user. |
Tokeninfo |
setExpiresIn(Integer expiresIn)
The expiry time of the token, as number of seconds left until expiry. |
Tokeninfo |
setIssuedTo(String issuedTo)
To whom was the token issued to. |
void |
setResponseHeaders(HttpHeaders responseHeaders)
Sets the HTTP headers returned with the server response, or null. |
Tokeninfo |
setScope(String scope)
The space separated list of scopes granted to this token. |
Tokeninfo |
setUserId(String userId)
The Gaia obfuscated user id. |
Tokeninfo |
setVerifiedEmail(Boolean verifiedEmail)
Boolean flag which is true if the email address is verified. |
| 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, getClassInfo, 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 Tokeninfo()
| Method Detail |
|---|
public String getIssuedTo()
null.
public Tokeninfo setIssuedTo(String issuedTo)
null.
public String getUserId()
null.
public Tokeninfo setUserId(String userId)
null.
public Integer getExpiresIn()
null.
public Tokeninfo setExpiresIn(Integer expiresIn)
null.
public String getAccessType()
null.
public Tokeninfo setAccessType(String accessType)
null.
public String getAudience()
null.
public Tokeninfo setAudience(String audience)
null.
public String getScope()
null.
public Tokeninfo setScope(String scope)
null.
public String getEmail()
null.
public Tokeninfo setEmail(String email)
null.
public Boolean getVerifiedEmail()
null.
public Tokeninfo setVerifiedEmail(Boolean verifiedEmail)
null.
public void setResponseHeaders(HttpHeaders responseHeaders)
null.
This member should only be non-null if this object was the top level element of a response. For
example, a request that returns a single Tokeninfo would include the response headers,
while a request which returns an array of Tokeninfo, would have a non-null response
header in the enclosing object only.
public HttpHeaders getResponseHeaders()
null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||