public interface AuthorizationEndpointResponseHandler
http://tools.ietf.org/html/draft-ietf-oauth-v2-21#section-4
By default shindig has handlers for the Authorization Code and Client
Credential flows.| Modifier and Type | Method and Description |
|---|---|
OAuth2HandlerError |
handleRequest(OAuth2Accessor accessor,
javax.servlet.http.HttpServletRequest request)
Let the handler do it's magic including any accessor/store updates.
|
OAuth2HandlerError |
handleResponse(OAuth2Accessor accessor,
HttpResponse response)
Let the handler do it's magic including any accessor/store updates.
|
boolean |
handlesRequest(OAuth2Accessor accessor,
javax.servlet.http.HttpServletRequest request)
Does the handler support this
OAuth2Accessor /
HttpServletRequest response? The presumably has come from the
OAuth2CallbackServlet or somewhere similar. |
boolean |
handlesResponse(OAuth2Accessor accessor,
HttpResponse response)
Does the handler support this
OAuth2Accessor / HttpResponse
response? |
OAuth2HandlerError handleRequest(OAuth2Accessor accessor, javax.servlet.http.HttpServletRequest request)
OAuth2HandlerError.
Applies in particular to the Authorization Code flow redirect.
See http://tools.ietf.org/html/draft-ietf-oauth-v2-21#section-4.1.2accessor - response - OAuth2HandlerError handleResponse(OAuth2Accessor accessor, HttpResponse response)
OAuth2HandlerError.
Applies in particular to the client_credentials flow.
See http://tools.ietf.org/html/draft-ietf-oauth-v2-21#section-4.4.1accessor - response - boolean handlesRequest(OAuth2Accessor accessor, javax.servlet.http.HttpServletRequest request)
OAuth2Accessor /
HttpServletRequest response? The presumably has come from the
OAuth2CallbackServlet or somewhere similar.accessor - request - true if handleRequest() should be invokedboolean handlesResponse(OAuth2Accessor accessor, HttpResponse response)
OAuth2Accessor / HttpResponse
response?accessor - response - true if handleRequest() should be invokedCopyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.