com.google.api.client.auth.oauth
Class OAuthAuthorizeTemporaryTokenUrl

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
All Implemented Interfaces:
Cloneable, Map<String,Object>

public class OAuthAuthorizeTemporaryTokenUrl
extends GenericUrl

OAuth 1.0a URL builder for an authorization web page to allow the end user to authorize the temporary token.

The 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 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 temporaryToken
          The temporary credentials token obtained from temporary credentials request in the "oauth_token" parameter.
 
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
OAuthAuthorizeTemporaryTokenUrl(String encodedUserAuthorizationUrl)
           
 
Method Summary
 
Methods inherited from class com.google.api.client.http.GenericUrl
appendRawPath, build, clone, equals, getAll, getFirst, getRawPath, hashCode, setRawPath, toPathParts, toString
 
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, put, putAll, remove, set
 
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

temporaryToken

public String temporaryToken
The temporary credentials token obtained from temporary credentials request in the "oauth_token" parameter. It is found in the OAuthCredentialsResponse.token returned by AbstractOAuthGetToken.execute().

Constructor Detail

OAuthAuthorizeTemporaryTokenUrl

public OAuthAuthorizeTemporaryTokenUrl(String encodedUserAuthorizationUrl)
Parameters:
encodedUserAuthorizationUrl - encoded user authorization URL


Copyright © 2010-2011 Google. All Rights Reserved.