@Path(value="/") public class OAuthDefaultServices extends Object
Constructor and Description |
---|
OAuthDefaultServices() |
Modifier and Type | Method and Description |
---|---|
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) |
@Context public void setMessageContext(MessageContext mc)
public void setAuthorizationService(AuthorizationRequestService service)
public void setAccessTokenService(AccessTokenService service)
public void setRequestTokenservice(RequestTokenService service)
@POST @Path(value="/initiate") @Produces(value="application/x-www-form-urlencoded") public javax.ws.rs.core.Response getRequestToken()
@GET @Path(value="/initiate") @Produces(value="application/x-www-form-urlencoded") public javax.ws.rs.core.Response getRequestTokenWithGET()
@GET @Path(value="/authorize") @Produces(value={"application/xhtml+xml","text/html","application/xml","application/json"}) public javax.ws.rs.core.Response authorize()
@GET @Path(value="/authorize/decision") public javax.ws.rs.core.Response authorizeDecision()
@POST @Path(value="/authorize/decision") @Consumes(value="application/x-www-form-urlencoded") public javax.ws.rs.core.Response authorizeDecisionForm()
@GET @Path(value="/token") @Produces(value="application/x-www-form-urlencoded") public javax.ws.rs.core.Response getAccessTokenWithGET()
@POST @Path(value="/token") @Produces(value="application/x-www-form-urlencoded") public javax.ws.rs.core.Response getAccessToken()
Apache CXF