Package com.google.api.client.auth.oauth
Class OAuthAuthorizeTemporaryTokenUrl
- java.lang.Object
-
- java.util.AbstractMap<java.lang.String,java.lang.Object>
-
- com.google.api.client.util.GenericData
-
- com.google.api.client.http.GenericUrl
-
- com.google.api.client.auth.oauth.OAuthAuthorizeTemporaryTokenUrl
-
- All Implemented Interfaces:
java.lang.Cloneable,java.util.Map<java.lang.String,java.lang.Object>
@Beta public class OAuthAuthorizeTemporaryTokenUrl extends com.google.api.client.http.GenericUrlBeta
OAuth 1.0a URL builder for an authorization web page to allow the end user to authorize the temporary token.The
temporaryTokenshould be set from theOAuthCredentialsResponse.tokenreturned byAbstractOAuthGetToken.execute(). UseGenericUrl.build()to build the authorization URL. If aOAuthGetTemporaryToken.callbackwas specified, after the end user grants the authorization, the authorization server will redirect to that callback URL. To parse the response, useOAuthCallbackUrl.- Since:
- 1.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData
com.google.api.client.util.GenericData.Flags
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringtemporaryTokenThe temporary credentials token obtained from temporary credentials request in the "oauth_token" parameter.
-
Constructor Summary
Constructors Constructor Description OAuthAuthorizeTemporaryTokenUrl(java.lang.String encodedUserAuthorizationUrl)
-
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, toURL
-
Methods inherited from class com.google.api.client.util.GenericData
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
-
Methods inherited from class java.util.AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, values
-
-
-
-
Field Detail
-
temporaryToken
public java.lang.String temporaryToken
The temporary credentials token obtained from temporary credentials request in the "oauth_token" parameter. It is found in theOAuthCredentialsResponse.tokenreturned byAbstractOAuthGetToken.execute().
-
-