OptionalalgorithmThe HMAC hashing algorithm to use.
OptionalaudienceIdentifies the recipients that the JWT is intended for (aud claim).
OptionalexpiresToken lifetime in seconds from issuance.
Sets the exp claim (Date.now() / 1000 + expiresIn).
OptionalissuerIdentifies the principal that issued the JWT (iss claim).
OptionalnotNumber of seconds before this token becomes active.
Sets the nbf claim (Date.now() / 1000 + notBefore).
Configuration options for generating a signed JSON Web Token.