Share via


JwtSecurityToken.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 override DateTime ValidTo { get; }
member this.ValidTo : DateTime
Public Overrides ReadOnly Property ValidTo As DateTime

Property Value

Remarks

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

Applies to