@Beta public class OAuthGetTemporaryToken extends AbstractOAuthGetToken
Beta
Use AbstractOAuthGetToken.execute() to execute the request. The temporary token acquired with this request is
found in OAuthCredentialsResponse.token. This temporary token is used in
OAuthAuthorizeTemporaryTokenUrl.temporaryToken to direct the end user to an authorization
page to allow the end user to authorize the temporary token.
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier and Type | Field and Description |
|---|---|
String |
callback
Optional absolute URI back to which the server will redirect the resource owner when the
Resource Owner Authorization step is completed or
null for none. |
consumerKey, signer, transport, usePost| Constructor and Description |
|---|
OAuthGetTemporaryToken(String authorizationServerUrl) |
| Modifier and Type | Method and Description |
|---|---|
OAuthParameters |
createParameters()
Returns a new instance of the OAuth authentication provider.
|
executeappendRawPath, 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, toURLentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String callback
null for none.public OAuthGetTemporaryToken(String authorizationServerUrl)
authorizationServerUrl - encoded authorization server URLpublic OAuthParameters createParameters()
AbstractOAuthGetTokencreateParameters in class AbstractOAuthGetTokenCopyright © 2011–2019 Google. All rights reserved.