|
@@ -1,13 +1,9 @@
|
|
|
package com.dragoninfo.dcuc.auth.token.facade;
|
|
|
|
|
|
import com.dragoninfo.dcuc.auth.api.vo.zerotrust.ZeroTustMessageRespVO;
|
|
|
-import com.dragoninfo.dcuc.auth.token.vo.TokenDetailRespVo;
|
|
|
import com.dragoninfo.dcuc.auth.token.vo.TokenReceiveVO;
|
|
|
-import com.dragoninfo.dcuc.auth.token.vo.UserTokenInfoRespVO;
|
|
|
import org.springframework.cloud.openfeign.FeignClient;
|
|
|
-import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestParam;
|
|
|
|
|
|
/**
|
|
|
* @author mazq
|
|
@@ -16,26 +12,6 @@ import org.springframework.web.bind.annotation.RequestParam;
|
|
|
@FeignClient(name = "dcuc-auth", path = "/dcuc/auth/authTokenFacade")
|
|
|
public interface IAuthTokenFacade {
|
|
|
|
|
|
- /**
|
|
|
- * 获取用户令牌详情
|
|
|
- *
|
|
|
- * @param userTokenId
|
|
|
- * @return
|
|
|
- */
|
|
|
- @GetMapping("getUserTokenInfo")
|
|
|
- UserTokenInfoRespVO getUserTokenInfo(@RequestParam("userTokenId") String userTokenId);
|
|
|
-
|
|
|
- /**
|
|
|
- * 获取应用令牌详情数据
|
|
|
- *
|
|
|
- * @param appTokenId
|
|
|
- * @param needUserInfo
|
|
|
- * @param needAppInfo
|
|
|
- * @return
|
|
|
- */
|
|
|
- @GetMapping("getByAppTokenId")
|
|
|
- TokenDetailRespVo getByAppTokenId(@RequestParam("appTokenId") String appTokenId, @RequestParam("needUserInfo") Boolean needUserInfo, @RequestParam("needAppInfo") Boolean needAppInfo);
|
|
|
-
|
|
|
/**
|
|
|
* 接收令牌
|
|
|
*
|