JWTRegisteredClaims.expiration()

Return the exp parameter value as a standard Date object. Throws an Error if the parameter doesn't exist or the value isn't a positive integer.

Definition

function expiration(): Date;