@pega/auth
Advanced tools
Comparing version 0.2.5 to 0.2.6
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
198668
42