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

Microsoft.IdentityModel.Tokens.Experimental.LifetimeValidationFailure

Failures that occur during validation of a SecurityToken lifetime.
public static readonly LifetimeValidationFailure Expired

Token was expired.

Token was issued in the future.

No expiration found in the security token.

NotBefore time is after the expires time.

public static readonly LifetimeValidationFailure NotYetValid

Token was not yet valid.

General lifetime validation failure.

Lifetime validator delegate threw an exception.

protected LifetimeValidationFailure(string name)

Creates an instance of LifetimeValidationFailure