0.1.0 • Published 8 years ago
bitfumes-jwt-verify v0.1.0
Tymon JWT-auth Verification
========================= This package will verify the authenticity of JWT in Front End, given by Tymon JWT-auth on laravel.
Installation
npm i bitfumes-jwt-verify --saveUsage
const VerifyJWT = require('../index');
VerifyJWT.handle(token) // Set the token in localstorage
// To remove token
VerifyJWT.remove()
// To get token from localstorage
VerifyJWT.get()
// Verify that token is valid
VerifyJWT.isValid()Tests
npm testContributing
Sarthak Shrivastava - Full stack web developer from Bitfumes0.1.0
8 years ago