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
OAuth2 Token Revocation Service implementation
-
Field Summary
Fields inherited from class org.apache.cxf.rs.security.oauth2.services.AbstractOAuthService
LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.core.ResponsehandleTokenRevocation(jakarta.ws.rs.core.MultivaluedMap<String, String> params) Processes a token revocation requestMethods 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, validateClientAuthenticationMethodMethods 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
-
Constructor Details
-
TokenRevocationService
public TokenRevocationService()
-
-
Method Details
-
handleTokenRevocation
@POST @Consumes("application/x-www-form-urlencoded") @Produces("application/json") public jakarta.ws.rs.core.Response handleTokenRevocation(jakarta.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
-