OIDC Integration
This commit is contained in:
@@ -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>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user