@Beta public class OAuthAuthorizeTemporaryTokenUrl extends 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
.
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier and Type | Field and Description |
---|---|
String |
temporaryToken
The temporary credentials token obtained from temporary credentials request in the
"oauth_token" parameter.
|
Constructor and Description |
---|
OAuthAuthorizeTemporaryTokenUrl(String encodedUserAuthorizationUrl) |
appendRawPath, build, buildAuthority, buildRelativeUrl, clone, equals, getAll, getFirst, getFragment, getHost, getPathParts, getPort, getRawPath, getScheme, getUserInfo, hashCode, set, setFragment, setHost, setPathParts, setPort, setRawPath, setScheme, setUserInfo, toPathParts, toPathParts, toString, toURI, toURL, toURL
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public String temporaryToken
OAuthCredentialsResponse.token
returned by
AbstractOAuthGetToken.execute()
.public OAuthAuthorizeTemporaryTokenUrl(String encodedUserAuthorizationUrl)
encodedUserAuthorizationUrl
- encoded user authorization URLCopyright © 2011–2019 Google. All rights reserved.