| | |
| | | |
| | | import javax.validation.Valid; |
| | | |
| | | @FeignClient(name = ApiConstants.NAME) // TODO iailab:fallbackFactory = |
| | | @FeignClient(name = ApiConstants.NAME) |
| | | @Tag(name = "RPC 服务 - OAuth2.0 令牌") |
| | | public interface OAuth2TokenApi { |
| | | |
| | |
| | | @Operation(summary = "刷新访问令牌") |
| | | @Parameters({ |
| | | @Parameter(name = "refreshToken", description = "刷新令牌", required = true, example = "haha"), |
| | | @Parameter(name = "clientId", description = "客户端编号", required = true, example = "iailabyuanma") |
| | | @Parameter(name = "clientId", description = "客户端编号", required = true, example = "iailab") |
| | | }) |
| | | CommonResult<OAuth2AccessTokenRespDTO> refreshAccessToken(@RequestParam("refreshToken") String refreshToken, |
| | | @RequestParam("clientId") String clientId); |