Class OAuthAuthorizeTemporaryTokenUrl (1.36.0)

public class OAuthAuthorizeTemporaryTokenUrl extends 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 OAuthGetTemporaryToken#execute(). Use #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.

Inheritance

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

Constructors

OAuthAuthorizeTemporaryTokenUrl(String encodedUserAuthorizationUrl)

public OAuthAuthorizeTemporaryTokenUrl(String encodedUserAuthorizationUrl)
Parameter
Name Description
encodedUserAuthorizationUrl String

encoded user authorization URL

Fields

temporaryToken

public String temporaryToken

The temporary credentials token obtained from temporary credentials request in the "oauth_token" parameter. It is found in the OAuthCredentialsResponse#token returned by OAuthGetTemporaryToken#execute().

Field Value
Type Description
String