Package 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
@Beta
public class OAuthAuthorizeTemporaryTokenUrl
extends com.google.api.client.http.GenericUrl
Beta 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
-
Nested Class Summary
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.FlagsNested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
FieldsModifier and TypeFieldDescriptionThe temporary credentials token obtained from temporary credentials request in the "oauth_token" parameter. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.google.api.client.http.GenericUrl
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, toString, toURI, toURL, toURLMethods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysMethods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, valuesMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
temporaryToken
The temporary credentials token obtained from temporary credentials request in the "oauth_token" parameter. It is found in theOAuthCredentialsResponse.tokenreturned byAbstractOAuthGetToken.execute().
-
-
Constructor Details
-
OAuthAuthorizeTemporaryTokenUrl
- Parameters:
encodedUserAuthorizationUrl- encoded user authorization URL
-