Add configurations and update packages

This commit is contained in:
2021-07-15 22:28:26 +02:00
parent 84b5e44a83
commit c84077ef58
23 changed files with 451 additions and 102 deletions

View File

@@ -8,7 +8,64 @@
},
"AllowedHosts": "*",
"WebApi": {
"SupportEMail": "support@someone.de"
"Swagger": {
"SupportEMail": "support@baketronic.com",
"TermsOfService": "https://www.baketronic.com/impressum/",
"Licence": {
"Name": "MIT",
"Url": "https://opensource.org/licenses/MIT"
}
},
"EntityFrameworkmigration": {
"AutoMigrate": true
},
"Server": {
"UseCors": true,
"CorsPolicy": {
"AllowCredentials": true,
"AllowedHeaders": [
"*"
],
"AllowedMethods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"OPTIONS"
],
"AllowedOrigins": [
"https://www.example.com:443",
"https://localhost:4200",
"http://localhost:4200"
]
},
"UseHttpsRedirection": true,
"UseHsts": false,
"Headers": {
"ForwardedHeadersOptions": {
"ForwardedHeaders": [
"XForwardedFor",
"XForwardedProto"
]
}
}
},
"OpenId": {
"Authority": "https://openid.example.com/auth/realms/example",
"RequireHttpsMetadata": true,
"SaveToken": true,
"Validate": {
"Issuer": "https://openid.example.com/auth/realms/example",
"Audience": "audience",
"RequiredClaimType": "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress",
"ValidateLifetime": true,
"RsaPublicKey": "RsaToken"
}
}
},
"NotifyOvenJob": {
"CronExpression": "*/30 * * * * ? *"
},
"SayHelloWorldJob": {
"CronExpression": "*/30 * * * * ? *",