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.
- Author:
- Dirk Balfanz, John Kristian
validateMessage
void validateMessage(OAuthMessage message,
OAuthAccessor accessor)
throws 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.
Copyright © 2009. All Rights Reserved.