Socket
Socket
Sign inDemoInstall

@pega/auth

Package Overview
Dependencies
Maintainers
16
Versions
22
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.5 to 0.2.6

lib/SECURITY.md

8

lib/sdk-auth-manager/authManager.js

@@ -445,3 +445,2 @@ // This file wraps various calls related to logging in, logging out, etc.

* Initiate the process to get the Constellation bootstrap shell loaded and initialized
* @param {Object} authConfig
* @param {Object} tokenInfo

@@ -452,5 +451,6 @@ * @param {Function} authTokenUpdated - callback invoked when Constellation JS Engine silently updates

*/
#constellationInit(authConfig, tokenInfo, authTokenUpdated, fnReauth) {
#constellationInit(tokenInfo, authTokenUpdated, fnReauth) {
const constellationBootConfig = {};
const sdkConfigServer = SdkConfigAccess.getSdkConfigServer();
const authConfig = this.#authConfig;
// Set up constellationConfig with data that bootstrapWithAuthHeader expects

@@ -549,3 +549,3 @@ constellationBootConfig.customRendering = true;

#customConstellationInit(fnReauth) {
this.#constellationInit(null, null, null, fnReauth);
this.#constellationInit(null, null, fnReauth);
}

@@ -570,3 +570,3 @@ #fireTokenAvailable(token, bLoadC11N = true) {

if (!window.PCore && bLoadC11N) {
this.#constellationInit(this.#authConfig, token, this.#authTokenUpdated.bind(this), this.#authFullReauth.bind(this));
this.#constellationInit(token, this.#authTokenUpdated.bind(this), this.#authFullReauth.bind(this));
}

@@ -573,0 +573,0 @@ /*

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

@@ -18,3 +18,3 @@ "repository": {

"build": "npx tsc -b",
"postbuild": "cp src/oauth-client/authDone.html lib/oauth-client/ && cp src/oauth-client/lock-closed-solid.svg lib/oauth-client",
"postbuild": "cp src/oauth-client/authDone.html lib/oauth-client/ && cp src/oauth-client/lock-closed-solid.svg lib/oauth-client && cp SECURITY.md lib",
"lint": "run-p -cl lint:*",

@@ -21,0 +21,0 @@ "fix": "run-s -cl fix:*",

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