@azure/msal-browser 3.0.1 → 3.0.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.
Files changed (83) hide show
  1. package/README.md +5 -5
  2. package/dist/app/IPublicClientApplication.d.ts +4 -2
  3. package/dist/app/IPublicClientApplication.d.ts.map +1 -1
  4. package/dist/app/IPublicClientApplication.mjs +1 -1
  5. package/dist/app/IPublicClientApplication.mjs.map +1 -1
  6. package/dist/app/PublicClientApplication.d.ts +5 -3
  7. package/dist/app/PublicClientApplication.d.ts.map +1 -1
  8. package/dist/app/PublicClientApplication.mjs +3 -2
  9. package/dist/app/PublicClientApplication.mjs.map +1 -1
  10. package/dist/broker/nativeBroker/NativeMessageHandler.mjs +1 -1
  11. package/dist/cache/AsyncMemoryStorage.mjs +1 -1
  12. package/dist/cache/BrowserCacheManager.d.ts +4 -1
  13. package/dist/cache/BrowserCacheManager.d.ts.map +1 -1
  14. package/dist/cache/BrowserCacheManager.mjs +1 -1
  15. package/dist/cache/BrowserCacheManager.mjs.map +1 -1
  16. package/dist/cache/BrowserStorage.mjs +1 -1
  17. package/dist/cache/CryptoKeyStore.mjs +1 -1
  18. package/dist/cache/DatabaseStorage.mjs +1 -1
  19. package/dist/cache/MemoryStorage.mjs +1 -1
  20. package/dist/cache/TokenCache.mjs +1 -1
  21. package/dist/config/Configuration.d.ts +2 -0
  22. package/dist/config/Configuration.d.ts.map +1 -1
  23. package/dist/config/Configuration.mjs +1 -1
  24. package/dist/config/Configuration.mjs.map +1 -1
  25. package/dist/controllers/ControllerFactory.mjs +1 -1
  26. package/dist/controllers/IController.d.ts +19 -2
  27. package/dist/controllers/IController.d.ts.map +1 -1
  28. package/dist/controllers/StandardController.d.ts +1 -1
  29. package/dist/controllers/StandardController.d.ts.map +1 -1
  30. package/dist/controllers/StandardController.mjs +1 -1
  31. package/dist/controllers/StandardController.mjs.map +1 -1
  32. package/dist/crypto/BrowserCrypto.mjs +1 -1
  33. package/dist/crypto/CryptoOps.mjs +1 -1
  34. package/dist/crypto/GuidGenerator.mjs +1 -1
  35. package/dist/crypto/ModernBrowserCrypto.mjs +1 -1
  36. package/dist/crypto/PkceGenerator.mjs +1 -1
  37. package/dist/crypto/SignedHttpRequest.mjs +1 -1
  38. package/dist/encode/Base64Decode.mjs +1 -1
  39. package/dist/encode/Base64Encode.mjs +1 -1
  40. package/dist/error/BrowserAuthError.mjs +1 -1
  41. package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
  42. package/dist/error/NativeAuthError.mjs +1 -1
  43. package/dist/event/EventHandler.mjs +1 -1
  44. package/dist/event/EventMessage.mjs +1 -1
  45. package/dist/event/EventType.mjs +1 -1
  46. package/dist/index.d.ts +5 -2
  47. package/dist/index.d.ts.map +1 -1
  48. package/dist/index.mjs +1 -1
  49. package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
  50. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  51. package/dist/interaction_client/NativeInteractionClient.mjs +1 -1
  52. package/dist/interaction_client/PopupClient.mjs +1 -1
  53. package/dist/interaction_client/RedirectClient.mjs +1 -1
  54. package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
  55. package/dist/interaction_client/SilentCacheClient.mjs +1 -1
  56. package/dist/interaction_client/SilentIframeClient.mjs +1 -1
  57. package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
  58. package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
  59. package/dist/interaction_handler/InteractionHandler.mjs +1 -1
  60. package/dist/interaction_handler/RedirectHandler.mjs +1 -1
  61. package/dist/interaction_handler/SilentHandler.mjs +1 -1
  62. package/dist/internals.mjs +1 -1
  63. package/dist/navigation/NavigationClient.mjs +1 -1
  64. package/dist/network/FetchClient.mjs +1 -1
  65. package/dist/network/XhrClient.mjs +1 -1
  66. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  67. package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
  68. package/dist/operatingcontext/TeamsAppOperatingContext.mjs +1 -1
  69. package/dist/packageMetadata.d.ts +1 -1
  70. package/dist/packageMetadata.mjs +2 -2
  71. package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
  72. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  73. package/dist/utils/BrowserConstants.mjs +1 -1
  74. package/dist/utils/BrowserProtocolUtils.mjs +1 -1
  75. package/dist/utils/BrowserStringUtils.mjs +1 -1
  76. package/dist/utils/BrowserUtils.mjs +1 -1
  77. package/dist/utils/MathUtils.mjs +1 -1
  78. package/lib/msal-browser.cjs +83 -63
  79. package/lib/msal-browser.cjs.map +1 -1
  80. package/lib/msal-browser.js +83 -63
  81. package/lib/msal-browser.js.map +1 -1
  82. package/lib/msal-browser.min.js +56 -56
  83. package/package.json +2 -2
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v3.0.1 2023-08-11 */
1
+ /*! @azure/msal-browser v3.0.2 2023-08-18 */
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.0.1 2023-08-11 */
9
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
10
10
  /*
11
11
  * Copyright (c) Microsoft Corporation. All rights reserved.
12
12
  * Licensed under the MIT License.
@@ -366,7 +366,7 @@
366
366
  Pop: "pop",
367
367
  };
368
368
 
369
- /*! @azure/msal-common v14.0.1 2023-08-11 */
369
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
370
370
 
371
371
  /*
372
372
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -420,7 +420,7 @@
420
420
  }
421
421
  }
422
422
 
423
- /*! @azure/msal-common v14.0.1 2023-08-11 */
423
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
424
424
 
425
425
  /*
426
426
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -465,7 +465,7 @@
465
465
  },
466
466
  };
467
467
 
468
- /*! @azure/msal-common v14.0.1 2023-08-11 */
468
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
469
469
 
470
470
  /*
471
471
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -987,7 +987,7 @@
987
987
  }
988
988
  }
989
989
 
990
- /*! @azure/msal-common v14.0.1 2023-08-11 */
990
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
991
991
 
992
992
  /*
993
993
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1114,7 +1114,7 @@
1114
1114
  }
1115
1115
  }
1116
1116
 
1117
- /*! @azure/msal-common v14.0.1 2023-08-11 */
1117
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
1118
1118
 
1119
1119
  /*
1120
1120
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1314,12 +1314,12 @@
1314
1314
  }
1315
1315
  }
1316
1316
 
1317
- /*! @azure/msal-common v14.0.1 2023-08-11 */
1317
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
1318
1318
  /* eslint-disable header/header */
1319
1319
  const name$1 = "@azure/msal-common";
1320
- const version$1 = "14.0.1";
1320
+ const version$1 = "14.0.2";
1321
1321
 
1322
- /*! @azure/msal-common v14.0.1 2023-08-11 */
1322
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
1323
1323
  /*
1324
1324
  * Copyright (c) Microsoft Corporation. All rights reserved.
1325
1325
  * Licensed under the MIT License.
@@ -1339,7 +1339,7 @@
1339
1339
  AzureUsGovernment: "https://login.microsoftonline.us",
1340
1340
  };
1341
1341
 
1342
- /*! @azure/msal-common v14.0.1 2023-08-11 */
1342
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
1343
1343
 
1344
1344
  /*
1345
1345
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1621,7 +1621,7 @@
1621
1621
  }
1622
1622
  }
1623
1623
 
1624
- /*! @azure/msal-common v14.0.1 2023-08-11 */
1624
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
1625
1625
 
1626
1626
  /*
1627
1627
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1821,7 +1821,7 @@
1821
1821
  }
1822
1822
  }
1823
1823
 
1824
- /*! @azure/msal-common v14.0.1 2023-08-11 */
1824
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
1825
1825
 
1826
1826
  /*
1827
1827
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1861,7 +1861,7 @@
1861
1861
  };
1862
1862
  }
1863
1863
 
1864
- /*! @azure/msal-common v14.0.1 2023-08-11 */
1864
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
1865
1865
  /*
1866
1866
  * Copyright (c) Microsoft Corporation. All rights reserved.
1867
1867
  * Licensed under the MIT License.
@@ -1876,7 +1876,7 @@
1876
1876
  Ciam: 3,
1877
1877
  };
1878
1878
 
1879
- /*! @azure/msal-common v14.0.1 2023-08-11 */
1879
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
1880
1880
  /*
1881
1881
  * Copyright (c) Microsoft Corporation. All rights reserved.
1882
1882
  * Licensed under the MIT License.
@@ -1889,7 +1889,7 @@
1889
1889
  OIDC: "OIDC",
1890
1890
  };
1891
1891
 
1892
- /*! @azure/msal-common v14.0.1 2023-08-11 */
1892
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
1893
1893
 
1894
1894
  /*
1895
1895
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1916,6 +1916,7 @@
1916
1916
  * idTokenClaims: Object containing claims parsed from ID token
1917
1917
  * nativeAccountId: Account identifier on the native device
1918
1918
  * }
1919
+ * @internal
1919
1920
  */
1920
1921
  class AccountEntity {
1921
1922
  /**
@@ -2112,7 +2113,7 @@
2112
2113
  }
2113
2114
  }
2114
2115
 
2115
- /*! @azure/msal-common v14.0.1 2023-08-11 */
2116
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
2116
2117
 
2117
2118
  /*
2118
2119
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2163,7 +2164,7 @@
2163
2164
  }
2164
2165
  }
2165
2166
 
2166
- /*! @azure/msal-common v14.0.1 2023-08-11 */
2167
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
2167
2168
 
2168
2169
  /*
2169
2170
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2171,6 +2172,7 @@
2171
2172
  */
2172
2173
  /**
2173
2174
  * Interface class which implement cache storage functions used by MSAL to perform validity checks, and store tokens.
2175
+ * @internal
2174
2176
  */
2175
2177
  class CacheManager {
2176
2178
  constructor(clientId, cryptoImpl, logger) {
@@ -3087,6 +3089,7 @@
3087
3089
  return obj;
3088
3090
  }
3089
3091
  }
3092
+ /** @internal */
3090
3093
  class DefaultStorageClass extends CacheManager {
3091
3094
  setAccount() {
3092
3095
  const notImplErr = "Storage interface - setAccount() has not been implemented for the cacheStorage interface.";
@@ -3186,7 +3189,7 @@
3186
3189
  }
3187
3190
  }
3188
3191
 
3189
- /*! @azure/msal-common v14.0.1 2023-08-11 */
3192
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
3190
3193
 
3191
3194
  /*
3192
3195
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3288,7 +3291,7 @@
3288
3291
  return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
3289
3292
  }
3290
3293
 
3291
- /*! @azure/msal-common v14.0.1 2023-08-11 */
3294
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
3292
3295
 
3293
3296
  /*
3294
3297
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3305,12 +3308,13 @@
3305
3308
  }
3306
3309
  }
3307
3310
 
3308
- /*! @azure/msal-common v14.0.1 2023-08-11 */
3311
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
3309
3312
 
3310
3313
  /*
3311
3314
  * Copyright (c) Microsoft Corporation. All rights reserved.
3312
3315
  * Licensed under the MIT License.
3313
3316
  */
3317
+ /** @internal */
3314
3318
  class ThrottlingUtils {
3315
3319
  /**
3316
3320
  * Prepares a RequestThumbprint to be stored as a key.
@@ -3402,12 +3406,13 @@
3402
3406
  }
3403
3407
  }
3404
3408
 
3405
- /*! @azure/msal-common v14.0.1 2023-08-11 */
3409
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
3406
3410
 
3407
3411
  /*
3408
3412
  * Copyright (c) Microsoft Corporation. All rights reserved.
3409
3413
  * Licensed under the MIT License.
3410
3414
  */
3415
+ /** @internal */
3411
3416
  class NetworkManager {
3412
3417
  constructor(networkClient, cacheManager) {
3413
3418
  this.networkClient = networkClient;
@@ -3438,7 +3443,7 @@
3438
3443
  }
3439
3444
  }
3440
3445
 
3441
- /*! @azure/msal-common v14.0.1 2023-08-11 */
3446
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
3442
3447
  /*
3443
3448
  * Copyright (c) Microsoft Corporation. All rights reserved.
3444
3449
  * Licensed under the MIT License.
@@ -3448,7 +3453,7 @@
3448
3453
  UPN: "UPN",
3449
3454
  };
3450
3455
 
3451
- /*! @azure/msal-common v14.0.1 2023-08-11 */
3456
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
3452
3457
 
3453
3458
  /*
3454
3459
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3533,12 +3538,13 @@
3533
3538
  }
3534
3539
  }
3535
3540
 
3536
- /*! @azure/msal-common v14.0.1 2023-08-11 */
3541
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
3537
3542
 
3538
3543
  /*
3539
3544
  * Copyright (c) Microsoft Corporation. All rights reserved.
3540
3545
  * Licensed under the MIT License.
3541
3546
  */
3547
+ /** @internal */
3542
3548
  class RequestParameterBuilder {
3543
3549
  constructor() {
3544
3550
  this.parameters = new Map();
@@ -3916,7 +3922,7 @@
3916
3922
  }
3917
3923
  }
3918
3924
 
3919
- /*! @azure/msal-common v14.0.1 2023-08-11 */
3925
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
3920
3926
 
3921
3927
  /*
3922
3928
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3924,6 +3930,7 @@
3924
3930
  */
3925
3931
  /**
3926
3932
  * Base application class which will construct requests to send to and handle responses from the Microsoft STS using the authorization code flow.
3933
+ * @internal
3927
3934
  */
3928
3935
  class BaseClient {
3929
3936
  constructor(configuration, performanceClient) {
@@ -4011,7 +4018,7 @@
4011
4018
  }
4012
4019
  }
4013
4020
 
4014
- /*! @azure/msal-common v14.0.1 2023-08-11 */
4021
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
4015
4022
 
4016
4023
  /*
4017
4024
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4150,7 +4157,7 @@
4150
4157
  }
4151
4158
  }
4152
4159
 
4153
- /*! @azure/msal-common v14.0.1 2023-08-11 */
4160
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
4154
4161
 
4155
4162
  /*
4156
4163
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4209,7 +4216,7 @@
4209
4216
  }
4210
4217
  }
4211
4218
 
4212
- /*! @azure/msal-common v14.0.1 2023-08-11 */
4219
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
4213
4220
  /*
4214
4221
  * Copyright (c) Microsoft Corporation. All rights reserved.
4215
4222
  * Licensed under the MIT License.
@@ -4256,7 +4263,7 @@
4256
4263
  }
4257
4264
  }
4258
4265
 
4259
- /*! @azure/msal-common v14.0.1 2023-08-11 */
4266
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
4260
4267
 
4261
4268
  /*
4262
4269
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4370,7 +4377,7 @@
4370
4377
  }
4371
4378
  }
4372
4379
 
4373
- /*! @azure/msal-common v14.0.1 2023-08-11 */
4380
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
4374
4381
 
4375
4382
  /*
4376
4383
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4432,7 +4439,7 @@
4432
4439
  }
4433
4440
  }
4434
4441
 
4435
- /*! @azure/msal-common v14.0.1 2023-08-11 */
4442
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
4436
4443
 
4437
4444
  /*
4438
4445
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4513,11 +4520,12 @@
4513
4520
  }
4514
4521
  }
4515
4522
 
4516
- /*! @azure/msal-common v14.0.1 2023-08-11 */
4523
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
4517
4524
  /*
4518
4525
  * Copyright (c) Microsoft Corporation. All rights reserved.
4519
4526
  * Licensed under the MIT License.
4520
4527
  */
4528
+ /** @internal */
4521
4529
  class CacheRecord {
4522
4530
  constructor(accountEntity, idTokenEntity, accessTokenEntity, refreshTokenEntity, appMetadataEntity) {
4523
4531
  this.account = accountEntity || null;
@@ -4528,7 +4536,7 @@
4528
4536
  }
4529
4537
  }
4530
4538
 
4531
- /*! @azure/msal-common v14.0.1 2023-08-11 */
4539
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
4532
4540
 
4533
4541
  /*
4534
4542
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4602,7 +4610,7 @@
4602
4610
  }
4603
4611
  }
4604
4612
 
4605
- /*! @azure/msal-common v14.0.1 2023-08-11 */
4613
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
4606
4614
 
4607
4615
  /*
4608
4616
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4886,7 +4894,7 @@
4886
4894
  }
4887
4895
  }
4888
4896
 
4889
- /*! @azure/msal-common v14.0.1 2023-08-11 */
4897
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
4890
4898
  /*
4891
4899
  * Copyright (c) Microsoft Corporation. All rights reserved.
4892
4900
  * Licensed under the MIT License.
@@ -5114,7 +5122,7 @@
5114
5122
  "status",
5115
5123
  ]);
5116
5124
 
5117
- /*! @azure/msal-common v14.0.1 2023-08-11 */
5125
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
5118
5126
 
5119
5127
  /*
5120
5128
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5124,6 +5132,7 @@
5124
5132
  SW: "sw",
5125
5133
  UHW: "uhw",
5126
5134
  };
5135
+ /** @internal */
5127
5136
  class PopTokenGenerator {
5128
5137
  constructor(cryptoUtils, performanceClient) {
5129
5138
  this.cryptoUtils = cryptoUtils;
@@ -5199,7 +5208,7 @@
5199
5208
  }
5200
5209
  }
5201
5210
 
5202
- /*! @azure/msal-common v14.0.1 2023-08-11 */
5211
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
5203
5212
 
5204
5213
  /*
5205
5214
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5268,7 +5277,7 @@
5268
5277
  }
5269
5278
  }
5270
5279
 
5271
- /*! @azure/msal-common v14.0.1 2023-08-11 */
5280
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
5272
5281
  /*
5273
5282
  * Copyright (c) Microsoft Corporation. All rights reserved.
5274
5283
  * Licensed under the MIT License.
@@ -5295,7 +5304,7 @@
5295
5304
  }
5296
5305
  }
5297
5306
 
5298
- /*! @azure/msal-common v14.0.1 2023-08-11 */
5307
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
5299
5308
 
5300
5309
  /*
5301
5310
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5303,6 +5312,7 @@
5303
5312
  */
5304
5313
  /**
5305
5314
  * Class that handles response parsing.
5315
+ * @internal
5306
5316
  */
5307
5317
  class ResponseHandler {
5308
5318
  constructor(clientId, cacheStorage, cryptoObj, logger, serializableCache, persistencePlugin, performanceClient) {
@@ -5589,7 +5599,7 @@
5589
5599
  }
5590
5600
  }
5591
5601
 
5592
- /*! @azure/msal-common v14.0.1 2023-08-11 */
5602
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
5593
5603
 
5594
5604
  /*
5595
5605
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5597,6 +5607,7 @@
5597
5607
  */
5598
5608
  /**
5599
5609
  * Oauth2.0 Authorization Code client
5610
+ * @internal
5600
5611
  */
5601
5612
  class AuthorizationCodeClient extends BaseClient {
5602
5613
  constructor(configuration, performanceClient) {
@@ -6029,7 +6040,7 @@
6029
6040
  }
6030
6041
  }
6031
6042
 
6032
- /*! @azure/msal-common v14.0.1 2023-08-11 */
6043
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
6033
6044
 
6034
6045
  /*
6035
6046
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6037,6 +6048,7 @@
6037
6048
  */
6038
6049
  /**
6039
6050
  * OAuth2.0 refresh token client
6051
+ * @internal
6040
6052
  */
6041
6053
  class RefreshTokenClient extends BaseClient {
6042
6054
  constructor(configuration, performanceClient) {
@@ -6271,12 +6283,13 @@
6271
6283
  }
6272
6284
  }
6273
6285
 
6274
- /*! @azure/msal-common v14.0.1 2023-08-11 */
6286
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
6275
6287
 
6276
6288
  /*
6277
6289
  * Copyright (c) Microsoft Corporation. All rights reserved.
6278
6290
  * Licensed under the MIT License.
6279
6291
  */
6292
+ /** @internal */
6280
6293
  class SilentFlowClient extends BaseClient {
6281
6294
  constructor(configuration, performanceClient) {
6282
6295
  super(configuration, performanceClient);
@@ -6374,7 +6387,7 @@
6374
6387
  }
6375
6388
  }
6376
6389
 
6377
- /*! @azure/msal-common v14.0.1 2023-08-11 */
6390
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
6378
6391
  /*
6379
6392
  * Copyright (c) Microsoft Corporation. All rights reserved.
6380
6393
  * Licensed under the MIT License.
@@ -6386,7 +6399,7 @@
6386
6399
  response.hasOwnProperty("jwks_uri"));
6387
6400
  }
6388
6401
 
6389
- /*! @azure/msal-common v14.0.1 2023-08-11 */
6402
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
6390
6403
  /*
6391
6404
  * Copyright (c) Microsoft Corporation. All rights reserved.
6392
6405
  * Licensed under the MIT License.
@@ -7272,12 +7285,13 @@
7272
7285
  }
7273
7286
  }
7274
7287
 
7275
- /*! @azure/msal-common v14.0.1 2023-08-11 */
7288
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
7276
7289
 
7277
7290
  /*
7278
7291
  * Copyright (c) Microsoft Corporation. All rights reserved.
7279
7292
  * Licensed under the MIT License.
7280
7293
  */
7294
+ /** @internal */
7281
7295
  class AuthorityMetadataEntity {
7282
7296
  constructor() {
7283
7297
  this.expiresAt =
@@ -7352,7 +7366,7 @@
7352
7366
  }
7353
7367
  }
7354
7368
 
7355
- /*! @azure/msal-common v14.0.1 2023-08-11 */
7369
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
7356
7370
  /*
7357
7371
  * Copyright (c) Microsoft Corporation. All rights reserved.
7358
7372
  * Licensed under the MIT License.
@@ -7362,7 +7376,7 @@
7362
7376
  response.hasOwnProperty("metadata"));
7363
7377
  }
7364
7378
 
7365
- /*! @azure/msal-common v14.0.1 2023-08-11 */
7379
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
7366
7380
  /*
7367
7381
  * Copyright (c) Microsoft Corporation. All rights reserved.
7368
7382
  * Licensed under the MIT License.
@@ -7372,7 +7386,7 @@
7372
7386
  response.hasOwnProperty("error_description"));
7373
7387
  }
7374
7388
 
7375
- /*! @azure/msal-common v14.0.1 2023-08-11 */
7389
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
7376
7390
 
7377
7391
  /*
7378
7392
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7483,7 +7497,7 @@
7483
7497
  },
7484
7498
  };
7485
7499
 
7486
- /*! @azure/msal-common v14.0.1 2023-08-11 */
7500
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
7487
7501
 
7488
7502
  /*
7489
7503
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7492,6 +7506,7 @@
7492
7506
  /**
7493
7507
  * The authority class validates the authority URIs used by the user, and retrieves the OpenID Configuration Data from the
7494
7508
  * endpoint. It will store the pertinent config data in this object for use during token calls.
7509
+ * @internal
7495
7510
  */
7496
7511
  class Authority {
7497
7512
  constructor(authority, networkInterface, cacheManager, authorityOptions, logger, performanceClient, correlationId) {
@@ -7705,7 +7720,8 @@
7705
7720
  get defaultOpenIdConfigurationEndpoint() {
7706
7721
  const canonicalAuthorityHost = this.hostnameAndPort;
7707
7722
  if (this.authorityType === AuthorityType.Adfs ||
7708
- !this.isAliasOfKnownMicrosoftAuthority(canonicalAuthorityHost)) {
7723
+ (this.protocolMode !== ProtocolMode.AAD &&
7724
+ !this.isAliasOfKnownMicrosoftAuthority(canonicalAuthorityHost))) {
7709
7725
  return `${this.canonicalAuthority}.well-known/openid-configuration`;
7710
7726
  }
7711
7727
  return `${this.canonicalAuthority}v2.0/.well-known/openid-configuration`;
@@ -8247,12 +8263,13 @@
8247
8263
  AADAuthorityConstants.ORGANIZATIONS,
8248
8264
  ]);
8249
8265
 
8250
- /*! @azure/msal-common v14.0.1 2023-08-11 */
8266
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
8251
8267
 
8252
8268
  /*
8253
8269
  * Copyright (c) Microsoft Corporation. All rights reserved.
8254
8270
  * Licensed under the MIT License.
8255
8271
  */
8272
+ /** @internal */
8256
8273
  class AuthorityFactory {
8257
8274
  /**
8258
8275
  * Create an authority object of the correct type based on the url
@@ -8297,7 +8314,7 @@
8297
8314
  }
8298
8315
  }
8299
8316
 
8300
- /*! @azure/msal-common v14.0.1 2023-08-11 */
8317
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
8301
8318
 
8302
8319
  /*
8303
8320
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8327,7 +8344,7 @@
8327
8344
  }
8328
8345
  }
8329
8346
 
8330
- /*! @azure/msal-common v14.0.1 2023-08-11 */
8347
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
8331
8348
 
8332
8349
  /*
8333
8350
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8353,7 +8370,7 @@
8353
8370
  }
8354
8371
  }
8355
8372
 
8356
- /*! @azure/msal-common v14.0.1 2023-08-11 */
8373
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
8357
8374
 
8358
8375
  /*
8359
8376
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8370,7 +8387,7 @@
8370
8387
  },
8371
8388
  };
8372
8389
 
8373
- /*! @azure/msal-common v14.0.1 2023-08-11 */
8390
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
8374
8391
 
8375
8392
  /*
8376
8393
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8412,12 +8429,13 @@
8412
8429
  }
8413
8430
  }
8414
8431
 
8415
- /*! @azure/msal-common v14.0.1 2023-08-11 */
8432
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
8416
8433
 
8417
8434
  /*
8418
8435
  * Copyright (c) Microsoft Corporation. All rights reserved.
8419
8436
  * Licensed under the MIT License.
8420
8437
  */
8438
+ /** @internal */
8421
8439
  class JoseHeader {
8422
8440
  constructor(options) {
8423
8441
  this.typ = options.typ;
@@ -8451,7 +8469,7 @@
8451
8469
  }
8452
8470
  }
8453
8471
 
8454
- /*! @azure/msal-common v14.0.1 2023-08-11 */
8472
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
8455
8473
 
8456
8474
  /*
8457
8475
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8509,12 +8527,13 @@
8509
8527
  }
8510
8528
  }
8511
8529
 
8512
- /*! @azure/msal-common v14.0.1 2023-08-11 */
8530
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
8513
8531
 
8514
8532
  /*
8515
8533
  * Copyright (c) Microsoft Corporation. All rights reserved.
8516
8534
  * Licensed under the MIT License.
8517
8535
  */
8536
+ /** @internal */
8518
8537
  class ServerTelemetryManager {
8519
8538
  constructor(telemetryRequest, cacheManager) {
8520
8539
  this.cacheOutcome = CacheOutcome.NO_CACHE_HIT;
@@ -8708,7 +8727,7 @@
8708
8727
  }
8709
8728
  }
8710
8729
 
8711
- /*! @azure/msal-common v14.0.1 2023-08-11 */
8730
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
8712
8731
 
8713
8732
  /*
8714
8733
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -9119,7 +9138,7 @@
9119
9138
  }
9120
9139
  }
9121
9140
 
9122
- /*! @azure/msal-common v14.0.1 2023-08-11 */
9141
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
9123
9142
 
9124
9143
  /*
9125
9144
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -11364,7 +11383,7 @@
11364
11383
 
11365
11384
  /* eslint-disable header/header */
11366
11385
  const name = "@azure/msal-browser";
11367
- const version = "3.0.1";
11386
+ const version = "3.0.2";
11368
11387
 
11369
11388
  /*
11370
11389
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -17841,7 +17860,7 @@
17841
17860
  * Silently acquire an access token for a given set of scopes. Returns currently processing promise if parallel requests are made.
17842
17861
  *
17843
17862
  * @param {@link (SilentRequest:type)}
17844
- * @returns {Promise.<AuthenticationResult>} - a promise that is fulfilled when this function has completed, or rejected if an error was raised. Returns the {@link AuthResponse} object
17863
+ * @returns {Promise.<AuthenticationResult>} - a promise that is fulfilled when this function has completed, or rejected if an error was raised. Returns the {@link AuthenticationResult} object
17845
17864
  */
17846
17865
  acquireTokenSilent(silentRequest) {
17847
17866
  return this.controller.acquireTokenSilent(silentRequest);
@@ -18065,6 +18084,7 @@
18065
18084
  }
18066
18085
  /**
18067
18086
  * Returns the configuration object
18087
+ * @internal
18068
18088
  */
18069
18089
  getConfiguration() {
18070
18090
  return this.controller.getConfiguration();