1.0.1 • Published 7 years ago
jwt-helper-andrewoh531 v1.0.1
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)