Compartilhar via


JwtPayload.ValidTo Property

Definition

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

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

Property Value

Remarks

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

Applies to