Class OAuthGetTemporaryToken (1.32.1)

public class OAuthGetTemporaryToken extends AbstractOAuthGetToken

Beta
Generic OAuth 1.0a URL to request a temporary credentials token (or "request token") from an authorization server.

Use #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.

Inheritance

java.lang.Object > java.util.AbstractMap > com.google.api.client.util.GenericData > com.google.api.client.http.GenericUrl > AbstractOAuthGetToken > OAuthGetTemporaryToken

Constructors

OAuthGetTemporaryToken(String authorizationServerUrl)

public OAuthGetTemporaryToken(String authorizationServerUrl)
Parameter
NameDescription
authorizationServerUrlString

encoded authorization server URL

Fields

callback

public 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.

Field Value
TypeDescription
String

Methods

createParameters()

public OAuthParameters createParameters()

Returns a new instance of the OAuth authentication provider. Subclasses may override by calling this super implementation and then adding OAuth parameters.

Returns
TypeDescription
OAuthParameters
Overrides