OIDC Integration
All checks were successful
Gitea CI/CD / dotnet-build-and-test (push) Successful in 10m0s
Gitea CI/CD / Set Tag Name (push) Successful in 5s
Gitea CI/CD / docker-build-and-push (push) Successful in 11m39s
Gitea CI/CD / Create Tag (push) Successful in 5s

This commit is contained in:
2026-01-21 10:05:03 +01:00
parent d23a73c0d5
commit ad9b6bfdaf
10 changed files with 482 additions and 2 deletions

View File

@@ -27,6 +27,11 @@ public class User
public bool IsActive { get; set; } = true;
[StringLength(255)]
public string? OidcSubject { get; set; }
public bool IsOidcUser => !string.IsNullOrEmpty(OidcSubject);
// Navigation Property: Ein User kann mehrere API-Keys haben
public ICollection<ApiKey> ApiKeys { get; set; } = new List<ApiKey>();
}