mirror of
https://github.com/hpd840321/starRiverProperty.git
synced 2026-06-09 08:20:31 +08:00
chore: 工作区反编译与 Maven/文档/脚本同步到发布分支
- artifacts/decompiled 树与相关源码变更 - maven-cw-elevator-application 业务 docs 与 package-info - scripts 下 formatter 校验与辅助脚本 - 其他子工程/接口与发布线一并纳入版本控制 Made-with: Cursor Former-commit-id: e102e8cab64e575bcd23c9a66a598aa1892bb492
This commit is contained in:
+41
-73
@@ -4,87 +4,55 @@ import java.io.Serializable;
|
||||
import javax.validation.constraints.NotNull;
|
||||
import org.hibernate.validator.constraints.Range;
|
||||
|
||||
public class RefreshTokenParam implements Serializable {
|
||||
private static final long serialVersionUID = 3912210784246138959L;
|
||||
private String token;
|
||||
@NotNull(message = "56001036")
|
||||
@Range(min = 1L, max = 2L, message = "56001037")
|
||||
private Integer tokenType;
|
||||
@NotNull(message = "56001038")
|
||||
@Range(min = 1L, max = 2L, message = "56001039")
|
||||
private Integer refreshType;
|
||||
private Long accessTokenExp;
|
||||
private Long refreshTokenExp;
|
||||
|
||||
public String getToken() {
|
||||
return this.token;
|
||||
}
|
||||
|
||||
public Integer getTokenType() {
|
||||
return this.tokenType;
|
||||
}
|
||||
|
||||
public Integer getRefreshType() {
|
||||
return this.refreshType;
|
||||
}
|
||||
|
||||
public Long getAccessTokenExp() {
|
||||
return this.accessTokenExp;
|
||||
}
|
||||
|
||||
public Long getRefreshTokenExp() {
|
||||
return this.refreshTokenExp;
|
||||
}
|
||||
|
||||
public void setToken(String token) {
|
||||
this.token = token;
|
||||
}
|
||||
|
||||
public void setTokenType(Integer tokenType) {
|
||||
this.tokenType = tokenType;
|
||||
}
|
||||
|
||||
public void setRefreshType(Integer refreshType) {
|
||||
this.refreshType = refreshType;
|
||||
}
|
||||
|
||||
public void setAccessTokenExp(Long accessTokenExp) {
|
||||
this.accessTokenExp = accessTokenExp;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class RefreshTokenParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 3912210784246138959L;
|
||||
private String token;
|
||||
@NotNull(message = "56001036")
|
||||
@Range(min = 1L, max = 2L, message = "56001037")
|
||||
private Integer tokenType;
|
||||
@NotNull(message = "56001038")
|
||||
@Range(min = 1L, max = 2L, message = "56001039")
|
||||
private Integer refreshType;
|
||||
private Long accessTokenExp;
|
||||
private Long refreshTokenExp;
|
||||
|
||||
public String getToken() {
|
||||
return this.token;
|
||||
public void setRefreshTokenExp(Long refreshTokenExp) {
|
||||
this.refreshTokenExp = refreshTokenExp;
|
||||
}
|
||||
}
|
||||
|
||||
public Integer getTokenType() {
|
||||
return this.tokenType;
|
||||
}
|
||||
|
||||
public Integer getRefreshType() {
|
||||
return this.refreshType;
|
||||
}
|
||||
|
||||
public Long getAccessTokenExp() {
|
||||
return this.accessTokenExp;
|
||||
}
|
||||
|
||||
public Long getRefreshTokenExp() {
|
||||
return this.refreshTokenExp;
|
||||
}
|
||||
|
||||
public void setToken(String token) {
|
||||
this.token = token;
|
||||
}
|
||||
|
||||
public void setTokenType(Integer tokenType) {
|
||||
this.tokenType = tokenType;
|
||||
}
|
||||
|
||||
public void setRefreshType(Integer refreshType) {
|
||||
this.refreshType = refreshType;
|
||||
}
|
||||
|
||||
public void setAccessTokenExp(Long accessTokenExp) {
|
||||
this.accessTokenExp = accessTokenExp;
|
||||
}
|
||||
|
||||
public void setRefreshTokenExp(Long refreshTokenExp) {
|
||||
this.refreshTokenExp = refreshTokenExp;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+10
-25
@@ -3,31 +3,16 @@ package cn.cloudwalk.client.aks.auth.param;
|
||||
import java.io.Serializable;
|
||||
import org.hibernate.validator.constraints.NotEmpty;
|
||||
|
||||
public class ValidateTokenParam implements Serializable {
|
||||
private static final long serialVersionUID = 3912210784246138959L;
|
||||
@NotEmpty(message = "56001025")
|
||||
private String token;
|
||||
|
||||
public String getToken() {
|
||||
return this.token;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class ValidateTokenParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 3912210784246138959L;
|
||||
@NotEmpty(message = "56001025")
|
||||
private String token;
|
||||
|
||||
public String getToken() {
|
||||
return this.token;
|
||||
public void setToken(String token) {
|
||||
this.token = token;
|
||||
}
|
||||
}
|
||||
|
||||
public void setToken(String token) {
|
||||
this.token = token;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+16
-32
@@ -2,40 +2,24 @@ package cn.cloudwalk.client.aks.auth.result;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class TokenResult implements Serializable {
|
||||
private static final long serialVersionUID = -216258600203811357L;
|
||||
private String accessToken;
|
||||
private String refreshToken;
|
||||
|
||||
public String getAccessToken() {
|
||||
return this.accessToken;
|
||||
}
|
||||
|
||||
public String getRefreshToken() {
|
||||
return this.refreshToken;
|
||||
}
|
||||
|
||||
public void setAccessToken(String accessToken) {
|
||||
this.accessToken = accessToken;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class TokenResult
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -216258600203811357L;
|
||||
private String accessToken;
|
||||
private String refreshToken;
|
||||
|
||||
public String getAccessToken() {
|
||||
return this.accessToken;
|
||||
public void setRefreshToken(String refreshToken) {
|
||||
this.refreshToken = refreshToken;
|
||||
}
|
||||
}
|
||||
|
||||
public String getRefreshToken() {
|
||||
return this.refreshToken;
|
||||
}
|
||||
|
||||
public void setAccessToken(String accessToken) {
|
||||
this.accessToken = accessToken;
|
||||
}
|
||||
|
||||
public void setRefreshToken(String refreshToken) {
|
||||
this.refreshToken = refreshToken;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+12
-11
@@ -9,15 +9,16 @@ import cn.cloudwalk.cloud.result.CloudwalkResult;
|
||||
import java.util.Map;
|
||||
|
||||
public interface AksAuthService {
|
||||
/**
|
||||
* 申请访问令牌。入参使用 {@link Map} 以弱化 fastjson 类型耦合;调用方可传入 {@code com.alibaba.fastjson.JSONObject}
|
||||
*(其实现 {@link Map})或普通 {@code HashMap}。
|
||||
*/
|
||||
CloudwalkResult<TokenResult> token(Map<String, Object> payload, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<TokenResult> refreshToken(RefreshTokenParam paramRefreshTokenParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<String> validateToken(ValidateTokenParam paramValidateTokenParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
/**
|
||||
* 申请访问令牌。入参使用 {@link Map} 以弱化 fastjson 类型耦合;调用方可传入 {@code com.alibaba.fastjson.JSONObject} (其实现 {@link Map})或普通
|
||||
* {@code HashMap}。
|
||||
*/
|
||||
CloudwalkResult<TokenResult> token(Map<String, Object> payload, CloudwalkCallContext paramCloudwalkCallContext)
|
||||
throws ServiceException;
|
||||
|
||||
CloudwalkResult<TokenResult> refreshToken(RefreshTokenParam paramRefreshTokenParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<String> validateToken(ValidateTokenParam paramValidateTokenParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
|
||||
+15
-16
@@ -2,21 +2,20 @@ package cn.cloudwalk.client.aks.common.constant;
|
||||
|
||||
public final class AksConstant {
|
||||
|
||||
private AksConstant() {}
|
||||
private AksConstant() {
|
||||
}
|
||||
|
||||
public static final String API_KEY = "appKey";
|
||||
|
||||
public static final String SIGN = "sign";
|
||||
|
||||
public static final String NONCE = "nonceStr";
|
||||
|
||||
public static final String URI = "uri";
|
||||
|
||||
public static final String ACCESS_TOKEN_EXP = "accessTokenExp";
|
||||
|
||||
public static final String REFRESH_TOKEN_EXP = "refreshTokenExp";
|
||||
|
||||
public static final String AUTHORIZATION = "Authorization";
|
||||
public static final String API_KEY = "appKey";
|
||||
|
||||
public static final String SIGN = "sign";
|
||||
|
||||
public static final String NONCE = "nonceStr";
|
||||
|
||||
public static final String URI = "uri";
|
||||
|
||||
public static final String ACCESS_TOKEN_EXP = "accessTokenExp";
|
||||
|
||||
public static final String REFRESH_TOKEN_EXP = "refreshTokenExp";
|
||||
|
||||
public static final String AUTHORIZATION = "Authorization";
|
||||
}
|
||||
|
||||
|
||||
|
||||
+81
-82
@@ -2,87 +2,86 @@ package cn.cloudwalk.client.aks.common.constant;
|
||||
|
||||
public final class AksRespCodeConstant {
|
||||
|
||||
private AksRespCodeConstant() {}
|
||||
private AksRespCodeConstant() {
|
||||
}
|
||||
|
||||
public static final String RESPONSE_SUCCESS = "00000000";
|
||||
|
||||
public static final String REQUEST_PARAM_ILLEGAL = "56001001";
|
||||
|
||||
public static final String AKS_CUST_ID_IS_NULL = "56001002";
|
||||
|
||||
public static final String AKS_CUST_ID_ILLEGAL = "56001003";
|
||||
|
||||
public static final String AKS_CUST_ID_EXIST = "56001004";
|
||||
|
||||
public static final String AKS_CUST_ID_NOT_EXIST = "56001005";
|
||||
|
||||
public static final String AKS_API_KEY_IS_NULL = "56001006";
|
||||
|
||||
public static final String AKS_API_KEY_ILLEGAL = "56001007";
|
||||
|
||||
public static final String AKS_KEY_TYPE_IS_NULL = "56001008";
|
||||
|
||||
public static final String AKS_KEY_TYPE_ILLEGAL = "56001009";
|
||||
|
||||
public static final String AKS_STATUS_ILLEGAL = "56001010";
|
||||
|
||||
public static final String AKS_RESET_TYPE_IS_NULL = "56001011";
|
||||
|
||||
public static final String AKS_RESET_TYPE_ILLEGAL = "56001012";
|
||||
|
||||
public static final String AKS_CUST_ID_API_KEY_NULL = "56001013";
|
||||
|
||||
public static final String AKS_API_KEY_NOT_EXIST = "56001014";
|
||||
|
||||
public static final String AKS_REMARK_ILLEGAL = "56001015";
|
||||
|
||||
public static final String AKS_ADD_FAIL = "56001016";
|
||||
|
||||
public static final String AKS_EDIT_FAIL = "56001017";
|
||||
|
||||
public static final String AKS_ENABLE_FAIL = "56001018";
|
||||
|
||||
public static final String AKS_DISABLE_FAIL = "56001019";
|
||||
|
||||
public static final String AKS_RESET_FAIL = "56001020";
|
||||
|
||||
public static final String AKS_QUERY_FAIL = "56001021";
|
||||
|
||||
public static final String AKS_KEY_TYPE_INFORMAL = "56001022";
|
||||
|
||||
public static final String MAKE_SIGNATURE_ERROR = "56001023";
|
||||
|
||||
public static final String CHECK_SIGNATURE_ERROR = "56001024";
|
||||
|
||||
public static final String AKS_TOKEN_IS_NULL = "56001025";
|
||||
|
||||
public static final String AKS_TOKEN_INVALID = "56001026";
|
||||
|
||||
public static final String AKS_TOKEN_EXPIRED = "56001027";
|
||||
|
||||
public static final String AKS_TOKEN_CANCELED = "56001028";
|
||||
|
||||
public static final String AKS_TOKEN_EXP_UNCONFIGURED = "56001029";
|
||||
|
||||
public static final String AKS_GET_TOKEN_FAIL = "56001030";
|
||||
|
||||
public static final String AKS_REFRESH_TOKEN_FAIL = "56001031";
|
||||
|
||||
public static final String AKS_VALIDATE_TOKEN_FAIL = "56001032";
|
||||
|
||||
public static final String AKS_APPLICATION_ID_IS_NULL = "56001033";
|
||||
|
||||
public static final String AKS_APPLICATION_ID_ILLEGAL = "56001034";
|
||||
|
||||
public static final String AKS_APPLICATION_ID_EXIST = "56001035";
|
||||
|
||||
public static final String AKS_TOKEN_TYPE_IS_NULL = "56001036";
|
||||
|
||||
public static final String AKS_TOKEN_TYPE_ILLEGAL = "56001037";
|
||||
|
||||
public static final String AKS_REFRESH_TYPE_IS_NULL = "56001038";
|
||||
|
||||
public static final String AKS_REFRESH_TYPE_ILLEGAL = "56001039";
|
||||
public static final String RESPONSE_SUCCESS = "00000000";
|
||||
|
||||
public static final String REQUEST_PARAM_ILLEGAL = "56001001";
|
||||
|
||||
public static final String AKS_CUST_ID_IS_NULL = "56001002";
|
||||
|
||||
public static final String AKS_CUST_ID_ILLEGAL = "56001003";
|
||||
|
||||
public static final String AKS_CUST_ID_EXIST = "56001004";
|
||||
|
||||
public static final String AKS_CUST_ID_NOT_EXIST = "56001005";
|
||||
|
||||
public static final String AKS_API_KEY_IS_NULL = "56001006";
|
||||
|
||||
public static final String AKS_API_KEY_ILLEGAL = "56001007";
|
||||
|
||||
public static final String AKS_KEY_TYPE_IS_NULL = "56001008";
|
||||
|
||||
public static final String AKS_KEY_TYPE_ILLEGAL = "56001009";
|
||||
|
||||
public static final String AKS_STATUS_ILLEGAL = "56001010";
|
||||
|
||||
public static final String AKS_RESET_TYPE_IS_NULL = "56001011";
|
||||
|
||||
public static final String AKS_RESET_TYPE_ILLEGAL = "56001012";
|
||||
|
||||
public static final String AKS_CUST_ID_API_KEY_NULL = "56001013";
|
||||
|
||||
public static final String AKS_API_KEY_NOT_EXIST = "56001014";
|
||||
|
||||
public static final String AKS_REMARK_ILLEGAL = "56001015";
|
||||
|
||||
public static final String AKS_ADD_FAIL = "56001016";
|
||||
|
||||
public static final String AKS_EDIT_FAIL = "56001017";
|
||||
|
||||
public static final String AKS_ENABLE_FAIL = "56001018";
|
||||
|
||||
public static final String AKS_DISABLE_FAIL = "56001019";
|
||||
|
||||
public static final String AKS_RESET_FAIL = "56001020";
|
||||
|
||||
public static final String AKS_QUERY_FAIL = "56001021";
|
||||
|
||||
public static final String AKS_KEY_TYPE_INFORMAL = "56001022";
|
||||
|
||||
public static final String MAKE_SIGNATURE_ERROR = "56001023";
|
||||
|
||||
public static final String CHECK_SIGNATURE_ERROR = "56001024";
|
||||
|
||||
public static final String AKS_TOKEN_IS_NULL = "56001025";
|
||||
|
||||
public static final String AKS_TOKEN_INVALID = "56001026";
|
||||
|
||||
public static final String AKS_TOKEN_EXPIRED = "56001027";
|
||||
|
||||
public static final String AKS_TOKEN_CANCELED = "56001028";
|
||||
|
||||
public static final String AKS_TOKEN_EXP_UNCONFIGURED = "56001029";
|
||||
|
||||
public static final String AKS_GET_TOKEN_FAIL = "56001030";
|
||||
|
||||
public static final String AKS_REFRESH_TOKEN_FAIL = "56001031";
|
||||
|
||||
public static final String AKS_VALIDATE_TOKEN_FAIL = "56001032";
|
||||
|
||||
public static final String AKS_APPLICATION_ID_IS_NULL = "56001033";
|
||||
|
||||
public static final String AKS_APPLICATION_ID_ILLEGAL = "56001034";
|
||||
|
||||
public static final String AKS_APPLICATION_ID_EXIST = "56001035";
|
||||
|
||||
public static final String AKS_TOKEN_TYPE_IS_NULL = "56001036";
|
||||
|
||||
public static final String AKS_TOKEN_TYPE_ILLEGAL = "56001037";
|
||||
|
||||
public static final String AKS_REFRESH_TYPE_IS_NULL = "56001038";
|
||||
|
||||
public static final String AKS_REFRESH_TYPE_ILLEGAL = "56001039";
|
||||
}
|
||||
|
||||
|
||||
|
||||
+30
-57
@@ -1,70 +1,43 @@
|
||||
package cn.cloudwalk.client.aks.common.en;
|
||||
|
||||
public enum GeneratorStatusEnum {
|
||||
ENABLE((short)
|
||||
|
||||
1, "启用"),
|
||||
|
||||
DISABLE((short)
|
||||
|
||||
2, "禁用");
|
||||
|
||||
private short code;
|
||||
|
||||
private String message;
|
||||
|
||||
GeneratorStatusEnum(short code, String message) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public static GeneratorStatusEnum getEnumByCode(short code) {
|
||||
byte b;
|
||||
int i;
|
||||
GeneratorStatusEnum[] arrayOfGeneratorStatusEnum;
|
||||
for (i = (arrayOfGeneratorStatusEnum = values()).length, b = 0; b < i;) {
|
||||
GeneratorStatusEnum item = arrayOfGeneratorStatusEnum[b];
|
||||
if (item.getCode() == code) {
|
||||
return item;
|
||||
}
|
||||
b++;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public enum GeneratorStatusEnum
|
||||
{
|
||||
ENABLE((short)
|
||||
public short getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
|
||||
1, "启用"),
|
||||
|
||||
DISABLE((short)
|
||||
|
||||
|
||||
2, "禁用");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private short code;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private String message;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
GeneratorStatusEnum(short code, String message) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
public static GeneratorStatusEnum getEnumByCode(short code) {
|
||||
byte b;
|
||||
int i;
|
||||
GeneratorStatusEnum[] arrayOfGeneratorStatusEnum;
|
||||
for (i = (arrayOfGeneratorStatusEnum = values()).length, b = 0; b < i; ) { GeneratorStatusEnum item = arrayOfGeneratorStatusEnum[b];
|
||||
if (item.getCode() == code) {
|
||||
return item;
|
||||
}
|
||||
b++; }
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public short getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+17
-40
@@ -1,51 +1,28 @@
|
||||
package cn.cloudwalk.client.aks.common.en;
|
||||
|
||||
public enum SecretKeyTypeEnum {
|
||||
FORMAL((short)
|
||||
|
||||
1, "正式"),
|
||||
|
||||
INFORMAL((short)
|
||||
|
||||
2, "试用");
|
||||
|
||||
private short code;
|
||||
|
||||
private String message;
|
||||
|
||||
public enum SecretKeyTypeEnum
|
||||
{
|
||||
FORMAL((short)
|
||||
SecretKeyTypeEnum(short code, String message) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public short getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
1, "正式"),
|
||||
|
||||
INFORMAL((short)
|
||||
|
||||
|
||||
2, "试用");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private short code;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private String message;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
SecretKeyTypeEnum(short code, String message) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
}
|
||||
|
||||
public short getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+17
-40
@@ -1,51 +1,28 @@
|
||||
package cn.cloudwalk.client.aks.common.en;
|
||||
|
||||
public enum SecretResetTypeEnum {
|
||||
RESET_SECRET_KEY((short)
|
||||
|
||||
1, "仅重置secretKey"),
|
||||
|
||||
RESET_BOTH((short)
|
||||
|
||||
2, "重置apiKey和secretKey");
|
||||
|
||||
private short code;
|
||||
|
||||
private String message;
|
||||
|
||||
public enum SecretResetTypeEnum
|
||||
{
|
||||
RESET_SECRET_KEY((short)
|
||||
SecretResetTypeEnum(short code, String message) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public short getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
1, "仅重置secretKey"),
|
||||
|
||||
RESET_BOTH((short)
|
||||
|
||||
|
||||
2, "重置apiKey和secretKey");
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private short code;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private String message;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
SecretResetTypeEnum(short code, String message) {
|
||||
this.code = code;
|
||||
this.message = message;
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
}
|
||||
|
||||
public short getCode() {
|
||||
return this.code;
|
||||
}
|
||||
|
||||
public String getMessage() {
|
||||
return this.message;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+28
-52
@@ -6,62 +6,38 @@ import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
import org.hibernate.validator.constraints.Range;
|
||||
|
||||
public class SecretEditParam implements Serializable {
|
||||
private static final long serialVersionUID = 4521398828773425389L;
|
||||
@NotBlank(message = "56001006")
|
||||
@Size(max = 32, message = "56001007")
|
||||
private String apiKey;
|
||||
@NotNull(message = "56001008")
|
||||
@Range(min = 1L, max = 2L, message = "56001009")
|
||||
private Short keyType;
|
||||
@Size(max = 255, message = "56001015")
|
||||
public String remark;
|
||||
|
||||
public String getApiKey() {
|
||||
return this.apiKey;
|
||||
}
|
||||
|
||||
public Short getKeyType() {
|
||||
return this.keyType;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public void setApiKey(String apiKey) {
|
||||
this.apiKey = apiKey;
|
||||
}
|
||||
|
||||
public void setKeyType(Short keyType) {
|
||||
this.keyType = keyType;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class SecretEditParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 4521398828773425389L;
|
||||
@NotBlank(message = "56001006")
|
||||
@Size(max = 32, message = "56001007")
|
||||
private String apiKey;
|
||||
@NotNull(message = "56001008")
|
||||
@Range(min = 1L, max = 2L, message = "56001009")
|
||||
private Short keyType;
|
||||
@Size(max = 255, message = "56001015")
|
||||
public String remark;
|
||||
|
||||
public String getApiKey() {
|
||||
return this.apiKey;
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
}
|
||||
|
||||
public Short getKeyType() {
|
||||
return this.keyType;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public void setApiKey(String apiKey) {
|
||||
this.apiKey = apiKey;
|
||||
}
|
||||
|
||||
public void setKeyType(Short keyType) {
|
||||
this.keyType = keyType;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+35
-63
@@ -5,75 +5,47 @@ import javax.validation.constraints.NotNull;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.Range;
|
||||
|
||||
public class SecretNewParam implements Serializable {
|
||||
private static final long serialVersionUID = 4521398828773425389L;
|
||||
@Size(max = 32, message = "56001034")
|
||||
private String applicationId;
|
||||
@Size(max = 32, message = "56001003")
|
||||
private String custId;
|
||||
@NotNull(message = "56001008")
|
||||
@Range(min = 1L, max = 2L, message = "56001009")
|
||||
private Short keyType;
|
||||
@Size(max = 255, message = "56001015")
|
||||
public String remark;
|
||||
|
||||
public String getApplicationId() {
|
||||
return this.applicationId;
|
||||
}
|
||||
|
||||
public String getCustId() {
|
||||
return this.custId;
|
||||
}
|
||||
|
||||
public Short getKeyType() {
|
||||
return this.keyType;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public void setApplicationId(String applicationId) {
|
||||
this.applicationId = applicationId;
|
||||
}
|
||||
|
||||
public void setCustId(String custId) {
|
||||
this.custId = custId;
|
||||
}
|
||||
|
||||
public void setKeyType(Short keyType) {
|
||||
this.keyType = keyType;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class SecretNewParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 4521398828773425389L;
|
||||
@Size(max = 32, message = "56001034")
|
||||
private String applicationId;
|
||||
@Size(max = 32, message = "56001003")
|
||||
private String custId;
|
||||
@NotNull(message = "56001008")
|
||||
@Range(min = 1L, max = 2L, message = "56001009")
|
||||
private Short keyType;
|
||||
@Size(max = 255, message = "56001015")
|
||||
public String remark;
|
||||
|
||||
public String getApplicationId() {
|
||||
return this.applicationId;
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
}
|
||||
|
||||
public String getCustId() {
|
||||
return this.custId;
|
||||
}
|
||||
|
||||
public Short getKeyType() {
|
||||
return this.keyType;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public void setApplicationId(String applicationId) {
|
||||
this.applicationId = applicationId;
|
||||
}
|
||||
|
||||
public void setCustId(String custId) {
|
||||
this.custId = custId;
|
||||
}
|
||||
|
||||
public void setKeyType(Short keyType) {
|
||||
this.keyType = keyType;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+42
-74
@@ -4,88 +4,56 @@ import java.io.Serializable;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.Range;
|
||||
|
||||
public class SecretQueryParam implements Serializable {
|
||||
private static final long serialVersionUID = 3047192017544980227L;
|
||||
@Size(max = 32, message = "56001034")
|
||||
private String applicationId;
|
||||
@Size(max = 32, message = "56001003")
|
||||
private String custId;
|
||||
@Size(max = 32, message = "56001007")
|
||||
private String apiKey;
|
||||
@Range(min = 1L, max = 2L, message = "56001009")
|
||||
private Short keyType;
|
||||
@Range(min = 1L, max = 2L, message = "56001010")
|
||||
private Short status;
|
||||
|
||||
public String getApplicationId() {
|
||||
return this.applicationId;
|
||||
}
|
||||
|
||||
public String getCustId() {
|
||||
return this.custId;
|
||||
}
|
||||
|
||||
public String getApiKey() {
|
||||
return this.apiKey;
|
||||
}
|
||||
|
||||
public Short getKeyType() {
|
||||
return this.keyType;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setApplicationId(String applicationId) {
|
||||
this.applicationId = applicationId;
|
||||
}
|
||||
|
||||
public void setCustId(String custId) {
|
||||
this.custId = custId;
|
||||
}
|
||||
|
||||
public void setApiKey(String apiKey) {
|
||||
this.apiKey = apiKey;
|
||||
}
|
||||
|
||||
public void setKeyType(Short keyType) {
|
||||
this.keyType = keyType;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class SecretQueryParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 3047192017544980227L;
|
||||
@Size(max = 32, message = "56001034")
|
||||
private String applicationId;
|
||||
@Size(max = 32, message = "56001003")
|
||||
private String custId;
|
||||
@Size(max = 32, message = "56001007")
|
||||
private String apiKey;
|
||||
@Range(min = 1L, max = 2L, message = "56001009")
|
||||
private Short keyType;
|
||||
@Range(min = 1L, max = 2L, message = "56001010")
|
||||
private Short status;
|
||||
|
||||
public String getApplicationId() {
|
||||
return this.applicationId;
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
}
|
||||
|
||||
public String getCustId() {
|
||||
return this.custId;
|
||||
}
|
||||
|
||||
public String getApiKey() {
|
||||
return this.apiKey;
|
||||
}
|
||||
|
||||
public Short getKeyType() {
|
||||
return this.keyType;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public void setApplicationId(String applicationId) {
|
||||
this.applicationId = applicationId;
|
||||
}
|
||||
|
||||
public void setCustId(String custId) {
|
||||
this.custId = custId;
|
||||
}
|
||||
|
||||
public void setApiKey(String apiKey) {
|
||||
this.apiKey = apiKey;
|
||||
}
|
||||
|
||||
public void setKeyType(Short keyType) {
|
||||
this.keyType = keyType;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+20
-40
@@ -6,48 +6,28 @@ import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
import org.hibernate.validator.constraints.Range;
|
||||
|
||||
public class SecretResetParam implements Serializable {
|
||||
private static final long serialVersionUID = 3047192017544980227L;
|
||||
@NotBlank(message = "56001006")
|
||||
@Size(max = 32, message = "56001007")
|
||||
private String apiKey;
|
||||
@NotNull(message = "56001011")
|
||||
@Range(min = 1L, max = 2L, message = "56001012")
|
||||
private Short resetType;
|
||||
|
||||
public String getApiKey() {
|
||||
return this.apiKey;
|
||||
}
|
||||
|
||||
public void setApiKey(String apiKey) {
|
||||
this.apiKey = apiKey;
|
||||
}
|
||||
|
||||
public Short getResetType() {
|
||||
return this.resetType;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class SecretResetParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 3047192017544980227L;
|
||||
@NotBlank(message = "56001006")
|
||||
@Size(max = 32, message = "56001007")
|
||||
private String apiKey;
|
||||
@NotNull(message = "56001011")
|
||||
@Range(min = 1L, max = 2L, message = "56001012")
|
||||
private Short resetType;
|
||||
|
||||
public String getApiKey() {
|
||||
return this.apiKey;
|
||||
public void setResetType(Short resetType) {
|
||||
this.resetType = resetType;
|
||||
}
|
||||
}
|
||||
|
||||
public void setApiKey(String apiKey) {
|
||||
this.apiKey = apiKey;
|
||||
}
|
||||
|
||||
public Short getResetType() {
|
||||
return this.resetType;
|
||||
}
|
||||
|
||||
public void setResetType(Short resetType) {
|
||||
this.resetType = resetType;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+11
-27
@@ -4,33 +4,17 @@ import java.io.Serializable;
|
||||
import javax.validation.constraints.Size;
|
||||
import org.hibernate.validator.constraints.NotBlank;
|
||||
|
||||
public class SecretStatusParam implements Serializable {
|
||||
private static final long serialVersionUID = 3047192017544980227L;
|
||||
@NotBlank(message = "56001006")
|
||||
@Size(max = 32, message = "56001007")
|
||||
private String apiKey;
|
||||
|
||||
public String getApiKey() {
|
||||
return this.apiKey;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class SecretStatusParam
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = 3047192017544980227L;
|
||||
@NotBlank(message = "56001006")
|
||||
@Size(max = 32, message = "56001007")
|
||||
private String apiKey;
|
||||
|
||||
public String getApiKey() {
|
||||
return this.apiKey;
|
||||
public void setApiKey(String apiKey) {
|
||||
this.apiKey = apiKey;
|
||||
}
|
||||
}
|
||||
|
||||
public void setApiKey(String apiKey) {
|
||||
this.apiKey = apiKey;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+79
-131
@@ -2,157 +2,105 @@ package cn.cloudwalk.client.aks.secret.result;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class SecretInfoResult implements Serializable {
|
||||
private static final long serialVersionUID = -3242495705978455158L;
|
||||
private String apiKey;
|
||||
private String secretKey;
|
||||
private String applicationId;
|
||||
private String custId;
|
||||
private Short keyType;
|
||||
private Short status;
|
||||
private String remark;
|
||||
private Long createTime;
|
||||
private Long lastUpdateTime;
|
||||
private String createUserId;
|
||||
private String lastUpdateUserId;
|
||||
|
||||
public String getApiKey() {
|
||||
return this.apiKey;
|
||||
}
|
||||
|
||||
public String getSecretKey() {
|
||||
return this.secretKey;
|
||||
}
|
||||
|
||||
public String getApplicationId() {
|
||||
return this.applicationId;
|
||||
}
|
||||
|
||||
public String getCustId() {
|
||||
return this.custId;
|
||||
}
|
||||
|
||||
public Short getKeyType() {
|
||||
return this.keyType;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
return this.status;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
return this.remark;
|
||||
}
|
||||
|
||||
public void setApiKey(String apiKey) {
|
||||
this.apiKey = apiKey;
|
||||
}
|
||||
|
||||
public void setSecretKey(String secretKey) {
|
||||
this.secretKey = secretKey;
|
||||
}
|
||||
|
||||
public void setApplicationId(String applicationId) {
|
||||
this.applicationId = applicationId;
|
||||
}
|
||||
|
||||
public void setCustId(String custId) {
|
||||
this.custId = custId;
|
||||
}
|
||||
|
||||
public void setKeyType(Short keyType) {
|
||||
this.keyType = keyType;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public Long getCreateTime() {
|
||||
return this.createTime;
|
||||
}
|
||||
|
||||
public Long getLastUpdateTime() {
|
||||
return this.lastUpdateTime;
|
||||
}
|
||||
|
||||
public String getCreateUserId() {
|
||||
return this.createUserId;
|
||||
}
|
||||
|
||||
public String getLastUpdateUserId() {
|
||||
return this.lastUpdateUserId;
|
||||
}
|
||||
|
||||
public void setCreateTime(Long createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public void setLastUpdateTime(Long lastUpdateTime) {
|
||||
this.lastUpdateTime = lastUpdateTime;
|
||||
}
|
||||
|
||||
public void setCreateUserId(String createUserId) {
|
||||
this.createUserId = createUserId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class SecretInfoResult
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -3242495705978455158L;
|
||||
private String apiKey;
|
||||
private String secretKey;
|
||||
private String applicationId;
|
||||
private String custId;
|
||||
private Short keyType;
|
||||
private Short status;
|
||||
private String remark;
|
||||
private Long createTime;
|
||||
private Long lastUpdateTime;
|
||||
private String createUserId;
|
||||
private String lastUpdateUserId;
|
||||
|
||||
public String getApiKey() {
|
||||
/* 70 */ return this.apiKey;
|
||||
public void setLastUpdateUserId(String lastUpdateUserId) {
|
||||
this.lastUpdateUserId = lastUpdateUserId;
|
||||
}
|
||||
}
|
||||
|
||||
public String getSecretKey() {
|
||||
/* 74 */ return this.secretKey;
|
||||
}
|
||||
|
||||
public String getApplicationId() {
|
||||
/* 78 */ return this.applicationId;
|
||||
}
|
||||
|
||||
public String getCustId() {
|
||||
/* 82 */ return this.custId;
|
||||
}
|
||||
|
||||
public Short getKeyType() {
|
||||
/* 86 */ return this.keyType;
|
||||
}
|
||||
|
||||
public Short getStatus() {
|
||||
/* 90 */ return this.status;
|
||||
}
|
||||
|
||||
public String getRemark() {
|
||||
/* 94 */ return this.remark;
|
||||
}
|
||||
|
||||
public void setApiKey(String apiKey) {
|
||||
/* 98 */ this.apiKey = apiKey;
|
||||
}
|
||||
|
||||
public void setSecretKey(String secretKey) {
|
||||
this.secretKey = secretKey;
|
||||
}
|
||||
|
||||
public void setApplicationId(String applicationId) {
|
||||
this.applicationId = applicationId;
|
||||
}
|
||||
|
||||
public void setCustId(String custId) {
|
||||
this.custId = custId;
|
||||
}
|
||||
|
||||
public void setKeyType(Short keyType) {
|
||||
this.keyType = keyType;
|
||||
}
|
||||
|
||||
public void setStatus(Short status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public void setRemark(String remark) {
|
||||
this.remark = remark;
|
||||
}
|
||||
|
||||
public Long getCreateTime() {
|
||||
return this.createTime;
|
||||
}
|
||||
|
||||
public Long getLastUpdateTime() {
|
||||
return this.lastUpdateTime;
|
||||
}
|
||||
|
||||
public String getCreateUserId() {
|
||||
return this.createUserId;
|
||||
}
|
||||
|
||||
public String getLastUpdateUserId() {
|
||||
return this.lastUpdateUserId;
|
||||
}
|
||||
|
||||
public void setCreateTime(Long createTime) {
|
||||
this.createTime = createTime;
|
||||
}
|
||||
|
||||
public void setLastUpdateTime(Long lastUpdateTime) {
|
||||
this.lastUpdateTime = lastUpdateTime;
|
||||
}
|
||||
|
||||
public void setCreateUserId(String createUserId) {
|
||||
this.createUserId = createUserId;
|
||||
}
|
||||
|
||||
public void setLastUpdateUserId(String lastUpdateUserId) {
|
||||
this.lastUpdateUserId = lastUpdateUserId;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+23
-43
@@ -2,53 +2,33 @@ package cn.cloudwalk.client.aks.secret.result;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
public class SecretValidateResult implements Serializable {
|
||||
private static final long serialVersionUID = -3242495705978455158L;
|
||||
private String applicationId;
|
||||
private String custId;
|
||||
private Short keyType;
|
||||
|
||||
public String getApplicationId() {
|
||||
return this.applicationId;
|
||||
}
|
||||
|
||||
public String getCustId() {
|
||||
return this.custId;
|
||||
}
|
||||
|
||||
public Short getKeyType() {
|
||||
return this.keyType;
|
||||
}
|
||||
|
||||
public void setApplicationId(String applicationId) {
|
||||
this.applicationId = applicationId;
|
||||
}
|
||||
|
||||
public void setCustId(String custId) {
|
||||
this.custId = custId;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public class SecretValidateResult
|
||||
implements Serializable
|
||||
{
|
||||
private static final long serialVersionUID = -3242495705978455158L;
|
||||
private String applicationId;
|
||||
private String custId;
|
||||
private Short keyType;
|
||||
|
||||
public String getApplicationId() {
|
||||
return this.applicationId;
|
||||
public void setKeyType(Short keyType) {
|
||||
this.keyType = keyType;
|
||||
}
|
||||
}
|
||||
|
||||
public String getCustId() {
|
||||
return this.custId;
|
||||
}
|
||||
|
||||
public Short getKeyType() {
|
||||
return this.keyType;
|
||||
}
|
||||
|
||||
public void setApplicationId(String applicationId) {
|
||||
this.applicationId = applicationId;
|
||||
}
|
||||
|
||||
public void setCustId(String custId) {
|
||||
this.custId = custId;
|
||||
}
|
||||
|
||||
public void setKeyType(Short keyType) {
|
||||
this.keyType = keyType;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
+25
-20
@@ -14,24 +14,29 @@ import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
public interface ApiSecretService {
|
||||
CloudwalkResult<SecretInfoResult> add(SecretNewParam paramSecretNewParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> edit(SecretEditParam paramSecretEditParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> enable(SecretStatusParam paramSecretStatusParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> disable(SecretStatusParam paramSecretStatusParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<SecretInfoResult> reset(SecretResetParam paramSecretResetParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<SecretInfoResult>> query(SecretQueryParam paramSecretQueryParam, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
/** 密钥校验;入参使用 {@link Map},与 {@code AksAuthService#token} 入参策略一致。 */
|
||||
CloudwalkResult<SecretValidateResult> auth(Map<String, Object> payload, CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
SecretInfoResult getApiSecret(String paramString) throws ServiceException;
|
||||
|
||||
SecretInfoResult getApiSecret(SecretQueryParam paramSecretQueryParam) throws ServiceException;
|
||||
CloudwalkResult<SecretInfoResult> add(SecretNewParam paramSecretNewParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> edit(SecretEditParam paramSecretEditParam, CloudwalkCallContext paramCloudwalkCallContext)
|
||||
throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> enable(SecretStatusParam paramSecretStatusParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<Boolean> disable(SecretStatusParam paramSecretStatusParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<SecretInfoResult> reset(SecretResetParam paramSecretResetParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
CloudwalkResult<List<SecretInfoResult>> query(SecretQueryParam paramSecretQueryParam,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
/** 密钥校验;入参使用 {@link Map},与 {@code AksAuthService#token} 入参策略一致。 */
|
||||
CloudwalkResult<SecretValidateResult> auth(Map<String, Object> payload,
|
||||
CloudwalkCallContext paramCloudwalkCallContext) throws ServiceException;
|
||||
|
||||
SecretInfoResult getApiSecret(String paramString) throws ServiceException;
|
||||
|
||||
SecretInfoResult getApiSecret(SecretQueryParam paramSecretQueryParam) throws ServiceException;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user