hanyadikhetvan-dotnethf/HanyadikHetVan/appsettings.json

106 lines
3.0 KiB
JSON

{
"AllowedHosts": "*",
"ConnectionStrings": {
"DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=aspnet-HanyadikHetVan-53bc9b9d-9d6a-45d4-8429-2a2761773502;Trusted_Connection=True;MultipleActiveResultSets=true",
"PostgreSQLConnection": "User ID=hanyadikhetvan;Password=05acd81c-761a-4fb3-93ae-023281a88b73;Server=192.168.42.4;Port=5432;Database=hanyadikhetvan;Integrated Security=true;Pooling=true;"
},
"DefaultAdministrator": {
"UserName": "testuser",
"Email": "admin@teszt.hu",
"Password": "Alma123."
},
"EmailSender": {
"Host": "192.168.42.7",
"Port": 25,
"UserName": "hanyadikhetvan@kmlabz.com"
},
"HanyadikHetVan": {
"StartDate": "2021-02-01"
},
"IdentityServer": {
"IdentityResources": [
{
"Name": "openid",
"DisplayName": "Your user identifier",
"Required": true,
"UserClaims": [ "sub" ]
},
{
"Name": "profile",
"DisplayName": "Your profile in the system"
},
{
"Name": "user_role",
"DisplayName": "Your user role",
"UserClaims": [ "user_role" ]
}
],
"ApiResources": [
{
"Name": "api",
"DisplayName": "The web api",
"Scopes": [
"api.readwrite"
],
"UserClaims": [ "user_role" ]
}
],
"ApiScopes": [
{
"Name": "api.readwrite",
"DisplayName": "Read and write data of the api"
}
],
"Clients": [
{
"ClientId": "postman",
"ClientName": "The PostMan Client",
"ClientSecrets": [ { "value": "xmYYS/lSPIz5IdbgUXNbp66JYSejHbw7/oFXy7CLk8s=" } ],
"AllowedGrantTypes": [ "password" ],
"RequireConsent": false,
"AllowedScopes": [
"openid",
"profile",
"user_role",
"api.readwrite"
],
"AlwaysIncludeUserClaimsInIdToken": true
},
{
"ClientId": "swagger",
"ClientName": "Swagger client",
"AllowedGrantTypes": [ "authorization_code" ],
"AllowAccessTokensViaBrowser": true,
"ClientClaimsPrefix": "",
"RequireConsent": false,
"AllowedScopes": [
"openid",
"profile",
"user_role",
"api.readwrite"
],
"RedirectUris": [
"http://localhost:5000/swagger/oauth2-redirect.html",
"https://localhost:5001/swagger/oauth2-redirect.html"
],
"PostLogoutRedirectUris": [ "https://localhost:5001/swagger" ],
"AllowedCorsOrigins": [ "https://localhost:5001" ],
"AlwaysIncludeUserClaimsInIdToken": true,
"AllowOfflineAccess": true,
"EnableLocalLogin": true,
"IdentityTokenLifetime": 1800,
"AccessTokenLifetime": 1800,
"RequireClientSecret": false,
"RequirePkce": false
}
]
},
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
}
}