asg_backend/asg_form/appsettings.json

96 lines
2.5 KiB
JSON
Raw Permalink Normal View History

2024-08-03 20:40:34 +08:00
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
2024-10-19 00:43:22 +08:00
"EventBus": {
"HostName": "127.0.0.1",
"ExchangeName": "qqbot"
},
2024-08-03 20:40:34 +08:00
"AllowedHosts": "*",
"JWT": {
"SigningKey": "JWT加密密钥请严格保密",
"ExpireSeconds": "86400"
},
"HttpReportsDashboard": {
"ExpireDay": 3,
"Storage": {
"ConnectionString": "Server=localhost\\SQLEXPRESS;Database=master;Trusted_Connection=True;TrustServerCertificate=true",
"DeferSecond": 10,
"DeferThreshold": 100
},
"Mail": {
"Server": "smtp.163.com",
"Port": 465,
"Account": "HttpReports@qq.com",
"Password": "*******",
"EnableSsL": true,
"Switch": true
}
2024-10-19 20:09:00 +08:00
},
"Adapters": {
"OneBot": {
"Bots": [
{
"Protocol": "WebSocket",
"Endpoint": "ws://127.0.0.1:8080"
}
]
}
2024-12-29 00:12:46 +08:00
},
"oauth": {
"qq": {
"app_id": "qq_app_id",
"app_key": "qq_app_key",
"redirect_uri": "https://oauthlogin.net/oauth/qqcallback",
"scope": "get_user_info"
},
"github": {
"app_id": "Ov23liKQaqPOMKJCzdep",
"app_key": "37dc8fdc1a91f4f464fd05f46b158801ff9f9a61",
"scope": "repo"
},
"microsoft": {
2025-01-27 00:16:06 +08:00
"app_id": "9206e9e3-4608-4501-85ae-88b42c7f2fe1",
2024-12-29 00:12:46 +08:00
"tenant_id": "7ed846b8-c314-431e-b72c-27562dc7bf04",
2025-01-27 00:16:06 +08:00
"app_key": "E5O8Q~OPLX3AjKwQz.5hlo7SUDoIdOaurL6F8cWl",
2024-12-29 00:12:46 +08:00
"redirect_uri": "https://api.idvasg.cn/oauth/microsoftcallback",
"scope": "snsapi_userinfo"
},
"huawei": {
"app_id": "huawei_app_id",
"app_key": "huawei_app_key",
"redirect_uri": "https://oauthlogin.net/oauth/huaweicallback",
"scope": "https://www.huawei.com/auth/account"
},
"gitee": {
"app_id": "gitee_app_id",
"app_key": "gitee_app_key",
"redirect_uri": "http://oauthlogin.net/oauth/giteecallback",
"scope": "user_info"
},
"baidu": {
"app_id": "baidu_app_id",
"app_key": "baidu_app_key",
"redirect_uri": "http://oauthlogin.net/oauth/baiducallback",
"scope": "basic"
},
"alipay": {
"app_id": "alipay_app_id",
"app_key": "alipay_app_key",
"redirect_uri": "https://oauthlogin.net/oauth/alipaycallback",
"scope": "auth_user",
"private_key": "private_key",
"public_key": "public_key"
},
"gitlab": {
"app_id": "gitlab_app_id",
"app_key": "gitlab_app_key",
"redirect_uri": "http://oauthlogin.net/oauth/gitlabcallback",
"scope": "read_user"
}
2024-08-03 20:40:34 +08:00
}
}