<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="8.18.0" />

Microsoft.IdentityModel.Tokens.Experimental.ValidatedLifetime

Represents a validated lifetime, including the NotBefore and Expires values.
namespace Microsoft.IdentityModel.Tokens.Experimental { public readonly struct ValidatedLifetime : IEquatable<ValidatedLifetime> { public DateTime? NotBefore { get; } public DateTime? Expires { get; } public ValidatedLifetime(DateTime? notBefore, DateTime? expires); public static bool operator ==(ValidatedLifetime left, ValidatedLifetime right); public static bool operator !=(ValidatedLifetime left, ValidatedLifetime right); public bool Equals(ValidatedLifetime other); } }