mirror of
https://github.com/hpd840321/craftlabs-authorization-sdk.git
synced 2026-06-09 10:00:30 +08:00
feat: extend Java config, Schema, and DB for selfhosted licensing SDK
This commit is contained in:
@@ -61,6 +61,24 @@
|
||||
"tenantKey": {
|
||||
"type": "string",
|
||||
"description": "可选;租户或调用方标识。"
|
||||
},
|
||||
"offlineGraceDays": {
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 365,
|
||||
"default": 7,
|
||||
"description": "离线宽限期(天),断网后允许继续使用的最大天数。"
|
||||
},
|
||||
"heartbeatIntervalHours": {
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"maximum": 720,
|
||||
"default": 24,
|
||||
"description": "心跳间隔(小时)。"
|
||||
},
|
||||
"publicKeyPem": {
|
||||
"type": "string",
|
||||
"description": "可选;RSA 公钥 PEM。不填则使用 SDK 内嵌公钥。"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -72,7 +90,8 @@
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"bitanswerFeatureId": { "type": "integer" },
|
||||
"bitanswerFeatureName": { "type": "string" }
|
||||
"bitanswerFeatureName": { "type": "string" },
|
||||
"selfhostedFeatureKey": { "type": "string" }
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user