Skip to content

Authentication layer extension for network-stapler

License

Notifications You must be signed in to change notification settings

allaboutapps/auth-stapler

 
 

Repository files navigation

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

About

Authentication layer extension for network-stapler

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 100.0%