|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractMap<java.lang.String,java.lang.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 Google OAuth2 API. For a detailed explanation see: http://code.google.com/p/google-api-java-client/wiki/Json
Upgrade warning: starting with version 1.12 getResponseHeaders()
is removed, instead use
JsonHttpRequest.getLastResponseHeaders()
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 |
---|
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Constructor Summary | |
---|---|
Tokeninfo()
|
Method Summary | |
---|---|
java.lang.String |
getAccessType()
The access type granted with this token. |
java.lang.String |
getAudience()
Who is the intended audience for this token. |
java.lang.String |
getEmail()
The email address of the user. |
java.lang.Integer |
getExpiresIn()
The expiry time of the token, as number of seconds left until expiry. |
java.lang.String |
getIssuedTo()
To whom was the token issued to. |
java.lang.String |
getScope()
The space separated list of scopes granted to this token. |
java.lang.String |
getUserId()
The Gaia obfuscated user id. |
java.lang.Boolean |
getVerifiedEmail()
Boolean flag which is true if the email address is verified. |
Tokeninfo |
setAccessType(java.lang.String accessType)
The access type granted with this token. |
Tokeninfo |
setAudience(java.lang.String audience)
Who is the intended audience for this token. |
Tokeninfo |
setEmail(java.lang.String email)
The email address of the user. |
Tokeninfo |
setExpiresIn(java.lang.Integer expiresIn)
The expiry time of the token, as number of seconds left until expiry. |
Tokeninfo |
setIssuedTo(java.lang.String issuedTo)
To whom was the token issued to. |
Tokeninfo |
setScope(java.lang.String scope)
The space separated list of scopes granted to this token. |
Tokeninfo |
setUserId(java.lang.String userId)
The Gaia obfuscated user id. |
Tokeninfo |
setVerifiedEmail(java.lang.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 java.lang.String getAccessType()
null
.
public Tokeninfo setAccessType(java.lang.String accessType)
null
.
public java.lang.String getAudience()
null
.
public Tokeninfo setAudience(java.lang.String audience)
null
.
public java.lang.String getEmail()
null
.
public Tokeninfo setEmail(java.lang.String email)
null
.
public java.lang.Integer getExpiresIn()
null
.
public Tokeninfo setExpiresIn(java.lang.Integer expiresIn)
null
.
public java.lang.String getIssuedTo()
null
.
public Tokeninfo setIssuedTo(java.lang.String issuedTo)
null
.
public java.lang.String getScope()
null
.
public Tokeninfo setScope(java.lang.String scope)
null
.
public java.lang.String getUserId()
null
.
public Tokeninfo setUserId(java.lang.String userId)
null
.
public java.lang.Boolean getVerifiedEmail()
null
.
public Tokeninfo setVerifiedEmail(java.lang.Boolean verifiedEmail)
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |