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("/revoke") public class TokenRevocationService extends AbstractTokenServiceOAuth2 Token Revocation Service implementation
-
-
Field Summary
-
Fields inherited from class org.apache.cxf.rs.security.oauth2.services.AbstractOAuthService
LOG
-
-
Constructor Summary
Constructors Constructor Description TokenRevocationService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsehandleTokenRevocation(javax.ws.rs.core.MultivaluedMap<String,String> params)Processes a token revocation request-
Methods inherited from class org.apache.cxf.rs.security.oauth2.services.AbstractTokenService
authenticateClientIfNeeded, checkCertificateBinding, compareTlsCertificates, createErrorResponse, createErrorResponseFromBean, createErrorResponseFromErrorCode, getAndValidateClientFromIdAndSecret, getClient, getClient, getClientFromBasicAuthScheme, getClientFromTLSCertificates, handleException, isCanSupportPublicClients, isConfidenatialClientSecretValid, isValidPublicClient, reportInvalidClient, reportInvalidClient, retrieveClientId, setCanSupportPublicClients, setClientIdProvider, setClientSecretVerifier, setWriteCustomErrors, validateClientAuthenticationMethod
-
Methods inherited from class org.apache.cxf.rs.security.oauth2.services.AbstractOAuthService
checkTransportSecurity, getDataProvider, getMessageContext, getQueryParameters, getValidClient, getValidClient, injectContextIntoOAuthProviders, isWriteOptionalParameters, reportInvalidRequestError, reportInvalidRequestError, reportInvalidRequestError, reportInvalidRequestError, setBlockUnsecureRequests, setDataProvider, setMessageContext, setWriteOptionalParameters
-
-
-
-
Method Detail
-
handleTokenRevocation
@POST @Consumes("application/x-www-form-urlencoded") @Produces("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
-
-