bug修改
This commit is contained in:
1 parent
855327ebab
commit
1c2006d05c
12 files changed
+158
-2
No files matched your search
+9
@@ -37,6 +37,15 @@ public interface OAuth2TokenApi {
|
||||
*/
|
||||
OAuth2AccessTokenRespDTO removeAccessToken(String accessToken);
|
||||
|
||||
/**
|
||||
* 移除指定用户的全部访问令牌与刷新令牌(踢下线)
|
||||
*
|
||||
* @param userId 用户编号
|
||||
* @param userType 用户类型
|
||||
* @return 删除的访问令牌数量
|
||||
*/
|
||||
int removeAccessTokenByUserId(Long userId, Integer userType);
|
||||
|
||||
/**
|
||||
* 刷新访问令牌
|
||||
*
|
||||
|
||||
Reference in new issue
Block a user