org.apache.cxf.rs.security.oauth2.services
Class TokenRevocationService
java.lang.Object
org.apache.cxf.rs.security.oauth2.services.AbstractOAuthService
org.apache.cxf.rs.security.oauth2.services.AbstractTokenService
org.apache.cxf.rs.security.oauth2.services.TokenRevocationService
@Path(value="/revoke")
public class TokenRevocationService
- extends AbstractTokenService
OAuth2 Token Revocation Service implementation
Methods inherited from class org.apache.cxf.rs.security.oauth2.services.AbstractTokenService |
authenticateClientIfNeeded, compareTlsCertificates, createErrorResponse, createErrorResponseFromBean, getAndValidateClientFromIdAndSecret, getClient, getClientFromBasicAuthScheme, getClientFromTLSCertificates, getClientIdFromTLSCertificates, handleException, isCanSupportPublicClients, reportInvalidClient, reportInvalidClient, setCanSupportPublicClients, setClientIdProvider, setWriteCustomErrors |
Methods inherited from class org.apache.cxf.rs.security.oauth2.services.AbstractOAuthService |
checkTransportSecurity, getDataProvider, getMessageContext, getQueryParameters, getValidClient, getValidClient, isWriteOptionalParameters, reportInvalidRequestError, reportInvalidRequestError, reportInvalidRequestError, reportInvalidRequestError, setBlockUnsecureRequests, setDataProvider, setMessageContext, setWriteOptionalParameters |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TokenRevocationService
public TokenRevocationService()
handleTokenRevocation
@POST
@Consumes(value="application/x-www-form-urlencoded")
@Produces(value="application/json")
public javax.ws.rs.core.Response handleTokenRevocation(javax.ws.rs.core.MultivaluedMap<String,String> params)
- Processes a token revocation request
- Parameters:
params
- the form parameters representing the access token grant
- Returns:
- Access Token or the error
Apache CXF