org.apache.cxf.rs.security.oauth.services
Class AccessTokenService
java.lang.Object
org.apache.cxf.rs.security.oauth.services.AbstractOAuthService
org.apache.cxf.rs.security.oauth.services.AccessTokenService
@Path(value="/token")
public class AccessTokenService
- extends AbstractOAuthService
This resource will replace a request token with a new access token which
will complete the OAuth flow. The third-party consumer will use the access
token to access end user resources.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AccessTokenService
public AccessTokenService()
setAccessTokenHandler
public void setAccessTokenHandler(AccessTokenHandler h)
getAccessTokenWithGET
@GET
@Produces(value="application/x-www-form-urlencoded")
public javax.ws.rs.core.Response getAccessTokenWithGET()
getAccessToken
@POST
@Produces(value="application/x-www-form-urlencoded")
public javax.ws.rs.core.Response getAccessToken()
Apache CXF