Add APIKey authentication

This commit is contained in:
2023-11-22 20:53:06 -05:00
parent 38c3895459
commit 15f8385005
10 changed files with 179 additions and 26 deletions

View File

@@ -2,6 +2,11 @@
"ConnectionStrings": {
"TodoDatabase": "Data Source=data/todo.db"
},
"Authentication": {
"APIKeys": [
"0a7eefbb-17f5-4299-882b-94719461a896"
]
},
"Logging": {
"LogLevel": {
"Default": "Information",
@@ -9,4 +14,4 @@
}
},
"AllowedHosts": "*"
}
}