Started implementing api key expiration
This commit is contained in:
@@ -14,6 +14,7 @@ public class ApiKey : IActionTimestamps
|
||||
public required string Description { get; set; }
|
||||
|
||||
public string[] Permissions { get; set; } = [];
|
||||
public DateTimeOffset ValidUntil { get; set; }
|
||||
|
||||
[MaxLength(32)]
|
||||
public string Key { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user