Package Title
This Package contain necessary jwt utilities to work with jwt tokens.
🛠 Skills
Javascript
Dependency
Install
$ npm install jwt-resource
you can leverage the following functions
-
getToken
-
verifyToken
-
refreshToken
-
decodeToken
-
getTokenExpirationDate
Syntaxes
-
getToken(payload, secretkey, expiry)
-
verifyToken(token,secretkey)
-
refreshToken(payload, secretkey, expiry)
-
decodeToken(token)
-
getTokenExpirationDate(token)