@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,8 +1,8 @@
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
  'use strict';
4
4
 
5
- /*! @azure/msal-common v14.0.1 2023-08-11 */
5
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
6
6
  /*
7
7
  * Copyright (c) Microsoft Corporation. All rights reserved.
8
8
  * Licensed under the MIT License.
@@ -362,7 +362,7 @@ const JsonTypes = {
362
362
  Pop: "pop",
363
363
  };
364
364
 
365
- /*! @azure/msal-common v14.0.1 2023-08-11 */
365
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
366
366
 
367
367
  /*
368
368
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -416,7 +416,7 @@ class AuthError extends Error {
416
416
  }
417
417
  }
418
418
 
419
- /*! @azure/msal-common v14.0.1 2023-08-11 */
419
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
420
420
 
421
421
  /*
422
422
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -461,7 +461,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
461
461
  },
462
462
  };
463
463
 
464
- /*! @azure/msal-common v14.0.1 2023-08-11 */
464
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
465
465
 
466
466
  /*
467
467
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -983,7 +983,7 @@ class ClientAuthError extends AuthError {
983
983
  }
984
984
  }
985
985
 
986
- /*! @azure/msal-common v14.0.1 2023-08-11 */
986
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
987
987
 
988
988
  /*
989
989
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1110,7 +1110,7 @@ class StringUtils {
1110
1110
  }
1111
1111
  }
1112
1112
 
1113
- /*! @azure/msal-common v14.0.1 2023-08-11 */
1113
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
1114
1114
 
1115
1115
  /*
1116
1116
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1310,12 +1310,12 @@ class Logger {
1310
1310
  }
1311
1311
  }
1312
1312
 
1313
- /*! @azure/msal-common v14.0.1 2023-08-11 */
1313
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
1314
1314
  /* eslint-disable header/header */
1315
1315
  const name$1 = "@azure/msal-common";
1316
- const version$1 = "14.0.1";
1316
+ const version$1 = "14.0.2";
1317
1317
 
1318
- /*! @azure/msal-common v14.0.1 2023-08-11 */
1318
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
1319
1319
  /*
1320
1320
  * Copyright (c) Microsoft Corporation. All rights reserved.
1321
1321
  * Licensed under the MIT License.
@@ -1335,7 +1335,7 @@ const AzureCloudInstance = {
1335
1335
  AzureUsGovernment: "https://login.microsoftonline.us",
1336
1336
  };
1337
1337
 
1338
- /*! @azure/msal-common v14.0.1 2023-08-11 */
1338
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
1339
1339
 
1340
1340
  /*
1341
1341
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1617,7 +1617,7 @@ class ClientConfigurationError extends ClientAuthError {
1617
1617
  }
1618
1618
  }
1619
1619
 
1620
- /*! @azure/msal-common v14.0.1 2023-08-11 */
1620
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
1621
1621
 
1622
1622
  /*
1623
1623
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1817,7 +1817,7 @@ class ScopeSet {
1817
1817
  }
1818
1818
  }
1819
1819
 
1820
- /*! @azure/msal-common v14.0.1 2023-08-11 */
1820
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
1821
1821
 
1822
1822
  /*
1823
1823
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1857,7 +1857,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
1857
1857
  };
1858
1858
  }
1859
1859
 
1860
- /*! @azure/msal-common v14.0.1 2023-08-11 */
1860
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
1861
1861
  /*
1862
1862
  * Copyright (c) Microsoft Corporation. All rights reserved.
1863
1863
  * Licensed under the MIT License.
@@ -1872,7 +1872,7 @@ const AuthorityType = {
1872
1872
  Ciam: 3,
1873
1873
  };
1874
1874
 
1875
- /*! @azure/msal-common v14.0.1 2023-08-11 */
1875
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
1876
1876
  /*
1877
1877
  * Copyright (c) Microsoft Corporation. All rights reserved.
1878
1878
  * Licensed under the MIT License.
@@ -1885,7 +1885,7 @@ const ProtocolMode = {
1885
1885
  OIDC: "OIDC",
1886
1886
  };
1887
1887
 
1888
- /*! @azure/msal-common v14.0.1 2023-08-11 */
1888
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
1889
1889
 
1890
1890
  /*
1891
1891
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1912,6 +1912,7 @@ const ProtocolMode = {
1912
1912
  * idTokenClaims: Object containing claims parsed from ID token
1913
1913
  * nativeAccountId: Account identifier on the native device
1914
1914
  * }
1915
+ * @internal
1915
1916
  */
1916
1917
  class AccountEntity {
1917
1918
  /**
@@ -2108,7 +2109,7 @@ class AccountEntity {
2108
2109
  }
2109
2110
  }
2110
2111
 
2111
- /*! @azure/msal-common v14.0.1 2023-08-11 */
2112
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
2112
2113
 
2113
2114
  /*
2114
2115
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2159,7 +2160,7 @@ class AuthToken {
2159
2160
  }
2160
2161
  }
2161
2162
 
2162
- /*! @azure/msal-common v14.0.1 2023-08-11 */
2163
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
2163
2164
 
2164
2165
  /*
2165
2166
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2167,6 +2168,7 @@ class AuthToken {
2167
2168
  */
2168
2169
  /**
2169
2170
  * Interface class which implement cache storage functions used by MSAL to perform validity checks, and store tokens.
2171
+ * @internal
2170
2172
  */
2171
2173
  class CacheManager {
2172
2174
  constructor(clientId, cryptoImpl, logger) {
@@ -3083,6 +3085,7 @@ class CacheManager {
3083
3085
  return obj;
3084
3086
  }
3085
3087
  }
3088
+ /** @internal */
3086
3089
  class DefaultStorageClass extends CacheManager {
3087
3090
  setAccount() {
3088
3091
  const notImplErr = "Storage interface - setAccount() has not been implemented for the cacheStorage interface.";
@@ -3182,7 +3185,7 @@ class DefaultStorageClass extends CacheManager {
3182
3185
  }
3183
3186
  }
3184
3187
 
3185
- /*! @azure/msal-common v14.0.1 2023-08-11 */
3188
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
3186
3189
 
3187
3190
  /*
3188
3191
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3284,7 +3287,7 @@ function isOidcProtocolMode(config) {
3284
3287
  return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
3285
3288
  }
3286
3289
 
3287
- /*! @azure/msal-common v14.0.1 2023-08-11 */
3290
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
3288
3291
 
3289
3292
  /*
3290
3293
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3301,12 +3304,13 @@ class ServerError extends AuthError {
3301
3304
  }
3302
3305
  }
3303
3306
 
3304
- /*! @azure/msal-common v14.0.1 2023-08-11 */
3307
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
3305
3308
 
3306
3309
  /*
3307
3310
  * Copyright (c) Microsoft Corporation. All rights reserved.
3308
3311
  * Licensed under the MIT License.
3309
3312
  */
3313
+ /** @internal */
3310
3314
  class ThrottlingUtils {
3311
3315
  /**
3312
3316
  * Prepares a RequestThumbprint to be stored as a key.
@@ -3398,12 +3402,13 @@ class ThrottlingUtils {
3398
3402
  }
3399
3403
  }
3400
3404
 
3401
- /*! @azure/msal-common v14.0.1 2023-08-11 */
3405
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
3402
3406
 
3403
3407
  /*
3404
3408
  * Copyright (c) Microsoft Corporation. All rights reserved.
3405
3409
  * Licensed under the MIT License.
3406
3410
  */
3411
+ /** @internal */
3407
3412
  class NetworkManager {
3408
3413
  constructor(networkClient, cacheManager) {
3409
3414
  this.networkClient = networkClient;
@@ -3434,7 +3439,7 @@ class NetworkManager {
3434
3439
  }
3435
3440
  }
3436
3441
 
3437
- /*! @azure/msal-common v14.0.1 2023-08-11 */
3442
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
3438
3443
  /*
3439
3444
  * Copyright (c) Microsoft Corporation. All rights reserved.
3440
3445
  * Licensed under the MIT License.
@@ -3444,7 +3449,7 @@ const CcsCredentialType = {
3444
3449
  UPN: "UPN",
3445
3450
  };
3446
3451
 
3447
- /*! @azure/msal-common v14.0.1 2023-08-11 */
3452
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
3448
3453
 
3449
3454
  /*
3450
3455
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3529,12 +3534,13 @@ class RequestValidator {
3529
3534
  }
3530
3535
  }
3531
3536
 
3532
- /*! @azure/msal-common v14.0.1 2023-08-11 */
3537
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
3533
3538
 
3534
3539
  /*
3535
3540
  * Copyright (c) Microsoft Corporation. All rights reserved.
3536
3541
  * Licensed under the MIT License.
3537
3542
  */
3543
+ /** @internal */
3538
3544
  class RequestParameterBuilder {
3539
3545
  constructor() {
3540
3546
  this.parameters = new Map();
@@ -3912,7 +3918,7 @@ class RequestParameterBuilder {
3912
3918
  }
3913
3919
  }
3914
3920
 
3915
- /*! @azure/msal-common v14.0.1 2023-08-11 */
3921
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
3916
3922
 
3917
3923
  /*
3918
3924
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3920,6 +3926,7 @@ class RequestParameterBuilder {
3920
3926
  */
3921
3927
  /**
3922
3928
  * Base application class which will construct requests to send to and handle responses from the Microsoft STS using the authorization code flow.
3929
+ * @internal
3923
3930
  */
3924
3931
  class BaseClient {
3925
3932
  constructor(configuration, performanceClient) {
@@ -4007,7 +4014,7 @@ class BaseClient {
4007
4014
  }
4008
4015
  }
4009
4016
 
4010
- /*! @azure/msal-common v14.0.1 2023-08-11 */
4017
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
4011
4018
 
4012
4019
  /*
4013
4020
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4146,7 +4153,7 @@ class CredentialEntity {
4146
4153
  }
4147
4154
  }
4148
4155
 
4149
- /*! @azure/msal-common v14.0.1 2023-08-11 */
4156
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
4150
4157
 
4151
4158
  /*
4152
4159
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4205,7 +4212,7 @@ class IdTokenEntity extends CredentialEntity {
4205
4212
  }
4206
4213
  }
4207
4214
 
4208
- /*! @azure/msal-common v14.0.1 2023-08-11 */
4215
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
4209
4216
  /*
4210
4217
  * Copyright (c) Microsoft Corporation. All rights reserved.
4211
4218
  * Licensed under the MIT License.
@@ -4252,7 +4259,7 @@ class TimeUtils {
4252
4259
  }
4253
4260
  }
4254
4261
 
4255
- /*! @azure/msal-common v14.0.1 2023-08-11 */
4262
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
4256
4263
 
4257
4264
  /*
4258
4265
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4366,7 +4373,7 @@ class AccessTokenEntity extends CredentialEntity {
4366
4373
  }
4367
4374
  }
4368
4375
 
4369
- /*! @azure/msal-common v14.0.1 2023-08-11 */
4376
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
4370
4377
 
4371
4378
  /*
4372
4379
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4428,7 +4435,7 @@ class RefreshTokenEntity extends CredentialEntity {
4428
4435
  }
4429
4436
  }
4430
4437
 
4431
- /*! @azure/msal-common v14.0.1 2023-08-11 */
4438
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
4432
4439
 
4433
4440
  /*
4434
4441
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4509,11 +4516,12 @@ class InteractionRequiredAuthError extends AuthError {
4509
4516
  }
4510
4517
  }
4511
4518
 
4512
- /*! @azure/msal-common v14.0.1 2023-08-11 */
4519
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
4513
4520
  /*
4514
4521
  * Copyright (c) Microsoft Corporation. All rights reserved.
4515
4522
  * Licensed under the MIT License.
4516
4523
  */
4524
+ /** @internal */
4517
4525
  class CacheRecord {
4518
4526
  constructor(accountEntity, idTokenEntity, accessTokenEntity, refreshTokenEntity, appMetadataEntity) {
4519
4527
  this.account = accountEntity || null;
@@ -4524,7 +4532,7 @@ class CacheRecord {
4524
4532
  }
4525
4533
  }
4526
4534
 
4527
- /*! @azure/msal-common v14.0.1 2023-08-11 */
4535
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
4528
4536
 
4529
4537
  /*
4530
4538
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4598,7 +4606,7 @@ class ProtocolUtils {
4598
4606
  }
4599
4607
  }
4600
4608
 
4601
- /*! @azure/msal-common v14.0.1 2023-08-11 */
4609
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
4602
4610
 
4603
4611
  /*
4604
4612
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4882,7 +4890,7 @@ class UrlString {
4882
4890
  }
4883
4891
  }
4884
4892
 
4885
- /*! @azure/msal-common v14.0.1 2023-08-11 */
4893
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
4886
4894
  /*
4887
4895
  * Copyright (c) Microsoft Corporation. All rights reserved.
4888
4896
  * Licensed under the MIT License.
@@ -5110,7 +5118,7 @@ const IntFields = new Set([
5110
5118
  "status",
5111
5119
  ]);
5112
5120
 
5113
- /*! @azure/msal-common v14.0.1 2023-08-11 */
5121
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
5114
5122
 
5115
5123
  /*
5116
5124
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5120,6 +5128,7 @@ const KeyLocation = {
5120
5128
  SW: "sw",
5121
5129
  UHW: "uhw",
5122
5130
  };
5131
+ /** @internal */
5123
5132
  class PopTokenGenerator {
5124
5133
  constructor(cryptoUtils, performanceClient) {
5125
5134
  this.cryptoUtils = cryptoUtils;
@@ -5195,7 +5204,7 @@ class PopTokenGenerator {
5195
5204
  }
5196
5205
  }
5197
5206
 
5198
- /*! @azure/msal-common v14.0.1 2023-08-11 */
5207
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
5199
5208
 
5200
5209
  /*
5201
5210
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5264,7 +5273,7 @@ class AppMetadataEntity {
5264
5273
  }
5265
5274
  }
5266
5275
 
5267
- /*! @azure/msal-common v14.0.1 2023-08-11 */
5276
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
5268
5277
  /*
5269
5278
  * Copyright (c) Microsoft Corporation. All rights reserved.
5270
5279
  * Licensed under the MIT License.
@@ -5291,7 +5300,7 @@ class AppMetadataEntity {
5291
5300
  }
5292
5301
  }
5293
5302
 
5294
- /*! @azure/msal-common v14.0.1 2023-08-11 */
5303
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
5295
5304
 
5296
5305
  /*
5297
5306
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5299,6 +5308,7 @@ class AppMetadataEntity {
5299
5308
  */
5300
5309
  /**
5301
5310
  * Class that handles response parsing.
5311
+ * @internal
5302
5312
  */
5303
5313
  class ResponseHandler {
5304
5314
  constructor(clientId, cacheStorage, cryptoObj, logger, serializableCache, persistencePlugin, performanceClient) {
@@ -5585,7 +5595,7 @@ class ResponseHandler {
5585
5595
  }
5586
5596
  }
5587
5597
 
5588
- /*! @azure/msal-common v14.0.1 2023-08-11 */
5598
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
5589
5599
 
5590
5600
  /*
5591
5601
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5593,6 +5603,7 @@ class ResponseHandler {
5593
5603
  */
5594
5604
  /**
5595
5605
  * Oauth2.0 Authorization Code client
5606
+ * @internal
5596
5607
  */
5597
5608
  class AuthorizationCodeClient extends BaseClient {
5598
5609
  constructor(configuration, performanceClient) {
@@ -6025,7 +6036,7 @@ class AuthorizationCodeClient extends BaseClient {
6025
6036
  }
6026
6037
  }
6027
6038
 
6028
- /*! @azure/msal-common v14.0.1 2023-08-11 */
6039
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
6029
6040
 
6030
6041
  /*
6031
6042
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6033,6 +6044,7 @@ class AuthorizationCodeClient extends BaseClient {
6033
6044
  */
6034
6045
  /**
6035
6046
  * OAuth2.0 refresh token client
6047
+ * @internal
6036
6048
  */
6037
6049
  class RefreshTokenClient extends BaseClient {
6038
6050
  constructor(configuration, performanceClient) {
@@ -6267,12 +6279,13 @@ class RefreshTokenClient extends BaseClient {
6267
6279
  }
6268
6280
  }
6269
6281
 
6270
- /*! @azure/msal-common v14.0.1 2023-08-11 */
6282
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
6271
6283
 
6272
6284
  /*
6273
6285
  * Copyright (c) Microsoft Corporation. All rights reserved.
6274
6286
  * Licensed under the MIT License.
6275
6287
  */
6288
+ /** @internal */
6276
6289
  class SilentFlowClient extends BaseClient {
6277
6290
  constructor(configuration, performanceClient) {
6278
6291
  super(configuration, performanceClient);
@@ -6370,7 +6383,7 @@ class SilentFlowClient extends BaseClient {
6370
6383
  }
6371
6384
  }
6372
6385
 
6373
- /*! @azure/msal-common v14.0.1 2023-08-11 */
6386
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
6374
6387
  /*
6375
6388
  * Copyright (c) Microsoft Corporation. All rights reserved.
6376
6389
  * Licensed under the MIT License.
@@ -6382,7 +6395,7 @@ function isOpenIdConfigResponse(response) {
6382
6395
  response.hasOwnProperty("jwks_uri"));
6383
6396
  }
6384
6397
 
6385
- /*! @azure/msal-common v14.0.1 2023-08-11 */
6398
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
6386
6399
  /*
6387
6400
  * Copyright (c) Microsoft Corporation. All rights reserved.
6388
6401
  * Licensed under the MIT License.
@@ -7268,12 +7281,13 @@ for (const key in InstanceDiscoveryMetadata) {
7268
7281
  }
7269
7282
  }
7270
7283
 
7271
- /*! @azure/msal-common v14.0.1 2023-08-11 */
7284
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
7272
7285
 
7273
7286
  /*
7274
7287
  * Copyright (c) Microsoft Corporation. All rights reserved.
7275
7288
  * Licensed under the MIT License.
7276
7289
  */
7290
+ /** @internal */
7277
7291
  class AuthorityMetadataEntity {
7278
7292
  constructor() {
7279
7293
  this.expiresAt =
@@ -7348,7 +7362,7 @@ class AuthorityMetadataEntity {
7348
7362
  }
7349
7363
  }
7350
7364
 
7351
- /*! @azure/msal-common v14.0.1 2023-08-11 */
7365
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
7352
7366
  /*
7353
7367
  * Copyright (c) Microsoft Corporation. All rights reserved.
7354
7368
  * Licensed under the MIT License.
@@ -7358,7 +7372,7 @@ function isCloudInstanceDiscoveryResponse(response) {
7358
7372
  response.hasOwnProperty("metadata"));
7359
7373
  }
7360
7374
 
7361
- /*! @azure/msal-common v14.0.1 2023-08-11 */
7375
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
7362
7376
  /*
7363
7377
  * Copyright (c) Microsoft Corporation. All rights reserved.
7364
7378
  * Licensed under the MIT License.
@@ -7368,7 +7382,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
7368
7382
  response.hasOwnProperty("error_description"));
7369
7383
  }
7370
7384
 
7371
- /*! @azure/msal-common v14.0.1 2023-08-11 */
7385
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
7372
7386
 
7373
7387
  /*
7374
7388
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7479,7 +7493,7 @@ RegionDiscovery.IMDS_OPTIONS = {
7479
7493
  },
7480
7494
  };
7481
7495
 
7482
- /*! @azure/msal-common v14.0.1 2023-08-11 */
7496
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
7483
7497
 
7484
7498
  /*
7485
7499
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7488,6 +7502,7 @@ RegionDiscovery.IMDS_OPTIONS = {
7488
7502
  /**
7489
7503
  * The authority class validates the authority URIs used by the user, and retrieves the OpenID Configuration Data from the
7490
7504
  * endpoint. It will store the pertinent config data in this object for use during token calls.
7505
+ * @internal
7491
7506
  */
7492
7507
  class Authority {
7493
7508
  constructor(authority, networkInterface, cacheManager, authorityOptions, logger, performanceClient, correlationId) {
@@ -7701,7 +7716,8 @@ class Authority {
7701
7716
  get defaultOpenIdConfigurationEndpoint() {
7702
7717
  const canonicalAuthorityHost = this.hostnameAndPort;
7703
7718
  if (this.authorityType === AuthorityType.Adfs ||
7704
- !this.isAliasOfKnownMicrosoftAuthority(canonicalAuthorityHost)) {
7719
+ (this.protocolMode !== ProtocolMode.AAD &&
7720
+ !this.isAliasOfKnownMicrosoftAuthority(canonicalAuthorityHost))) {
7705
7721
  return `${this.canonicalAuthority}.well-known/openid-configuration`;
7706
7722
  }
7707
7723
  return `${this.canonicalAuthority}v2.0/.well-known/openid-configuration`;
@@ -8243,12 +8259,13 @@ Authority.reservedTenantDomains = new Set([
8243
8259
  AADAuthorityConstants.ORGANIZATIONS,
8244
8260
  ]);
8245
8261
 
8246
- /*! @azure/msal-common v14.0.1 2023-08-11 */
8262
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
8247
8263
 
8248
8264
  /*
8249
8265
  * Copyright (c) Microsoft Corporation. All rights reserved.
8250
8266
  * Licensed under the MIT License.
8251
8267
  */
8268
+ /** @internal */
8252
8269
  class AuthorityFactory {
8253
8270
  /**
8254
8271
  * Create an authority object of the correct type based on the url
@@ -8293,7 +8310,7 @@ class AuthorityFactory {
8293
8310
  }
8294
8311
  }
8295
8312
 
8296
- /*! @azure/msal-common v14.0.1 2023-08-11 */
8313
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
8297
8314
 
8298
8315
  /*
8299
8316
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8323,7 +8340,7 @@ class ServerTelemetryEntity {
8323
8340
  }
8324
8341
  }
8325
8342
 
8326
- /*! @azure/msal-common v14.0.1 2023-08-11 */
8343
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
8327
8344
 
8328
8345
  /*
8329
8346
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8349,7 +8366,7 @@ class ThrottlingEntity {
8349
8366
  }
8350
8367
  }
8351
8368
 
8352
- /*! @azure/msal-common v14.0.1 2023-08-11 */
8369
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
8353
8370
 
8354
8371
  /*
8355
8372
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8366,7 +8383,7 @@ const StubbedNetworkModule = {
8366
8383
  },
8367
8384
  };
8368
8385
 
8369
- /*! @azure/msal-common v14.0.1 2023-08-11 */
8386
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
8370
8387
 
8371
8388
  /*
8372
8389
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8408,12 +8425,13 @@ class JoseHeaderError extends AuthError {
8408
8425
  }
8409
8426
  }
8410
8427
 
8411
- /*! @azure/msal-common v14.0.1 2023-08-11 */
8428
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
8412
8429
 
8413
8430
  /*
8414
8431
  * Copyright (c) Microsoft Corporation. All rights reserved.
8415
8432
  * Licensed under the MIT License.
8416
8433
  */
8434
+ /** @internal */
8417
8435
  class JoseHeader {
8418
8436
  constructor(options) {
8419
8437
  this.typ = options.typ;
@@ -8447,7 +8465,7 @@ class JoseHeader {
8447
8465
  }
8448
8466
  }
8449
8467
 
8450
- /*! @azure/msal-common v14.0.1 2023-08-11 */
8468
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
8451
8469
 
8452
8470
  /*
8453
8471
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8505,12 +8523,13 @@ class AuthenticationHeaderParser {
8505
8523
  }
8506
8524
  }
8507
8525
 
8508
- /*! @azure/msal-common v14.0.1 2023-08-11 */
8526
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
8509
8527
 
8510
8528
  /*
8511
8529
  * Copyright (c) Microsoft Corporation. All rights reserved.
8512
8530
  * Licensed under the MIT License.
8513
8531
  */
8532
+ /** @internal */
8514
8533
  class ServerTelemetryManager {
8515
8534
  constructor(telemetryRequest, cacheManager) {
8516
8535
  this.cacheOutcome = CacheOutcome.NO_CACHE_HIT;
@@ -8704,7 +8723,7 @@ class ServerTelemetryManager {
8704
8723
  }
8705
8724
  }
8706
8725
 
8707
- /*! @azure/msal-common v14.0.1 2023-08-11 */
8726
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
8708
8727
 
8709
8728
  /*
8710
8729
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -9115,7 +9134,7 @@ class PerformanceClient {
9115
9134
  }
9116
9135
  }
9117
9136
 
9118
- /*! @azure/msal-common v14.0.1 2023-08-11 */
9137
+ /*! @azure/msal-common v14.0.2 2023-08-18 */
9119
9138
 
9120
9139
  /*
9121
9140
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -11360,7 +11379,7 @@ const DEFAULT_BROWSER_CACHE_MANAGER = (clientId, logger) => {
11360
11379
 
11361
11380
  /* eslint-disable header/header */
11362
11381
  const name = "@azure/msal-browser";
11363
- const version = "3.0.1";
11382
+ const version = "3.0.2";
11364
11383
 
11365
11384
  /*
11366
11385
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -17837,7 +17856,7 @@ class PublicClientApplication {
17837
17856
  * Silently acquire an access token for a given set of scopes. Returns currently processing promise if parallel requests are made.
17838
17857
  *
17839
17858
  * @param {@link (SilentRequest:type)}
17840
- * @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
17859
+ * @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
17841
17860
  */
17842
17861
  acquireTokenSilent(silentRequest) {
17843
17862
  return this.controller.acquireTokenSilent(silentRequest);
@@ -18061,6 +18080,7 @@ class PublicClientApplication {
18061
18080
  }
18062
18081
  /**
18063
18082
  * Returns the configuration object
18083
+ * @internal
18064
18084
  */
18065
18085
  getConfiguration() {
18066
18086
  return this.controller.getConfiguration();