@osovitny/anatoly 3.21.30 → 3.21.32
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.
|
@@ -1702,14 +1702,6 @@ class MSALUtils {
|
|
|
1702
1702
|
static initialNavigation() {
|
|
1703
1703
|
return !BrowserUtils.isInIframe() && !BrowserUtils.isInPopup() ? 'enabledNonBlocking' : 'disabled';
|
|
1704
1704
|
}
|
|
1705
|
-
static getApi() {
|
|
1706
|
-
let map = new Map();
|
|
1707
|
-
if (MSALApiConfig) {
|
|
1708
|
-
let api = MSALApiConfig;
|
|
1709
|
-
map.set(api.uri, api.scopes);
|
|
1710
|
-
}
|
|
1711
|
-
return map;
|
|
1712
|
-
}
|
|
1713
1705
|
static getApiScopes() {
|
|
1714
1706
|
let scopes = [];
|
|
1715
1707
|
if (MSALApiConfig) {
|
|
@@ -9165,13 +9157,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.15", ngImpo
|
|
|
9165
9157
|
Copyright (c) 2016-2025 Osovitny Inc. All rights reserved.
|
|
9166
9158
|
</file>
|
|
9167
9159
|
*/
|
|
9168
|
-
function MSALInterceptorConfigFactory() {
|
|
9169
|
-
let protectedResourceMap = MSALUtils.getApi();
|
|
9170
|
-
return {
|
|
9171
|
-
interactionType: InteractionType.Redirect,
|
|
9172
|
-
protectedResourceMap
|
|
9173
|
-
};
|
|
9174
|
-
}
|
|
9175
9160
|
/*
|
|
9176
9161
|
https://github.com/AzureAD/microsoft-authentication-library-for-js/blob/dev/lib/msal-angular/docs/configuration.md
|
|
9177
9162
|
The MsalGuard also allows you to dynamically change the authRequest at runtime. This allow you to pick a different
|