org.apache.cxf.rs.security.oauth.services
Class OAuthDefaultServices
java.lang.Object
org.apache.cxf.rs.security.oauth.services.OAuthDefaultServices
@Path(value="/")
public class OAuthDefaultServices
- extends Object
Default OAuth service implementation
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OAuthDefaultServices
public OAuthDefaultServices()
setMessageContext
@Context
public void setMessageContext(MessageContext mc)
setAuthorizationService
public void setAuthorizationService(AuthorizationRequestService service)
setAccessTokenService
public void setAccessTokenService(AccessTokenService service)
setRequestTokenservice
public void setRequestTokenservice(RequestTokenService service)
getRequestToken
@POST
@Path(value="/initiate")
@Produces(value="application/x-www-form-urlencoded")
public javax.ws.rs.core.Response getRequestToken()
getRequestTokenWithGET
@GET
@Path(value="/initiate")
@Produces(value="application/x-www-form-urlencoded")
public javax.ws.rs.core.Response getRequestTokenWithGET()
authorize
@GET
@Path(value="/authorize")
@Produces(value={"application/xhtml+xml","text/html","application/xml","application/json"})
public javax.ws.rs.core.Response authorize()
authorizeDecision
@GET
@Path(value="/authorize/decision")
public javax.ws.rs.core.Response authorizeDecision()
authorizeDecisionForm
@POST
@Path(value="/authorize/decision")
@Consumes(value="application/x-www-form-urlencoded")
public javax.ws.rs.core.Response authorizeDecisionForm()
getAccessTokenWithGET
@GET
@Path(value="/token")
@Produces(value="application/x-www-form-urlencoded")
public javax.ws.rs.core.Response getAccessTokenWithGET()
getAccessToken
@POST
@Path(value="/token")
@Produces(value="application/x-www-form-urlencoded")
public javax.ws.rs.core.Response getAccessToken()
Apache CXF