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

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

public javax.ws.rs.core.Response getRequestToken()

getRequestTokenWithGET

public javax.ws.rs.core.Response getRequestTokenWithGET()

authorize

public javax.ws.rs.core.Response authorize()

authorizeDecision

public javax.ws.rs.core.Response authorizeDecision()

authorizeDecisionForm

public javax.ws.rs.core.Response authorizeDecisionForm()

getAccessTokenWithGET

public javax.ws.rs.core.Response getAccessTokenWithGET()

getAccessToken

public javax.ws.rs.core.Response getAccessToken()

Apache CXF API

Apache CXF