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.1.1 to 0.1.2

2

package.json
{
"name": "@shoutem/fetch-token-intercept",
"version": "0.1.1",
"version": "0.1.2",
"description": "Fetch interceptor for managing refresh token flow.",

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

@@ -42,2 +42,6 @@ # fetch-token-intercept

shouldInvalidateAccessToken: (response) => boolean,
// When set, response which invalidates token will be resolved after the token has been renewed
// in effect, token will be loaded in sync with response, otherwise renew will run async to response
shouldWaitForTokenRenewal: boolean,

@@ -44,0 +48,0 @@ // (Required) Adds authorization for intercepted requests

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