public class InMemoryOAuth2RevocationProcessor extends Object implements org.wso2.carbon.identity.oauth.tokenprocessor.OAuth2RevocationProcessor
| Constructor and Description |
|---|
InMemoryOAuth2RevocationProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
revokeAccessToken(org.wso2.carbon.identity.oauth2.dto.OAuthRevocationRequestDTO revokeRequestDTO,
org.wso2.carbon.identity.oauth2.model.AccessTokenDO accessTokenDO) |
void |
revokeRefreshToken(org.wso2.carbon.identity.oauth2.dto.OAuthRevocationRequestDTO revokeRequestDTO,
org.wso2.carbon.identity.oauth2.model.RefreshTokenValidationDataDO refreshTokenDO) |
boolean |
revokeTokens(String username,
org.wso2.carbon.user.core.UserStoreManager userStoreManager)
Handles rule persistence and propagation for token revocation due to internal user events.
|
public void revokeAccessToken(org.wso2.carbon.identity.oauth2.dto.OAuthRevocationRequestDTO revokeRequestDTO,
org.wso2.carbon.identity.oauth2.model.AccessTokenDO accessTokenDO)
throws org.wso2.carbon.identity.oauth2.IdentityOAuth2Exception
revokeAccessToken in interface org.wso2.carbon.identity.oauth.tokenprocessor.OAuth2RevocationProcessororg.wso2.carbon.identity.oauth2.IdentityOAuth2Exceptionpublic void revokeRefreshToken(org.wso2.carbon.identity.oauth2.dto.OAuthRevocationRequestDTO revokeRequestDTO,
org.wso2.carbon.identity.oauth2.model.RefreshTokenValidationDataDO refreshTokenDO)
throws org.wso2.carbon.identity.oauth2.IdentityOAuth2Exception
revokeRefreshToken in interface org.wso2.carbon.identity.oauth.tokenprocessor.OAuth2RevocationProcessororg.wso2.carbon.identity.oauth2.IdentityOAuth2Exceptionpublic boolean revokeTokens(String username, org.wso2.carbon.user.core.UserStoreManager userStoreManager) throws org.wso2.carbon.user.core.UserStoreException
revokeTokens in interface org.wso2.carbon.identity.oauth.tokenprocessor.OAuth2RevocationProcessorusername - user on which the event occurreduserStoreManager - user store managerorg.wso2.carbon.user.core.UserStoreException - if an error occurs while handling user change eventsCopyright © 2024 WSO2. All rights reserved.