org.apache.cxf.rs.security.oauth.services
Class AuthorizationRequestService
java.lang.Object
org.apache.cxf.rs.security.oauth.services.AbstractOAuthService
org.apache.cxf.rs.security.oauth.services.AuthorizationRequestService
@Path(value="/authorize")
public class AuthorizationRequestService
- extends AbstractOAuthService
This resource handles the End User authorising
or denying the Client to access its resources.
If End User approves the access this resource will
redirect End User back to the Client, supplying
a request token verifier (aka authorization code)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthorizationRequestService
public AuthorizationRequestService()
setAuthorizationRequestHandler
public void setAuthorizationRequestHandler(AuthorizationRequestHandler h)
authorize
@GET
@Produces(value={"application/xhtml+xml","text/html","application/xml","application/json"})
public javax.ws.rs.core.Response authorize()
authorizeDecision
@GET
@Path(value="/decision")
@Produces(value={"application/xhtml+xml","text/html","application/xml;qs=0.9","application/json;qs=0.9","application/x-www-form-urlencoded"})
public javax.ws.rs.core.Response authorizeDecision()
authorizeDecisionForm
@POST
@Path(value="/decision")
@Consumes(value="application/x-www-form-urlencoded")
@Produces(value={"application/xhtml+xml","text/html","application/xml;qs=0.9","application/json;qs=0.9","application/x-www-form-urlencoded"})
public javax.ws.rs.core.Response authorizeDecisionForm()
Apache CXF