dorongrinstein-jwt-verifier

0.0.10 • Public • Published

dorongrinstein-jwt-verifier is a small library that helps decode and verify JWTs which are Base64Url encoded.

IMPORTANT: This library is meant for demonstration purpose only in the context of an architecture paper. It should not be used for production.

Installation

npm install dorongrinstein-jwt-verifier [--save]

Usage

var token = 'jwt token base64 string goes here';
 
var jwtVerifier = new (require('dorongrinstein-jwt-verifier'))();
jwtVerifier.verify(token, function(decoded) {
  console.log(decoded);
}
 

Author

~dorongrinstein

License

This project is licensed under the MIT license. See the LICENSE file for more info.

Readme

Keywords

Package Sidebar

Install

npm i dorongrinstein-jwt-verifier

Weekly Downloads

1

Version

0.0.10

License

ISC

Last publish

Collaborators

  • dorongrinstein