auth-stapler
v1.0.0
Published
authentication layer extension for network-stapler
Downloads
2
Readme
auth-stapler
auth-stapler
extends network-stapler and provides automatical token refresh handling.
Features
- Automatic token refresh when encountering a specific status code
- Defers automatically all requests which are fired during token refresh and starts them as soon as token refresh finished
- Reactive API powered by rxjs
Installation
auth-stapler
is available on npm
npm install auth-stapler
Todos
- [ ] documentation
- [ ] full example
- [ ] unit tests
Contributing
- Create something awesome, make the code better, add some functionality, whatever (this is the hardest part).
- Fork it
- Create new branch to make your changes
- Commit all your changes to your branch
- Submit a pull request