Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@shoutem/fetch-token-intercept

Package Overview
Dependencies
Maintainers
4
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shoutem/fetch-token-intercept - npm Package Compare versions

Comparing version 0.0.1-alpha.5 to 0.1.0

2

package.json
{
"name": "@shoutem/fetch-token-intercept",
"version": "0.0.1-alpha.5",
"version": "0.1.0",
"description": "Fetch interceptor for managing refresh token flow.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -94,21 +94,22 @@ # fetch-token-intercept

### Exports
`configure`
`configure(configuration)`
Configures fetch token interceptor with provided configuration object.
`authorize`
`authorize(refreshToken, accessToken)`
Authorizes fetch token interceptor with provided tokens.
`clear`
`clear()`
Clears all tokens from interceptor.
## Tests
## Tests
```
$ npm install && npm run test
```
## License
```
$ npm install && npm run test
```
## License
BSD
BSD
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc