Merge remote-tracking branch 'base-version/test' into dev
This commit is contained in:
@@ -49,4 +49,13 @@ public interface OAuth2TokenCommonApi {
|
||||
CommonResult<OAuth2AccessTokenRespDTO> refreshAccessToken(@RequestParam("refreshToken") String refreshToken,
|
||||
@RequestParam("clientId") String clientId);
|
||||
|
||||
@DeleteMapping(PREFIX + "/remove-by-user")
|
||||
@Operation(summary = "按 userId + clientId 失效访问令牌")
|
||||
@Parameters({
|
||||
@Parameter(name = "userId", description = "用户编号", required = true, example = "1"),
|
||||
@Parameter(name = "clientId", description = "客户端编号", required = true, example = "default")
|
||||
})
|
||||
CommonResult<Boolean> removeAccessTokensByUserIdAndClientId(@RequestParam("userId") Long userId,
|
||||
@RequestParam("clientId") String clientId);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user