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

@pega/auth

Package Overview
Dependencies
Maintainers
16
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pega/auth - npm Package Compare versions

Comparing version 0.2.7 to 0.2.8

22

lib/sdk-auth-manager/authManager.js

@@ -182,10 +182,13 @@ // This file wraps various calls related to logging in, logging out, etc.

}
/*
// No longer needed (see BUG-861780)
isLoginExpired() {
let bExpired = true;
if (this.loginStart) {
const currTime = Date.now();
bExpired = currTime - this.loginStart > 60000;
}
return bExpired;
let bExpired = true;
if (this.loginStart) {
const currTime = Date.now();
bExpired = currTime - this.loginStart > 60000;
}
return bExpired;
}
*/
/**

@@ -840,6 +843,8 @@ * Clean up any session storage allocated for the user session.

this.authRedirectCallback(window.location.href, redirectDoneCB || cbDefault);
// });
});
}
if (!deferLogin && (!this.loginStart || this.isLoginExpired())) {
// Reset the loginStart when page is traversed without ?code argument (user invoked app twice,
// without logging in) (BUG-861780)
this.loginStart = 0;
if (!deferLogin /* && (!this.loginStart || this.isLoginExpired()) */) {
return this.#initialize(false).then(() => {

@@ -856,3 +861,2 @@ this.#updateLoginStatus();

}
// });
});

@@ -859,0 +863,0 @@ }

{
"name": "@pega/auth",
"version": "0.2.7",
"version": "0.2.8",
"description": "Pega OAuth 2.0 Client Library (supports Infinity and Launchpad).",

@@ -5,0 +5,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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