jwt-helper-andrewoh531
v1.0.1
Published
JWT helper module
Downloads
2
Readme
jwt-helper
Simple helper module for creating and verifying JWT tokens. It has two methods:
createToken(issuer, audience, expiryInSeconds, secret, userId)
isTokenValid(token, issuer, audience, secret)