@Beta
public class OAuthAuthorizeTemporaryTokenUrl
extends com.google.api.client.http.GenericUrl
Beta
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.
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>| Modifier and Type | Field | Description |
|---|---|---|
String |
temporaryToken |
The temporary credentials token obtained from temporary credentials request in the
"oauth_token" parameter.
|
| Constructor | Description |
|---|---|
OAuthAuthorizeTemporaryTokenUrl(String encodedUserAuthorizationUrl) |
clear, containsKey, containsValue, isEmpty, keySet, size, valuesentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysappendRawPath, build, buildAuthority, buildRelativeUrl, clone, equals, getAll, getFirst, getFragment, getHost, getPathParts, getPort, getRawPath, getScheme, getUserInfo, hashCode, set, setFragment, setHost, setPathParts, setPort, setRawPath, setScheme, setUserInfo, toPathParts, toString, toURI, toURL, toURLpublic String temporaryToken
OAuthCredentialsResponse.token returned by
AbstractOAuthGetToken.execute().public OAuthAuthorizeTemporaryTokenUrl(String encodedUserAuthorizationUrl)
encodedUserAuthorizationUrl - encoded user authorization URLCopyright © 2011–2019 Google. All rights reserved.