@osovitny/anatoly 3.19.43 → 3.19.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1466,8 +1466,9 @@ var PaymentStage;
|
|
|
1466
1466
|
})(PaymentStage || (PaymentStage = {}));
|
|
1467
1467
|
var SubscriptionProvider;
|
|
1468
1468
|
(function (SubscriptionProvider) {
|
|
1469
|
-
SubscriptionProvider[SubscriptionProvider["
|
|
1470
|
-
SubscriptionProvider[SubscriptionProvider["
|
|
1469
|
+
SubscriptionProvider[SubscriptionProvider["Product"] = 1] = "Product";
|
|
1470
|
+
SubscriptionProvider[SubscriptionProvider["PayPal"] = 2] = "PayPal";
|
|
1471
|
+
SubscriptionProvider[SubscriptionProvider["Stripe"] = 3] = "Stripe";
|
|
1471
1472
|
})(SubscriptionProvider || (SubscriptionProvider = {}));
|
|
1472
1473
|
|
|
1473
1474
|
/*
|
|
@@ -2074,19 +2075,19 @@ class AuthService extends ApiServiceBase {
|
|
|
2074
2075
|
};
|
|
2075
2076
|
}
|
|
2076
2077
|
//Logging
|
|
2077
|
-
console.log("SSO in progress");
|
|
2078
|
+
console.log("iam.msal.sso: SSO in progress");
|
|
2078
2079
|
if (cls) {
|
|
2079
2080
|
QSUtils.clearKey("cls=1", true, true);
|
|
2080
2081
|
}
|
|
2081
2082
|
return this.msalService.ssoSilent(ssoSilentRequest).pipe(map$1(response => {
|
|
2082
2083
|
QSUtils.clearSSO();
|
|
2083
2084
|
//Logging
|
|
2084
|
-
console.log("SSO have been successfully done");
|
|
2085
|
+
console.log("iam.msal.sso: SSO have been successfully done");
|
|
2085
2086
|
return response.accessToken;
|
|
2086
2087
|
}), catchError(error => {
|
|
2087
2088
|
QSUtils.clearSSO();
|
|
2088
2089
|
//Logging
|
|
2089
|
-
console.log("SSO silent token acquisition
|
|
2090
|
+
console.log("iam.msal.sso: SSO silent token acquisition failed");
|
|
2090
2091
|
console.error(error);
|
|
2091
2092
|
if (error instanceof InteractionRequiredAuthError) {
|
|
2092
2093
|
return this.acquireToken();
|
|
@@ -2104,14 +2105,14 @@ class AuthService extends ApiServiceBase {
|
|
|
2104
2105
|
return this.msalService.acquireTokenSilent(silentRequest).pipe(map$1(response => {
|
|
2105
2106
|
return response.accessToken;
|
|
2106
2107
|
}), catchError(error => {
|
|
2107
|
-
console.log("Silent token acquisition
|
|
2108
|
+
console.log("iam.msal.sso: Silent token acquisition failed.");
|
|
2108
2109
|
if (error instanceof InteractionRequiredAuthError) {
|
|
2109
2110
|
return this.acquireToken();
|
|
2110
2111
|
}
|
|
2111
2112
|
return of(null);
|
|
2112
2113
|
}));
|
|
2113
2114
|
}
|
|
2114
|
-
return
|
|
2115
|
+
return of(null);
|
|
2115
2116
|
}
|
|
2116
2117
|
forceReauthenticate(account) {
|
|
2117
2118
|
if (MSALUtils.isB2C()) {
|