|
||||||||||
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.googleapis.services.AbstractGoogleClientRequest<T>
com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest<T>
com.google.api.services.oauth2.Oauth2Request<Tokeninfo>
com.google.api.services.oauth2.Oauth2.Tokeninfo
public class Oauth2.Tokeninfo
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 | |
---|---|
protected |
Oauth2.Tokeninfo()
Get token info Create a request for the method "tokeninfo". |
Method Summary | |
---|---|
String |
getAccessToken()
The oauth2 access token |
String |
getIdToken()
The ID token |
Oauth2.Tokeninfo |
setAccessToken(String accessToken)
The oauth2 access token |
Oauth2.Tokeninfo |
setAlt(String alt)
Data format for the response. |
Oauth2.Tokeninfo |
setFields(String fields)
Selector specifying which fields to include in a partial response. |
Oauth2.Tokeninfo |
setIdToken(String idToken)
The ID token |
Oauth2.Tokeninfo |
setKey(String key)
API key. |
Oauth2.Tokeninfo |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user. |
Oauth2.Tokeninfo |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks. |
Oauth2.Tokeninfo |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications. |
Oauth2.Tokeninfo |
setUserIp(String userIp)
IP address of the site where the request originates. |
Methods inherited from class com.google.api.services.oauth2.Oauth2Request |
---|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders |
Methods inherited from class com.google.api.client.googleapis.services.json.AbstractGoogleJsonClientRequest |
---|
getJsonContent, newExceptionOnError, queue |
Methods inherited from class com.google.api.client.googleapis.services.AbstractGoogleClientRequest |
---|
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue |
Methods inherited from class com.google.api.client.util.GenericData |
---|
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys |
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 |
Constructor Detail |
---|
protected Oauth2.Tokeninfo()
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
Oauth2.initialize(AbstractGoogleClientRequest)
must be called to initialize this
instance immediately after invoking the constructor.
Method Detail |
---|
public Oauth2.Tokeninfo setAlt(String alt)
Oauth2Request
setAlt
in class Oauth2Request<Tokeninfo>
public Oauth2.Tokeninfo setFields(String fields)
Oauth2Request
setFields
in class Oauth2Request<Tokeninfo>
public Oauth2.Tokeninfo setKey(String key)
Oauth2Request
setKey
in class Oauth2Request<Tokeninfo>
public Oauth2.Tokeninfo setOauthToken(String oauthToken)
Oauth2Request
setOauthToken
in class Oauth2Request<Tokeninfo>
public Oauth2.Tokeninfo setPrettyPrint(Boolean prettyPrint)
Oauth2Request
setPrettyPrint
in class Oauth2Request<Tokeninfo>
public Oauth2.Tokeninfo setQuotaUser(String quotaUser)
Oauth2Request
setQuotaUser
in class Oauth2Request<Tokeninfo>
public Oauth2.Tokeninfo setUserIp(String userIp)
Oauth2Request
setUserIp
in class Oauth2Request<Tokeninfo>
public String getAccessToken()
public Oauth2.Tokeninfo setAccessToken(String accessToken)
public String getIdToken()
public Oauth2.Tokeninfo setIdToken(String idToken)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |