using ZB.MOM.WW.MxGateway.Server.Security.Authentication;

namespace ZB.MOM.WW.MxGateway.Server.Dashboard;

public sealed record DashboardApiKeySummary(
    string KeyId,
    string DisplayName,
    IReadOnlySet<string> Scopes,
    ApiKeyConstraints Constraints,
    DateTimeOffset CreatedUtc,
    DateTimeOffset? LastUsedUtc,
    DateTimeOffset? RevokedUtc,
    DateTimeOffset? ExpiresUtc = null);
