org.apache.shindig.social.core.oauth2
Class OAuth2AuthorizationHandler

java.lang.Object
  extended by org.apache.shindig.social.core.oauth2.OAuth2AuthorizationHandler

public class OAuth2AuthorizationHandler
extends java.lang.Object

Handles requests to the OAuth 2.0 authorization end-point.


Constructor Summary
OAuth2AuthorizationHandler(OAuth2Service service)
           
 
Method Summary
 OAuth2NormalizedResponse handle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Handles an OAuth 2.0 authorization request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OAuth2AuthorizationHandler

public OAuth2AuthorizationHandler(OAuth2Service service)
Method Detail

handle

public OAuth2NormalizedResponse handle(javax.servlet.http.HttpServletRequest request,
                                       javax.servlet.http.HttpServletResponse response)
                                throws javax.servlet.ServletException,
                                       java.io.IOException
Handles an OAuth 2.0 authorization request.

Parameters:
request - is the original request
response - is the response of the request
Returns:
OAuth2NormalizedResponse represents the OAuth 2.0 response
Throws:
javax.servlet.ServletException
java.io.IOException


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