1.0.0 • Published 7 years ago

auth-stapler v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

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
1.0.0

7 years ago