ts-easy-jwt-client
v1.1.1
Published
Frontend client for jwt authentication.
Downloads
6
Maintainers
Readme
Easy JWT Client
An easy drop-in library compatible with
ts-easy-jwt-auth
for handling user actions and authentication with a remote server.
Easy JWT Client removes the need to maintain and rebuild authentication for each application. By using the generic helper functions available through this package, authentication, user's actions, and token management can be abstracted away to provide a simple standard interface. This package can easily interface with ts-easy-jwt-auth
& redux-process
if desired.
Installation
npm install ts-easy-jwt-client --save
Usage example
This package utilizes axios for outbound requests. It contains two classes to achieve a simple, re-usable interface.
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-client
Contributing
- Fork it (https://github.com/Olencki-Development/ts-easy-jwt-client/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