12 lines
305 B
C#
12 lines
305 B
C#
namespace MxGateway.Server.Security.Authentication;
|
|
|
|
public sealed record ApiKeyRecord(
|
|
string KeyId,
|
|
string KeyPrefix,
|
|
byte[] SecretHash,
|
|
string DisplayName,
|
|
IReadOnlySet<string> Scopes,
|
|
DateTimeOffset CreatedUtc,
|
|
DateTimeOffset? LastUsedUtc,
|
|
DateTimeOffset? RevokedUtc);
|