|
||||||||||
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.http.GenericUrl
com.google.api.client.auth.oauth.AbstractOAuthGetToken
com.google.api.client.auth.oauth.OAuthGetTemporaryToken
com.google.api.client.googleapis.auth.oauth.GoogleOAuthGetTemporaryToken
public final class GoogleOAuthGetTemporaryToken
Generic Google OAuth 1.0a URL to request a temporary credentials token (or "request token") from the Google Authorization server.
Use AbstractOAuthGetToken.execute()
to execute the request. Google verifies that the requesting application
has been registered with Google or is using an approved signature (in the case of installed
applications). The temporary token acquired with this request is found in
OAuthCredentialsResponse.token
. This temporary token is used in
OAuthAuthorizeTemporaryTokenUrl.temporaryToken
to direct the end user to a Google
Accounts web page to allow the end user to authorize the temporary token.
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> |
Field Summary | |
---|---|
String |
displayName
Optional string identifying the application or null for none. |
String |
scope
Required URL identifying the service(s) to be accessed. |
Fields inherited from class com.google.api.client.auth.oauth.OAuthGetTemporaryToken |
---|
callback |
Fields inherited from class com.google.api.client.auth.oauth.AbstractOAuthGetToken |
---|
consumerKey, signer, transport, usePost |
Fields inherited from class com.google.api.client.http.GenericUrl |
---|
fragment, host, pathParts, port, scheme |
Fields inherited from class com.google.api.client.util.GenericData |
---|
unknownFields |
Constructor Summary | |
---|---|
GoogleOAuthGetTemporaryToken()
|
Method Summary | |
---|---|
com.google.api.client.auth.oauth.OAuthParameters |
createParameters()
|
Methods inherited from class com.google.api.client.auth.oauth.AbstractOAuthGetToken |
---|
execute |
Methods inherited from class com.google.api.client.http.GenericUrl |
---|
appendRawPath, build, clone, equals, getAll, getFirst, getFragment, getHost, getPathParts, getPort, getRawPath, getScheme, hashCode, setFragment, setHost, setPathParts, setPort, setRawPath, setScheme, toPathParts, 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, isEmpty, keySet, size, values |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public String displayName
null
for none. This string is displayed
to end users on Google's authorization confirmation page. For registered applications, the
value of this parameter overrides the name set during registration and also triggers a message
to the user that the identity can't be verified. For unregistered applications, this parameter
enables them to specify an application name, In the case of unregistered applications, if this
parameter is not set, Google identifies the application using the URL value of oauth_callback;
if neither parameter is set, Google uses the string "anonymous".
public String scope
Constructor Detail |
---|
public GoogleOAuthGetTemporaryToken()
Method Detail |
---|
public com.google.api.client.auth.oauth.OAuthParameters createParameters()
createParameters
in class com.google.api.client.auth.oauth.OAuthGetTemporaryToken
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |