Optional
payload: JwtPayloadJWT payload to be included in the token
Optional
shouldNotExpire: booleanOptional
expiration: stringOffset-based expiration. If not provided, defaults to 2 days.
Signed JWT token, to be returned to the user.
Generated using TypeDoc
Create the token, assign an expiry date, and sign it