org.apache.shindig.social.core.oauth2.validators
Interface OAuth2RequestValidator

All Known Subinterfaces:
OAuth2GrantValidator, OAuth2ProtectedResourceValidator
All Known Implementing Classes:
AccessTokenRequestValidator, AuthCodeGrantValidator, AuthorizationCodeRequestValidator, ClientCredentialsGrantValidator, DefaultResourceRequestValidator

public interface OAuth2RequestValidator

Validator interface for OAuth 2.0 requests.


Method Summary
 void validateRequest(OAuth2NormalizedRequest req)
          Validates an OAuth 2.0 request.
 

Method Detail

validateRequest

void validateRequest(OAuth2NormalizedRequest req)
                     throws OAuth2Exception
Validates an OAuth 2.0 request.

Parameters:
req - is the normalized OAuth 2.0 request to validate
Throws:
OAuth2Exception - if the request failed to validate


Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.