Apache CXF API

org.apache.cxf.rs.security.oauth.services
Class OAuthDefaultServices

java.lang.Object
  extended by org.apache.cxf.rs.security.oauth.services.OAuthDefaultServices

@Path(value="/")
public class OAuthDefaultServices
extends Object

Default OAuth service implementation


Constructor Summary
OAuthDefaultServices()
           
 
Method Summary
 javax.ws.rs.core.Response authorize()
           
 javax.ws.rs.core.Response authorizeDecision()
           
 javax.ws.rs.core.Response authorizeDecisionForm()
           
 javax.ws.rs.core.Response getAccessToken()
           
 javax.ws.rs.core.Response getAccessTokenWithGET()
           
 javax.ws.rs.core.Response getRequestToken()
           
 javax.ws.rs.core.Response getRequestTokenWithGET()
           
 void setAccessTokenService(AccessTokenService service)
           
 void setAuthorizationService(AuthorizationRequestService service)
           
 void setMessageContext(MessageContext mc)
           
 void setRequestTokenservice(RequestTokenService service)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OAuthDefaultServices

public OAuthDefaultServices()
Method Detail

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

@Path(value="/initiate")
public javax.ws.rs.core.Response getRequestToken()

getRequestTokenWithGET

@Path(value="/initiate")
public javax.ws.rs.core.Response getRequestTokenWithGET()

authorize

@Path(value="/authorize")
public javax.ws.rs.core.Response authorize()

authorizeDecision

@Path(value="/authorize/decision")
public javax.ws.rs.core.Response authorizeDecision()

authorizeDecisionForm

@Path(value="/authorize/decision")
public javax.ws.rs.core.Response authorizeDecisionForm()

getAccessTokenWithGET

@Path(value="/token")
public javax.ws.rs.core.Response getAccessTokenWithGET()

getAccessToken

@Path(value="/token")
public javax.ws.rs.core.Response getAccessToken()

Apache CXF API

Apache CXF