com.google.api.client.auth.oauth
Class OAuthAuthorizeTemporaryTokenUrl
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
- 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 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. |
| Methods inherited from class com.google.api.client.http.GenericUrl |
appendRawPath, build, clone, equals, getAll, getFirst, getRawPath, hashCode, setRawPath, toPathParts, toString |
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().
OAuthAuthorizeTemporaryTokenUrl
public OAuthAuthorizeTemporaryTokenUrl(String encodedUserAuthorizationUrl)
- Parameters:
encodedUserAuthorizationUrl - encoded user authorization URL
Copyright © 2010-2011 Google. All Rights Reserved.