The secret key used for HS256 signing (minimum 32 characters)
The JWT payload claims
Token expiration as seconds offset, Date, or human-readable string (default: 15 minutes)
A Promise resolving to the signed JWT string
(Exception) - If secret is too short, expiration is in the past, or signing fails
Signs a JWT with the given payload and expiration