@azure/msal-browser 3.18.0 → 3.19.0

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.
Files changed (105) hide show
  1. package/dist/app/IPublicClientApplication.d.ts +2 -1
  2. package/dist/app/IPublicClientApplication.d.ts.map +1 -1
  3. package/dist/app/IPublicClientApplication.mjs +1 -1
  4. package/dist/app/IPublicClientApplication.mjs.map +1 -1
  5. package/dist/app/PublicClientApplication.d.ts +8 -1
  6. package/dist/app/PublicClientApplication.d.ts.map +1 -1
  7. package/dist/app/PublicClientApplication.mjs +9 -4
  8. package/dist/app/PublicClientApplication.mjs.map +1 -1
  9. package/dist/app/PublicClientNext.mjs +1 -1
  10. package/dist/broker/nativeBroker/NativeMessageHandler.mjs +1 -1
  11. package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
  12. package/dist/cache/AccountManager.mjs +1 -1
  13. package/dist/cache/AsyncMemoryStorage.mjs +1 -1
  14. package/dist/cache/BrowserCacheManager.d.ts +2 -1
  15. package/dist/cache/BrowserCacheManager.d.ts.map +1 -1
  16. package/dist/cache/BrowserCacheManager.mjs +4 -3
  17. package/dist/cache/BrowserCacheManager.mjs.map +1 -1
  18. package/dist/cache/BrowserStorage.mjs +1 -1
  19. package/dist/cache/DatabaseStorage.mjs +1 -1
  20. package/dist/cache/MemoryStorage.mjs +1 -1
  21. package/dist/cache/TokenCache.mjs +1 -1
  22. package/dist/config/Configuration.mjs +1 -1
  23. package/dist/controllers/ControllerFactory.d.ts +2 -1
  24. package/dist/controllers/ControllerFactory.d.ts.map +1 -1
  25. package/dist/controllers/ControllerFactory.mjs +3 -3
  26. package/dist/controllers/ControllerFactory.mjs.map +1 -1
  27. package/dist/controllers/IController.d.ts +2 -1
  28. package/dist/controllers/IController.d.ts.map +1 -1
  29. package/dist/controllers/NestedAppAuthController.mjs +1 -1
  30. package/dist/controllers/StandardController.d.ts +4 -2
  31. package/dist/controllers/StandardController.d.ts.map +1 -1
  32. package/dist/controllers/StandardController.mjs +8 -6
  33. package/dist/controllers/StandardController.mjs.map +1 -1
  34. package/dist/controllers/UnknownOperatingContextController.mjs +1 -1
  35. package/dist/crypto/BrowserCrypto.mjs +1 -1
  36. package/dist/crypto/CryptoOps.mjs +1 -1
  37. package/dist/crypto/PkceGenerator.mjs +1 -1
  38. package/dist/crypto/SignedHttpRequest.mjs +1 -1
  39. package/dist/encode/Base64Decode.mjs +1 -1
  40. package/dist/encode/Base64Encode.mjs +1 -1
  41. package/dist/error/BrowserAuthError.mjs +1 -1
  42. package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
  43. package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
  44. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  45. package/dist/error/NativeAuthError.mjs +1 -1
  46. package/dist/error/NativeAuthErrorCodes.mjs +1 -1
  47. package/dist/error/NestedAppAuthError.mjs +1 -1
  48. package/dist/event/EventHandler.mjs +1 -1
  49. package/dist/event/EventMessage.mjs +1 -1
  50. package/dist/event/EventType.mjs +1 -1
  51. package/dist/index.d.ts +1 -0
  52. package/dist/index.d.ts.map +1 -1
  53. package/dist/index.mjs +1 -1
  54. package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
  55. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  56. package/dist/interaction_client/NativeInteractionClient.d.ts.map +1 -1
  57. package/dist/interaction_client/NativeInteractionClient.mjs +5 -4
  58. package/dist/interaction_client/NativeInteractionClient.mjs.map +1 -1
  59. package/dist/interaction_client/PopupClient.mjs +1 -1
  60. package/dist/interaction_client/RedirectClient.mjs +1 -1
  61. package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
  62. package/dist/interaction_client/SilentCacheClient.mjs +1 -1
  63. package/dist/interaction_client/SilentIframeClient.mjs +1 -1
  64. package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
  65. package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
  66. package/dist/interaction_handler/InteractionHandler.mjs +1 -1
  67. package/dist/interaction_handler/RedirectHandler.mjs +1 -1
  68. package/dist/interaction_handler/SilentHandler.mjs +1 -1
  69. package/dist/naa/BridgeError.mjs +1 -1
  70. package/dist/naa/BridgeProxy.mjs +1 -1
  71. package/dist/naa/BridgeStatusCode.mjs +1 -1
  72. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
  73. package/dist/navigation/NavigationClient.mjs +1 -1
  74. package/dist/network/FetchClient.mjs +1 -1
  75. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  76. package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
  77. package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
  78. package/dist/operatingcontext/UnknownOperatingContext.mjs +1 -1
  79. package/dist/packageMetadata.d.ts +1 -1
  80. package/dist/packageMetadata.mjs +2 -2
  81. package/dist/request/InitializeApplicationRequest.d.ts +9 -0
  82. package/dist/request/InitializeApplicationRequest.d.ts.map +1 -0
  83. package/dist/request/RequestHelpers.mjs +1 -1
  84. package/dist/response/ResponseHandler.mjs +1 -1
  85. package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
  86. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  87. package/dist/utils/BrowserConstants.mjs +1 -1
  88. package/dist/utils/BrowserProtocolUtils.mjs +1 -1
  89. package/dist/utils/BrowserUtils.mjs +1 -1
  90. package/lib/msal-browser.cjs +89 -80
  91. package/lib/msal-browser.cjs.map +1 -1
  92. package/lib/msal-browser.js +89 -80
  93. package/lib/msal-browser.js.map +1 -1
  94. package/lib/msal-browser.min.js +59 -59
  95. package/package.json +1 -1
  96. package/src/app/IPublicClientApplication.ts +3 -1
  97. package/src/app/PublicClientApplication.ts +9 -3
  98. package/src/cache/BrowserCacheManager.ts +5 -2
  99. package/src/controllers/ControllerFactory.ts +4 -2
  100. package/src/controllers/IController.ts +3 -1
  101. package/src/controllers/StandardController.ts +13 -6
  102. package/src/index.ts +1 -0
  103. package/src/interaction_client/NativeInteractionClient.ts +7 -3
  104. package/src/packageMetadata.ts +1 -1
  105. package/src/request/InitializeApplicationRequest.ts +13 -0
@@ -1,8 +1,8 @@
1
- /*! @azure/msal-browser v3.18.0 2024-07-01 */
1
+ /*! @azure/msal-browser v3.19.0 2024-07-12 */
2
2
  'use strict';
3
3
  'use strict';
4
4
 
5
- /*! @azure/msal-common v14.13.0 2024-07-01 */
5
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
6
6
  /*
7
7
  * Copyright (c) Microsoft Corporation. All rights reserved.
8
8
  * Licensed under the MIT License.
@@ -311,7 +311,7 @@ const JsonWebTokenTypes = {
311
311
  // Token renewal offset default in seconds
312
312
  const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
313
313
 
314
- /*! @azure/msal-common v14.13.0 2024-07-01 */
314
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
315
315
  /*
316
316
  * Copyright (c) Microsoft Corporation. All rights reserved.
317
317
  * Licensed under the MIT License.
@@ -328,7 +328,7 @@ var AuthErrorCodes = /*#__PURE__*/Object.freeze({
328
328
  unexpectedError: unexpectedError
329
329
  });
330
330
 
331
- /*! @azure/msal-common v14.13.0 2024-07-01 */
331
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
332
332
 
333
333
  /*
334
334
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -377,7 +377,7 @@ function createAuthError(code, additionalMessage) {
377
377
  : AuthErrorMessages[code]);
378
378
  }
379
379
 
380
- /*! @azure/msal-common v14.13.0 2024-07-01 */
380
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
381
381
  /*
382
382
  * Copyright (c) Microsoft Corporation. All rights reserved.
383
383
  * Licensed under the MIT License.
@@ -475,7 +475,7 @@ var ClientAuthErrorCodes = /*#__PURE__*/Object.freeze({
475
475
  userTimeoutReached: userTimeoutReached
476
476
  });
477
477
 
478
- /*! @azure/msal-common v14.13.0 2024-07-01 */
478
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
479
479
 
480
480
  /*
481
481
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -727,7 +727,7 @@ function createClientAuthError(errorCode, additionalMessage) {
727
727
  return new ClientAuthError(errorCode, additionalMessage);
728
728
  }
729
729
 
730
- /*! @azure/msal-common v14.13.0 2024-07-01 */
730
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
731
731
 
732
732
  /*
733
733
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -788,7 +788,7 @@ function checkMaxAge(authTime, maxAge) {
788
788
  }
789
789
  }
790
790
 
791
- /*! @azure/msal-common v14.13.0 2024-07-01 */
791
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
792
792
  /*
793
793
  * Copyright (c) Microsoft Corporation. All rights reserved.
794
794
  * Licensed under the MIT License.
@@ -803,7 +803,7 @@ const AuthorityType = {
803
803
  Ciam: 3,
804
804
  };
805
805
 
806
- /*! @azure/msal-common v14.13.0 2024-07-01 */
806
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
807
807
  /*
808
808
  * Copyright (c) Microsoft Corporation. All rights reserved.
809
809
  * Licensed under the MIT License.
@@ -815,7 +815,7 @@ function isOpenIdConfigResponse(response) {
815
815
  response.hasOwnProperty("jwks_uri"));
816
816
  }
817
817
 
818
- /*! @azure/msal-common v14.13.0 2024-07-01 */
818
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
819
819
  /*
820
820
  * Copyright (c) Microsoft Corporation. All rights reserved.
821
821
  * Licensed under the MIT License.
@@ -869,7 +869,7 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
869
869
  urlParseError: urlParseError
870
870
  });
871
871
 
872
- /*! @azure/msal-common v14.13.0 2024-07-01 */
872
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
873
873
 
874
874
  /*
875
875
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1007,7 +1007,7 @@ function createClientConfigurationError(errorCode) {
1007
1007
  return new ClientConfigurationError(errorCode);
1008
1008
  }
1009
1009
 
1010
- /*! @azure/msal-common v14.13.0 2024-07-01 */
1010
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
1011
1011
  /*
1012
1012
  * Copyright (c) Microsoft Corporation. All rights reserved.
1013
1013
  * Licensed under the MIT License.
@@ -1104,7 +1104,7 @@ class StringUtils {
1104
1104
  }
1105
1105
  }
1106
1106
 
1107
- /*! @azure/msal-common v14.13.0 2024-07-01 */
1107
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
1108
1108
 
1109
1109
  /*
1110
1110
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1151,7 +1151,7 @@ function getDeserializedResponse(responseString) {
1151
1151
  return null;
1152
1152
  }
1153
1153
 
1154
- /*! @azure/msal-common v14.13.0 2024-07-01 */
1154
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
1155
1155
 
1156
1156
  /*
1157
1157
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1315,7 +1315,7 @@ class UrlString {
1315
1315
  }
1316
1316
  }
1317
1317
 
1318
- /*! @azure/msal-common v14.13.0 2024-07-01 */
1318
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
1319
1319
 
1320
1320
  /*
1321
1321
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1455,7 +1455,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
1455
1455
  return null;
1456
1456
  }
1457
1457
 
1458
- /*! @azure/msal-common v14.13.0 2024-07-01 */
1458
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
1459
1459
  /*
1460
1460
  * Copyright (c) Microsoft Corporation. All rights reserved.
1461
1461
  * Licensed under the MIT License.
@@ -1468,7 +1468,7 @@ const ProtocolMode = {
1468
1468
  OIDC: "OIDC",
1469
1469
  };
1470
1470
 
1471
- /*! @azure/msal-common v14.13.0 2024-07-01 */
1471
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
1472
1472
  /*
1473
1473
  * Copyright (c) Microsoft Corporation. All rights reserved.
1474
1474
  * Licensed under the MIT License.
@@ -1488,7 +1488,7 @@ const AzureCloudInstance = {
1488
1488
  AzureUsGovernment: "https://login.microsoftonline.us",
1489
1489
  };
1490
1490
 
1491
- /*! @azure/msal-common v14.13.0 2024-07-01 */
1491
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
1492
1492
  /*
1493
1493
  * Copyright (c) Microsoft Corporation. All rights reserved.
1494
1494
  * Licensed under the MIT License.
@@ -1498,7 +1498,7 @@ function isCloudInstanceDiscoveryResponse(response) {
1498
1498
  response.hasOwnProperty("metadata"));
1499
1499
  }
1500
1500
 
1501
- /*! @azure/msal-common v14.13.0 2024-07-01 */
1501
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
1502
1502
  /*
1503
1503
  * Copyright (c) Microsoft Corporation. All rights reserved.
1504
1504
  * Licensed under the MIT License.
@@ -1508,7 +1508,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
1508
1508
  response.hasOwnProperty("error_description"));
1509
1509
  }
1510
1510
 
1511
- /*! @azure/msal-common v14.13.0 2024-07-01 */
1511
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
1512
1512
  /*
1513
1513
  * Copyright (c) Microsoft Corporation. All rights reserved.
1514
1514
  * Licensed under the MIT License.
@@ -1990,7 +1990,7 @@ const IntFields = new Set([
1990
1990
  "multiMatchedRT",
1991
1991
  ]);
1992
1992
 
1993
- /*! @azure/msal-common v14.13.0 2024-07-01 */
1993
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
1994
1994
  /*
1995
1995
  * Copyright (c) Microsoft Corporation. All rights reserved.
1996
1996
  * Licensed under the MIT License.
@@ -2086,7 +2086,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
2086
2086
  };
2087
2087
  };
2088
2088
 
2089
- /*! @azure/msal-common v14.13.0 2024-07-01 */
2089
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
2090
2090
 
2091
2091
  /*
2092
2092
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2195,7 +2195,7 @@ RegionDiscovery.IMDS_OPTIONS = {
2195
2195
  },
2196
2196
  };
2197
2197
 
2198
- /*! @azure/msal-common v14.13.0 2024-07-01 */
2198
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
2199
2199
  /*
2200
2200
  * Copyright (c) Microsoft Corporation. All rights reserved.
2201
2201
  * Licensed under the MIT License.
@@ -2232,7 +2232,7 @@ function wasClockTurnedBack(cachedAt) {
2232
2232
  return cachedAtSec > nowSeconds();
2233
2233
  }
2234
2234
 
2235
- /*! @azure/msal-common v14.13.0 2024-07-01 */
2235
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
2236
2236
 
2237
2237
  /*
2238
2238
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2559,7 +2559,7 @@ function isAuthorityMetadataExpired(metadata) {
2559
2559
  return metadata.expiresAt <= nowSeconds();
2560
2560
  }
2561
2561
 
2562
- /*! @azure/msal-common v14.13.0 2024-07-01 */
2562
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
2563
2563
 
2564
2564
  /*
2565
2565
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3398,7 +3398,7 @@ function buildStaticAuthorityOptions(authOptions) {
3398
3398
  };
3399
3399
  }
3400
3400
 
3401
- /*! @azure/msal-common v14.13.0 2024-07-01 */
3401
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
3402
3402
 
3403
3403
  /*
3404
3404
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3429,7 +3429,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
3429
3429
  }
3430
3430
  }
3431
3431
 
3432
- /*! @azure/msal-common v14.13.0 2024-07-01 */
3432
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
3433
3433
  /*
3434
3434
  * Copyright (c) Microsoft Corporation. All rights reserved.
3435
3435
  * Licensed under the MIT License.
@@ -3447,7 +3447,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
3447
3447
  }
3448
3448
  }
3449
3449
 
3450
- /*! @azure/msal-common v14.13.0 2024-07-01 */
3450
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
3451
3451
  /*
3452
3452
  * Copyright (c) Microsoft Corporation. All rights reserved.
3453
3453
  * Licensed under the MIT License.
@@ -3494,7 +3494,7 @@ const SID = "sid";
3494
3494
  const LOGIN_HINT = "login_hint";
3495
3495
  const DOMAIN_HINT = "domain_hint";
3496
3496
 
3497
- /*! @azure/msal-common v14.13.0 2024-07-01 */
3497
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
3498
3498
 
3499
3499
  /*
3500
3500
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3533,7 +3533,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
3533
3533
  },
3534
3534
  };
3535
3535
 
3536
- /*! @azure/msal-common v14.13.0 2024-07-01 */
3536
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
3537
3537
 
3538
3538
  /*
3539
3539
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3724,12 +3724,12 @@ class Logger {
3724
3724
  }
3725
3725
  }
3726
3726
 
3727
- /*! @azure/msal-common v14.13.0 2024-07-01 */
3727
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
3728
3728
  /* eslint-disable header/header */
3729
3729
  const name$1 = "@azure/msal-common";
3730
3730
  const version$1 = "14.13.0";
3731
3731
 
3732
- /*! @azure/msal-common v14.13.0 2024-07-01 */
3732
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
3733
3733
 
3734
3734
  /*
3735
3735
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3929,7 +3929,7 @@ class ScopeSet {
3929
3929
  }
3930
3930
  }
3931
3931
 
3932
- /*! @azure/msal-common v14.13.0 2024-07-01 */
3932
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
3933
3933
 
3934
3934
  /*
3935
3935
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3969,7 +3969,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
3969
3969
  };
3970
3970
  }
3971
3971
 
3972
- /*! @azure/msal-common v14.13.0 2024-07-01 */
3972
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
3973
3973
  /*
3974
3974
  * Copyright (c) Microsoft Corporation. All rights reserved.
3975
3975
  * Licensed under the MIT License.
@@ -4031,7 +4031,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
4031
4031
  return updatedAccountInfo;
4032
4032
  }
4033
4033
 
4034
- /*! @azure/msal-common v14.13.0 2024-07-01 */
4034
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
4035
4035
  /*
4036
4036
  * Copyright (c) Microsoft Corporation. All rights reserved.
4037
4037
  * Licensed under the MIT License.
@@ -4053,7 +4053,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
4053
4053
  return null;
4054
4054
  }
4055
4055
 
4056
- /*! @azure/msal-common v14.13.0 2024-07-01 */
4056
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
4057
4057
 
4058
4058
  /*
4059
4059
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4300,7 +4300,7 @@ class AccountEntity {
4300
4300
  }
4301
4301
  }
4302
4302
 
4303
- /*! @azure/msal-common v14.13.0 2024-07-01 */
4303
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
4304
4304
  /*
4305
4305
  * Copyright (c) Microsoft Corporation. All rights reserved.
4306
4306
  * Licensed under the MIT License.
@@ -4308,7 +4308,7 @@ class AccountEntity {
4308
4308
  const cacheQuotaExceededErrorCode = "cache_quota_exceeded";
4309
4309
  const cacheUnknownErrorCode = "cache_error_unknown";
4310
4310
 
4311
- /*! @azure/msal-common v14.13.0 2024-07-01 */
4311
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
4312
4312
 
4313
4313
  /*
4314
4314
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4335,7 +4335,7 @@ class CacheError extends Error {
4335
4335
  }
4336
4336
  }
4337
4337
 
4338
- /*! @azure/msal-common v14.13.0 2024-07-01 */
4338
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
4339
4339
 
4340
4340
  /*
4341
4341
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5590,7 +5590,7 @@ class DefaultStorageClass extends CacheManager {
5590
5590
  }
5591
5591
  }
5592
5592
 
5593
- /*! @azure/msal-common v14.13.0 2024-07-01 */
5593
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
5594
5594
 
5595
5595
  /*
5596
5596
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5688,7 +5688,7 @@ function isOidcProtocolMode(config) {
5688
5688
  return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
5689
5689
  }
5690
5690
 
5691
- /*! @azure/msal-common v14.13.0 2024-07-01 */
5691
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
5692
5692
 
5693
5693
  /*
5694
5694
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5707,7 +5707,7 @@ class ServerError extends AuthError {
5707
5707
  }
5708
5708
  }
5709
5709
 
5710
- /*! @azure/msal-common v14.13.0 2024-07-01 */
5710
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
5711
5711
 
5712
5712
  /*
5713
5713
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5805,7 +5805,7 @@ class ThrottlingUtils {
5805
5805
  }
5806
5806
  }
5807
5807
 
5808
- /*! @azure/msal-common v14.13.0 2024-07-01 */
5808
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
5809
5809
 
5810
5810
  /*
5811
5811
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5842,7 +5842,7 @@ class NetworkManager {
5842
5842
  }
5843
5843
  }
5844
5844
 
5845
- /*! @azure/msal-common v14.13.0 2024-07-01 */
5845
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
5846
5846
  /*
5847
5847
  * Copyright (c) Microsoft Corporation. All rights reserved.
5848
5848
  * Licensed under the MIT License.
@@ -5852,7 +5852,7 @@ const CcsCredentialType = {
5852
5852
  UPN: "UPN",
5853
5853
  };
5854
5854
 
5855
- /*! @azure/msal-common v14.13.0 2024-07-01 */
5855
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
5856
5856
 
5857
5857
  /*
5858
5858
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5919,7 +5919,7 @@ class RequestValidator {
5919
5919
  }
5920
5920
  }
5921
5921
 
5922
- /*! @azure/msal-common v14.13.0 2024-07-01 */
5922
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
5923
5923
 
5924
5924
  /*
5925
5925
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6304,7 +6304,7 @@ class RequestParameterBuilder {
6304
6304
  }
6305
6305
  }
6306
6306
 
6307
- /*! @azure/msal-common v14.13.0 2024-07-01 */
6307
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
6308
6308
 
6309
6309
  /*
6310
6310
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6407,7 +6407,7 @@ class BaseClient {
6407
6407
  }
6408
6408
  }
6409
6409
 
6410
- /*! @azure/msal-common v14.13.0 2024-07-01 */
6410
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
6411
6411
  /*
6412
6412
  * Copyright (c) Microsoft Corporation. All rights reserved.
6413
6413
  * Licensed under the MIT License.
@@ -6433,7 +6433,7 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
6433
6433
  refreshTokenExpired: refreshTokenExpired
6434
6434
  });
6435
6435
 
6436
- /*! @azure/msal-common v14.13.0 2024-07-01 */
6436
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
6437
6437
 
6438
6438
  /*
6439
6439
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6521,7 +6521,7 @@ function createInteractionRequiredAuthError(errorCode) {
6521
6521
  return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
6522
6522
  }
6523
6523
 
6524
- /*! @azure/msal-common v14.13.0 2024-07-01 */
6524
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
6525
6525
 
6526
6526
  /*
6527
6527
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6593,7 +6593,7 @@ class ProtocolUtils {
6593
6593
  }
6594
6594
  }
6595
6595
 
6596
- /*! @azure/msal-common v14.13.0 2024-07-01 */
6596
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
6597
6597
 
6598
6598
  /*
6599
6599
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6677,7 +6677,7 @@ class PopTokenGenerator {
6677
6677
  }
6678
6678
  }
6679
6679
 
6680
- /*! @azure/msal-common v14.13.0 2024-07-01 */
6680
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
6681
6681
  /*
6682
6682
  * Copyright (c) Microsoft Corporation. All rights reserved.
6683
6683
  * Licensed under the MIT License.
@@ -6704,7 +6704,7 @@ class PopTokenGenerator {
6704
6704
  }
6705
6705
  }
6706
6706
 
6707
- /*! @azure/msal-common v14.13.0 2024-07-01 */
6707
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
6708
6708
 
6709
6709
  /*
6710
6710
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7081,7 +7081,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
7081
7081
  return baseAccount;
7082
7082
  }
7083
7083
 
7084
- /*! @azure/msal-common v14.13.0 2024-07-01 */
7084
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
7085
7085
 
7086
7086
  /*
7087
7087
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7504,7 +7504,7 @@ class AuthorizationCodeClient extends BaseClient {
7504
7504
  }
7505
7505
  }
7506
7506
 
7507
- /*! @azure/msal-common v14.13.0 2024-07-01 */
7507
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
7508
7508
 
7509
7509
  /*
7510
7510
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7718,7 +7718,7 @@ class RefreshTokenClient extends BaseClient {
7718
7718
  }
7719
7719
  }
7720
7720
 
7721
- /*! @azure/msal-common v14.13.0 2024-07-01 */
7721
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
7722
7722
 
7723
7723
  /*
7724
7724
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7854,7 +7854,7 @@ class SilentFlowClient extends BaseClient {
7854
7854
  }
7855
7855
  }
7856
7856
 
7857
- /*! @azure/msal-common v14.13.0 2024-07-01 */
7857
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
7858
7858
 
7859
7859
  /*
7860
7860
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7869,7 +7869,7 @@ const StubbedNetworkModule = {
7869
7869
  },
7870
7870
  };
7871
7871
 
7872
- /*! @azure/msal-common v14.13.0 2024-07-01 */
7872
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
7873
7873
  /*
7874
7874
  * Copyright (c) Microsoft Corporation. All rights reserved.
7875
7875
  * Licensed under the MIT License.
@@ -7877,7 +7877,7 @@ const StubbedNetworkModule = {
7877
7877
  const missingKidError = "missing_kid_error";
7878
7878
  const missingAlgError = "missing_alg_error";
7879
7879
 
7880
- /*! @azure/msal-common v14.13.0 2024-07-01 */
7880
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
7881
7881
 
7882
7882
  /*
7883
7883
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7902,7 +7902,7 @@ function createJoseHeaderError(code) {
7902
7902
  return new JoseHeaderError(code, JoseHeaderErrorMessages[code]);
7903
7903
  }
7904
7904
 
7905
- /*! @azure/msal-common v14.13.0 2024-07-01 */
7905
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
7906
7906
 
7907
7907
  /*
7908
7908
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7942,7 +7942,7 @@ class JoseHeader {
7942
7942
  }
7943
7943
  }
7944
7944
 
7945
- /*! @azure/msal-common v14.13.0 2024-07-01 */
7945
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
7946
7946
 
7947
7947
  /*
7948
7948
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8000,7 +8000,7 @@ class AuthenticationHeaderParser {
8000
8000
  }
8001
8001
  }
8002
8002
 
8003
- /*! @azure/msal-common v14.13.0 2024-07-01 */
8003
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
8004
8004
 
8005
8005
  /*
8006
8006
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8204,7 +8204,7 @@ class ServerTelemetryManager {
8204
8204
  }
8205
8205
  }
8206
8206
 
8207
- /*! @azure/msal-common v14.13.0 2024-07-01 */
8207
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
8208
8208
 
8209
8209
  /*
8210
8210
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8283,7 +8283,7 @@ class StubPerformanceClient {
8283
8283
  }
8284
8284
  }
8285
8285
 
8286
- /*! @azure/msal-common v14.13.0 2024-07-01 */
8286
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
8287
8287
 
8288
8288
  /*
8289
8289
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -10154,7 +10154,7 @@ function buildConfiguration({ auth: userInputAuth, cache: userInputCache, system
10154
10154
 
10155
10155
  /* eslint-disable header/header */
10156
10156
  const name = "@azure/msal-browser";
10157
- const version = "3.18.0";
10157
+ const version = "3.19.0";
10158
10158
 
10159
10159
  /*
10160
10160
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -12010,10 +12010,11 @@ class BrowserCacheManager extends CacheManager {
12010
12010
  /**
12011
12011
  * Clears all access tokes that have claims prior to saving the current one
12012
12012
  * @param performanceClient {IPerformanceClient}
12013
+ * @param correlationId {string} correlation id
12013
12014
  * @returns
12014
12015
  */
12015
- async clearTokensAndKeysWithClaims(performanceClient) {
12016
- performanceClient.addQueueMeasurement(PerformanceEvents.ClearTokensAndKeysWithClaims);
12016
+ async clearTokensAndKeysWithClaims(performanceClient, correlationId) {
12017
+ performanceClient.addQueueMeasurement(PerformanceEvents.ClearTokensAndKeysWithClaims, correlationId);
12017
12018
  const tokenKeys = this.getTokenKeys();
12018
12019
  const removedAccessTokens = [];
12019
12020
  tokenKeys.accessToken.forEach((key) => {
@@ -13413,11 +13414,12 @@ class NativeInteractionClient extends BaseInteractionClient {
13413
13414
  */
13414
13415
  async acquireTokenRedirect(request, rootMeasurement) {
13415
13416
  this.logger.trace("NativeInteractionClient - acquireTokenRedirect called.");
13416
- const nativeRequest = await this.initializeNativeRequest(request);
13417
- const { ...nativeTokenRequest } = nativeRequest;
13417
+ const { ...remainingParameters } = request;
13418
+ delete remainingParameters.onRedirectNavigate;
13419
+ const nativeRequest = await this.initializeNativeRequest(remainingParameters);
13418
13420
  const messageBody = {
13419
13421
  method: NativeExtensionMethod.GetToken,
13420
- request: nativeTokenRequest,
13422
+ request: nativeRequest,
13421
13423
  };
13422
13424
  try {
13423
13425
  const response = await this.nativeMessageHandler.sendMessage(messageBody);
@@ -15780,9 +15782,9 @@ class StandardController {
15780
15782
  this.trackPageVisibilityWithMeasurement =
15781
15783
  this.trackPageVisibilityWithMeasurement.bind(this);
15782
15784
  }
15783
- static async createController(operatingContext) {
15785
+ static async createController(operatingContext, request) {
15784
15786
  const controller = new StandardController(operatingContext);
15785
- await controller.initialize();
15787
+ await controller.initialize(request);
15786
15788
  return controller;
15787
15789
  }
15788
15790
  trackPageVisibility(correlationId) {
@@ -15794,15 +15796,17 @@ class StandardController {
15794
15796
  }
15795
15797
  /**
15796
15798
  * Initializer function to perform async startup tasks such as connecting to WAM extension
15799
+ * @param request {?InitializeApplicationRequest} correlation id
15797
15800
  */
15798
- async initialize() {
15801
+ async initialize(request) {
15799
15802
  this.logger.trace("initialize called");
15800
15803
  if (this.initialized) {
15801
15804
  this.logger.info("initialize has already been called, exiting early.");
15802
15805
  return;
15803
15806
  }
15807
+ const initCorrelationId = request?.correlationId || this.getRequestCorrelationId();
15804
15808
  const allowNativeBroker = this.config.system.allowNativeBroker;
15805
- const initMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.InitializeClientApplication);
15809
+ const initMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.InitializeClientApplication, initCorrelationId);
15806
15810
  this.eventHandler.emitEvent(EventType.INITIALIZE_START);
15807
15811
  if (allowNativeBroker) {
15808
15812
  try {
@@ -15815,7 +15819,7 @@ class StandardController {
15815
15819
  }
15816
15820
  if (!this.config.cache.claimsBasedCachingEnabled) {
15817
15821
  this.logger.verbose("Claims-based caching is disabled. Clearing the previous cache with claims");
15818
- await invokeAsync(this.browserStorage.clearTokensAndKeysWithClaims.bind(this.browserStorage), PerformanceEvents.ClearTokensAndKeysWithClaims, this.logger, this.performanceClient)(this.performanceClient);
15822
+ await invokeAsync(this.browserStorage.clearTokensAndKeysWithClaims.bind(this.browserStorage), PerformanceEvents.ClearTokensAndKeysWithClaims, this.logger, this.performanceClient, initCorrelationId)(this.performanceClient, initCorrelationId);
15819
15823
  }
15820
15824
  this.initialized = true;
15821
15825
  this.eventHandler.emitEvent(EventType.INITIALIZE_END);
@@ -17690,10 +17694,10 @@ class NestedAppAuthController {
17690
17694
  * Copyright (c) Microsoft Corporation. All rights reserved.
17691
17695
  * Licensed under the MIT License.
17692
17696
  */
17693
- async function createV3Controller(config) {
17697
+ async function createV3Controller(config, request) {
17694
17698
  const standard = new StandardOperatingContext(config);
17695
17699
  await standard.initialize();
17696
- return StandardController.createController(standard);
17700
+ return StandardController.createController(standard, request);
17697
17701
  }
17698
17702
  async function createController(config) {
17699
17703
  const standard = new StandardOperatingContext(config);
@@ -17721,7 +17725,11 @@ async function createController(config) {
17721
17725
  * to obtain JWT tokens as described in the OAuth 2.0 Authorization Code Flow with PKCE specification.
17722
17726
  */
17723
17727
  class PublicClientApplication {
17724
- // creates StandardController and passes it to the PublicClientApplication
17728
+ /**
17729
+ * Creates StandardController and passes it to the PublicClientApplication
17730
+ *
17731
+ * @param configuration {Configuration}
17732
+ */
17725
17733
  static async createPublicClientApplication(configuration) {
17726
17734
  const controller = await createV3Controller(configuration);
17727
17735
  const pca = new PublicClientApplication(configuration, controller);
@@ -17756,9 +17764,10 @@ class PublicClientApplication {
17756
17764
  }
17757
17765
  /**
17758
17766
  * Initializer function to perform async startup tasks such as connecting to WAM extension
17767
+ * @param request {?InitializeApplicationRequest}
17759
17768
  */
17760
- async initialize() {
17761
- return this.controller.initialize();
17769
+ async initialize(request) {
17770
+ return this.controller.initialize(request);
17762
17771
  }
17763
17772
  /**
17764
17773
  * Use when you want to obtain an access_token for your API via opening a popup window in the user's browser