public class

OAuthProxyRequest

extends HashMap<K, V>
java.lang.Object
   ↳ java.util.AbstractMap<K, V>
     ↳ java.util.HashMap<K, V>
       ↳ com.google.gdata.client.authn.oauthproxy.OAuthProxyRequest

Class Overview

Stores the variables related to an OAuth Proxy request.

Summary

Constants
String DEFAULT_ACCESS_TOKEN_URL
String DEFAULT_AUTHORIZATION_URL
String DEFAULT_REQUEST_TOKEN_URL
String DEFAULT_SERVICE_NAME
String DEFAULT_USE_TOKEN
[Expand]
Inherited Constants
From class java.util.HashMap
Fields
private String requestTokenUrl
private String scope
[Expand]
Inherited Fields
From class java.util.HashMap
From class java.util.AbstractMap
Public Constructors
OAuthProxyRequest()
Public Methods
String getAcessTokenUrl()
Retrieves the value of the access token url.
String getAuthorizationUrl()
Retrieves the value of the authorization url.
String getDesiredCallbackUrl()
Retrieves the value of the desired callback url.
String getReceivedCallbackUrl()
Retrieves the value of the received callback url.
String getRequestTokenUrl()
Retrieves the value of the request token url.
String getScope()
Retrieves the scope of the request.
String getServiceName()
Retrieves the service name.
String getState()
Retrieves the OAuth State.
String getTokenName()
Retrieves the token name.
String getUseToken()
Retrieves the "use token" parameter.
void setAccessTokenUrl(String value)
Sets the value of the access token url.
void setAuthorizationUrl(String value)
Sets the value of the authorization url.
void setDesiredCallbackUrl(String value)
Sets the value of the desired callback url.
void setReceivedCallbackUrl(String value)
Sets the value of the received callback url.
void setRequestTokenUrl(String value)
Sets the value of the request token url.
void setScope(String value)
Sets the scope of the request.
void setServiceName(String value)
Sets the service name.
void setState(String value)
Sets the OAuth State.
void setTokenName(String value)
Sets the token name.
void setUseToken(String value)
Sets the "use token" parameter.
[Expand]
Inherited Methods
From class java.util.HashMap
From class java.util.AbstractMap
From class java.lang.Object
From interface java.util.Map

Constants

public static final String DEFAULT_ACCESS_TOKEN_URL

Constant Value: "https://www.google.com/accounts/OAuthGetAccessToken"

public static final String DEFAULT_AUTHORIZATION_URL

Constant Value: "https://www.google.com/accounts/OAuthAuthorizeToken"

public static final String DEFAULT_REQUEST_TOKEN_URL

Constant Value: "https://www.google.com/accounts/OAuthGetRequestToken"

public static final String DEFAULT_SERVICE_NAME

Constant Value: "google"

public static final String DEFAULT_USE_TOKEN

Constant Value: "always"

Fields

private String requestTokenUrl

private String scope

Public Constructors

public OAuthProxyRequest ()

Public Methods

public String getAcessTokenUrl ()

Retrieves the value of the access token url. The default value is "https://www.google.com/accounts/OAuthGetAccessToken".

public String getAuthorizationUrl ()

Retrieves the value of the authorization url. The default value is "https://www.google.com/accounts/OAuthAuthorizeToken".

public String getDesiredCallbackUrl ()

Retrieves the value of the desired callback url.

public String getReceivedCallbackUrl ()

Retrieves the value of the received callback url.

public String getRequestTokenUrl ()

Retrieves the value of the request token url. The returned value will include the scope set in setScope(String).

public String getScope ()

Retrieves the scope of the request.

public String getServiceName ()

Retrieves the service name. Default value is "google".

public String getState ()

Retrieves the OAuth State.

public String getTokenName ()

Retrieves the token name.

public String getUseToken ()

Retrieves the "use token" parameter. The default value is "always".

public void setAccessTokenUrl (String value)

Sets the value of the access token url.

Parameters
value

public void setAuthorizationUrl (String value)

Sets the value of the authorization url.

Parameters
value

public void setDesiredCallbackUrl (String value)

Sets the value of the desired callback url.

Parameters
value

public void setReceivedCallbackUrl (String value)

Sets the value of the received callback url.

Parameters
value

public void setRequestTokenUrl (String value)

Sets the value of the request token url. The value will include the scope set in setScope(String).

Parameters
value

public void setScope (String value)

Sets the scope of the request. This value will also be appended to the request token url as the "scope" parameter.

Parameters
value

public void setServiceName (String value)

Sets the service name.

Parameters
value

public void setState (String value)

Sets the OAuth State.

Parameters
value

public void setTokenName (String value)

Sets the token name.

Parameters
value

public void setUseToken (String value)

Sets the "use token" parameter.

Parameters
value