mirror of
https://github.com/ThingsGateway/ThingsGateway.git
synced 2026-10-24 09:28:10 +08:00
15 lines
883 B
JSON
15 lines
883 B
JSON
{
|
|
"$schema": "https://gitee.com/dotnetchina/Furion/raw/net6/schemas/v3/furion-schema.json",
|
|
|
|
"JWTSettings": {
|
|
"ValidateIssuerSigningKey": true, // 是否验证密钥,bool 类型,默认true
|
|
"IssuerSigningKey": "3ccad13f546eda3cc568c3aa5ac91780fbe703f0996c33333ea96dc85c70bbc0a", // 密钥,string 类型,必须是复杂密钥,长度大于16
|
|
"ValidateIssuer": true, // 是否验证签发方,bool 类型,默认true
|
|
"ValidIssuer": "ThingsGateway", // 签发方,string 类型
|
|
"ValidateAudience": true, // 是否验证签收方,bool 类型,默认true
|
|
"ValidAudience": "ThingsGateway", // 签收方,string 类型
|
|
"ValidateLifetime": true, // 是否验证过期时间,bool 类型,默认true,建议true
|
|
"ExpiredTime": 10080, // 过期时间
|
|
"ClockSkew": 5 // 过期时间容错值,long 类型,单位秒,默认5秒
|
|
}
|
|
} |