Apache CXF API

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

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

@Path(value="/initiate")
public class RequestTokenService
extends AbstractOAuthService

This resource issues a temporarily request token to the Client which will be later authorised and exchanged for the access token


Constructor Summary
RequestTokenService()
           
 
Method Summary
 javax.ws.rs.core.Response getRequestToken()
           
 javax.ws.rs.core.Response getRequestTokenWithGET()
           
 void setRequestTokenHandler(RequestTokenHandler h)
           
 
Methods inherited from class org.apache.cxf.rs.security.oauth.services.AbstractOAuthService
getDataProvider, getMessageContext, getValidator, setDataProvider, setMessageContext, setValidator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestTokenService

public RequestTokenService()
Method Detail

setRequestTokenHandler

public void setRequestTokenHandler(RequestTokenHandler h)

getRequestTokenWithGET

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

getRequestToken

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

Apache CXF API

Apache CXF