Class OAuthGetTemporaryToken
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.AbstractOAuthGetToken
com.google.api.client.auth.oauth.OAuthGetTemporaryToken
Beta Generic OAuth 1.0a URL to request a temporary credentials token (or "request token") from an authorization server.
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.
- 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 AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K, V> -
Field Summary
FieldsModifier and TypeFieldDescriptionOptional absolute URI back to which the server will redirect the resource owner when the Resource Owner Authorization step is completed ornullfor none.Fields inherited from class AbstractOAuthGetToken
consumerKey, signer, transport, usePost -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a new instance of the OAuth authentication provider.Methods inherited from class AbstractOAuthGetToken
executeMethods 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 AbstractMap
clear, containsKey, containsValue, isEmpty, keySet, size, valuesMethods inherited from interface Map
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
callback
Optional absolute URI back to which the server will redirect the resource owner when the Resource Owner Authorization step is completed ornullfor none.
-
-
Constructor Details
-
OAuthGetTemporaryToken
- Parameters:
authorizationServerUrl- encoded authorization server URL
-
-
Method Details
-
createParameters
Description copied from class:AbstractOAuthGetTokenReturns a new instance of the OAuth authentication provider. Subclasses may override by calling this super implementation and then adding OAuth parameters.- Overrides:
createParametersin classAbstractOAuthGetToken
-