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

react-auth-kit

Package Overview
Dependencies
Maintainers
1
Versions
200
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-auth-kit - npm Package Compare versions

Comparing version 3.0.0-alpha.23 to 3.0.0-alpha.24

4

package.json
{
"name": "react-auth-kit",
"version": "3.0.0-alpha.23",
"version": "3.0.0-alpha.24",
"description": "Authentication Library for React, which makes Token based auth very easy",

@@ -90,3 +90,3 @@ "keywords": [

},
"gitHead": "574514a551ccfdcfbf91d451310bdd997093a20f"
"gitHead": "fe1d6a1dfe2d3643aa8bf957a995c42f9ff5ef76"
}

@@ -229,4 +229,2 @@ "use strict";

console.log("Sync Token is Called");
console.log(authState);
console.log(this);
if (!!authState.auth) {

@@ -244,2 +242,3 @@ this.setAuthToken(authState.auth.token, authState.auth.type, authState.userState);

setAuthToken = (authToken, authTokenType, authState) => {
console.log('Setting Auth Token ' + this.authStorageType);
if (this.authStorageType === 'cookie') {

@@ -273,2 +272,3 @@ const expiresAt = this.getExpireDateTime_(authToken);

setRefreshToken = refreshToken => {
console.log('Setting Refresh Token ' + this.authStorageType);
if (this.authStorageType === 'cookie') {

@@ -275,0 +275,0 @@ if (this.isUsingRefreshToken && !!this.refreshTokenName && !!refreshToken) {

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