Skip to content

JWT signature verifier using public key modulus and exponent.

Notifications You must be signed in to change notification settings

quintoandar/node-jwt

Repository files navigation

node-jwt

JWT signature verifier using public key modulus and exponent.

Usage

npm install --save git+https://github.com/quintoandar/node-jwt.git#<latest-release-version>

See releases

const verify = require('quintoandar-jwt').getVerifier(modulus, exponent);

verify("your token");

The verify function will return the decoded JWT as an object with both the header and payload properties.

const jwt = verify("your token");

console.log(jwt.id);
console.log(jwt.name);

About

JWT signature verifier using public key modulus and exponent.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •