Options
All
  • Public
  • Public/Protected
  • All
Menu

@authdog/easyjwt

easyjwt

npm version code style: prettier bundle size

easyjwt is a library aiming to create and validate JSON Web Tokens without hussle or prerequisitie cryptography knowledge.

Install

yarn add @authdog/easyjwt

Usage

Signin a token:

Verifying a token:

Roadmap Features

  • Basic readme validation info
  • Helpers to check issuer and audiences of a given token
  • Sign/Verify HS256 token
  • Sign/Verify RS256 token
  • Sign/Verify RS384 token
  • Sign/Verify RS512 token
  • Sign/Verify PS256 token
  • Sign/Verify PS384 token
  • Sign/Verify PS512 token
  • Sign/Verify HS384 token
  • Sign/Verify ES256 token
  • Sign/Verify ES384 token
  • Sign/Verify ES512 token
  • Sign/Verify EdDSA token
  • Sign/Verify ES256K token

Roadmap Security

  • Rate limiting

Roadmap Documentation

  • Documentation End user Introduction
  • Documentation End user Get Started
  • Documentation End user API

Dependencies

  • jsonwebtoken
  • node-jose
  • jwk-to-pem
  • node-fetch

Issue Reporting

If you have found a bug or if you have a feature request, please report them at this repository issues section. Please do not report security vulnerabilities on the public GitHub issue tracker. The Responsible Disclosure Program details the procedure for disclosing security issues.

Author

Authdog

License

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

Generated using TypeDoc