@Path(value="/token") public class AccessTokenService extends AbstractOAuthService
Constructor and Description |
---|
AccessTokenService() |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
getAccessToken() |
javax.ws.rs.core.Response |
getAccessTokenWithGET() |
void |
setAccessTokenHandler(AccessTokenHandler h) |
getDataProvider, getMessageContext, getValidator, setDataProvider, setMessageContext, setValidator
public void setAccessTokenHandler(AccessTokenHandler h)
@GET @Produces(value="application/x-www-form-urlencoded") public javax.ws.rs.core.Response getAccessTokenWithGET()
@POST @Produces(value="application/x-www-form-urlencoded") public javax.ws.rs.core.Response getAccessToken()
Apache CXF