Partager via


JsonWebToken.ValidTo Property

Definition

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

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

Property Value

Remarks

Identifies the expiration time on or after which the JWT MUST NOT be accepted for processing. See: https://datatracker.ietf.org/doc/html/rfc7519#section-4.1.4.

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

Applies to