Class TeamMailKeyRecord
- Namespace
- Tharga.Team
- Assembly
- Tharga.Team.dll
A team's mail key as it is kept, retired keys included, so mail to a retired key is known to be retired rather than unknown.
public record TeamMailKeyRecord : IEquatable<TeamMailKeyRecord>
- Inheritance
-
TeamMailKeyRecord
- Implements
- Inherited Members
Properties
CreatedAt
public required DateTime CreatedAt { get; init; }
Property Value
Key
public required string Key { get; init; }
Property Value
RetiresAt
When a replaced key stops being accepted; null for the primary.
public DateTime? RetiresAt { get; init; }
Property Value
Role
public required MailKeyRole Role { get; init; }
Property Value
TeamKey
public required string TeamKey { get; init; }
Property Value
Methods
HasRetired(DateTime)
A replaced key stops being accepted at the moment it retires, not a moment after.
public bool HasRetired(DateTime now)
Parameters
nowDateTime