Class OAuthAuthorizeTemporaryTokenUrl

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.OAuthAuthorizeTemporaryTokenUrl
All Implemented Interfaces:
Cloneable, Map<String,Object>

@Beta public class OAuthAuthorizeTemporaryTokenUrl extends com.google.api.client.http.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 AbstractOAuthGetToken.execute(). Use GenericUrl.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.

Since:
1.0
  • Field Details

  • Constructor Details

    • OAuthAuthorizeTemporaryTokenUrl

      public OAuthAuthorizeTemporaryTokenUrl(String encodedUserAuthorizationUrl)
      Parameters:
      encodedUserAuthorizationUrl - encoded user authorization URL