net.oauth
Interface OAuthValidator
- All Known Implementing Classes:
- SimpleOAuthValidator
public interface OAuthValidator
An algorithm to determine whether a message has a valid signature, a correct
version number, a fresh timestamp, etc.
|
Method Summary |
void |
validateMessage(net.oauth.OAuthMessage message,
net.oauth.OAuthAccessor accessor)
Check that the given message from the given accessor is valid. |
validateMessage
void validateMessage(net.oauth.OAuthMessage message,
net.oauth.OAuthAccessor accessor)
throws net.oauth.OAuthException,
java.io.IOException,
java.net.URISyntaxException
- Check that the given message from the given accessor is valid.
- Throws:
OAuthException - the message doesn't conform to OAuth. The exception contains
information that conforms to the OAuth Problem
Reporting extension.
java.io.IOException - the message couldn't be read.
java.net.URISyntaxException - the message URL is invalid.