Package | Description |
---|---|
net.oauth |
Fundamental classes and algorithms for implementing OAuth.
|
net.oauth.client |
Classes for implementing an OAuth Consumer; that is a client that requests
access to protected resources.
|
net.oauth.client.httpclient4 |
Classes that integrate the Apache Commons HTTP Client version 4 with the OAuth library.
|
net.oauth.signature |
Classes to compute and verify digital signatures.
|
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 |
SimpleOAuthValidator.validateMessage(OAuthMessage message,
OAuthAccessor accessor) |
void |
OAuthValidator.validateMessage(OAuthMessage message,
OAuthAccessor accessor)
Check that the given message from the given accessor is valid.
|
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.getRequestTokenResponse(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 |
---|---|
OAuthAccessor |
OAuthCredentials.getAccessor() |
Constructor and Description |
---|
OAuthCredentials(OAuthAccessor accessor) |
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 © 2023. All rights reserved.