@azure/msal-common 14.0.0-alpha.2 → 14.0.0-beta.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 (92) hide show
  1. package/dist/account/AuthToken.js +1 -1
  2. package/dist/account/CcsCredential.d.ts +5 -4
  3. package/dist/account/CcsCredential.d.ts.map +1 -1
  4. package/dist/account/CcsCredential.js +5 -6
  5. package/dist/account/CcsCredential.js.map +1 -1
  6. package/dist/account/ClientInfo.js +1 -1
  7. package/dist/authority/Authority.js +1 -1
  8. package/dist/authority/AuthorityFactory.js +1 -1
  9. package/dist/authority/AuthorityMetadata.js +1 -1
  10. package/dist/authority/AuthorityOptions.d.ts +9 -8
  11. package/dist/authority/AuthorityOptions.d.ts.map +1 -1
  12. package/dist/authority/AuthorityOptions.js +9 -10
  13. package/dist/authority/AuthorityOptions.js.map +1 -1
  14. package/dist/authority/AuthorityType.d.ts +7 -6
  15. package/dist/authority/AuthorityType.d.ts.map +1 -1
  16. package/dist/authority/AuthorityType.js +7 -8
  17. package/dist/authority/AuthorityType.js.map +1 -1
  18. package/dist/authority/CloudInstanceDiscoveryErrorResponse.js +1 -1
  19. package/dist/authority/CloudInstanceDiscoveryResponse.js +1 -1
  20. package/dist/authority/OpenIdConfigResponse.js +1 -1
  21. package/dist/authority/ProtocolMode.d.ts +5 -4
  22. package/dist/authority/ProtocolMode.d.ts.map +1 -1
  23. package/dist/authority/ProtocolMode.js +5 -6
  24. package/dist/authority/ProtocolMode.js.map +1 -1
  25. package/dist/authority/RegionDiscovery.js +1 -1
  26. package/dist/cache/CacheManager.js +1 -1
  27. package/dist/cache/entities/AccessTokenEntity.js +1 -1
  28. package/dist/cache/entities/AccountEntity.js +1 -1
  29. package/dist/cache/entities/AppMetadataEntity.js +1 -1
  30. package/dist/cache/entities/AuthorityMetadataEntity.js +1 -1
  31. package/dist/cache/entities/CacheRecord.js +1 -1
  32. package/dist/cache/entities/CredentialEntity.js +1 -1
  33. package/dist/cache/entities/IdTokenEntity.js +1 -1
  34. package/dist/cache/entities/RefreshTokenEntity.js +1 -1
  35. package/dist/cache/entities/ServerTelemetryEntity.js +1 -1
  36. package/dist/cache/entities/ThrottlingEntity.js +1 -1
  37. package/dist/cache/persistence/TokenCacheContext.js +1 -1
  38. package/dist/client/AuthorizationCodeClient.js +1 -1
  39. package/dist/client/BaseClient.js +1 -1
  40. package/dist/client/RefreshTokenClient.js +1 -1
  41. package/dist/client/SilentFlowClient.js +1 -1
  42. package/dist/config/ClientConfiguration.js +1 -1
  43. package/dist/crypto/ICrypto.js +1 -1
  44. package/dist/crypto/JoseHeader.js +1 -1
  45. package/dist/crypto/PopTokenGenerator.d.ts +5 -4
  46. package/dist/crypto/PopTokenGenerator.d.ts.map +1 -1
  47. package/dist/crypto/PopTokenGenerator.js +5 -6
  48. package/dist/crypto/PopTokenGenerator.js.map +1 -1
  49. package/dist/error/AuthError.js +1 -1
  50. package/dist/error/ClientAuthError.js +1 -1
  51. package/dist/error/ClientConfigurationError.d.ts +8 -0
  52. package/dist/error/ClientConfigurationError.d.ts.map +1 -1
  53. package/dist/error/ClientConfigurationError.js +12 -2
  54. package/dist/error/ClientConfigurationError.js.map +1 -1
  55. package/dist/error/InteractionRequiredAuthError.js +1 -1
  56. package/dist/error/JoseHeaderError.js +1 -1
  57. package/dist/error/ServerError.js +1 -1
  58. package/dist/index.cjs.js +524 -545
  59. package/dist/index.cjs.js.map +1 -1
  60. package/dist/index.js +1 -1
  61. package/dist/logger/Logger.js +1 -1
  62. package/dist/network/INetworkModule.js +1 -1
  63. package/dist/network/NetworkManager.js +1 -1
  64. package/dist/network/ThrottlingUtils.js +1 -1
  65. package/dist/packageMetadata.d.ts +1 -1
  66. package/dist/packageMetadata.d.ts.map +1 -1
  67. package/dist/packageMetadata.js +2 -2
  68. package/dist/request/AuthenticationHeaderParser.js +1 -1
  69. package/dist/request/RequestParameterBuilder.js +1 -1
  70. package/dist/request/RequestValidator.js +2 -3
  71. package/dist/request/RequestValidator.js.map +1 -1
  72. package/dist/request/ScopeSet.js +1 -1
  73. package/dist/response/ResponseHandler.js +1 -1
  74. package/dist/telemetry/performance/PerformanceClient.js +1 -1
  75. package/dist/telemetry/performance/PerformanceEvent.d.ts +73 -71
  76. package/dist/telemetry/performance/PerformanceEvent.d.ts.map +1 -1
  77. package/dist/telemetry/performance/PerformanceEvent.js +72 -74
  78. package/dist/telemetry/performance/PerformanceEvent.js.map +1 -1
  79. package/dist/telemetry/performance/StubPerformanceClient.d.ts +3 -7
  80. package/dist/telemetry/performance/StubPerformanceClient.d.ts.map +1 -1
  81. package/dist/telemetry/performance/StubPerformanceClient.js +7 -21
  82. package/dist/telemetry/performance/StubPerformanceClient.js.map +1 -1
  83. package/dist/telemetry/server/ServerTelemetryManager.js +1 -1
  84. package/dist/url/UrlString.js +1 -1
  85. package/dist/utils/Constants.d.ts +193 -179
  86. package/dist/utils/Constants.d.ts.map +1 -1
  87. package/dist/utils/Constants.js +174 -194
  88. package/dist/utils/Constants.js.map +1 -1
  89. package/dist/utils/ProtocolUtils.js +1 -1
  90. package/dist/utils/StringUtils.js +1 -1
  91. package/dist/utils/TimeUtils.js +1 -1
  92. package/package.json +8 -1
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  import { ClientAuthError } from '../error/ClientAuthError.js';
4
4
  import { StringUtils } from '../utils/StringUtils.js';
@@ -2,8 +2,9 @@ export type CcsCredential = {
2
2
  credential: string;
3
3
  type: CcsCredentialType;
4
4
  };
5
- export declare enum CcsCredentialType {
6
- HOME_ACCOUNT_ID = "home_account_id",
7
- UPN = "UPN"
8
- }
5
+ export declare const CcsCredentialType: {
6
+ readonly HOME_ACCOUNT_ID: "home_account_id";
7
+ readonly UPN: "UPN";
8
+ };
9
+ export type CcsCredentialType = typeof CcsCredentialType[keyof typeof CcsCredentialType];
9
10
  //# sourceMappingURL=CcsCredential.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CcsCredential.d.ts","sourceRoot":"","sources":["../../src/account/CcsCredential.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,aAAa,GAAG;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,iBAAiB,CAAC;CAC3B,CAAC;AAEF,oBAAY,iBAAiB;IACzB,eAAe,oBAAoB;IACnC,GAAG,QAAQ;CACd"}
1
+ {"version":3,"file":"CcsCredential.d.ts","sourceRoot":"","sources":["../../src/account/CcsCredential.ts"],"names":[],"mappings":"AAKA,MAAM,MAAM,aAAa,GAAG;IACxB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,iBAAiB,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,iBAAiB;;;CAGpB,CAAC;AACX,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,MAAM,OAAO,iBAAiB,CAAC,CAAC"}
@@ -1,14 +1,13 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
5
5
  * Licensed under the MIT License.
6
6
  */
7
- var CcsCredentialType;
8
- (function (CcsCredentialType) {
9
- CcsCredentialType["HOME_ACCOUNT_ID"] = "home_account_id";
10
- CcsCredentialType["UPN"] = "UPN";
11
- })(CcsCredentialType || (CcsCredentialType = {}));
7
+ const CcsCredentialType = {
8
+ HOME_ACCOUNT_ID: "home_account_id",
9
+ UPN: "UPN",
10
+ };
12
11
 
13
12
  export { CcsCredentialType };
14
13
  //# sourceMappingURL=CcsCredential.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CcsCredential.js","sources":["../../src/account/CcsCredential.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;IAOS,kBAGX;AAHD,CAAA,UAAY,iBAAiB,EAAA;AACzB,IAAA,iBAAA,CAAA,iBAAA,CAAA,GAAA,iBAAmC,CAAA;AACnC,IAAA,iBAAA,CAAA,KAAA,CAAA,GAAA,KAAW,CAAA;AACf,CAAC,EAHW,iBAAiB,KAAjB,iBAAiB,GAG5B,EAAA,CAAA,CAAA;;;;"}
1
+ {"version":3,"file":"CcsCredential.js","sources":["../../src/account/CcsCredential.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAOU,MAAA,iBAAiB,GAAG;AAC7B,IAAA,eAAe,EAAE,iBAAiB;AAClC,IAAA,GAAG,EAAE,KAAK;;;;;"}
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  import { ClientAuthError } from '../error/ClientAuthError.js';
4
4
  import { StringUtils } from '../utils/StringUtils.js';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  import { AuthorityType } from './AuthorityType.js';
4
4
  import { isOpenIdConfigResponse } from './OpenIdConfigResponse.js';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  import { Authority } from './Authority.js';
4
4
  import { ClientConfigurationError } from '../error/ClientConfigurationError.js';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8,12 +8,13 @@ export type AuthorityOptions = {
8
8
  skipAuthorityMetadataCache?: boolean;
9
9
  azureRegionConfiguration?: AzureRegionConfiguration;
10
10
  };
11
- export declare enum AzureCloudInstance {
12
- None = 0,
13
- AzurePublic = "https://login.microsoftonline.com",
14
- AzurePpe = "https://login.windows-ppe.net",
15
- AzureChina = "https://login.chinacloudapi.cn",
16
- AzureGermany = "https://login.microsoftonline.de",
17
- AzureUsGovernment = "https://login.microsoftonline.us"
18
- }
11
+ export declare const AzureCloudInstance: {
12
+ readonly None: "none";
13
+ readonly AzurePublic: "https://login.microsoftonline.com";
14
+ readonly AzurePpe: "https://login.windows-ppe.net";
15
+ readonly AzureChina: "https://login.chinacloudapi.cn";
16
+ readonly AzureGermany: "https://login.microsoftonline.de";
17
+ readonly AzureUsGovernment: "https://login.microsoftonline.us";
18
+ };
19
+ export type AzureCloudInstance = typeof AzureCloudInstance[keyof typeof AzureCloudInstance];
19
20
  //# sourceMappingURL=AuthorityOptions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AuthorityOptions.d.ts","sourceRoot":"","sources":["../../src/authority/AuthorityOptions.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,MAAM,MAAM,gBAAgB,GAAG;IAC3B,YAAY,EAAE,YAAY,CAAC;IAC3B,gBAAgB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,wBAAwB,CAAC,EAAE,wBAAwB,CAAC;CACvD,CAAC;AAEF,oBAAY,kBAAkB;IAE1B,IAAI,IAAA;IAGJ,WAAW,sCAAsC;IAGjD,QAAQ,kCAAkC;IAG1C,UAAU,mCAAmC;IAG7C,YAAY,qCAAqC;IAGjD,iBAAiB,qCAAqC;CACzD"}
1
+ {"version":3,"file":"AuthorityOptions.d.ts","sourceRoot":"","sources":["../../src/authority/AuthorityOptions.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAC9C,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,MAAM,MAAM,gBAAgB,GAAG;IAC3B,YAAY,EAAE,YAAY,CAAC;IAC3B,gBAAgB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC,sBAAsB,EAAE,MAAM,CAAC;IAC/B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,wBAAwB,CAAC,EAAE,wBAAwB,CAAC;CACvD,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;;;;;CAkBrB,CAAC;AACX,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,MAAM,OAAO,kBAAkB,CAAC,CAAC"}
@@ -1,24 +1,23 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
5
5
  * Licensed under the MIT License.
6
6
  */
7
- var AzureCloudInstance;
8
- (function (AzureCloudInstance) {
7
+ const AzureCloudInstance = {
9
8
  // AzureCloudInstance is not specified.
10
- AzureCloudInstance[AzureCloudInstance["None"] = 0] = "None";
9
+ None: "none",
11
10
  // Microsoft Azure public cloud
12
- AzureCloudInstance["AzurePublic"] = "https://login.microsoftonline.com";
11
+ AzurePublic: "https://login.microsoftonline.com",
13
12
  // Microsoft PPE
14
- AzureCloudInstance["AzurePpe"] = "https://login.windows-ppe.net";
13
+ AzurePpe: "https://login.windows-ppe.net",
15
14
  // Microsoft Chinese national cloud
16
- AzureCloudInstance["AzureChina"] = "https://login.chinacloudapi.cn";
15
+ AzureChina: "https://login.chinacloudapi.cn",
17
16
  // Microsoft German national cloud ("Black Forest")
18
- AzureCloudInstance["AzureGermany"] = "https://login.microsoftonline.de";
17
+ AzureGermany: "https://login.microsoftonline.de",
19
18
  // US Government cloud
20
- AzureCloudInstance["AzureUsGovernment"] = "https://login.microsoftonline.us";
21
- })(AzureCloudInstance || (AzureCloudInstance = {}));
19
+ AzureUsGovernment: "https://login.microsoftonline.us",
20
+ };
22
21
 
23
22
  export { AzureCloudInstance };
24
23
  //# sourceMappingURL=AuthorityOptions.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AuthorityOptions.js","sources":["../../src/authority/AuthorityOptions.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;IAcS,mBAkBX;AAlBD,CAAA,UAAY,kBAAkB,EAAA;;AAE1B,IAAA,kBAAA,CAAA,kBAAA,CAAA,MAAA,CAAA,GAAA,CAAA,CAAA,GAAA,MAAI,CAAA;;AAGJ,IAAA,kBAAA,CAAA,aAAA,CAAA,GAAA,mCAAiD,CAAA;;AAGjD,IAAA,kBAAA,CAAA,UAAA,CAAA,GAAA,+BAA0C,CAAA;;AAG1C,IAAA,kBAAA,CAAA,YAAA,CAAA,GAAA,gCAA6C,CAAA;;AAG7C,IAAA,kBAAA,CAAA,cAAA,CAAA,GAAA,kCAAiD,CAAA;;AAGjD,IAAA,kBAAA,CAAA,mBAAA,CAAA,GAAA,kCAAsD,CAAA;AAC1D,CAAC,EAlBW,kBAAkB,KAAlB,kBAAkB,GAkB7B,EAAA,CAAA,CAAA;;;;"}
1
+ {"version":3,"file":"AuthorityOptions.js","sources":["../../src/authority/AuthorityOptions.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAcU,MAAA,kBAAkB,GAAG;;AAE9B,IAAA,IAAI,EAAE,MAAM;;AAGZ,IAAA,WAAW,EAAE,mCAAmC;;AAGhD,IAAA,QAAQ,EAAE,+BAA+B;;AAGzC,IAAA,UAAU,EAAE,gCAAgC;;AAG5C,IAAA,YAAY,EAAE,kCAAkC;;AAGhD,IAAA,iBAAiB,EAAE,kCAAkC;;;;;"}
@@ -1,10 +1,11 @@
1
1
  /**
2
2
  * Authority types supported by MSAL.
3
3
  */
4
- export declare enum AuthorityType {
5
- Default = 0,
6
- Adfs = 1,
7
- Dsts = 2,
8
- Ciam = 3
9
- }
4
+ export declare const AuthorityType: {
5
+ readonly Default: 0;
6
+ readonly Adfs: 1;
7
+ readonly Dsts: 2;
8
+ readonly Ciam: 3;
9
+ };
10
+ export type AuthorityType = typeof AuthorityType[keyof typeof AuthorityType];
10
11
  //# sourceMappingURL=AuthorityType.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AuthorityType.d.ts","sourceRoot":"","sources":["../../src/authority/AuthorityType.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,oBAAY,aAAa;IACrB,OAAO,IAAA;IACP,IAAI,IAAA;IACJ,IAAI,IAAA;IACJ,IAAI,IAAA;CACP"}
1
+ {"version":3,"file":"AuthorityType.d.ts","sourceRoot":"","sources":["../../src/authority/AuthorityType.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,eAAO,MAAM,aAAa;;;;;CAKhB,CAAC;AACX,MAAM,MAAM,aAAa,GAAG,OAAO,aAAa,CAAC,MAAM,OAAO,aAAa,CAAC,CAAC"}
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7,13 +7,12 @@
7
7
  /**
8
8
  * Authority types supported by MSAL.
9
9
  */
10
- var AuthorityType;
11
- (function (AuthorityType) {
12
- AuthorityType[AuthorityType["Default"] = 0] = "Default";
13
- AuthorityType[AuthorityType["Adfs"] = 1] = "Adfs";
14
- AuthorityType[AuthorityType["Dsts"] = 2] = "Dsts";
15
- AuthorityType[AuthorityType["Ciam"] = 3] = "Ciam";
16
- })(AuthorityType || (AuthorityType = {}));
10
+ const AuthorityType = {
11
+ Default: 0,
12
+ Adfs: 1,
13
+ Dsts: 2,
14
+ Ciam: 3
15
+ };
17
16
 
18
17
  export { AuthorityType };
19
18
  //# sourceMappingURL=AuthorityType.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AuthorityType.js","sources":["../../src/authority/AuthorityType.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAEH;;AAEG;IACS,cAKX;AALD,CAAA,UAAY,aAAa,EAAA;AACrB,IAAA,aAAA,CAAA,aAAA,CAAA,SAAA,CAAA,GAAA,CAAA,CAAA,GAAA,SAAO,CAAA;AACP,IAAA,aAAA,CAAA,aAAA,CAAA,MAAA,CAAA,GAAA,CAAA,CAAA,GAAA,MAAI,CAAA;AACJ,IAAA,aAAA,CAAA,aAAA,CAAA,MAAA,CAAA,GAAA,CAAA,CAAA,GAAA,MAAI,CAAA;AACJ,IAAA,aAAA,CAAA,aAAA,CAAA,MAAA,CAAA,GAAA,CAAA,CAAA,GAAA,MAAI,CAAA;AACR,CAAC,EALW,aAAa,KAAb,aAAa,GAKxB,EAAA,CAAA,CAAA;;;;"}
1
+ {"version":3,"file":"AuthorityType.js","sources":["../../src/authority/AuthorityType.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAEH;;AAEG;AACU,MAAA,aAAa,GAAG;AACzB,IAAA,OAAO,EAAE,CAAC;AACV,IAAA,IAAI,EAAE,CAAC;AACP,IAAA,IAAI,EAAE,CAAC;AACP,IAAA,IAAI,EAAE,CAAC;;;;;"}
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,8 +1,9 @@
1
1
  /**
2
2
  * Protocol modes supported by MSAL.
3
3
  */
4
- export declare enum ProtocolMode {
5
- AAD = "AAD",
6
- OIDC = "OIDC"
7
- }
4
+ export declare const ProtocolMode: {
5
+ readonly AAD: "AAD";
6
+ readonly OIDC: "OIDC";
7
+ };
8
+ export type ProtocolMode = typeof ProtocolMode[keyof typeof ProtocolMode];
8
9
  //# sourceMappingURL=ProtocolMode.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProtocolMode.d.ts","sourceRoot":"","sources":["../../src/authority/ProtocolMode.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,oBAAY,YAAY;IACpB,GAAG,QAAQ;IACX,IAAI,SAAS;CAChB"}
1
+ {"version":3,"file":"ProtocolMode.d.ts","sourceRoot":"","sources":["../../src/authority/ProtocolMode.ts"],"names":[],"mappings":"AAKA;;GAEG;AACH,eAAO,MAAM,YAAY;;;CAGf,CAAC;AACX,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC"}
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7,11 +7,10 @@
7
7
  /**
8
8
  * Protocol modes supported by MSAL.
9
9
  */
10
- var ProtocolMode;
11
- (function (ProtocolMode) {
12
- ProtocolMode["AAD"] = "AAD";
13
- ProtocolMode["OIDC"] = "OIDC";
14
- })(ProtocolMode || (ProtocolMode = {}));
10
+ const ProtocolMode = {
11
+ AAD: "AAD",
12
+ OIDC: "OIDC",
13
+ };
15
14
 
16
15
  export { ProtocolMode };
17
16
  //# sourceMappingURL=ProtocolMode.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProtocolMode.js","sources":["../../src/authority/ProtocolMode.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAEH;;AAEG;IACS,aAGX;AAHD,CAAA,UAAY,YAAY,EAAA;AACpB,IAAA,YAAA,CAAA,KAAA,CAAA,GAAA,KAAW,CAAA;AACX,IAAA,YAAA,CAAA,MAAA,CAAA,GAAA,MAAa,CAAA;AACjB,CAAC,EAHW,YAAY,KAAZ,YAAY,GAGvB,EAAA,CAAA,CAAA;;;;"}
1
+ {"version":3,"file":"ProtocolMode.js","sources":["../../src/authority/ProtocolMode.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAEH;;AAEG;AACU,MAAA,YAAY,GAAG;AACxB,IAAA,GAAG,EAAE,KAAK;AACV,IAAA,IAAI,EAAE,MAAM;;;;;"}
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  import { Constants, ResponseCodes, RegionDiscoverySources } from '../utils/Constants.js';
4
4
  import { PerformanceEvents } from '../telemetry/performance/PerformanceEvent.js';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  import { Separators, CredentialType, AuthenticationScheme, THE_FAMILY_ID, APP_METADATA, AUTHORITY_METADATA_CONSTANTS } from '../utils/Constants.js';
4
4
  import { ScopeSet } from '../request/ScopeSet.js';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  import { CredentialEntity } from './CredentialEntity.js';
4
4
  import { CredentialType, AuthenticationScheme } from '../../utils/Constants.js';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  import { Separators, CacheAccountType, CacheType, Constants } from '../../utils/Constants.js';
4
4
  import { buildClientInfo } from '../../account/ClientInfo.js';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  import { Separators, APP_METADATA } from '../../utils/Constants.js';
4
4
 
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  import { AUTHORITY_METADATA_CONSTANTS } from '../../utils/Constants.js';
4
4
  import { TimeUtils } from '../../utils/TimeUtils.js';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  import { CredentialType, CacheType, Separators, Constants, AuthenticationScheme } from '../../utils/Constants.js';
4
4
  import { ClientAuthError } from '../../error/ClientAuthError.js';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  import { CredentialEntity } from './CredentialEntity.js';
4
4
  import { CredentialType } from '../../utils/Constants.js';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  import { CredentialEntity } from './CredentialEntity.js';
4
4
  import { CredentialType } from '../../utils/Constants.js';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  import { SERVER_TELEM_CONSTANTS } from '../../utils/Constants.js';
4
4
 
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  import { ThrottlingConstants } from '../../utils/Constants.js';
4
4
 
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  import { BaseClient } from './BaseClient.js';
4
4
  import { RequestParameterBuilder } from '../request/RequestParameterBuilder.js';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  import { buildClientConfiguration } from '../config/ClientConfiguration.js';
4
4
  import { NetworkManager } from '../network/NetworkManager.js';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  import { BaseClient } from './BaseClient.js';
4
4
  import { RequestParameterBuilder } from '../request/RequestParameterBuilder.js';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  import { BaseClient } from './BaseClient.js';
4
4
  import { AuthToken } from '../account/AuthToken.js';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  import { DEFAULT_CRYPTO_IMPLEMENTATION } from '../crypto/ICrypto.js';
4
4
  import { AuthError } from '../error/AuthError.js';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  import { AuthError } from '../error/AuthError.js';
4
4
 
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  import { JoseHeaderError } from '../error/JoseHeaderError.js';
4
4
  import { JsonTypes } from '../utils/Constants.js';
@@ -16,10 +16,11 @@ export type ReqCnfData = {
16
16
  reqCnfString: string;
17
17
  reqCnfHash: string;
18
18
  };
19
- declare enum KeyLocation {
20
- SW = "sw",
21
- UHW = "uhw"
22
- }
19
+ declare const KeyLocation: {
20
+ readonly SW: "sw";
21
+ readonly UHW: "uhw";
22
+ };
23
+ export type KeyLocation = typeof KeyLocation[keyof typeof KeyLocation];
23
24
  export declare class PopTokenGenerator {
24
25
  private cryptoUtils;
25
26
  private performanceClient?;
@@ -1 +1 @@
1
- {"version":3,"file":"PopTokenGenerator.d.ts","sourceRoot":"","sources":["../../src/crypto/PopTokenGenerator.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,OAAO,EAAE,2BAA2B,EAAE,MAAM,WAAW,CAAC;AAGjE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ACV,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,WAAW,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACrB,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,QAAA,MAAM,WAAW;;;CAGP,CAAC;AACX,MAAM,MAAM,WAAW,GAAG,OAAO,WAAW,CAAC,MAAM,OAAO,WAAW,CAAC,CAAC;AAEvE,qBAAa,iBAAiB;IAC1B,OAAO,CAAC,WAAW,CAAU;IAC7B,OAAO,CAAC,iBAAiB,CAAC,CAAqB;gBAEnC,WAAW,EAAE,OAAO,EAAE,iBAAiB,CAAC,EAAE,kBAAkB;IAKxE;;;;;OAKG;IACG,WAAW,CACb,OAAO,EAAE,2BAA2B,GACrC,OAAO,CAAC,UAAU,CAAC;IAsBtB;;;;OAIG;IACG,WAAW,CAAC,OAAO,EAAE,2BAA2B,GAAG,OAAO,CAAC,MAAM,CAAC;IAgBxE;;;;;OAKG;IACG,YAAY,CACd,WAAW,EAAE,MAAM,EACnB,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,2BAA2B,GACrC,OAAO,CAAC,MAAM,CAAC;IAIlB;;;;;;;OAOG;IACG,WAAW,CACb,OAAO,EAAE,MAAM,EACf,KAAK,EAAE,MAAM,EACb,OAAO,EAAE,2BAA2B,EACpC,MAAM,CAAC,EAAE,MAAM,GAChB,OAAO,CAAC,MAAM,CAAC;CA+BrB"}
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  import { TimeUtils } from '../utils/TimeUtils.js';
4
4
  import { UrlString } from '../url/UrlString.js';
@@ -8,11 +8,10 @@ import { PerformanceEvents } from '../telemetry/performance/PerformanceEvent.js'
8
8
  * Copyright (c) Microsoft Corporation. All rights reserved.
9
9
  * Licensed under the MIT License.
10
10
  */
11
- var KeyLocation;
12
- (function (KeyLocation) {
13
- KeyLocation["SW"] = "sw";
14
- KeyLocation["UHW"] = "uhw";
15
- })(KeyLocation || (KeyLocation = {}));
11
+ const KeyLocation = {
12
+ SW: "sw",
13
+ UHW: "uhw",
14
+ };
16
15
  class PopTokenGenerator {
17
16
  constructor(cryptoUtils, performanceClient) {
18
17
  this.cryptoUtils = cryptoUtils;
@@ -1 +1 @@
1
- {"version":3,"file":"PopTokenGenerator.js","sources":["../../src/crypto/PopTokenGenerator.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;AAAA;;;AAGG;AA0BH,IAAK,WAGJ,CAAA;AAHD,CAAA,UAAK,WAAW,EAAA;AACZ,IAAA,WAAA,CAAA,IAAA,CAAA,GAAA,IAAS,CAAA;AACT,IAAA,WAAA,CAAA,KAAA,CAAA,GAAA,KAAW,CAAA;AACf,CAAC,EAHI,WAAW,KAAX,WAAW,GAGf,EAAA,CAAA,CAAA,CAAA;MAEY,iBAAiB,CAAA;IAI1B,WAAY,CAAA,WAAoB,EAAE,iBAAsC,EAAA;AACpE,QAAA,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;AAC/B,QAAA,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;KAC9C;AAED;;;;;AAKG;IACH,MAAM,WAAW,CACb,OAAoC,EAAA;AAEpC,QAAA,IAAI,CAAC,iBAAiB,EAAE,mBAAmB,CACvC,iBAAiB,CAAC,mBAAmB,EACrC,OAAO,CAAC,aAAa,CACxB,CAAC;AAEF,QAAA,IAAI,CAAC,iBAAiB,EAAE,eAAe,CACnC,iBAAiB,CAAC,mBAAmB,EACrC,OAAO,CAAC,aAAa,CACxB,CAAC;QACF,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;AAC/C,QAAA,MAAM,YAAY,GAAW,IAAI,CAAC,WAAW,CAAC,YAAY,CACtD,IAAI,CAAC,SAA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E,QAAQ,IAAI,IAAI,CAAC,WAAW,CAAC,aAAa,EAAE;YACnD,CAAC,EAAE,qBAAqB,EAAE,YAAY;YACtC,CAAC,EAAE,qBAAqB,EAAE,WAAW;AACjC,kBAAE,CAAC,EAAE,EAAE,qBAAqB,CAAC,WAAW,CAAC;AACzC,kBAAE,SAAS;YACf,aAAa,EAAE,SAAS,IAAI,SAAS;AACrC,YAAA,GAAG,MAAM;AACZ,SAAA,EACD,KAAK,EACL,OAAO,CAAC,aAAa,CACxB,CAAC;KACL;AACJ;;;;"}
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  import { Constants } from '../utils/Constants.js';
4
4
 
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-common v14.0.0-alpha.2 2023-05-17 */
1
+ /*! @azure/msal-common v14.0.0-beta.0 2023-06-19 */
2
2
  'use strict';
3
3
  import { AuthError } from './AuthError.js';
4
4
 
@@ -95,6 +95,10 @@ export declare const ClientConfigurationErrorMessage: {
95
95
  code: string;
96
96
  desc: string;
97
97
  };
98
+ authorityMismatch: {
99
+ code: string;
100
+ desc: string;
101
+ };
98
102
  };
99
103
  /**
100
104
  * Error thrown when there is an error in configuration of the MSAL.js library.
@@ -195,5 +199,9 @@ export declare class ClientConfigurationError extends ClientAuthError {
195
199
  * Throws error when a provided header is invalid in any way
196
200
  */
197
201
  static createInvalidAuthenticationHeaderError(invalidHeaderName: string, details: string): ClientConfigurationError;
202
+ /**
203
+ * Create an error when the authority provided in request does not match authority provided in account or MSAL.js configuration.
204
+ */
205
+ static createAuthorityMismatchError(): ClientConfigurationError;
198
206
  }
199
207
  //# sourceMappingURL=ClientConfigurationError.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ClientConfigurationError.d.ts","sourceRoot":"","sources":["../../src/error/ClientConfigurationError.ts"],"names":[],"mappings":"AAKA,OAAO,EA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
  import { ClientAuthError } from './ClientAuthError.js';
4
4
 
@@ -100,8 +100,12 @@ const ClientConfigurationErrorMessage = {
100
100
  },
101
101
  invalidAuthenticationHeader: {
102
102
  code: "invalid_authentication_header",
103
- desc: "Invalid authentication header provided",
103
+ desc: "Invalid authentication header provided"
104
104
  },
105
+ authorityMismatch: {
106
+ code: "authority_mismatch",
107
+ desc: "Authority mismatch error. Authority provided in login request or PublicClientApplication config does not match the environment of the provided account. Please use a matching account or make an interactive request to login to this authority."
108
+ }
105
109
  };
106
110
  /**
107
111
  * Error thrown when there is an error in configuration of the MSAL.js library.
@@ -250,6 +254,12 @@ class ClientConfigurationError extends ClientAuthError {
250
254
  static createInvalidAuthenticationHeaderError(invalidHeaderName, details) {
251
255
  return new ClientConfigurationError(ClientConfigurationErrorMessage.invalidAuthenticationHeader.code, `${ClientConfigurationErrorMessage.invalidAuthenticationHeader.desc}. Invalid header: ${invalidHeaderName}. Details: ${details}`);
252
256
  }
257
+ /**
258
+ * Create an error when the authority provided in request does not match authority provided in account or MSAL.js configuration.
259
+ */
260
+ static createAuthorityMismatchError() {
261
+ return new ClientConfigurationError(ClientConfigurationErrorMessage.authorityMismatch.code, ClientConfigurationErrorMessage.authorityMismatch.desc);
262
+ }
253
263
  }
254
264
 
255
265
  export { ClientConfigurationError, ClientConfigurationErrorMessage };