Package 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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
validateMessage(OAuthMessage message, OAuthAccessor accessor)
Check that the given message from the given accessor is valid.
-
-
-
Method Detail
-
validateMessage
void validateMessage(OAuthMessage message, OAuthAccessor accessor) throws OAuthException, IOException, 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.IOException
- the message couldn't be read.URISyntaxException
- the message URL is invalid.
-
-