| Package | Description |
|---|---|
| net.oauth | |
| net.oauth.client | |
| net.oauth.http | |
| net.oauth.server | |
| net.oauth.signature |
| Modifier and Type | Method and Description |
|---|---|
OAuthMessage |
OAuthAccessor.newRequestMessage(String method,
String url,
Collection<? extends Map.Entry> parameters) |
OAuthMessage |
OAuthAccessor.newRequestMessage(String method,
String url,
Collection<? extends Map.Entry> parameters,
InputStream body)
Construct a request message containing the given parameters but no body.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
SimpleOAuthValidator.checkSingleParameters(OAuthMessage message)
Throw an exception if any SINGLE_PARAMETERS occur repeatedly.
|
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) |
protected void |
SimpleOAuthValidator.validateTimestampAndNonce(OAuthMessage message)
This implementation doesn't check the nonce value.
|
protected void |
SimpleOAuthValidator.validateVersion(OAuthMessage message) |
| Modifier and Type | Class and Description |
|---|---|
class |
OAuthResponseMessage
An HTTP response, encapsulated as an OAuthMessage.
|
| 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.
|
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.
|
OAuthMessage |
OAuthClient.invoke(OAuthMessage request,
OAuthClient.ParameterStyle style)
Deprecated.
|
OAuthMessage |
OAuthClient.invoke(OAuthMessage request,
ParameterStyle style)
Send a request message to the service provider and get the response.
|
| Modifier and Type | Method and Description |
|---|---|
OAuthResponseMessage |
OAuthClient.access(OAuthMessage request,
OAuthClient.ParameterStyle style)
Deprecated.
|
OAuthResponseMessage |
OAuthClient.access(OAuthMessage request,
ParameterStyle style)
Send a request and return the response.
|
OAuthMessage |
OAuthClient.invoke(OAuthMessage request,
OAuthClient.ParameterStyle style)
Deprecated.
|
OAuthMessage |
OAuthClient.invoke(OAuthMessage request,
ParameterStyle style)
Send a request message to the service provider and get the response.
|
| Modifier and Type | Method and Description |
|---|---|
static HttpMessage |
HttpMessage.newRequest(OAuthMessage from,
ParameterStyle style)
Construct an HTTP request from this OAuth message.
|
| Modifier and Type | Class and Description |
|---|---|
class |
HttpRequestMessage
An HttpServletRequest, encapsulated as an OAuthMessage.
|
| Modifier and Type | Method and Description |
|---|---|
static OAuthMessage |
OAuthServlet.getMessage(javax.servlet.http.HttpServletRequest request,
String URL)
Extract the parts of the given request that are relevant to OAuth.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
OAuthSignatureMethod.getBaseString(OAuthMessage message) |
protected String |
OAuthSignatureMethod.getSignature(OAuthMessage message) |
static OAuthSignatureMethod |
OAuthSignatureMethod.newSigner(OAuthMessage message,
OAuthAccessor accessor) |
void |
OAuthSignatureMethod.sign(OAuthMessage message)
Add a signature to the message.
|
void |
OAuthSignatureMethod.validate(OAuthMessage message)
Check whether the message has a valid signature.
|
Copyright 2015- Charles R. Severance and licensed CC-BY Attribution 4.0