The JWTs that are returned by nJwt.verify()
and nJwt.parse()
will no longer
populate the iat
and jti
fields with default random values.
Fixed to prevent the jti
and iat
claims of the passed token from being
over-written with default random values during verification.
jwt.toString()
is now an alias for jwt.compact()
.
When parsing a JWT string, the header values of the JWT are now populated on the object that is returned.
The default exp
field is now set to a default expiration of 1 hour.
First release.