com.google.api.client.googleapis.auth.oauth
Class GoogleOAuthAuthorizeTemporaryTokenUrl

java.lang.Object
  extended by java.util.AbstractMap<String,Object>
      extended by com.google.api.client.util.GenericData
          extended by com.google.api.client.http.GenericUrl
              extended by com.google.api.client.auth.oauth.OAuthAuthorizeTemporaryTokenUrl
                  extended by 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 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
          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.
 
Fields inherited from class com.google.api.client.auth.oauth.OAuthAuthorizeTemporaryTokenUrl
temporaryToken
 
Constructor Summary
GoogleOAuthAuthorizeTemporaryTokenUrl()
          Deprecated.  
 
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

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.

Constructor Detail

GoogleOAuthAuthorizeTemporaryTokenUrl

public GoogleOAuthAuthorizeTemporaryTokenUrl()
Deprecated. 


Copyright © 2010-2012 Google. All Rights Reserved.