This commit is contained in:
wanghu
2026-09-02 09:38:45 +08:00
commit 8774b6cc44
128 changed files with 9382 additions and 0 deletions
@@ -0,0 +1,39 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"AllowedHosts": "*",
"yh": {
"open": {
"enabled": true,
"base-host": "http://userbase.example.com",
"base-path": "/userbase",
"app-key": "100476",
"app-secret": "请替换为在UserBase注册的appSecret",
"connectTimeoutMs": 1500,
"readTimeoutMs": 5000
},
"app-auth": {
"enabled": true,
"expireMs": 300000,
"app-key": "100476",
"app-secret": "请替换为在UserBase注册的appSecret",
"userBaseSignKeyFallbackEnabled": false,
"userBaseBaseUrl": "http://userbase.example.com/userbase",
"redisConnectionString": ""
},
"auth": {
"enabled": true,
"CookieExpireMinutes": 30,
"cookieName": ".yh.auth"
},
"sso": {
"casServerUrlPrefix": "https://sso.example.com/cas",
"appBaseUrl": "https://your-app.example.com",
"signInCallbackPath": "/signin-cas"
}
}
}