com.google.api.client.googleapis.auth.oauth
Class GoogleOAuthAuthorizeTemporaryTokenUrl
java.lang.Object
java.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
- All Implemented Interfaces:
- Cloneable, Map<String,Object>
Deprecated. (scheduled to be removed in 1.9) Use
GoogleAuthorizationCodeRequestUrl
@Deprecated
public final class GoogleOAuthAuthorizeTemporaryTokenUrl
- extends OAuthAuthorizeTemporaryTokenUrl
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
.
- Since:
- 1.0
- Author:
- Yaniv Inbar
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Field Summary |
String |
hostedDomain
Deprecated. 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
('[email protected]'). |
String |
language
Deprecated. 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
Deprecated. Optionally use "mobile" to for a mobile version of the approval page or null
for normal. |
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 |
template
public String template
- Deprecated.
- Optionally use
"mobile"
to for a mobile version of the approval page or null
for normal.
hostedDomain
public String hostedDomain
- Deprecated.
- 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
('[email protected]').
language
public String language
- Deprecated.
- 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.
GoogleOAuthAuthorizeTemporaryTokenUrl
public GoogleOAuthAuthorizeTemporaryTokenUrl()
- Deprecated.
Copyright © 2010-2012 Google. All Rights Reserved.