org.apache.shindig.social.core.oauth2.validators
Class AuthorizationCodeRequestValidator

java.lang.Object
  extended by org.apache.shindig.social.core.oauth2.validators.AuthorizationCodeRequestValidator
All Implemented Interfaces:
OAuth2RequestValidator

public class AuthorizationCodeRequestValidator
extends java.lang.Object
implements OAuth2RequestValidator


Constructor Summary
AuthorizationCodeRequestValidator(OAuth2DataService store)
           
 
Method Summary
 void validateRequest(OAuth2NormalizedRequest req)
          Validates an OAuth 2.0 request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthorizationCodeRequestValidator

@Inject
public AuthorizationCodeRequestValidator(OAuth2DataService store)
Method Detail

validateRequest

public void validateRequest(OAuth2NormalizedRequest req)
                     throws OAuth2Exception
Description copied from interface: OAuth2RequestValidator
Validates an OAuth 2.0 request.

Specified by:
validateRequest in interface OAuth2RequestValidator
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.