| Package | Description |
|---|---|
| net.oauth | |
| net.oauth.client | |
| net.oauth.signature |
| Modifier and Type | Method and Description |
|---|---|
OAuthAccessor |
OAuthAccessor.clone() |
| Modifier and Type | Method and Description |
|---|---|
void |
OAuthMessage.addRequiredParameters(OAuthAccessor accessor)
Add some of the parameters needed to request access to a protected
resource, if they aren't already in the message.
|
void |
OAuthMessage.sign(OAuthAccessor accessor)
Add a signature to the message.
|
void |
OAuthMessage.validateMessage(OAuthAccessor accessor,
OAuthValidator validator)
Check that the message is valid.
|
void |
OAuthValidator.validateMessage(OAuthMessage message,
OAuthAccessor accessor)
Check that the given message from the given accessor is valid.
|
void |
SimpleOAuthValidator.validateMessage(OAuthMessage message,
OAuthAccessor accessor) |
protected void |
SimpleOAuthValidator.validateSignature(OAuthMessage message,
OAuthAccessor accessor) |
| Modifier and Type | Method and Description |
|---|---|
OAuthMessage |
OAuthClient.getAccessToken(OAuthAccessor accessor,
String httpMethod,
Collection<? extends Map.Entry> parameters)
Get an access token from the service provider, in exchange for an
authorized request token.
|
void |
OAuthClient.getRequestToken(OAuthAccessor accessor)
Get a fresh request token from the service provider.
|
void |
OAuthClient.getRequestToken(OAuthAccessor accessor,
String httpMethod)
Get a fresh request token from the service provider.
|
void |
OAuthClient.getRequestToken(OAuthAccessor accessor,
String httpMethod,
Collection<? extends Map.Entry> parameters)
Get a fresh request token from the service provider.
|
OAuthMessage |
OAuthClient.invoke(OAuthAccessor accessor,
String url,
Collection<? extends Map.Entry> parameters)
Construct a request message, send it to the service provider and get the
response.
|
OAuthMessage |
OAuthClient.invoke(OAuthAccessor accessor,
String httpMethod,
String url,
Collection<? extends Map.Entry> parameters)
Construct a request message, send it to the service provider and get the
response.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
RSA_SHA1.initialize(String name,
OAuthAccessor accessor) |
protected void |
OAuthSignatureMethod.initialize(String name,
OAuthAccessor accessor) |
static OAuthSignatureMethod |
OAuthSignatureMethod.newMethod(String name,
OAuthAccessor accessor)
The factory for signature methods.
|
static OAuthSignatureMethod |
OAuthSignatureMethod.newSigner(OAuthMessage message,
OAuthAccessor accessor) |
Copyright 2015- Charles R. Severance and licensed CC-BY Attribution 4.0