ValidatedLifetime(Nullable<DateTime>, Nullable<DateTime>) Constructor

Definition

Initializes a new instance of ValidatedLifetime.

public ValidatedLifetime(DateTime? notBefore, DateTime? expires);
new Microsoft.IdentityModel.Tokens.Experimental.ValidatedLifetime : Nullable<DateTime> * Nullable<DateTime> -> Microsoft.IdentityModel.Tokens.Experimental.ValidatedLifetime
Public Sub New (notBefore As Nullable(Of DateTime), expires As Nullable(Of DateTime))

Parameters

notBefore
Nullable<DateTime>

The DateTime representing the time from which the token is considered valid.

expires
Nullable<DateTime>

The DateTime representing the token's expiration time.

Applies to