bitfumes-jwt-verify

0.1.0 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    2

Package Sidebar

Install

npm i bitfumes-jwt-verify

Weekly Downloads

2

Version

0.1.0

License

MIT

Unpacked Size

4.36 kB

Total Files

5

Last publish

Collaborators

  • bitfumes