You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
902 B
33 lines
902 B
2 years ago
|
{
|
||
|
"Logging": {
|
||
|
"LogLevel": {
|
||
|
"Default": "Information",
|
||
|
"Microsoft.AspNetCore": "Warning"
|
||
|
}
|
||
|
},
|
||
|
"AllowedHosts": "*",
|
||
|
"ConnectionStrings": {
|
||
|
"DBType": "MySQL",
|
||
|
"MySQLConnString": "server=192.168.0.251;Database=equipmentrearend;Uid=root;Pwd=sa@admin;Allow User Variables=True;",
|
||
|
},
|
||
|
//JwtConfig
|
||
|
"JwtConfiguration": {
|
||
|
/*JwtConfig Issuer=http://127.0.0.1:api本地端口*/
|
||
|
//发行者
|
||
|
"Issuer": "https://127.0.0.1:7246",
|
||
|
/* JwtConfig Audience=http://127.0.0.1:api本地端口*/
|
||
|
//订阅者
|
||
|
"Audience": "https://127.0.0.1:7246",
|
||
|
//RefreshToken受众
|
||
|
"RefreshTokenAudience": null,
|
||
|
//加密Key
|
||
|
"Jwtkey": "ertJKl#521*a@790asD&1#",
|
||
|
//有效期(分钟) 120 = 24小时
|
||
|
"Expires": 1440,
|
||
|
//RefreshToken过期时间(分钟) 1440 = 1天
|
||
|
"RefreshTokenExpires": 1440,
|
||
|
//时间歪斜,单位秒
|
||
|
"ClockSkew": 1
|
||
|
}
|
||
|
}
|