public interface TokenEndpointResponseHandler
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 |
handleResponse(OAuth2Accessor accessor,
HttpResponse response)
Let the handler do it's magic including any accessor/store updates.
|
boolean |
handlesResponse(OAuth2Accessor accessor,
HttpResponse response)
Does the handler support this
OAuth2Accessor / HttpResponse
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 handlesResponse(OAuth2Accessor accessor, HttpResponse response)
OAuth2Accessor / HttpResponse
response?accessor - request - true if handleRequest() should be invokedCopyright © 2007-2014 The Apache Software Foundation. All Rights Reserved.