|
||||||||||
| 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.OAuthAuthorizeTemporaryTokenUrl
com.google.api.client.googleapis.auth.oauth.GoogleOAuthAuthorizeTemporaryTokenUrl
public final class GoogleOAuthAuthorizeTemporaryTokenUrl
Google OAuth 1.0a URL builder for a Google Accounts web page to allow the end user to authorize the temporary token.
This only supports Google API's that use "https://www.google.com/accounts/OAuthAuthorizeToken" for authorizing temporary tokens.
The OAuthAuthorizeTemporaryTokenUrl.temporaryToken should be set from the OAuthCredentialsResponse.token
returned by AbstractOAuthGetToken.execute(). Use GenericUrl.build() to build the
authorization URL. If a OAuthGetTemporaryToken.callback was specified, after the end user
grants the authorization, the Google authorization server will redirect to that callback URL. To
parse the response, use OAuthCallbackUrl.
| 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 |
hostedDomain
Optional value identifying a particular Google Apps (hosted) domain account to be accessed (for example, 'mycollege.edu') or null or "default" for a regular Google account
('username@gmail.com'). |
String |
language
Optional ISO 639 country code identifying what language the approval page should be translated in (for example, 'hl=en' for English) or null for the user's selected language. |
String |
template
Optionally use "mobile" to for a mobile version of the approval page or null
for normal. |
| Fields inherited from class com.google.api.client.auth.oauth.OAuthAuthorizeTemporaryTokenUrl |
|---|
temporaryToken |
| 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 | |
|---|---|
GoogleOAuthAuthorizeTemporaryTokenUrl()
|
|
| Method Summary |
|---|
| 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 template
"mobile" to for a mobile version of the approval page or null
for normal.
public String hostedDomain
null or "default" for a regular Google account
('username@gmail.com').
public String language
null for the user's selected language.
| Constructor Detail |
|---|
public GoogleOAuthAuthorizeTemporaryTokenUrl()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||