Cookie-basierte automatische Autorisierung wurde konfiguriert. Middlevare für Benutzerberechtigung hinzugefügt

This commit is contained in:
Developer 02
2024-04-15 17:24:27 +02:00
parent 49cfeb28d9
commit 87c839549a
31 changed files with 1111 additions and 44 deletions

View File

@@ -43,5 +43,30 @@
]
},
"AddTestControllers": false
"AddTestControllers": true,
"Jwt": {
"Issuer": "https://localhost:7202",
"Audience": "https://localhost:7202",
"Key": "8RGnd7x0G2TYLOIW4m_qlIls7MfbAIGNrpQJzMAUIvULHOLiG723znRa_MG-Z4yw3SErusOU4hTui2rVBMcCaQ"
},
"AuthCookieConfig": {
"HttpOnly": true,
"SecurePolicy": 1
},
"CookieConsentSettings": {
"PrivacyPolicyUrl": "./",
"LegalNoticeUrl": "./",
"ContentURL": "/lib/bootstrap-cookie-consent-settings-main/cookie-consent-content",
"ButtonAgreeClass": "btn btn-primary",
"ButtonDontAgreeClass": "btn btn-link text-decoration-none none-display",
"ButtonSaveClass": "btn btn-secondary none-display",
"Lang": "en",
"DefaultLang": "en",
"CookieName": "cookie-consent-settings",
"CookieStorageDays": 1,
"ModalId": "bootstrapCookieConsentSettingsModal",
"AlsoUseLocalStorage": false,
"Categories": [ "necessary" ]
}
}