@azure/msal-browser 2.28.1 → 2.28.2
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.
- package/README.md +1 -1
- package/dist/_virtual/_tslib.js +1 -1
- package/dist/app/ClientApplication.js +1 -1
- package/dist/app/IPublicClientApplication.js +1 -1
- package/dist/app/PublicClientApplication.js +1 -1
- package/dist/broker/nativeBroker/NativeMessageHandler.js +1 -1
- package/dist/cache/AsyncMemoryStorage.js +1 -1
- package/dist/cache/BrowserCacheManager.js +1 -1
- package/dist/cache/BrowserStorage.js +1 -1
- package/dist/cache/DatabaseStorage.js +1 -1
- package/dist/cache/MemoryStorage.js +1 -1
- package/dist/cache/TokenCache.js +1 -1
- package/dist/config/Configuration.js +1 -1
- package/dist/crypto/BrowserCrypto.js +1 -1
- package/dist/crypto/CryptoOps.js +1 -1
- package/dist/crypto/GuidGenerator.js +1 -1
- package/dist/crypto/PkceGenerator.js +1 -1
- package/dist/crypto/SignedHttpRequest.js +1 -1
- package/dist/encode/Base64Decode.js +1 -1
- package/dist/encode/Base64Encode.js +1 -1
- package/dist/error/BrowserAuthError.js +1 -1
- package/dist/error/BrowserConfigurationAuthError.js +1 -1
- package/dist/error/NativeAuthError.js +1 -1
- package/dist/event/EventHandler.js +1 -1
- package/dist/event/EventMessage.js +1 -1
- package/dist/event/EventType.js +1 -1
- package/dist/index.cjs.js +97 -63
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/interaction_client/BaseInteractionClient.js +1 -1
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.js +1 -1
- package/dist/interaction_client/NativeInteractionClient.js +1 -1
- package/dist/interaction_client/PopupClient.js +1 -1
- package/dist/interaction_client/RedirectClient.js +1 -1
- package/dist/interaction_client/SilentAuthCodeClient.js +1 -1
- package/dist/interaction_client/SilentCacheClient.js +1 -1
- package/dist/interaction_client/SilentIframeClient.js +1 -1
- package/dist/interaction_client/SilentRefreshClient.js +1 -1
- package/dist/interaction_client/StandardInteractionClient.js +1 -1
- package/dist/interaction_handler/InteractionHandler.js +1 -1
- package/dist/interaction_handler/RedirectHandler.js +1 -1
- package/dist/interaction_handler/SilentHandler.js +1 -1
- package/dist/internals.js +1 -1
- package/dist/navigation/NavigationClient.js +1 -1
- package/dist/network/FetchClient.js +1 -1
- package/dist/network/XhrClient.js +1 -1
- package/dist/packageMetadata.d.ts +1 -1
- package/dist/packageMetadata.js +2 -2
- package/dist/packageMetadata.js.map +1 -1
- package/dist/telemetry/BrowserPerformanceClient.js +1 -1
- package/dist/telemetry/BrowserPerformanceMeasurement.js +1 -1
- package/dist/utils/BrowserConstants.js +1 -1
- package/dist/utils/BrowserProtocolUtils.js +1 -1
- package/dist/utils/BrowserStringUtils.js +1 -1
- package/dist/utils/BrowserUtils.js +1 -1
- package/dist/utils/MathUtils.js +1 -1
- package/lib/msal-browser.js +97 -63
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +32 -32
- package/package.json +2 -2
package/lib/msal-browser.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v2.28.
|
|
1
|
+
/*! @azure/msal-browser v2.28.2 2022-09-06 */
|
|
2
2
|
'use strict';
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
return ar;
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
/*! @azure/msal-common v7.
|
|
122
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
123
123
|
/*! *****************************************************************************
|
|
124
124
|
Copyright (c) Microsoft Corporation.
|
|
125
125
|
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
return r;
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
-
/*! @azure/msal-common v7.
|
|
209
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
210
210
|
|
|
211
211
|
/*
|
|
212
212
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -257,7 +257,7 @@
|
|
|
257
257
|
KNOWN_PUBLIC_CLOUDS: ["login.microsoftonline.com", "login.windows.net", "login.microsoft.com", "sts.windows.net"],
|
|
258
258
|
TOKEN_RESPONSE_TYPE: "token",
|
|
259
259
|
ID_TOKEN_RESPONSE_TYPE: "id_token",
|
|
260
|
-
SHR_NONCE_VALIDITY: 240
|
|
260
|
+
SHR_NONCE_VALIDITY: 240
|
|
261
261
|
};
|
|
262
262
|
var OIDC_DEFAULT_SCOPES = [
|
|
263
263
|
Constants.OPENID_SCOPE,
|
|
@@ -583,7 +583,7 @@
|
|
|
583
583
|
JsonTypes["Jwk"] = "JWK";
|
|
584
584
|
})(JsonTypes || (JsonTypes = {}));
|
|
585
585
|
|
|
586
|
-
/*! @azure/msal-common v7.
|
|
586
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
587
587
|
|
|
588
588
|
/*
|
|
589
589
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -639,7 +639,7 @@
|
|
|
639
639
|
return AuthError;
|
|
640
640
|
}(Error));
|
|
641
641
|
|
|
642
|
-
/*! @azure/msal-common v7.
|
|
642
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
643
643
|
|
|
644
644
|
/*
|
|
645
645
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -714,7 +714,7 @@
|
|
|
714
714
|
}
|
|
715
715
|
};
|
|
716
716
|
|
|
717
|
-
/*! @azure/msal-common v7.
|
|
717
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
718
718
|
|
|
719
719
|
/*
|
|
720
720
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1186,7 +1186,7 @@
|
|
|
1186
1186
|
return ClientAuthError;
|
|
1187
1187
|
}(AuthError));
|
|
1188
1188
|
|
|
1189
|
-
/*! @azure/msal-common v7.
|
|
1189
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
1190
1190
|
|
|
1191
1191
|
/*
|
|
1192
1192
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1311,7 +1311,7 @@
|
|
|
1311
1311
|
return StringUtils;
|
|
1312
1312
|
}());
|
|
1313
1313
|
|
|
1314
|
-
/*! @azure/msal-common v7.
|
|
1314
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
1315
1315
|
|
|
1316
1316
|
/*
|
|
1317
1317
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1491,12 +1491,12 @@
|
|
|
1491
1491
|
return Logger;
|
|
1492
1492
|
}());
|
|
1493
1493
|
|
|
1494
|
-
/*! @azure/msal-common v7.
|
|
1494
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
1495
1495
|
/* eslint-disable header/header */
|
|
1496
1496
|
var name$1 = "@azure/msal-common";
|
|
1497
|
-
var version$1 = "7.
|
|
1497
|
+
var version$1 = "7.4.0";
|
|
1498
1498
|
|
|
1499
|
-
/*! @azure/msal-common v7.
|
|
1499
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
1500
1500
|
/*
|
|
1501
1501
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1502
1502
|
* Licensed under the MIT License.
|
|
@@ -1517,7 +1517,7 @@
|
|
|
1517
1517
|
AzureCloudInstance["AzureUsGovernment"] = "https://login.microsoftonline.us";
|
|
1518
1518
|
})(exports.AzureCloudInstance || (exports.AzureCloudInstance = {}));
|
|
1519
1519
|
|
|
1520
|
-
/*! @azure/msal-common v7.
|
|
1520
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
1521
1521
|
|
|
1522
1522
|
/*
|
|
1523
1523
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1676,7 +1676,7 @@
|
|
|
1676
1676
|
return CredentialEntity;
|
|
1677
1677
|
}());
|
|
1678
1678
|
|
|
1679
|
-
/*! @azure/msal-common v7.
|
|
1679
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
1680
1680
|
|
|
1681
1681
|
/*
|
|
1682
1682
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1931,7 +1931,7 @@
|
|
|
1931
1931
|
return ClientConfigurationError;
|
|
1932
1932
|
}(ClientAuthError));
|
|
1933
1933
|
|
|
1934
|
-
/*! @azure/msal-common v7.
|
|
1934
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
1935
1935
|
|
|
1936
1936
|
/*
|
|
1937
1937
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2115,7 +2115,7 @@
|
|
|
2115
2115
|
return ScopeSet;
|
|
2116
2116
|
}());
|
|
2117
2117
|
|
|
2118
|
-
/*! @azure/msal-common v7.
|
|
2118
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
2119
2119
|
|
|
2120
2120
|
/*
|
|
2121
2121
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2135,7 +2135,7 @@
|
|
|
2135
2135
|
return JSON.parse(decodedClientInfo);
|
|
2136
2136
|
}
|
|
2137
2137
|
catch (e) {
|
|
2138
|
-
throw ClientAuthError.createClientInfoDecodingError(e);
|
|
2138
|
+
throw ClientAuthError.createClientInfoDecodingError(e.message);
|
|
2139
2139
|
}
|
|
2140
2140
|
}
|
|
2141
2141
|
/**
|
|
@@ -2153,7 +2153,7 @@
|
|
|
2153
2153
|
};
|
|
2154
2154
|
}
|
|
2155
2155
|
|
|
2156
|
-
/*! @azure/msal-common v7.
|
|
2156
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
2157
2157
|
/*
|
|
2158
2158
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2159
2159
|
* Licensed under the MIT License.
|
|
@@ -2167,7 +2167,7 @@
|
|
|
2167
2167
|
AuthorityType[AuthorityType["Adfs"] = 1] = "Adfs";
|
|
2168
2168
|
})(AuthorityType || (AuthorityType = {}));
|
|
2169
2169
|
|
|
2170
|
-
/*! @azure/msal-common v7.
|
|
2170
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
2171
2171
|
|
|
2172
2172
|
/*
|
|
2173
2173
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2402,7 +2402,7 @@
|
|
|
2402
2402
|
return AccountEntity;
|
|
2403
2403
|
}());
|
|
2404
2404
|
|
|
2405
|
-
/*! @azure/msal-common v7.
|
|
2405
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
2406
2406
|
|
|
2407
2407
|
/*
|
|
2408
2408
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2440,7 +2440,7 @@
|
|
|
2440
2440
|
return AuthToken;
|
|
2441
2441
|
}());
|
|
2442
2442
|
|
|
2443
|
-
/*! @azure/msal-common v7.
|
|
2443
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
2444
2444
|
|
|
2445
2445
|
/*
|
|
2446
2446
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2471,6 +2471,7 @@
|
|
|
2471
2471
|
var accountInfo = accountEntity.getAccountInfo();
|
|
2472
2472
|
var idToken = _this.readIdTokenFromCache(_this.clientId, accountInfo);
|
|
2473
2473
|
if (idToken && !accountInfo.idTokenClaims) {
|
|
2474
|
+
accountInfo.idToken = idToken.secret;
|
|
2474
2475
|
accountInfo.idTokenClaims = new AuthToken(idToken.secret, _this.cryptoImpl).claims;
|
|
2475
2476
|
}
|
|
2476
2477
|
return accountInfo;
|
|
@@ -3314,7 +3315,7 @@
|
|
|
3314
3315
|
return DefaultStorageClass;
|
|
3315
3316
|
}(CacheManager));
|
|
3316
3317
|
|
|
3317
|
-
/*! @azure/msal-common v7.
|
|
3318
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
3318
3319
|
|
|
3319
3320
|
/*
|
|
3320
3321
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3408,7 +3409,7 @@
|
|
|
3408
3409
|
return __assign({ clientCapabilities: [], azureCloudOptions: DEFAULT_AZURE_CLOUD_OPTIONS, skipAuthorityMetadataCache: false }, authOptions);
|
|
3409
3410
|
}
|
|
3410
3411
|
|
|
3411
|
-
/*! @azure/msal-common v7.
|
|
3412
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
3412
3413
|
|
|
3413
3414
|
/*
|
|
3414
3415
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3428,7 +3429,7 @@
|
|
|
3428
3429
|
return ServerError;
|
|
3429
3430
|
}(AuthError));
|
|
3430
3431
|
|
|
3431
|
-
/*! @azure/msal-common v7.
|
|
3432
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
3432
3433
|
|
|
3433
3434
|
/*
|
|
3434
3435
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3524,7 +3525,7 @@
|
|
|
3524
3525
|
return ThrottlingUtils;
|
|
3525
3526
|
}());
|
|
3526
3527
|
|
|
3527
|
-
/*! @azure/msal-common v7.
|
|
3528
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
3528
3529
|
|
|
3529
3530
|
/*
|
|
3530
3531
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3573,7 +3574,7 @@
|
|
|
3573
3574
|
return NetworkManager;
|
|
3574
3575
|
}());
|
|
3575
3576
|
|
|
3576
|
-
/*! @azure/msal-common v7.
|
|
3577
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
3577
3578
|
/*
|
|
3578
3579
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3579
3580
|
* Licensed under the MIT License.
|
|
@@ -3584,7 +3585,7 @@
|
|
|
3584
3585
|
CcsCredentialType["UPN"] = "UPN";
|
|
3585
3586
|
})(CcsCredentialType || (CcsCredentialType = {}));
|
|
3586
3587
|
|
|
3587
|
-
/*! @azure/msal-common v7.
|
|
3588
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
3588
3589
|
|
|
3589
3590
|
/*
|
|
3590
3591
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3675,7 +3676,7 @@
|
|
|
3675
3676
|
return BaseClient;
|
|
3676
3677
|
}());
|
|
3677
3678
|
|
|
3678
|
-
/*! @azure/msal-common v7.
|
|
3679
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
3679
3680
|
|
|
3680
3681
|
/*
|
|
3681
3682
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3761,7 +3762,7 @@
|
|
|
3761
3762
|
return RequestValidator;
|
|
3762
3763
|
}());
|
|
3763
3764
|
|
|
3764
|
-
/*! @azure/msal-common v7.
|
|
3765
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
3765
3766
|
|
|
3766
3767
|
/*
|
|
3767
3768
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4139,7 +4140,7 @@
|
|
|
4139
4140
|
return RequestParameterBuilder;
|
|
4140
4141
|
}());
|
|
4141
4142
|
|
|
4142
|
-
/*! @azure/msal-common v7.
|
|
4143
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
4143
4144
|
|
|
4144
4145
|
/*
|
|
4145
4146
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4203,7 +4204,7 @@
|
|
|
4203
4204
|
return IdTokenEntity;
|
|
4204
4205
|
}(CredentialEntity));
|
|
4205
4206
|
|
|
4206
|
-
/*! @azure/msal-common v7.
|
|
4207
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
4207
4208
|
/*
|
|
4208
4209
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4209
4210
|
* Licensed under the MIT License.
|
|
@@ -4253,7 +4254,7 @@
|
|
|
4253
4254
|
return TimeUtils;
|
|
4254
4255
|
}());
|
|
4255
4256
|
|
|
4256
|
-
/*! @azure/msal-common v7.
|
|
4257
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
4257
4258
|
|
|
4258
4259
|
/*
|
|
4259
4260
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4367,7 +4368,7 @@
|
|
|
4367
4368
|
return AccessTokenEntity;
|
|
4368
4369
|
}(CredentialEntity));
|
|
4369
4370
|
|
|
4370
|
-
/*! @azure/msal-common v7.
|
|
4371
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
4371
4372
|
|
|
4372
4373
|
/*
|
|
4373
4374
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4434,7 +4435,7 @@
|
|
|
4434
4435
|
return RefreshTokenEntity;
|
|
4435
4436
|
}(CredentialEntity));
|
|
4436
4437
|
|
|
4437
|
-
/*! @azure/msal-common v7.
|
|
4438
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
4438
4439
|
|
|
4439
4440
|
/*
|
|
4440
4441
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4509,7 +4510,7 @@
|
|
|
4509
4510
|
return InteractionRequiredAuthError;
|
|
4510
4511
|
}(AuthError));
|
|
4511
4512
|
|
|
4512
|
-
/*! @azure/msal-common v7.
|
|
4513
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
4513
4514
|
/*
|
|
4514
4515
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4515
4516
|
* Licensed under the MIT License.
|
|
@@ -4525,7 +4526,7 @@
|
|
|
4525
4526
|
return CacheRecord;
|
|
4526
4527
|
}());
|
|
4527
4528
|
|
|
4528
|
-
/*! @azure/msal-common v7.
|
|
4529
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
4529
4530
|
|
|
4530
4531
|
/*
|
|
4531
4532
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4596,7 +4597,7 @@
|
|
|
4596
4597
|
return ProtocolUtils;
|
|
4597
4598
|
}());
|
|
4598
4599
|
|
|
4599
|
-
/*! @azure/msal-common v7.
|
|
4600
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
4600
4601
|
|
|
4601
4602
|
/*
|
|
4602
4603
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4759,6 +4760,21 @@
|
|
|
4759
4760
|
}
|
|
4760
4761
|
return Constants.EMPTY_STRING;
|
|
4761
4762
|
};
|
|
4763
|
+
/**
|
|
4764
|
+
* Parses query string from given string. Returns empty string if no query symbol is found.
|
|
4765
|
+
* @param queryString
|
|
4766
|
+
*/
|
|
4767
|
+
UrlString.parseQueryString = function (queryString) {
|
|
4768
|
+
var queryIndex1 = queryString.indexOf("?");
|
|
4769
|
+
var queryIndex2 = queryString.indexOf("/?");
|
|
4770
|
+
if (queryIndex2 > -1) {
|
|
4771
|
+
return queryString.substring(queryIndex2 + 2);
|
|
4772
|
+
}
|
|
4773
|
+
else if (queryIndex1 > -1) {
|
|
4774
|
+
return queryString.substring(queryIndex1 + 1);
|
|
4775
|
+
}
|
|
4776
|
+
return Constants.EMPTY_STRING;
|
|
4777
|
+
};
|
|
4762
4778
|
UrlString.constructAuthorityUriFromObject = function (urlObject) {
|
|
4763
4779
|
return new UrlString(urlObject.Protocol + "//" + urlObject.HostNameAndPort + "/" + urlObject.PathSegments.join("/"));
|
|
4764
4780
|
};
|
|
@@ -4780,6 +4796,24 @@
|
|
|
4780
4796
|
}
|
|
4781
4797
|
return deserializedHash;
|
|
4782
4798
|
};
|
|
4799
|
+
/**
|
|
4800
|
+
* Returns URL query string as server auth code response object.
|
|
4801
|
+
*/
|
|
4802
|
+
UrlString.getDeserializedQueryString = function (query) {
|
|
4803
|
+
// Check if given query is empty
|
|
4804
|
+
if (StringUtils.isEmpty(query)) {
|
|
4805
|
+
return {};
|
|
4806
|
+
}
|
|
4807
|
+
// Strip the ? symbol if present
|
|
4808
|
+
var parsedQueryString = UrlString.parseQueryString(query);
|
|
4809
|
+
// If ? symbol was not present, above will return empty string, so give original query value
|
|
4810
|
+
var deserializedQueryString = StringUtils.queryStringToObject(StringUtils.isEmpty(parsedQueryString) ? query : parsedQueryString);
|
|
4811
|
+
// Check if deserialization didn't work
|
|
4812
|
+
if (!deserializedQueryString) {
|
|
4813
|
+
throw ClientAuthError.createHashNotDeserializedError(JSON.stringify(deserializedQueryString));
|
|
4814
|
+
}
|
|
4815
|
+
return deserializedQueryString;
|
|
4816
|
+
};
|
|
4783
4817
|
/**
|
|
4784
4818
|
* Check if the hash of the URL string contains known properties
|
|
4785
4819
|
*/
|
|
@@ -4797,7 +4831,7 @@
|
|
|
4797
4831
|
return UrlString;
|
|
4798
4832
|
}());
|
|
4799
4833
|
|
|
4800
|
-
/*! @azure/msal-common v7.
|
|
4834
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
4801
4835
|
|
|
4802
4836
|
/*
|
|
4803
4837
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4898,7 +4932,7 @@
|
|
|
4898
4932
|
return PopTokenGenerator;
|
|
4899
4933
|
}());
|
|
4900
4934
|
|
|
4901
|
-
/*! @azure/msal-common v7.
|
|
4935
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
4902
4936
|
|
|
4903
4937
|
/*
|
|
4904
4938
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4968,7 +5002,7 @@
|
|
|
4968
5002
|
return AppMetadataEntity;
|
|
4969
5003
|
}());
|
|
4970
5004
|
|
|
4971
|
-
/*! @azure/msal-common v7.
|
|
5005
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
4972
5006
|
/*
|
|
4973
5007
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4974
5008
|
* Licensed under the MIT License.
|
|
@@ -5004,7 +5038,7 @@
|
|
|
5004
5038
|
return TokenCacheContext;
|
|
5005
5039
|
}());
|
|
5006
5040
|
|
|
5007
|
-
/*! @azure/msal-common v7.
|
|
5041
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
5008
5042
|
|
|
5009
5043
|
/*
|
|
5010
5044
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5275,7 +5309,7 @@
|
|
|
5275
5309
|
return ResponseHandler;
|
|
5276
5310
|
}());
|
|
5277
5311
|
|
|
5278
|
-
/*! @azure/msal-common v7.
|
|
5312
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
5279
5313
|
|
|
5280
5314
|
/*
|
|
5281
5315
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5726,7 +5760,7 @@
|
|
|
5726
5760
|
return AuthorizationCodeClient;
|
|
5727
5761
|
}(BaseClient));
|
|
5728
5762
|
|
|
5729
|
-
/*! @azure/msal-common v7.
|
|
5763
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
5730
5764
|
/*
|
|
5731
5765
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5732
5766
|
* Licensed under the MIT License.
|
|
@@ -5844,7 +5878,7 @@
|
|
|
5844
5878
|
PerformanceEventStatus[PerformanceEventStatus["Completed"] = 2] = "Completed";
|
|
5845
5879
|
})(PerformanceEventStatus || (PerformanceEventStatus = {}));
|
|
5846
5880
|
|
|
5847
|
-
/*! @azure/msal-common v7.
|
|
5881
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
5848
5882
|
|
|
5849
5883
|
/*
|
|
5850
5884
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6080,7 +6114,7 @@
|
|
|
6080
6114
|
return RefreshTokenClient;
|
|
6081
6115
|
}(BaseClient));
|
|
6082
6116
|
|
|
6083
|
-
/*! @azure/msal-common v7.
|
|
6117
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
6084
6118
|
|
|
6085
6119
|
/*
|
|
6086
6120
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6196,7 +6230,7 @@
|
|
|
6196
6230
|
return SilentFlowClient;
|
|
6197
6231
|
}(BaseClient));
|
|
6198
6232
|
|
|
6199
|
-
/*! @azure/msal-common v7.
|
|
6233
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
6200
6234
|
/*
|
|
6201
6235
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6202
6236
|
* Licensed under the MIT License.
|
|
@@ -6208,7 +6242,7 @@
|
|
|
6208
6242
|
response.hasOwnProperty("jwks_uri"));
|
|
6209
6243
|
}
|
|
6210
6244
|
|
|
6211
|
-
/*! @azure/msal-common v7.
|
|
6245
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
6212
6246
|
/*
|
|
6213
6247
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6214
6248
|
* Licensed under the MIT License.
|
|
@@ -6217,7 +6251,7 @@
|
|
|
6217
6251
|
var EndpointMetadata = rawMetdataJSON.endpointMetadata;
|
|
6218
6252
|
var InstanceDiscoveryMetadata = rawMetdataJSON.instanceDiscoveryMetadata;
|
|
6219
6253
|
|
|
6220
|
-
/*! @azure/msal-common v7.
|
|
6254
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
6221
6255
|
/*
|
|
6222
6256
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6223
6257
|
* Licensed under the MIT License.
|
|
@@ -6231,7 +6265,7 @@
|
|
|
6231
6265
|
ProtocolMode["OIDC"] = "OIDC";
|
|
6232
6266
|
})(exports.ProtocolMode || (exports.ProtocolMode = {}));
|
|
6233
6267
|
|
|
6234
|
-
/*! @azure/msal-common v7.
|
|
6268
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
6235
6269
|
|
|
6236
6270
|
/*
|
|
6237
6271
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6308,7 +6342,7 @@
|
|
|
6308
6342
|
return AuthorityMetadataEntity;
|
|
6309
6343
|
}());
|
|
6310
6344
|
|
|
6311
|
-
/*! @azure/msal-common v7.
|
|
6345
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
6312
6346
|
/*
|
|
6313
6347
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6314
6348
|
* Licensed under the MIT License.
|
|
@@ -6318,7 +6352,7 @@
|
|
|
6318
6352
|
response.hasOwnProperty("metadata"));
|
|
6319
6353
|
}
|
|
6320
6354
|
|
|
6321
|
-
/*! @azure/msal-common v7.
|
|
6355
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
6322
6356
|
|
|
6323
6357
|
/*
|
|
6324
6358
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6440,7 +6474,7 @@
|
|
|
6440
6474
|
return RegionDiscovery;
|
|
6441
6475
|
}());
|
|
6442
6476
|
|
|
6443
|
-
/*! @azure/msal-common v7.
|
|
6477
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
6444
6478
|
|
|
6445
6479
|
/*
|
|
6446
6480
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7102,7 +7136,7 @@
|
|
|
7102
7136
|
return Authority;
|
|
7103
7137
|
}());
|
|
7104
7138
|
|
|
7105
|
-
/*! @azure/msal-common v7.
|
|
7139
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
7106
7140
|
|
|
7107
7141
|
/*
|
|
7108
7142
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7163,7 +7197,7 @@
|
|
|
7163
7197
|
return AuthorityFactory;
|
|
7164
7198
|
}());
|
|
7165
7199
|
|
|
7166
|
-
/*! @azure/msal-common v7.
|
|
7200
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
7167
7201
|
|
|
7168
7202
|
/*
|
|
7169
7203
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7194,7 +7228,7 @@
|
|
|
7194
7228
|
return ServerTelemetryEntity;
|
|
7195
7229
|
}());
|
|
7196
7230
|
|
|
7197
|
-
/*! @azure/msal-common v7.
|
|
7231
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
7198
7232
|
|
|
7199
7233
|
/*
|
|
7200
7234
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7222,7 +7256,7 @@
|
|
|
7222
7256
|
return ThrottlingEntity;
|
|
7223
7257
|
}());
|
|
7224
7258
|
|
|
7225
|
-
/*! @azure/msal-common v7.
|
|
7259
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
7226
7260
|
|
|
7227
7261
|
/*
|
|
7228
7262
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7239,7 +7273,7 @@
|
|
|
7239
7273
|
}
|
|
7240
7274
|
};
|
|
7241
7275
|
|
|
7242
|
-
/*! @azure/msal-common v7.
|
|
7276
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
7243
7277
|
|
|
7244
7278
|
/*
|
|
7245
7279
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7284,7 +7318,7 @@
|
|
|
7284
7318
|
return JoseHeaderError;
|
|
7285
7319
|
}(AuthError));
|
|
7286
7320
|
|
|
7287
|
-
/*! @azure/msal-common v7.
|
|
7321
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
7288
7322
|
|
|
7289
7323
|
/*
|
|
7290
7324
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7324,7 +7358,7 @@
|
|
|
7324
7358
|
return JoseHeader;
|
|
7325
7359
|
}());
|
|
7326
7360
|
|
|
7327
|
-
/*! @azure/msal-common v7.
|
|
7361
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
7328
7362
|
|
|
7329
7363
|
/*
|
|
7330
7364
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7383,7 +7417,7 @@
|
|
|
7383
7417
|
return AuthenticationHeaderParser;
|
|
7384
7418
|
}());
|
|
7385
7419
|
|
|
7386
|
-
/*! @azure/msal-common v7.
|
|
7420
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
7387
7421
|
|
|
7388
7422
|
/*
|
|
7389
7423
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7545,7 +7579,7 @@
|
|
|
7545
7579
|
return ServerTelemetryManager;
|
|
7546
7580
|
}());
|
|
7547
7581
|
|
|
7548
|
-
/*! @azure/msal-common v7.
|
|
7582
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
7549
7583
|
|
|
7550
7584
|
/*
|
|
7551
7585
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7821,7 +7855,7 @@
|
|
|
7821
7855
|
return PerformanceClient;
|
|
7822
7856
|
}());
|
|
7823
7857
|
|
|
7824
|
-
/*! @azure/msal-common v7.
|
|
7858
|
+
/*! @azure/msal-common v7.4.0 2022-09-06 */
|
|
7825
7859
|
|
|
7826
7860
|
/*
|
|
7827
7861
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -9649,7 +9683,7 @@
|
|
|
9649
9683
|
|
|
9650
9684
|
/* eslint-disable header/header */
|
|
9651
9685
|
var name = "@azure/msal-browser";
|
|
9652
|
-
var version = "2.28.
|
|
9686
|
+
var version = "2.28.2";
|
|
9653
9687
|
|
|
9654
9688
|
/*
|
|
9655
9689
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|