| Package | Description | 
|---|---|
| net.oauth | |
| net.oauth.signature | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
OAuthProblemException
An OAuth-related problem, described using a set of named parameters. 
 | 
| 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. 
 | 
protected void | 
SimpleOAuthValidator.checkSingleParameters(OAuthMessage message)  | 
OAuthMessage | 
OAuthAccessor.newRequestMessage(String method,
                 String url,
                 Collection<? extends Map.Entry<String,String>> parameters)  | 
OAuthMessage | 
OAuthAccessor.newRequestMessage(String method,
                 String url,
                 Collection<? extends Map.Entry<String,String>> parameters,
                 InputStream body)
Construct a request message containing the given parameters but no body. 
 | 
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)  | 
protected void | 
SimpleOAuthValidator.validateVersion(OAuthMessage message)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected String | 
OAuthSignatureMethod.getSignature(OAuthMessage message)  | 
protected String | 
RSA_SHA1.getSignature(String baseString)  | 
protected abstract String | 
OAuthSignatureMethod.getSignature(String baseString)
Compute the signature for the given base string. 
 | 
protected void | 
RSA_SHA1.initialize(String name,
          OAuthAccessor accessor)  | 
protected void | 
OAuthSignatureMethod.initialize(String name,
          OAuthAccessor accessor)  | 
protected boolean | 
RSA_SHA1.isValid(String signature,
       String baseString)  | 
protected abstract boolean | 
OAuthSignatureMethod.isValid(String signature,
       String baseString)
Decide whether the signature is valid. 
 | 
static OAuthSignatureMethod | 
OAuthSignatureMethod.newMethod(String name,
         OAuthAccessor accessor)
The factory for signature methods. 
 | 
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 © 2008–2017 Province of British Columbia. All rights reserved.