@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,4 +1,4 @@
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
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
@@ -6,7 +6,7 @@
6
6
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.msal = {}));
7
7
  })(this, (function (exports) { 'use strict';
8
8
 
9
- /*! @azure/msal-common v14.13.0 2024-07-01 */
9
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
10
10
  /*
11
11
  * Copyright (c) Microsoft Corporation. All rights reserved.
12
12
  * Licensed under the MIT License.
@@ -315,7 +315,7 @@
315
315
  // Token renewal offset default in seconds
316
316
  const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
317
317
 
318
- /*! @azure/msal-common v14.13.0 2024-07-01 */
318
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
319
319
  /*
320
320
  * Copyright (c) Microsoft Corporation. All rights reserved.
321
321
  * Licensed under the MIT License.
@@ -332,7 +332,7 @@
332
332
  unexpectedError: unexpectedError
333
333
  });
334
334
 
335
- /*! @azure/msal-common v14.13.0 2024-07-01 */
335
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
336
336
 
337
337
  /*
338
338
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -381,7 +381,7 @@
381
381
  : AuthErrorMessages[code]);
382
382
  }
383
383
 
384
- /*! @azure/msal-common v14.13.0 2024-07-01 */
384
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
385
385
  /*
386
386
  * Copyright (c) Microsoft Corporation. All rights reserved.
387
387
  * Licensed under the MIT License.
@@ -479,7 +479,7 @@
479
479
  userTimeoutReached: userTimeoutReached
480
480
  });
481
481
 
482
- /*! @azure/msal-common v14.13.0 2024-07-01 */
482
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
483
483
 
484
484
  /*
485
485
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -731,7 +731,7 @@
731
731
  return new ClientAuthError(errorCode, additionalMessage);
732
732
  }
733
733
 
734
- /*! @azure/msal-common v14.13.0 2024-07-01 */
734
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
735
735
 
736
736
  /*
737
737
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -792,7 +792,7 @@
792
792
  }
793
793
  }
794
794
 
795
- /*! @azure/msal-common v14.13.0 2024-07-01 */
795
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
796
796
  /*
797
797
  * Copyright (c) Microsoft Corporation. All rights reserved.
798
798
  * Licensed under the MIT License.
@@ -807,7 +807,7 @@
807
807
  Ciam: 3,
808
808
  };
809
809
 
810
- /*! @azure/msal-common v14.13.0 2024-07-01 */
810
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
811
811
  /*
812
812
  * Copyright (c) Microsoft Corporation. All rights reserved.
813
813
  * Licensed under the MIT License.
@@ -819,7 +819,7 @@
819
819
  response.hasOwnProperty("jwks_uri"));
820
820
  }
821
821
 
822
- /*! @azure/msal-common v14.13.0 2024-07-01 */
822
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
823
823
  /*
824
824
  * Copyright (c) Microsoft Corporation. All rights reserved.
825
825
  * Licensed under the MIT License.
@@ -873,7 +873,7 @@
873
873
  urlParseError: urlParseError
874
874
  });
875
875
 
876
- /*! @azure/msal-common v14.13.0 2024-07-01 */
876
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
877
877
 
878
878
  /*
879
879
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1011,7 +1011,7 @@
1011
1011
  return new ClientConfigurationError(errorCode);
1012
1012
  }
1013
1013
 
1014
- /*! @azure/msal-common v14.13.0 2024-07-01 */
1014
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
1015
1015
  /*
1016
1016
  * Copyright (c) Microsoft Corporation. All rights reserved.
1017
1017
  * Licensed under the MIT License.
@@ -1108,7 +1108,7 @@
1108
1108
  }
1109
1109
  }
1110
1110
 
1111
- /*! @azure/msal-common v14.13.0 2024-07-01 */
1111
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
1112
1112
 
1113
1113
  /*
1114
1114
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1155,7 +1155,7 @@
1155
1155
  return null;
1156
1156
  }
1157
1157
 
1158
- /*! @azure/msal-common v14.13.0 2024-07-01 */
1158
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
1159
1159
 
1160
1160
  /*
1161
1161
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1319,7 +1319,7 @@
1319
1319
  }
1320
1320
  }
1321
1321
 
1322
- /*! @azure/msal-common v14.13.0 2024-07-01 */
1322
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
1323
1323
 
1324
1324
  /*
1325
1325
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1459,7 +1459,7 @@
1459
1459
  return null;
1460
1460
  }
1461
1461
 
1462
- /*! @azure/msal-common v14.13.0 2024-07-01 */
1462
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
1463
1463
  /*
1464
1464
  * Copyright (c) Microsoft Corporation. All rights reserved.
1465
1465
  * Licensed under the MIT License.
@@ -1472,7 +1472,7 @@
1472
1472
  OIDC: "OIDC",
1473
1473
  };
1474
1474
 
1475
- /*! @azure/msal-common v14.13.0 2024-07-01 */
1475
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
1476
1476
  /*
1477
1477
  * Copyright (c) Microsoft Corporation. All rights reserved.
1478
1478
  * Licensed under the MIT License.
@@ -1492,7 +1492,7 @@
1492
1492
  AzureUsGovernment: "https://login.microsoftonline.us",
1493
1493
  };
1494
1494
 
1495
- /*! @azure/msal-common v14.13.0 2024-07-01 */
1495
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
1496
1496
  /*
1497
1497
  * Copyright (c) Microsoft Corporation. All rights reserved.
1498
1498
  * Licensed under the MIT License.
@@ -1502,7 +1502,7 @@
1502
1502
  response.hasOwnProperty("metadata"));
1503
1503
  }
1504
1504
 
1505
- /*! @azure/msal-common v14.13.0 2024-07-01 */
1505
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
1506
1506
  /*
1507
1507
  * Copyright (c) Microsoft Corporation. All rights reserved.
1508
1508
  * Licensed under the MIT License.
@@ -1512,7 +1512,7 @@
1512
1512
  response.hasOwnProperty("error_description"));
1513
1513
  }
1514
1514
 
1515
- /*! @azure/msal-common v14.13.0 2024-07-01 */
1515
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
1516
1516
  /*
1517
1517
  * Copyright (c) Microsoft Corporation. All rights reserved.
1518
1518
  * Licensed under the MIT License.
@@ -1994,7 +1994,7 @@
1994
1994
  "multiMatchedRT",
1995
1995
  ]);
1996
1996
 
1997
- /*! @azure/msal-common v14.13.0 2024-07-01 */
1997
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
1998
1998
  /*
1999
1999
  * Copyright (c) Microsoft Corporation. All rights reserved.
2000
2000
  * Licensed under the MIT License.
@@ -2090,7 +2090,7 @@
2090
2090
  };
2091
2091
  };
2092
2092
 
2093
- /*! @azure/msal-common v14.13.0 2024-07-01 */
2093
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
2094
2094
 
2095
2095
  /*
2096
2096
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2199,7 +2199,7 @@
2199
2199
  },
2200
2200
  };
2201
2201
 
2202
- /*! @azure/msal-common v14.13.0 2024-07-01 */
2202
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
2203
2203
  /*
2204
2204
  * Copyright (c) Microsoft Corporation. All rights reserved.
2205
2205
  * Licensed under the MIT License.
@@ -2236,7 +2236,7 @@
2236
2236
  return cachedAtSec > nowSeconds();
2237
2237
  }
2238
2238
 
2239
- /*! @azure/msal-common v14.13.0 2024-07-01 */
2239
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
2240
2240
 
2241
2241
  /*
2242
2242
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2563,7 +2563,7 @@
2563
2563
  return metadata.expiresAt <= nowSeconds();
2564
2564
  }
2565
2565
 
2566
- /*! @azure/msal-common v14.13.0 2024-07-01 */
2566
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
2567
2567
 
2568
2568
  /*
2569
2569
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3402,7 +3402,7 @@
3402
3402
  };
3403
3403
  }
3404
3404
 
3405
- /*! @azure/msal-common v14.13.0 2024-07-01 */
3405
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
3406
3406
 
3407
3407
  /*
3408
3408
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3433,7 +3433,7 @@
3433
3433
  }
3434
3434
  }
3435
3435
 
3436
- /*! @azure/msal-common v14.13.0 2024-07-01 */
3436
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
3437
3437
  /*
3438
3438
  * Copyright (c) Microsoft Corporation. All rights reserved.
3439
3439
  * Licensed under the MIT License.
@@ -3451,7 +3451,7 @@
3451
3451
  }
3452
3452
  }
3453
3453
 
3454
- /*! @azure/msal-common v14.13.0 2024-07-01 */
3454
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
3455
3455
  /*
3456
3456
  * Copyright (c) Microsoft Corporation. All rights reserved.
3457
3457
  * Licensed under the MIT License.
@@ -3498,7 +3498,7 @@
3498
3498
  const LOGIN_HINT = "login_hint";
3499
3499
  const DOMAIN_HINT = "domain_hint";
3500
3500
 
3501
- /*! @azure/msal-common v14.13.0 2024-07-01 */
3501
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
3502
3502
 
3503
3503
  /*
3504
3504
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3537,7 +3537,7 @@
3537
3537
  },
3538
3538
  };
3539
3539
 
3540
- /*! @azure/msal-common v14.13.0 2024-07-01 */
3540
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
3541
3541
 
3542
3542
  /*
3543
3543
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3728,12 +3728,12 @@
3728
3728
  }
3729
3729
  }
3730
3730
 
3731
- /*! @azure/msal-common v14.13.0 2024-07-01 */
3731
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
3732
3732
  /* eslint-disable header/header */
3733
3733
  const name$1 = "@azure/msal-common";
3734
3734
  const version$1 = "14.13.0";
3735
3735
 
3736
- /*! @azure/msal-common v14.13.0 2024-07-01 */
3736
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
3737
3737
 
3738
3738
  /*
3739
3739
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3933,7 +3933,7 @@
3933
3933
  }
3934
3934
  }
3935
3935
 
3936
- /*! @azure/msal-common v14.13.0 2024-07-01 */
3936
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
3937
3937
 
3938
3938
  /*
3939
3939
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3973,7 +3973,7 @@
3973
3973
  };
3974
3974
  }
3975
3975
 
3976
- /*! @azure/msal-common v14.13.0 2024-07-01 */
3976
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
3977
3977
  /*
3978
3978
  * Copyright (c) Microsoft Corporation. All rights reserved.
3979
3979
  * Licensed under the MIT License.
@@ -4035,7 +4035,7 @@
4035
4035
  return updatedAccountInfo;
4036
4036
  }
4037
4037
 
4038
- /*! @azure/msal-common v14.13.0 2024-07-01 */
4038
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
4039
4039
  /*
4040
4040
  * Copyright (c) Microsoft Corporation. All rights reserved.
4041
4041
  * Licensed under the MIT License.
@@ -4057,7 +4057,7 @@
4057
4057
  return null;
4058
4058
  }
4059
4059
 
4060
- /*! @azure/msal-common v14.13.0 2024-07-01 */
4060
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
4061
4061
 
4062
4062
  /*
4063
4063
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4304,7 +4304,7 @@
4304
4304
  }
4305
4305
  }
4306
4306
 
4307
- /*! @azure/msal-common v14.13.0 2024-07-01 */
4307
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
4308
4308
  /*
4309
4309
  * Copyright (c) Microsoft Corporation. All rights reserved.
4310
4310
  * Licensed under the MIT License.
@@ -4312,7 +4312,7 @@
4312
4312
  const cacheQuotaExceededErrorCode = "cache_quota_exceeded";
4313
4313
  const cacheUnknownErrorCode = "cache_error_unknown";
4314
4314
 
4315
- /*! @azure/msal-common v14.13.0 2024-07-01 */
4315
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
4316
4316
 
4317
4317
  /*
4318
4318
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4339,7 +4339,7 @@
4339
4339
  }
4340
4340
  }
4341
4341
 
4342
- /*! @azure/msal-common v14.13.0 2024-07-01 */
4342
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
4343
4343
 
4344
4344
  /*
4345
4345
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5594,7 +5594,7 @@
5594
5594
  }
5595
5595
  }
5596
5596
 
5597
- /*! @azure/msal-common v14.13.0 2024-07-01 */
5597
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
5598
5598
 
5599
5599
  /*
5600
5600
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5692,7 +5692,7 @@
5692
5692
  return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
5693
5693
  }
5694
5694
 
5695
- /*! @azure/msal-common v14.13.0 2024-07-01 */
5695
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
5696
5696
 
5697
5697
  /*
5698
5698
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5711,7 +5711,7 @@
5711
5711
  }
5712
5712
  }
5713
5713
 
5714
- /*! @azure/msal-common v14.13.0 2024-07-01 */
5714
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
5715
5715
 
5716
5716
  /*
5717
5717
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5809,7 +5809,7 @@
5809
5809
  }
5810
5810
  }
5811
5811
 
5812
- /*! @azure/msal-common v14.13.0 2024-07-01 */
5812
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
5813
5813
 
5814
5814
  /*
5815
5815
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5846,7 +5846,7 @@
5846
5846
  }
5847
5847
  }
5848
5848
 
5849
- /*! @azure/msal-common v14.13.0 2024-07-01 */
5849
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
5850
5850
  /*
5851
5851
  * Copyright (c) Microsoft Corporation. All rights reserved.
5852
5852
  * Licensed under the MIT License.
@@ -5856,7 +5856,7 @@
5856
5856
  UPN: "UPN",
5857
5857
  };
5858
5858
 
5859
- /*! @azure/msal-common v14.13.0 2024-07-01 */
5859
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
5860
5860
 
5861
5861
  /*
5862
5862
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5923,7 +5923,7 @@
5923
5923
  }
5924
5924
  }
5925
5925
 
5926
- /*! @azure/msal-common v14.13.0 2024-07-01 */
5926
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
5927
5927
 
5928
5928
  /*
5929
5929
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6308,7 +6308,7 @@
6308
6308
  }
6309
6309
  }
6310
6310
 
6311
- /*! @azure/msal-common v14.13.0 2024-07-01 */
6311
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
6312
6312
 
6313
6313
  /*
6314
6314
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6411,7 +6411,7 @@
6411
6411
  }
6412
6412
  }
6413
6413
 
6414
- /*! @azure/msal-common v14.13.0 2024-07-01 */
6414
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
6415
6415
  /*
6416
6416
  * Copyright (c) Microsoft Corporation. All rights reserved.
6417
6417
  * Licensed under the MIT License.
@@ -6437,7 +6437,7 @@
6437
6437
  refreshTokenExpired: refreshTokenExpired
6438
6438
  });
6439
6439
 
6440
- /*! @azure/msal-common v14.13.0 2024-07-01 */
6440
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
6441
6441
 
6442
6442
  /*
6443
6443
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6525,7 +6525,7 @@
6525
6525
  return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
6526
6526
  }
6527
6527
 
6528
- /*! @azure/msal-common v14.13.0 2024-07-01 */
6528
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
6529
6529
 
6530
6530
  /*
6531
6531
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6597,7 +6597,7 @@
6597
6597
  }
6598
6598
  }
6599
6599
 
6600
- /*! @azure/msal-common v14.13.0 2024-07-01 */
6600
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
6601
6601
 
6602
6602
  /*
6603
6603
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6681,7 +6681,7 @@
6681
6681
  }
6682
6682
  }
6683
6683
 
6684
- /*! @azure/msal-common v14.13.0 2024-07-01 */
6684
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
6685
6685
  /*
6686
6686
  * Copyright (c) Microsoft Corporation. All rights reserved.
6687
6687
  * Licensed under the MIT License.
@@ -6708,7 +6708,7 @@
6708
6708
  }
6709
6709
  }
6710
6710
 
6711
- /*! @azure/msal-common v14.13.0 2024-07-01 */
6711
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
6712
6712
 
6713
6713
  /*
6714
6714
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7085,7 +7085,7 @@
7085
7085
  return baseAccount;
7086
7086
  }
7087
7087
 
7088
- /*! @azure/msal-common v14.13.0 2024-07-01 */
7088
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
7089
7089
 
7090
7090
  /*
7091
7091
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7508,7 +7508,7 @@
7508
7508
  }
7509
7509
  }
7510
7510
 
7511
- /*! @azure/msal-common v14.13.0 2024-07-01 */
7511
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
7512
7512
 
7513
7513
  /*
7514
7514
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7722,7 +7722,7 @@
7722
7722
  }
7723
7723
  }
7724
7724
 
7725
- /*! @azure/msal-common v14.13.0 2024-07-01 */
7725
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
7726
7726
 
7727
7727
  /*
7728
7728
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7858,7 +7858,7 @@
7858
7858
  }
7859
7859
  }
7860
7860
 
7861
- /*! @azure/msal-common v14.13.0 2024-07-01 */
7861
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
7862
7862
 
7863
7863
  /*
7864
7864
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7873,7 +7873,7 @@
7873
7873
  },
7874
7874
  };
7875
7875
 
7876
- /*! @azure/msal-common v14.13.0 2024-07-01 */
7876
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
7877
7877
  /*
7878
7878
  * Copyright (c) Microsoft Corporation. All rights reserved.
7879
7879
  * Licensed under the MIT License.
@@ -7881,7 +7881,7 @@
7881
7881
  const missingKidError = "missing_kid_error";
7882
7882
  const missingAlgError = "missing_alg_error";
7883
7883
 
7884
- /*! @azure/msal-common v14.13.0 2024-07-01 */
7884
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
7885
7885
 
7886
7886
  /*
7887
7887
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7906,7 +7906,7 @@
7906
7906
  return new JoseHeaderError(code, JoseHeaderErrorMessages[code]);
7907
7907
  }
7908
7908
 
7909
- /*! @azure/msal-common v14.13.0 2024-07-01 */
7909
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
7910
7910
 
7911
7911
  /*
7912
7912
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7946,7 +7946,7 @@
7946
7946
  }
7947
7947
  }
7948
7948
 
7949
- /*! @azure/msal-common v14.13.0 2024-07-01 */
7949
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
7950
7950
 
7951
7951
  /*
7952
7952
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8004,7 +8004,7 @@
8004
8004
  }
8005
8005
  }
8006
8006
 
8007
- /*! @azure/msal-common v14.13.0 2024-07-01 */
8007
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
8008
8008
 
8009
8009
  /*
8010
8010
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8208,7 +8208,7 @@
8208
8208
  }
8209
8209
  }
8210
8210
 
8211
- /*! @azure/msal-common v14.13.0 2024-07-01 */
8211
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
8212
8212
 
8213
8213
  /*
8214
8214
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8287,7 +8287,7 @@
8287
8287
  }
8288
8288
  }
8289
8289
 
8290
- /*! @azure/msal-common v14.13.0 2024-07-01 */
8290
+ /*! @azure/msal-common v14.13.0 2024-07-12 */
8291
8291
 
8292
8292
  /*
8293
8293
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -10158,7 +10158,7 @@
10158
10158
 
10159
10159
  /* eslint-disable header/header */
10160
10160
  const name = "@azure/msal-browser";
10161
- const version = "3.18.0";
10161
+ const version = "3.19.0";
10162
10162
 
10163
10163
  /*
10164
10164
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -12014,10 +12014,11 @@
12014
12014
  /**
12015
12015
  * Clears all access tokes that have claims prior to saving the current one
12016
12016
  * @param performanceClient {IPerformanceClient}
12017
+ * @param correlationId {string} correlation id
12017
12018
  * @returns
12018
12019
  */
12019
- async clearTokensAndKeysWithClaims(performanceClient) {
12020
- performanceClient.addQueueMeasurement(PerformanceEvents.ClearTokensAndKeysWithClaims);
12020
+ async clearTokensAndKeysWithClaims(performanceClient, correlationId) {
12021
+ performanceClient.addQueueMeasurement(PerformanceEvents.ClearTokensAndKeysWithClaims, correlationId);
12021
12022
  const tokenKeys = this.getTokenKeys();
12022
12023
  const removedAccessTokens = [];
12023
12024
  tokenKeys.accessToken.forEach((key) => {
@@ -13417,11 +13418,12 @@
13417
13418
  */
13418
13419
  async acquireTokenRedirect(request, rootMeasurement) {
13419
13420
  this.logger.trace("NativeInteractionClient - acquireTokenRedirect called.");
13420
- const nativeRequest = await this.initializeNativeRequest(request);
13421
- const { ...nativeTokenRequest } = nativeRequest;
13421
+ const { ...remainingParameters } = request;
13422
+ delete remainingParameters.onRedirectNavigate;
13423
+ const nativeRequest = await this.initializeNativeRequest(remainingParameters);
13422
13424
  const messageBody = {
13423
13425
  method: NativeExtensionMethod.GetToken,
13424
- request: nativeTokenRequest,
13426
+ request: nativeRequest,
13425
13427
  };
13426
13428
  try {
13427
13429
  const response = await this.nativeMessageHandler.sendMessage(messageBody);
@@ -15784,9 +15786,9 @@
15784
15786
  this.trackPageVisibilityWithMeasurement =
15785
15787
  this.trackPageVisibilityWithMeasurement.bind(this);
15786
15788
  }
15787
- static async createController(operatingContext) {
15789
+ static async createController(operatingContext, request) {
15788
15790
  const controller = new StandardController(operatingContext);
15789
- await controller.initialize();
15791
+ await controller.initialize(request);
15790
15792
  return controller;
15791
15793
  }
15792
15794
  trackPageVisibility(correlationId) {
@@ -15798,15 +15800,17 @@
15798
15800
  }
15799
15801
  /**
15800
15802
  * Initializer function to perform async startup tasks such as connecting to WAM extension
15803
+ * @param request {?InitializeApplicationRequest} correlation id
15801
15804
  */
15802
- async initialize() {
15805
+ async initialize(request) {
15803
15806
  this.logger.trace("initialize called");
15804
15807
  if (this.initialized) {
15805
15808
  this.logger.info("initialize has already been called, exiting early.");
15806
15809
  return;
15807
15810
  }
15811
+ const initCorrelationId = request?.correlationId || this.getRequestCorrelationId();
15808
15812
  const allowNativeBroker = this.config.system.allowNativeBroker;
15809
- const initMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.InitializeClientApplication);
15813
+ const initMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.InitializeClientApplication, initCorrelationId);
15810
15814
  this.eventHandler.emitEvent(EventType.INITIALIZE_START);
15811
15815
  if (allowNativeBroker) {
15812
15816
  try {
@@ -15819,7 +15823,7 @@
15819
15823
  }
15820
15824
  if (!this.config.cache.claimsBasedCachingEnabled) {
15821
15825
  this.logger.verbose("Claims-based caching is disabled. Clearing the previous cache with claims");
15822
- await invokeAsync(this.browserStorage.clearTokensAndKeysWithClaims.bind(this.browserStorage), PerformanceEvents.ClearTokensAndKeysWithClaims, this.logger, this.performanceClient)(this.performanceClient);
15826
+ await invokeAsync(this.browserStorage.clearTokensAndKeysWithClaims.bind(this.browserStorage), PerformanceEvents.ClearTokensAndKeysWithClaims, this.logger, this.performanceClient, initCorrelationId)(this.performanceClient, initCorrelationId);
15823
15827
  }
15824
15828
  this.initialized = true;
15825
15829
  this.eventHandler.emitEvent(EventType.INITIALIZE_END);
@@ -17694,10 +17698,10 @@
17694
17698
  * Copyright (c) Microsoft Corporation. All rights reserved.
17695
17699
  * Licensed under the MIT License.
17696
17700
  */
17697
- async function createV3Controller(config) {
17701
+ async function createV3Controller(config, request) {
17698
17702
  const standard = new StandardOperatingContext(config);
17699
17703
  await standard.initialize();
17700
- return StandardController.createController(standard);
17704
+ return StandardController.createController(standard, request);
17701
17705
  }
17702
17706
  async function createController(config) {
17703
17707
  const standard = new StandardOperatingContext(config);
@@ -17725,7 +17729,11 @@
17725
17729
  * to obtain JWT tokens as described in the OAuth 2.0 Authorization Code Flow with PKCE specification.
17726
17730
  */
17727
17731
  class PublicClientApplication {
17728
- // creates StandardController and passes it to the PublicClientApplication
17732
+ /**
17733
+ * Creates StandardController and passes it to the PublicClientApplication
17734
+ *
17735
+ * @param configuration {Configuration}
17736
+ */
17729
17737
  static async createPublicClientApplication(configuration) {
17730
17738
  const controller = await createV3Controller(configuration);
17731
17739
  const pca = new PublicClientApplication(configuration, controller);
@@ -17760,9 +17768,10 @@
17760
17768
  }
17761
17769
  /**
17762
17770
  * Initializer function to perform async startup tasks such as connecting to WAM extension
17771
+ * @param request {?InitializeApplicationRequest}
17763
17772
  */
17764
- async initialize() {
17765
- return this.controller.initialize();
17773
+ async initialize(request) {
17774
+ return this.controller.initialize(request);
17766
17775
  }
17767
17776
  /**
17768
17777
  * Use when you want to obtain an access_token for your API via opening a popup window in the user's browser