| Package | Description |
|---|---|
| com.google.gdata.client | |
| com.google.gdata.client.authn.oauth |
| Modifier and Type | Method and Description |
|---|---|
void |
GoogleService.setOAuthCredentials(OAuthParameters parameters,
OAuthSigner signer)
Sets the OAuth credentials used to generate the authorization header.
|
void |
GoogleAuthTokenFactory.setOAuthCredentials(OAuthParameters parameters,
OAuthSigner signer)
Sets the OAuth credentials used to generate the authorization header.
|
| Constructor and Description |
|---|
GoogleAuthTokenFactory.OAuthToken(OAuthParameters parameters,
OAuthSigner signer)
Create a new
GoogleAuthTokenFactory.OAuthToken object. |
| Modifier and Type | Class and Description |
|---|---|
class |
GoogleOAuthParameters
Defines the parameters necessary for making OAuth requests against Google.
|
| Modifier and Type | Method and Description |
|---|---|
String |
OAuthHelper.createUserAuthorizationUrl(OAuthParameters oauthParameters)
Generates the url which the user should visit in order to authenticate and
authorize with the Service Provider.
|
String |
OAuthHelper.getAccessToken(OAuthParameters oauthParameters)
Exchanges the user-authorized request token for an access token.
|
String |
OAuthHelper.getAccessToken(String queryString,
OAuthParameters oauthParameters)
Exchanges the user-authorized request token for an access token.
|
String |
OAuthHelper.getAccessToken(URL url,
OAuthParameters oauthParameters)
Exchanges the user-authorized request token for an access token.
|
String |
OAuthHelper.getAuthorizationHeader(String requestUrl,
String httpMethod,
OAuthParameters oauthParameters)
Generates the string to be used as the HTTP authorization header.
|
void |
OAuthHelper.getOAuthParametersFromCallback(String queryString,
OAuthParameters oauthParameters)
Helper method which parses a querystring for the OAuth related parameters.
|
void |
OAuthHelper.getOAuthParametersFromCallback(URL url,
OAuthParameters oauthParameters)
Helper method which parses a url for the OAuth related parameters.
|
URL |
OAuthHelper.getOAuthUrl(String baseUrl,
String httpMethod,
OAuthParameters oauthParameters)
Returns a properly formatted and signed OAuth request url, with the
appropriate parameters.
|
String |
OAuthSigner.getSignature(String baseString,
OAuthParameters oauthParameters)
Signs the input string using the appropriate signature method.
|
String |
OAuthRsaSha1Signer.getSignature(String baseString,
OAuthParameters oauthParameters) |
String |
OAuthHmacSha1Signer.getSignature(String baseString,
OAuthParameters oauthParameters) |
void |
OAuthHelper.getUnauthorizedRequestToken(OAuthParameters oauthParameters)
Retrieves the unauthorized request token and token secret from the remote
server and sets the parameters in the
OAuthParameters object. |
String |
OAuthHelper.getUserAuthorizationUrl(OAuthParameters oauthParameters)
Deprecated.
|
void |
OAuthHelper.revokeToken(OAuthParameters oauthParameters)
Revokes the user's OAuth token.
|
| Constructor and Description |
|---|
TwoLeggedOAuthHelper(OAuthSigner signer,
OAuthParameters parameters) |
Copyright © 2012. All Rights Reserved.