feat(APIKeyAuthOptions): Datenmodell zur Konfiguration der Autorisierung mit API-Schlüssel erstellt.

- DI-Erweiterung hinzugefügt
This commit is contained in:
Developer 02
2024-10-29 09:29:14 +01:00
parent e17875dad7
commit 67a62d7311
6 changed files with 25 additions and 7 deletions

View File

@@ -0,0 +1,9 @@
namespace WorkFlow.API.Models
{
public class APIKeyAuthOptions
{
public required string Key { get; init; }
public string HeaderName { get; init; } = "X-API-Key";
}
}