dorongrinstein-jwt-verifier
v0.0.10
Published
A JWT verifier, specific for a Concur architecture demo
Downloads
3
Readme
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
License
This project is licensed under the MIT license. See the LICENSE file for more info.