mycorerepository/MyCore/appsettings.json
2020-12-16 21:35:51 +01:00

27 lines
660 B
JSON

{
"ConnectionStrings": {
"BookstoreDb": "mongodb://admin:MioTech4ever!@localhost:27017",
"MyCoreDb": "mongodb://admin:MioTech4ever!@localhost:27017"
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*",
"Tokens": {
"Secret": "%G2YZ=\tgN7fC9M$FXDt#q*a&]Z",
"AccessTokenExpiration": 86400,
"RefreshTokenExpiration": 518400
},
"SecuritySettings": {
"Secret": "azertyuiopqsdfgh",
"Issuer": "MyCore",
"Audience": "the client of your app",
"IdType": "Name",
"TokenExpiryInHours": 2
}
}