Class OAuthAuthorizeTemporaryTokenUrl (1.32.1)

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
NameDescription
encodedUserAuthorizationUrlString

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
TypeDescription
String