共用方式為


JsonWebToken.ValidFrom Property

Definition

Gets the 'value' of the 'nbf' claim converted to a DateTime from the payload.

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

Property Value

Remarks

Identifies the time before which the JWT MUST NOT be accepted for processing. See: https://datatracker.ietf.org/doc/html/rfc7519#section-4.1.5.

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

Applies to