feat: layui前端应用管理增加“令牌类型”配置
This commit is contained in:
+2
-1
@@ -17,6 +17,7 @@ import java.io.Serializable;
|
||||
public class ClientDto implements Serializable {
|
||||
@Serial
|
||||
private static final long serialVersionUID = 1L;
|
||||
private String id;
|
||||
private String clientId;
|
||||
/**
|
||||
* 应用名称
|
||||
@@ -37,7 +38,7 @@ public class ClientDto implements Serializable {
|
||||
private String autoapprove = "true";
|
||||
|
||||
/**
|
||||
* token格式: reference 引用令牌(不透明), self-contained 自包含令牌(jwt))
|
||||
* 令牌类型: reference 引用令牌(不透明), self-contained 自包含令牌(jwt))
|
||||
*/
|
||||
private String tokenFormat = "reference";
|
||||
|
||||
|
||||
+1
-1
@@ -16,7 +16,7 @@ import lombok.Setter;
|
||||
@Getter
|
||||
public class ResourceServerProperties {
|
||||
/**
|
||||
* token格式:
|
||||
* 令牌类型:
|
||||
* - redis: 通过 redis 来验证
|
||||
* - inMemory: 通过本地内存来验证
|
||||
* - jwt: 自包含令牌,自己解析内容
|
||||
|
||||
Reference in New Issue
Block a user