https://github.com/bitfumes/jwtverify
Verify JWT in your frontend
https://github.com/bitfumes/jwtverify
Last synced: 3 months ago
JSON representation
Verify JWT in your frontend
- Host: GitHub
- URL: https://github.com/bitfumes/jwtverify
- Owner: bitfumes
- License: mit
- Created: 2018-04-15T05:43:20.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-15T08:54:03.000Z (about 7 years ago)
- Last Synced: 2025-02-16T14:33:32.257Z (3 months ago)
- Language: JavaScript
- Size: 1020 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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 --save## Usage
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 test## Contributing
Sarthak Shrivastava - Full stack web developer from Bitfumes