Package io.meeds.oauth2.server.service
Class OAuthTokenService
java.lang.Object
io.meeds.oauth2.server.service.OAuthTokenService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteTokenById(String tokenId, String username) voiddeleteTokensByClient(String clientId) voiddeleteTokensByUser(String username) voiddeleteTokensByUserAndClient(String username, String clientId) org.springframework.security.oauth2.server.authorization.OAuth2Authorizationorg.springframework.security.oauth2.server.authorization.OAuth2AuthorizationfindByToken(String token, org.springframework.security.oauth2.server.authorization.OAuth2TokenType tokenType) getTokensByClient(String clientId) getTokensByUser(String username) getTokensByUserAndClient(String username, String clientId) voidremove(org.springframework.security.oauth2.server.authorization.OAuth2Authorization authorization)
-
Constructor Details
-
OAuthTokenService
public OAuthTokenService()
-
-
Method Details
-
remove
public void remove(org.springframework.security.oauth2.server.authorization.OAuth2Authorization authorization) -
findById
public org.springframework.security.oauth2.server.authorization.OAuth2Authorization findById(String id) -
findByToken
public org.springframework.security.oauth2.server.authorization.OAuth2Authorization findByToken(String token, org.springframework.security.oauth2.server.authorization.OAuth2TokenType tokenType) -
getTokensByUserAndClient
-
getTokensByUser
-
getTokensByClient
-
deleteTokensByUserAndClient
-
deleteTokensByClient
-
deleteTokensByUser
-
deleteTokenById
public void deleteTokenById(String tokenId, String username) throws IllegalAccessException, org.exoplatform.commons.exception.ObjectNotFoundException - Throws:
IllegalAccessExceptionorg.exoplatform.commons.exception.ObjectNotFoundException
-