mirror of
https://gitee.com/dromara/sa-token.git
synced 2026-05-14 04:42:09 +08:00
feat: sso 模块新增配置文件方式启用“不同 client 不同秘钥”能力
This commit is contained in:
@@ -74,6 +74,19 @@ public class SaSignConfig {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 复制对象
|
||||
* @return /
|
||||
*/
|
||||
public SaSignConfig copy() {
|
||||
SaSignConfig obj = new SaSignConfig();
|
||||
obj.secretKey = this.secretKey;
|
||||
obj.timestampDisparity = this.timestampDisparity;
|
||||
obj.digestAlgo = this.digestAlgo;
|
||||
obj.digestMethod = this.digestMethod;
|
||||
return obj;
|
||||
}
|
||||
|
||||
|
||||
// -------------- 策略函数
|
||||
|
||||
|
||||
Reference in New Issue
Block a user