Partilhar via


JwtSecurityToken.ValidFrom Property

Definition

Gets the 'value' of the 'notbefore' claim { nbf, 'value' } converted to a DateTime assuming 'value' is seconds since UnixEpoch (UTC 1970-01-01T0:0:0Z).

public override DateTime ValidFrom { get; }
member this.ValidFrom : DateTime
Public Overrides ReadOnly Property ValidFrom As DateTime

Property Value

Remarks

If the 'notbefore' claim is not found, then MinValue is returned.

Applies to