An easy drop-in authentication system utilizing a JWT access token & refresh token system.
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.
npm install ts-easy-jwt-auth --save
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.
The package is written in typescript and javascript.
npm install
npm test
See CHANGELOG.md for more information.
Brian Olencki – brian.olencki.com
Distributed under the MIT license. See LICENSE for more information.
https://github.com/Olencki-Development/ts-easy-jwt-auth
- Fork it (https://github.com/Olencki-Development/ts-easy-jwt-auth/fork)
- Create your feature branch (
git checkout -b feature/fooBar
) - Commit your changes (
git commit -am 'Add some fooBar'
) - Push to the branch (
git push origin feature/fooBar
) - Create a new Pull Request