Class ApiKeyDisplayModel
Represents an API key for display in the dashboard (values are masked).
public sealed class ApiKeyDisplayModel
- Inheritance
-
ApiKeyDisplayModel
- Inherited Members
Properties
CreatedAt
public required DateTimeOffset CreatedAt { get; init; }
Property Value
ExpiresAt
public DateTimeOffset? ExpiresAt { get; init; }
Property Value
IsRevoked
public required bool IsRevoked { get; init; }
Property Value
Key
public required string Key { get; init; }
Property Value
LastUsedAt
public DateTimeOffset? LastUsedAt { get; init; }
Property Value
Name
public required string Name { get; init; }
Property Value
PreviousKey
public string? PreviousKey { get; init; }
Property Value
RevokedAt
public DateTimeOffset? RevokedAt { get; init; }
Property Value
Role
public required string Role { get; init; }
Property Value
UsageCount
public long UsageCount { get; init; }