ts-easy-jwt-auth
TypeScript icon, indicating that this package has built-in type declarations

1.1.2 • Public • Published

Easy JWT Auth

An easy drop-in authentication system utilizing a JWT access token & refresh token system.

NPM Version Downloads Stats

Easy JWT Auth removes the need to maintain and rebuild authentication for each application. By using the generic helper functions available through this package, authentication and token management can be abstracted away to provide a simple standard interface.

Installation

npm install ts-easy-jwt-auth --save

Usage example

Easy JWT Auth contains a single class that should be instantiated once for each auth system. This will store the access and refresh tokens in memory and handle all user options.

See docs/ for documentation of each component and advanced usage.

See the example/ folder for javascript and typescript examples.

Development setup

The package is written in typescript and javascript.

npm install
npm test

Release History

See CHANGELOG.md for more information.

Meta

Brian Olencki – brian.olencki.com

Distributed under the MIT license. See LICENSE for more information.

https://github.com/Olencki-Development/ts-easy-jwt-auth

Contributing

  1. Fork it (https://github.com/Olencki-Development/ts-easy-jwt-auth/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

Package Sidebar

Install

npm i ts-easy-jwt-auth

Weekly Downloads

1

Version

1.1.2

License

MIT

Unpacked Size

46.4 kB

Total Files

22

Last publish

Collaborators

  • bolencki13