@azure/msal-node-extensions 1.0.21 → 1.2.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 (120) hide show
  1. package/bin/arm64/dpapi.node +0 -0
  2. package/bin/ia32/dpapi.node +0 -0
  3. package/bin/x64/dpapi.node +0 -0
  4. package/dist/Dpapi.mjs +1 -1
  5. package/dist/broker/NativeBrokerPlugin.d.ts +2 -2
  6. package/dist/broker/NativeBrokerPlugin.mjs +26 -7
  7. package/dist/broker/NativeBrokerPlugin.mjs.map +1 -1
  8. package/dist/error/NativeAuthError.d.ts +1 -1
  9. package/dist/error/NativeAuthError.mjs +2 -2
  10. package/dist/error/PersistenceError.mjs +1 -1
  11. package/dist/index.d.ts +12 -12
  12. package/dist/index.mjs +1 -1
  13. package/dist/lib/msal-common/dist/constants/AADServerParamKeys.mjs +7 -0
  14. package/dist/lib/msal-common/dist/constants/AADServerParamKeys.mjs.map +1 -0
  15. package/dist/lib/msal-common/dist/error/AuthError.mjs +27 -0
  16. package/dist/lib/msal-common/dist/error/AuthError.mjs.map +1 -0
  17. package/dist/lib/msal-common/dist/error/ClientAuthError.mjs +81 -0
  18. package/dist/lib/msal-common/dist/error/ClientAuthError.mjs.map +1 -0
  19. package/dist/lib/msal-common/dist/error/ClientAuthErrorCodes.mjs +54 -0
  20. package/dist/lib/msal-common/dist/error/ClientAuthErrorCodes.mjs.map +1 -0
  21. package/dist/lib/msal-common/dist/error/ClientConfigurationError.mjs +51 -0
  22. package/dist/lib/msal-common/dist/error/ClientConfigurationError.mjs.map +1 -0
  23. package/dist/lib/msal-common/dist/error/ClientConfigurationErrorCodes.mjs +32 -0
  24. package/dist/lib/msal-common/dist/error/ClientConfigurationErrorCodes.mjs.map +1 -0
  25. package/dist/lib/msal-common/dist/error/InteractionRequiredAuthError.mjs +24 -0
  26. package/dist/lib/msal-common/dist/error/InteractionRequiredAuthError.mjs.map +1 -0
  27. package/dist/lib/msal-common/dist/error/ServerError.mjs +25 -0
  28. package/dist/lib/msal-common/dist/error/ServerError.mjs.map +1 -0
  29. package/dist/lib/msal-common/dist/logger/Logger.mjs +197 -0
  30. package/dist/lib/msal-common/dist/logger/Logger.mjs.map +1 -0
  31. package/dist/lib/msal-common/dist/telemetry/server/ServerTelemetryManager.mjs +270 -0
  32. package/dist/lib/msal-common/dist/telemetry/server/ServerTelemetryManager.mjs.map +1 -0
  33. package/dist/lib/msal-common/dist/utils/Constants.mjs +124 -0
  34. package/dist/lib/msal-common/dist/utils/Constants.mjs.map +1 -0
  35. package/dist/lock/CrossPlatformLock.d.ts +2 -2
  36. package/dist/lock/CrossPlatformLock.mjs +1 -1
  37. package/dist/packageMetadata.d.ts +1 -1
  38. package/dist/packageMetadata.mjs +2 -2
  39. package/dist/persistence/BasePersistence.d.ts +1 -1
  40. package/dist/persistence/BasePersistence.mjs +1 -1
  41. package/dist/persistence/DataProtectionScope.mjs +1 -1
  42. package/dist/persistence/FilePersistence.d.ts +3 -3
  43. package/dist/persistence/FilePersistence.mjs +2 -2
  44. package/dist/persistence/FilePersistenceWithDataProtection.d.ts +4 -4
  45. package/dist/persistence/FilePersistenceWithDataProtection.mjs +1 -1
  46. package/dist/persistence/IPersistence.d.ts +1 -1
  47. package/dist/persistence/IPersistenceConfiguration.d.ts +2 -2
  48. package/dist/persistence/KeychainPersistence.d.ts +3 -3
  49. package/dist/persistence/KeychainPersistence.mjs +1 -1
  50. package/dist/persistence/LibSecretPersistence.d.ts +3 -3
  51. package/dist/persistence/LibSecretPersistence.mjs +1 -1
  52. package/dist/persistence/PersistenceCachePlugin.d.ts +3 -3
  53. package/dist/persistence/PersistenceCachePlugin.mjs +1 -1
  54. package/dist/persistence/PersistenceCachePlugin.mjs.map +1 -1
  55. package/dist/persistence/PersistenceCreator.d.ts +2 -2
  56. package/dist/persistence/PersistenceCreator.mjs +1 -1
  57. package/dist/utils/Constants.mjs +1 -1
  58. package/dist/utils/Environment.mjs +1 -1
  59. package/dist/utils/TypeGuards.d.ts +1 -1
  60. package/dist/utils/TypeGuards.mjs +1 -1
  61. package/lib/msal-node-extensions.cjs +2230 -0
  62. package/lib/msal-node-extensions.cjs.map +1 -0
  63. package/lib/package.json +1 -0
  64. package/lib/types/Dpapi.d.ts +6 -0
  65. package/lib/types/broker/NativeBrokerPlugin.d.ts +20 -0
  66. package/lib/types/error/NativeAuthError.d.ts +6 -0
  67. package/lib/types/error/PersistenceError.d.ts +57 -0
  68. package/lib/types/index.d.ts +12 -0
  69. package/lib/types/lock/CrossPlatformLock.d.ts +24 -0
  70. package/lib/types/lock/CrossPlatformLockOptions.d.ts +10 -0
  71. package/lib/types/packageMetadata.d.ts +2 -0
  72. package/lib/types/persistence/BasePersistence.d.ts +5 -0
  73. package/{dist/persistence/DataProtectionScope.cjs → lib/types/persistence/DataProtectionScope.d.ts} +5 -15
  74. package/lib/types/persistence/FilePersistence.d.ts +29 -0
  75. package/lib/types/persistence/FilePersistenceWithDataProtection.d.ts +24 -0
  76. package/lib/types/persistence/IPersistence.d.ts +11 -0
  77. package/lib/types/persistence/IPersistenceConfiguration.d.ts +10 -0
  78. package/lib/types/persistence/KeychainPersistence.d.ts +23 -0
  79. package/lib/types/persistence/LibSecretPersistence.d.ts +24 -0
  80. package/lib/types/persistence/PersistenceCachePlugin.d.ts +38 -0
  81. package/lib/types/persistence/PersistenceCreator.d.ts +5 -0
  82. package/lib/types/utils/Constants.d.ts +54 -0
  83. package/lib/types/utils/Environment.d.ts +16 -0
  84. package/lib/types/utils/TypeGuards.d.ts +5 -0
  85. package/package.json +16 -9
  86. package/dist/Dpapi.cjs +0 -31
  87. package/dist/Dpapi.cjs.map +0 -1
  88. package/dist/broker/NativeBrokerPlugin.cjs +0 -416
  89. package/dist/broker/NativeBrokerPlugin.cjs.map +0 -1
  90. package/dist/error/NativeAuthError.cjs +0 -22
  91. package/dist/error/NativeAuthError.cjs.map +0 -1
  92. package/dist/error/PersistenceError.cjs +0 -93
  93. package/dist/error/PersistenceError.cjs.map +0 -1
  94. package/dist/index.cjs +0 -26
  95. package/dist/index.cjs.map +0 -1
  96. package/dist/lock/CrossPlatformLock.cjs +0 -97
  97. package/dist/lock/CrossPlatformLock.cjs.map +0 -1
  98. package/dist/packageMetadata.cjs +0 -11
  99. package/dist/packageMetadata.cjs.map +0 -1
  100. package/dist/persistence/BasePersistence.cjs +0 -38
  101. package/dist/persistence/BasePersistence.cjs.map +0 -1
  102. package/dist/persistence/DataProtectionScope.cjs.map +0 -1
  103. package/dist/persistence/FilePersistence.cjs +0 -175
  104. package/dist/persistence/FilePersistence.cjs.map +0 -1
  105. package/dist/persistence/FilePersistenceWithDataProtection.cjs +0 -92
  106. package/dist/persistence/FilePersistenceWithDataProtection.cjs.map +0 -1
  107. package/dist/persistence/KeychainPersistence.cjs +0 -92
  108. package/dist/persistence/KeychainPersistence.cjs.map +0 -1
  109. package/dist/persistence/LibSecretPersistence.cjs +0 -93
  110. package/dist/persistence/LibSecretPersistence.cjs.map +0 -1
  111. package/dist/persistence/PersistenceCachePlugin.cjs +0 -101
  112. package/dist/persistence/PersistenceCachePlugin.cjs.map +0 -1
  113. package/dist/persistence/PersistenceCreator.cjs +0 -70
  114. package/dist/persistence/PersistenceCreator.cjs.map +0 -1
  115. package/dist/utils/Constants.cjs +0 -66
  116. package/dist/utils/Constants.cjs.map +0 -1
  117. package/dist/utils/Environment.cjs +0 -96
  118. package/dist/utils/Environment.cjs.map +0 -1
  119. package/dist/utils/TypeGuards.cjs +0 -17
  120. package/dist/utils/TypeGuards.cjs.map +0 -1
Binary file
Binary file
Binary file
package/dist/Dpapi.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node-extensions v1.0.21 2024-07-16 */
1
+ /*! @azure/msal-node-extensions v1.2.0 2024-09-20 */
2
2
  'use strict';
3
3
  import { createRequire } from 'module';
4
4
 
@@ -1,5 +1,5 @@
1
- /// <reference types="node" />
2
- import { AccountInfo, AuthenticationResult, INativeBrokerPlugin, LoggerOptions, NativeRequest, NativeSignOutRequest } from "@azure/msal-common";
1
+ /// <reference types="node" resolution-mode="require"/>
2
+ import { AccountInfo, AuthenticationResult, INativeBrokerPlugin, LoggerOptions, NativeRequest, NativeSignOutRequest } from "@azure/msal-common/node";
3
3
  export declare class NativeBrokerPlugin implements INativeBrokerPlugin {
4
4
  private logger;
5
5
  isBrokerAvailable: boolean;
@@ -1,10 +1,19 @@
1
- /*! @azure/msal-node-extensions v1.0.21 2024-07-16 */
1
+ /*! @azure/msal-node-extensions v1.2.0 2024-09-20 */
2
2
  'use strict';
3
- import { Logger, Constants, PromptValue, createClientAuthError, ClientAuthErrorCodes, AuthenticationScheme, createClientConfigurationError, ClientConfigurationErrorCodes, ServerError, InteractionRequiredAuthError } from '@azure/msal-common';
4
3
  import { msalNodeRuntime, ErrorStatus, LogLevel } from '@azure/msal-node-runtime';
5
4
  import { ErrorCodes } from '../utils/Constants.mjs';
6
5
  import { NativeAuthError } from '../error/NativeAuthError.mjs';
7
6
  import { name, version } from '../packageMetadata.mjs';
7
+ import { Logger } from '../lib/msal-common/dist/logger/Logger.mjs';
8
+ import { Constants, PromptValue, AuthenticationScheme } from '../lib/msal-common/dist/utils/Constants.mjs';
9
+ import { createClientAuthError } from '../lib/msal-common/dist/error/ClientAuthError.mjs';
10
+ import { ServerTelemetryManager } from '../lib/msal-common/dist/telemetry/server/ServerTelemetryManager.mjs';
11
+ import { createClientConfigurationError } from '../lib/msal-common/dist/error/ClientConfigurationError.mjs';
12
+ import { ServerError } from '../lib/msal-common/dist/error/ServerError.mjs';
13
+ import { InteractionRequiredAuthError } from '../lib/msal-common/dist/error/InteractionRequiredAuthError.mjs';
14
+ import { X_CLIENT_EXTRA_SKU } from '../lib/msal-common/dist/constants/AADServerParamKeys.mjs';
15
+ import { noAccountFound, userCanceled, noNetworkConnectivity } from '../lib/msal-common/dist/error/ClientAuthErrorCodes.mjs';
16
+ import { untrustedAuthority } from '../lib/msal-common/dist/error/ClientConfigurationErrorCodes.mjs';
8
17
 
9
18
  /*
10
19
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -228,7 +237,7 @@ class NativeBrokerPlugin {
228
237
  this.logger.trace("NativeBrokerPlugin - signOut called", request.correlationId);
229
238
  const account = await this.getAccount(request);
230
239
  if (!account) {
231
- throw createClientAuthError(ClientAuthErrorCodes.noAccountFound);
240
+ throw createClientAuthError(noAccountFound);
232
241
  }
233
242
  return new Promise((resolve, reject) => {
234
243
  const resultCallback = (result) => {
@@ -313,6 +322,16 @@ class NativeBrokerPlugin {
313
322
  authParams.SetAdditionalParameter(key, value);
314
323
  });
315
324
  }
325
+ const skus = request.extraParameters &&
326
+ request.extraParameters[X_CLIENT_EXTRA_SKU]
327
+ ?.length
328
+ ? request.extraParameters[X_CLIENT_EXTRA_SKU]
329
+ : "";
330
+ authParams.SetAdditionalParameter(X_CLIENT_EXTRA_SKU, ServerTelemetryManager.makeExtraSkuString({
331
+ skus,
332
+ extensionName: "msal.node.ext",
333
+ extensionVersion: version,
334
+ }));
316
335
  }
317
336
  catch (e) {
318
337
  const wrappedError = this.wrapError(e);
@@ -390,18 +409,18 @@ class NativeBrokerPlugin {
390
409
  return new InteractionRequiredAuthError(ErrorCodes.INTERATION_REQUIRED_ERROR_CODE, errorContext);
391
410
  case ErrorStatus.NoNetwork:
392
411
  case ErrorStatus.NetworkTemporarilyUnavailable:
393
- return createClientAuthError(ClientAuthErrorCodes.noNetworkConnectivity);
412
+ return createClientAuthError(noNetworkConnectivity);
394
413
  case ErrorStatus.ServerTemporarilyUnavailable:
395
414
  return new ServerError(ErrorCodes.SERVER_UNAVAILABLE, errorContext);
396
415
  case ErrorStatus.UserCanceled:
397
- return createClientAuthError(ClientAuthErrorCodes.userCanceled);
416
+ return createClientAuthError(userCanceled);
398
417
  case ErrorStatus.AuthorityUntrusted:
399
- return createClientConfigurationError(ClientConfigurationErrorCodes.untrustedAuthority);
418
+ return createClientConfigurationError(untrustedAuthority);
400
419
  case ErrorStatus.UserSwitched:
401
420
  // Not an error case, if there's customer demand we can surface this as a response property
402
421
  return null;
403
422
  case ErrorStatus.AccountNotFound:
404
- return createClientAuthError(ClientAuthErrorCodes.noAccountFound);
423
+ return createClientAuthError(noAccountFound);
405
424
  default:
406
425
  return new NativeAuthError(ErrorStatus[errorStatus], errorContext, errorCode, errorTag);
407
426
  }
@@ -1 +1 @@
1
- {"version":3,"file":"NativeBrokerPlugin.mjs","sources":["../../src/broker/NativeBrokerPlugin.ts"],"sourcesContent":[null],"names":["MsalRuntimeLogLevel"],"mappings":";;;;;;;;AAAA;;;AAGG;MAqCU,kBAAkB,CAAA;AAI3B,IAAA,WAAA,GAAA;AACI,QAAA,MAAM,oBAAoB,GAAkB;YACxC,cAAc,EAAE,MAAW;;aAE1B;AACD,YAAA,iBAAiB,EAAE,KAAK;SAC3B,CAAC;AACF,QAAA,IAAI,CAAC,MAAM,GAAG,IAAI,MAAM,CAAC,oBAAoB,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;AAC9D,QAAA,IAAI,CAAC,iBAAiB,GAAG,eAAe,CAAC,YAAY,GAAG,KAAK,GAAG,IAAI,CAAC;KACxE;AAED,IAAA,SAAS,CAAC,aAA4B,EAAA;AAClC,QAAA,IAAI,CAAC,MAAM,GAAG,IAAI,MAAM,CAAC,aAAa,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;QACvD,MAAM,WAAW,GAAG,CAChB,OAAe,EACf,QAA6B,EAC7B,WAAoB,KACpB;AACA,YAAA,QAAQ,QAAQ;gBACZ,KAAKA,QAAmB,CAAC,KAAK;AAC1B,oBAAA,IAAI,WAAW,EAAE;AACb,wBAAA,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;AACjC,qBAAA;AAAM,yBAAA;AACH,wBAAA,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;AAC9B,qBAAA;oBACD,MAAM;gBACV,KAAKA,QAAmB,CAAC,KAAK;AAC1B,oBAAA,IAAI,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B,CAC7C,CAAC;gBACN,KAAK,WAAW,CAAC,4BAA4B;oBACzC,OAAO,IAAI,WAAW,CAClB,UAAU,CAAC,kBAAkB,EAC7B,YAAY,CACf,CAAC;gBACN,KAAK,WAAW,CAAC,YAAY;AACzB,oBAAA,OAAO,qBAAqB,CACxB,oBAAoB,CAAC,YAAY,CACpC,CAAC;gBACN,KAAK,WAAW,CAAC,kBAAkB;AAC/B,oBAAA,OAAO,8BAA8B,CACjC,6BAA6B,CAAC,kBAAkB,CACnD,CAAC;gBACN,KAAK,WAAW,CAAC,YAAY;;AAEzB,oBAAA,OAAO,IAAI,CAAC;gBAChB,KAAK,WAAW,CAAC,eAAe;AAC5B,oBAAA,OAAO,qBAAqB,CACxB,oBAAoB,CAAC,cAAc,CACtC,CAAC;AACN,gBAAA;AACI,oBAAA,OAAO,IAAI,eAAe,CACtB,WAAW,CAAC,WAAW,CAAC,EACxB,YAAY,EACZ,SAAS,EACT,QAAQ,CACX,CAAC;AACT,aAAA;AACJ,SAAA;AACD,QAAA,MAAM,KAAK,CAAC;KACf;AACJ;;;;"}
1
+ {"version":3,"file":"NativeBrokerPlugin.mjs","sources":["../../src/broker/NativeBrokerPlugin.ts"],"sourcesContent":[null],"names":["MsalRuntimeLogLevel","ClientAuthErrorCodes.noAccountFound","AADServerParamKeys.X_CLIENT_EXTRA_SKU","ClientAuthErrorCodes.noNetworkConnectivity","ClientAuthErrorCodes.userCanceled","ClientConfigurationErrorCodes.untrustedAuthority"],"mappings":";;;;;;;;;;;;;;;;;AAAA;;;AAGG;MAuCU,kBAAkB,CAAA;AAI3B,IAAA,WAAA,GAAA;AACI,QAAA,MAAM,oBAAoB,GAAkB;YACxC,cAAc,EAAE,MAAW;;aAE1B;AACD,YAAA,iBAAiB,EAAE,KAAK;SAC3B,CAAC;AACF,QAAA,IAAI,CAAC,MAAM,GAAG,IAAI,MAAM,CAAC,oBAAoB,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;AAC9D,QAAA,IAAI,C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ACnD,CAAC;gBACN,KAAK,WAAW,CAAC,YAAY;;AAEzB,oBAAA,OAAO,IAAI,CAAC;gBAChB,KAAK,WAAW,CAAC,eAAe;AAC5B,oBAAA,OAAO,qBAAqB,CACxBJ,cAAmC,CACtC,CAAC;AACN,gBAAA;AACI,oBAAA,OAAO,IAAI,eAAe,CACtB,WAAW,CAAC,WAAW,CAAC,EACxB,YAAY,EACZ,SAAS,EACT,QAAQ,CACX,CAAC;AACT,aAAA;AACJ,SAAA;AACD,QAAA,MAAM,KAAK,CAAC;KACf;AACJ;;;;"}
@@ -1,4 +1,4 @@
1
- import { AuthError } from "@azure/msal-common";
1
+ import { AuthError } from "@azure/msal-common/node";
2
2
  export declare class NativeAuthError extends AuthError {
3
3
  statusCode: number;
4
4
  tag: number;
@@ -1,6 +1,6 @@
1
- /*! @azure/msal-node-extensions v1.0.21 2024-07-16 */
1
+ /*! @azure/msal-node-extensions v1.2.0 2024-09-20 */
2
2
  'use strict';
3
- import { AuthError } from '@azure/msal-common';
3
+ import { AuthError } from '../lib/msal-common/dist/error/AuthError.mjs';
4
4
 
5
5
  /*
6
6
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node-extensions v1.0.21 2024-07-16 */
1
+ /*! @azure/msal-node-extensions v1.2.0 2024-09-20 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
package/dist/index.d.ts CHANGED
@@ -1,12 +1,12 @@
1
- export { PersistenceCachePlugin } from "./persistence/PersistenceCachePlugin";
2
- export { FilePersistence } from "./persistence/FilePersistence";
3
- export { FilePersistenceWithDataProtection } from "./persistence/FilePersistenceWithDataProtection";
4
- export { DataProtectionScope } from "./persistence/DataProtectionScope";
5
- export { KeychainPersistence } from "./persistence/KeychainPersistence";
6
- export { LibSecretPersistence } from "./persistence/LibSecretPersistence";
7
- export { IPersistence } from "./persistence/IPersistence";
8
- export { CrossPlatformLockOptions } from "./lock/CrossPlatformLockOptions";
9
- export { PersistenceCreator } from "./persistence/PersistenceCreator";
10
- export { IPersistenceConfiguration } from "./persistence/IPersistenceConfiguration";
11
- export { Environment } from "./utils/Environment";
12
- export { NativeBrokerPlugin } from "./broker/NativeBrokerPlugin";
1
+ export { PersistenceCachePlugin } from "./persistence/PersistenceCachePlugin.js";
2
+ export { FilePersistence } from "./persistence/FilePersistence.js";
3
+ export { FilePersistenceWithDataProtection } from "./persistence/FilePersistenceWithDataProtection.js";
4
+ export { DataProtectionScope } from "./persistence/DataProtectionScope.js";
5
+ export { KeychainPersistence } from "./persistence/KeychainPersistence.js";
6
+ export { LibSecretPersistence } from "./persistence/LibSecretPersistence.js";
7
+ export { IPersistence } from "./persistence/IPersistence.js";
8
+ export { CrossPlatformLockOptions } from "./lock/CrossPlatformLockOptions.js";
9
+ export { PersistenceCreator } from "./persistence/PersistenceCreator.js";
10
+ export { IPersistenceConfiguration } from "./persistence/IPersistenceConfiguration.js";
11
+ export { Environment } from "./utils/Environment.js";
12
+ export { NativeBrokerPlugin } from "./broker/NativeBrokerPlugin.js";
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node-extensions v1.0.21 2024-07-16 */
1
+ /*! @azure/msal-node-extensions v1.2.0 2024-09-20 */
2
2
  'use strict';
3
3
  export { PersistenceCachePlugin } from './persistence/PersistenceCachePlugin.mjs';
4
4
  export { FilePersistence } from './persistence/FilePersistence.mjs';
@@ -0,0 +1,7 @@
1
+ /*! @azure/msal-node-extensions v1.2.0 2024-09-20 */
2
+ 'use strict';
3
+ /*! @azure/msal-common v14.15.0 2024-09-20 */
4
+ const X_CLIENT_EXTRA_SKU = "x-client-xtra-sku";
5
+
6
+ export { X_CLIENT_EXTRA_SKU };
7
+ //# sourceMappingURL=AADServerParamKeys.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AADServerParamKeys.mjs","sources":["../../../../../../../lib/msal-common/dist/constants/AADServerParamKeys.mjs"],"sourcesContent":["/*! @azure/msal-common v14.15.0 2024-09-20 */\n'use strict';\n/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License.\r\n */\r\nconst CLIENT_ID = \"client_id\";\r\nconst REDIRECT_URI = \"redirect_uri\";\r\nconst RESPONSE_TYPE = \"response_type\";\r\nconst RESPONSE_MODE = \"response_mode\";\r\nconst GRANT_TYPE = \"grant_type\";\r\nconst CLAIMS = \"claims\";\r\nconst SCOPE = \"scope\";\r\nconst ERROR = \"error\";\r\nconst ERROR_DESCRIPTION = \"error_description\";\r\nconst ACCESS_TOKEN = \"access_token\";\r\nconst ID_TOKEN = \"id_token\";\r\nconst REFRESH_TOKEN = \"refresh_token\";\r\nconst EXPIRES_IN = \"expires_in\";\r\nconst REFRESH_TOKEN_EXPIRES_IN = \"refresh_token_expires_in\";\r\nconst STATE = \"state\";\r\nconst NONCE = \"nonce\";\r\nconst PROMPT = \"prompt\";\r\nconst SESSION_STATE = \"session_state\";\r\nconst CLIENT_INFO = \"client_info\";\r\nconst CODE = \"code\";\r\nconst CODE_CHALLENGE = \"code_challenge\";\r\nconst CODE_CHALLENGE_METHOD = \"code_challenge_method\";\r\nconst CODE_VERIFIER = \"code_verifier\";\r\nconst CLIENT_REQUEST_ID = \"client-request-id\";\r\nconst X_CLIENT_SKU = \"x-client-SKU\";\r\nconst X_CLIENT_VER = \"x-client-VER\";\r\nconst X_CLIENT_OS = \"x-client-OS\";\r\nconst X_CLIENT_CPU = \"x-client-CPU\";\r\nconst X_CLIENT_CURR_TELEM = \"x-client-current-telemetry\";\r\nconst X_CLIENT_LAST_TELEM = \"x-client-last-telemetry\";\r\nconst X_MS_LIB_CAPABILITY = \"x-ms-lib-capability\";\r\nconst X_APP_NAME = \"x-app-name\";\r\nconst X_APP_VER = \"x-app-ver\";\r\nconst POST_LOGOUT_URI = \"post_logout_redirect_uri\";\r\nconst ID_TOKEN_HINT = \"id_token_hint\";\r\nconst DEVICE_CODE = \"device_code\";\r\nconst CLIENT_SECRET = \"client_secret\";\r\nconst CLIENT_ASSERTION = \"client_assertion\";\r\nconst CLIENT_ASSERTION_TYPE = \"client_assertion_type\";\r\nconst TOKEN_TYPE = \"token_type\";\r\nconst REQ_CNF = \"req_cnf\";\r\nconst OBO_ASSERTION = \"assertion\";\r\nconst REQUESTED_TOKEN_USE = \"requested_token_use\";\r\nconst ON_BEHALF_OF = \"on_behalf_of\";\r\nconst FOCI = \"foci\";\r\nconst CCS_HEADER = \"X-AnchorMailbox\";\r\nconst RETURN_SPA_CODE = \"return_spa_code\";\r\nconst NATIVE_BROKER = \"nativebroker\";\r\nconst LOGOUT_HINT = \"logout_hint\";\r\nconst SID = \"sid\";\r\nconst LOGIN_HINT = \"login_hint\";\r\nconst DOMAIN_HINT = \"domain_hint\";\r\nconst X_CLIENT_EXTRA_SKU = \"x-client-xtra-sku\";\n\nexport { ACCESS_TOKEN, CCS_HEADER, CLAIMS, CLIENT_ASSERTION, CLIENT_ASSERTION_TYPE, CLIENT_ID, CLIENT_INFO, CLIENT_REQUEST_ID, CLIENT_SECRET, CODE, CODE_CHALLENGE, CODE_CHALLENGE_METHOD, CODE_VERIFIER, DEVICE_CODE, DOMAIN_HINT, ERROR, ERROR_DESCRIPTION, EXPIRES_IN, FOCI, GRANT_TYPE, ID_TOKEN, ID_TOKEN_HINT, LOGIN_HINT, LOGOUT_HINT, NATIVE_BROKER, NONCE, OBO_ASSERTION, ON_BEHALF_OF, POST_LOGOUT_URI, PROMPT, REDIRECT_URI, REFRESH_TOKEN, REFRESH_TOKEN_EXPIRES_IN, REQUESTED_TOKEN_USE, REQ_CNF, RESPONSE_MODE, RESPONSE_TYPE, RETURN_SPA_CODE, SCOPE, SESSION_STATE, SID, STATE, TOKEN_TYPE, X_APP_NAME, X_APP_VER, X_CLIENT_CPU, X_CLIENT_CURR_TELEM, X_CLIENT_EXTRA_SKU, X_CLIENT_LAST_TELEM, X_CLIENT_OS, X_CLIENT_SKU, X_CLIENT_VER, X_MS_LIB_CAPABILITY };\n//# sourceMappingURL=AADServerParamKeys.mjs.map\n"],"names":[],"mappings":";;AAAA;AA0DK,MAAC,kBAAkB,GAAG;;;;"}
@@ -0,0 +1,27 @@
1
+ /*! @azure/msal-node-extensions v1.2.0 2024-09-20 */
2
+ 'use strict';
3
+ import { Constants } from '../utils/Constants.mjs';
4
+
5
+ /*! @azure/msal-common v14.15.0 2024-09-20 */
6
+ /**
7
+ * General error class thrown by the MSAL.js library.
8
+ */
9
+ class AuthError extends Error {
10
+ constructor(errorCode, errorMessage, suberror) {
11
+ const errorString = errorMessage
12
+ ? `${errorCode}: ${errorMessage}`
13
+ : errorCode;
14
+ super(errorString);
15
+ Object.setPrototypeOf(this, AuthError.prototype);
16
+ this.errorCode = errorCode || Constants.EMPTY_STRING;
17
+ this.errorMessage = errorMessage || Constants.EMPTY_STRING;
18
+ this.subError = suberror || Constants.EMPTY_STRING;
19
+ this.name = "AuthError";
20
+ }
21
+ setCorrelationId(correlationId) {
22
+ this.correlationId = correlationId;
23
+ }
24
+ }
25
+
26
+ export { AuthError };
27
+ //# sourceMappingURL=AuthError.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AuthError.mjs","sources":["../../../../../../../lib/msal-common/dist/error/AuthError.mjs"],"sourcesContent":["/*! @azure/msal-common v14.15.0 2024-09-20 */\n'use strict';\nimport { Constants } from '../utils/Constants.mjs';\nimport { unexpectedError, postRequestFailed } from './AuthErrorCodes.mjs';\nimport * as AuthErrorCodes from './AuthErrorCodes.mjs';\nexport { AuthErrorCodes };\n\n/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License.\r\n */\r\nconst AuthErrorMessages = {\r\n [unexpectedError]: \"Unexpected error in authentication.\",\r\n [postRequestFailed]: \"Post request failed from the network, could be a 4xx/5xx or a network unavailability. Please check the exact error code for details.\",\r\n};\r\n/**\r\n * AuthErrorMessage class containing string constants used by error codes and messages.\r\n * @deprecated Use AuthErrorCodes instead\r\n */\r\nconst AuthErrorMessage = {\r\n unexpectedError: {\r\n code: unexpectedError,\r\n desc: AuthErrorMessages[unexpectedError],\r\n },\r\n postRequestFailed: {\r\n code: postRequestFailed,\r\n desc: AuthErrorMessages[postRequestFailed],\r\n },\r\n};\r\n/**\r\n * General error class thrown by the MSAL.js library.\r\n */\r\nclass AuthError extends Error {\r\n constructor(errorCode, errorMessage, suberror) {\r\n const errorString = errorMessage\r\n ? `${errorCode}: ${errorMessage}`\r\n : errorCode;\r\n super(errorString);\r\n Object.setPrototypeOf(this, AuthError.prototype);\r\n this.errorCode = errorCode || Constants.EMPTY_STRING;\r\n this.errorMessage = errorMessage || Constants.EMPTY_STRING;\r\n this.subError = suberror || Constants.EMPTY_STRING;\r\n this.name = \"AuthError\";\r\n }\r\n setCorrelationId(correlationId) {\r\n this.correlationId = correlationId;\r\n }\r\n}\r\nfunction createAuthError(code, additionalMessage) {\r\n return new AuthError(code, additionalMessage\r\n ? `${AuthErrorMessages[code]} ${additionalMessage}`\r\n : AuthErrorMessages[code]);\r\n}\n\nexport { AuthError, AuthErrorMessage, AuthErrorMessages, createAuthError };\n//# sourceMappingURL=AuthError.mjs.map\n"],"names":[],"mappings":";;;;AAAA;AA6BA;AACA;AACA;AACA,MAAM,SAAS,SAAS,KAAK,CAAC;AAC9B,IAAI,WAAW,CAAC,SAAS,EAAE,YAAY,EAAE,QAAQ,EAAE;AACnD,QAAQ,MAAM,WAAW,GAAG,YAAY;AACxC,cAAc,CAAC,EAAE,SAAS,CAAC,EAAE,EAAE,YAAY,CAAC,CAAC;AAC7C,cAAc,SAAS,CAAC;AACxB,QAAQ,KAAK,CAAC,WAAW,CAAC,CAAC;AAC3B,QAAQ,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;AACzD,QAAQ,IAAI,CAAC,SAAS,GAAG,SAAS,IAAI,SAAS,CAAC,YAAY,CAAC;AAC7D,QAAQ,IAAI,CAAC,YAAY,GAAG,YAAY,IAAI,SAAS,CAAC,YAAY,CAAC;AACnE,QAAQ,IAAI,CAAC,QAAQ,GAAG,QAAQ,IAAI,SAAS,CAAC,YAAY,CAAC;AAC3D,QAAQ,IAAI,CAAC,IAAI,GAAG,WAAW,CAAC;AAChC,KAAK;AACL,IAAI,gBAAgB,CAAC,aAAa,EAAE;AACpC,QAAQ,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;AAC3C,KAAK;AACL;;;;"}
@@ -0,0 +1,81 @@
1
+ /*! @azure/msal-node-extensions v1.2.0 2024-09-20 */
2
+ 'use strict';
3
+ import { AuthError } from './AuthError.mjs';
4
+ import { clientInfoDecodingError, clientInfoEmptyError, tokenParsingError, nullOrEmptyToken, endpointResolutionError, networkError, openIdConfigError, hashNotDeserialized, invalidState, stateMismatch, stateNotFound, nonceMismatch, authTimeNotFound, maxAgeTranspired, multipleMatchingTokens, multipleMatchingAccounts, multipleMatchingAppMetadata, requestCannotBeMade, cannotRemoveEmptyScope, cannotAppendScopeSet, emptyInputScopeSet, deviceCodePollingCancelled, deviceCodeExpired, deviceCodeUnknownError, noAccountInSilentRequest, invalidCacheRecord, invalidCacheEnvironment, noAccountFound, noCryptoObject, unexpectedCredentialType, invalidAssertion, invalidClientCredential, tokenRefreshRequired, userTimeoutReached, tokenClaimsCnfRequiredForSignedJwt, authorizationCodeMissingFromServerResponse, bindingKeyNotRemoved, endSessionEndpointNotSupported, keyIdMissing, noNetworkConnectivity, userCanceled, missingTenantIdError, methodNotImplemented, nestedAppAuthBridgeDisabled } from './ClientAuthErrorCodes.mjs';
5
+
6
+ /*! @azure/msal-common v14.15.0 2024-09-20 */
7
+
8
+ /*
9
+ * Copyright (c) Microsoft Corporation. All rights reserved.
10
+ * Licensed under the MIT License.
11
+ */
12
+ /**
13
+ * ClientAuthErrorMessage class containing string constants used by error codes and messages.
14
+ */
15
+ const ClientAuthErrorMessages = {
16
+ [clientInfoDecodingError]: "The client info could not be parsed/decoded correctly",
17
+ [clientInfoEmptyError]: "The client info was empty",
18
+ [tokenParsingError]: "Token cannot be parsed",
19
+ [nullOrEmptyToken]: "The token is null or empty",
20
+ [endpointResolutionError]: "Endpoints cannot be resolved",
21
+ [networkError]: "Network request failed",
22
+ [openIdConfigError]: "Could not retrieve endpoints. Check your authority and verify the .well-known/openid-configuration endpoint returns the required endpoints.",
23
+ [hashNotDeserialized]: "The hash parameters could not be deserialized",
24
+ [invalidState]: "State was not the expected format",
25
+ [stateMismatch]: "State mismatch error",
26
+ [stateNotFound]: "State not found",
27
+ [nonceMismatch]: "Nonce mismatch error",
28
+ [authTimeNotFound]: "Max Age was requested and the ID token is missing the auth_time variable." +
29
+ " auth_time is an optional claim and is not enabled by default - it must be enabled." +
30
+ " See https://aka.ms/msaljs/optional-claims for more information.",
31
+ [maxAgeTranspired]: "Max Age is set to 0, or too much time has elapsed since the last end-user authentication.",
32
+ [multipleMatchingTokens]: "The cache contains multiple tokens satisfying the requirements. " +
33
+ "Call AcquireToken again providing more requirements such as authority or account.",
34
+ [multipleMatchingAccounts]: "The cache contains multiple accounts satisfying the given parameters. Please pass more info to obtain the correct account",
35
+ [multipleMatchingAppMetadata]: "The cache contains multiple appMetadata satisfying the given parameters. Please pass more info to obtain the correct appMetadata",
36
+ [requestCannotBeMade]: "Token request cannot be made without authorization code or refresh token.",
37
+ [cannotRemoveEmptyScope]: "Cannot remove null or empty scope from ScopeSet",
38
+ [cannotAppendScopeSet]: "Cannot append ScopeSet",
39
+ [emptyInputScopeSet]: "Empty input ScopeSet cannot be processed",
40
+ [deviceCodePollingCancelled]: "Caller has cancelled token endpoint polling during device code flow by setting DeviceCodeRequest.cancel = true.",
41
+ [deviceCodeExpired]: "Device code is expired.",
42
+ [deviceCodeUnknownError]: "Device code stopped polling for unknown reasons.",
43
+ [noAccountInSilentRequest]: "Please pass an account object, silent flow is not supported without account information",
44
+ [invalidCacheRecord]: "Cache record object was null or undefined.",
45
+ [invalidCacheEnvironment]: "Invalid environment when attempting to create cache entry",
46
+ [noAccountFound]: "No account found in cache for given key.",
47
+ [noCryptoObject]: "No crypto object detected.",
48
+ [unexpectedCredentialType]: "Unexpected credential type.",
49
+ [invalidAssertion]: "Client assertion must meet requirements described in https://tools.ietf.org/html/rfc7515",
50
+ [invalidClientCredential]: "Client credential (secret, certificate, or assertion) must not be empty when creating a confidential client. An application should at most have one credential",
51
+ [tokenRefreshRequired]: "Cannot return token from cache because it must be refreshed. This may be due to one of the following reasons: forceRefresh parameter is set to true, claims have been requested, there is no cached access token or it is expired.",
52
+ [userTimeoutReached]: "User defined timeout for device code polling reached",
53
+ [tokenClaimsCnfRequiredForSignedJwt]: "Cannot generate a POP jwt if the token_claims are not populated",
54
+ [authorizationCodeMissingFromServerResponse]: "Server response does not contain an authorization code to proceed",
55
+ [bindingKeyNotRemoved]: "Could not remove the credential's binding key from storage.",
56
+ [endSessionEndpointNotSupported]: "The provided authority does not support logout",
57
+ [keyIdMissing]: "A keyId value is missing from the requested bound token's cache record and is required to match the token to it's stored binding key.",
58
+ [noNetworkConnectivity]: "No network connectivity. Check your internet connection.",
59
+ [userCanceled]: "User cancelled the flow.",
60
+ [missingTenantIdError]: "A tenant id - not common, organizations, or consumers - must be specified when using the client_credentials flow.",
61
+ [methodNotImplemented]: "This method has not been implemented",
62
+ [nestedAppAuthBridgeDisabled]: "The nested app auth bridge is disabled",
63
+ };
64
+ /**
65
+ * Error thrown when there is an error in the client code running on the browser.
66
+ */
67
+ class ClientAuthError extends AuthError {
68
+ constructor(errorCode, additionalMessage) {
69
+ super(errorCode, additionalMessage
70
+ ? `${ClientAuthErrorMessages[errorCode]}: ${additionalMessage}`
71
+ : ClientAuthErrorMessages[errorCode]);
72
+ this.name = "ClientAuthError";
73
+ Object.setPrototypeOf(this, ClientAuthError.prototype);
74
+ }
75
+ }
76
+ function createClientAuthError(errorCode, additionalMessage) {
77
+ return new ClientAuthError(errorCode, additionalMessage);
78
+ }
79
+
80
+ export { ClientAuthError, ClientAuthErrorMessages, createClientAuthError };
81
+ //# sourceMappingURL=ClientAuthError.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClientAuthError.mjs","sources":["../../../../../../../lib/msal-common/dist/error/ClientAuthError.mjs"],"sourcesContent":["/*! @azure/msal-common v14.15.0 2024-09-20 */\n'use strict';\nimport { AuthError } from './AuthError.mjs';\nimport { clientInfoDecodingError, clientInfoEmptyError, tokenParsingError, nullOrEmptyToken, endpointResolutionError, networkError, openIdConfigError, hashNotDeserialized, invalidState, stateMismatch, stateNotFound, nonceMismatch, authTimeNotFound, maxAgeTranspired, multipleMatchingTokens, multipleMatchingAccounts, multipleMatchingAppMetadata, requestCannotBeMade, cannotRemoveEmptyScope, cannotAppendScopeSet, emptyInputScopeSet, deviceCodePollingCancelled, deviceCodeExpired, deviceCodeUnknownError, noAccountInSilentRequest, invalidCacheRecord, invalidCacheEnvironment, noAccountFound, noCryptoObject, unexpectedCredentialType, invalidAssertion, invalidClientCredential, tokenRefreshRequired, userTimeoutReached, tokenClaimsCnfRequiredForSignedJwt, authorizationCodeMissingFromServerResponse, bindingKeyNotRemoved, endSessionEndpointNotSupported, keyIdMissing, noNetworkConnectivity, userCanceled, missingTenantIdError, nestedAppAuthBridgeDisabled, methodNotImplemented } from './ClientAuthErrorCodes.mjs';\nimport * as ClientAuthErrorCodes from './ClientAuthErrorCodes.mjs';\nexport { ClientAuthErrorCodes };\n\n/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License.\r\n */\r\n/**\r\n * ClientAuthErrorMessage class containing string constants used by error codes and messages.\r\n */\r\nconst ClientAuthErrorMessages = {\r\n [clientInfoDecodingError]: \"The client info could not be parsed/decoded correctly\",\r\n [clientInfoEmptyError]: \"The client info was empty\",\r\n [tokenParsingError]: \"Token cannot be parsed\",\r\n [nullOrEmptyToken]: \"The token is null or empty\",\r\n [endpointResolutionError]: \"Endpoints cannot be resolved\",\r\n [networkError]: \"Network request failed\",\r\n [openIdConfigError]: \"Could not retrieve endpoints. Check your authority and verify the .well-known/openid-configuration endpoint returns the required endpoints.\",\r\n [hashNotDeserialized]: \"The hash parameters could not be deserialized\",\r\n [invalidState]: \"State was not the expected format\",\r\n [stateMismatch]: \"State mismatch error\",\r\n [stateNotFound]: \"State not found\",\r\n [nonceMismatch]: \"Nonce mismatch error\",\r\n [authTimeNotFound]: \"Max Age was requested and the ID token is missing the auth_time variable.\" +\r\n \" auth_time is an optional claim and is not enabled by default - it must be enabled.\" +\r\n \" See https://aka.ms/msaljs/optional-claims for more information.\",\r\n [maxAgeTranspired]: \"Max Age is set to 0, or too much time has elapsed since the last end-user authentication.\",\r\n [multipleMatchingTokens]: \"The cache contains multiple tokens satisfying the requirements. \" +\r\n \"Call AcquireToken again providing more requirements such as authority or account.\",\r\n [multipleMatchingAccounts]: \"The cache contains multiple accounts satisfying the given parameters. Please pass more info to obtain the correct account\",\r\n [multipleMatchingAppMetadata]: \"The cache contains multiple appMetadata satisfying the given parameters. Please pass more info to obtain the correct appMetadata\",\r\n [requestCannotBeMade]: \"Token request cannot be made without authorization code or refresh token.\",\r\n [cannotRemoveEmptyScope]: \"Cannot remove null or empty scope from ScopeSet\",\r\n [cannotAppendScopeSet]: \"Cannot append ScopeSet\",\r\n [emptyInputScopeSet]: \"Empty input ScopeSet cannot be processed\",\r\n [deviceCodePollingCancelled]: \"Caller has cancelled token endpoint polling during device code flow by setting DeviceCodeRequest.cancel = true.\",\r\n [deviceCodeExpired]: \"Device code is expired.\",\r\n [deviceCodeUnknownError]: \"Device code stopped polling for unknown reasons.\",\r\n [noAccountInSilentRequest]: \"Please pass an account object, silent flow is not supported without account information\",\r\n [invalidCacheRecord]: \"Cache record object was null or undefined.\",\r\n [invalidCacheEnvironment]: \"Invalid environment when attempting to create cache entry\",\r\n [noAccountFound]: \"No account found in cache for given key.\",\r\n [noCryptoObject]: \"No crypto object detected.\",\r\n [unexpectedCredentialType]: \"Unexpected credential type.\",\r\n [invalidAssertion]: \"Client assertion must meet requirements described in https://tools.ietf.org/html/rfc7515\",\r\n [invalidClientCredential]: \"Client credential (secret, certificate, or assertion) must not be empty when creating a confidential client. An application should at most have one credential\",\r\n [tokenRefreshRequired]: \"Cannot return token from cache because it must be refreshed. This may be due to one of the following reasons: forceRefresh parameter is set to true, claims have been requested, there is no cached access token or it is expired.\",\r\n [userTimeoutReached]: \"User defined timeout for device code polling reached\",\r\n [tokenClaimsCnfRequiredForSignedJwt]: \"Cannot generate a POP jwt if the token_claims are not populated\",\r\n [authorizationCodeMissingFromServerResponse]: \"Server response does not contain an authorization code to proceed\",\r\n [bindingKeyNotRemoved]: \"Could not remove the credential's binding key from storage.\",\r\n [endSessionEndpointNotSupported]: \"The provided authority does not support logout\",\r\n [keyIdMissing]: \"A keyId value is missing from the requested bound token's cache record and is required to match the token to it's stored binding key.\",\r\n [noNetworkConnectivity]: \"No network connectivity. Check your internet connection.\",\r\n [userCanceled]: \"User cancelled the flow.\",\r\n [missingTenantIdError]: \"A tenant id - not common, organizations, or consumers - must be specified when using the client_credentials flow.\",\r\n [methodNotImplemented]: \"This method has not been implemented\",\r\n [nestedAppAuthBridgeDisabled]: \"The nested app auth bridge is disabled\",\r\n};\r\n/**\r\n * String constants used by error codes and messages.\r\n * @deprecated Use ClientAuthErrorCodes instead\r\n */\r\nconst ClientAuthErrorMessage = {\r\n clientInfoDecodingError: {\r\n code: clientInfoDecodingError,\r\n desc: ClientAuthErrorMessages[clientInfoDecodingError],\r\n },\r\n clientInfoEmptyError: {\r\n code: clientInfoEmptyError,\r\n desc: ClientAuthErrorMessages[clientInfoEmptyError],\r\n },\r\n tokenParsingError: {\r\n code: tokenParsingError,\r\n desc: ClientAuthErrorMessages[tokenParsingError],\r\n },\r\n nullOrEmptyToken: {\r\n code: nullOrEmptyToken,\r\n desc: ClientAuthErrorMessages[nullOrEmptyToken],\r\n },\r\n endpointResolutionError: {\r\n code: endpointResolutionError,\r\n desc: ClientAuthErrorMessages[endpointResolutionError],\r\n },\r\n networkError: {\r\n code: networkError,\r\n desc: ClientAuthErrorMessages[networkError],\r\n },\r\n unableToGetOpenidConfigError: {\r\n code: openIdConfigError,\r\n desc: ClientAuthErrorMessages[openIdConfigError],\r\n },\r\n hashNotDeserialized: {\r\n code: hashNotDeserialized,\r\n desc: ClientAuthErrorMessages[hashNotDeserialized],\r\n },\r\n invalidStateError: {\r\n code: invalidState,\r\n desc: ClientAuthErrorMessages[invalidState],\r\n },\r\n stateMismatchError: {\r\n code: stateMismatch,\r\n desc: ClientAuthErrorMessages[stateMismatch],\r\n },\r\n stateNotFoundError: {\r\n code: stateNotFound,\r\n desc: ClientAuthErrorMessages[stateNotFound],\r\n },\r\n nonceMismatchError: {\r\n code: nonceMismatch,\r\n desc: ClientAuthErrorMessages[nonceMismatch],\r\n },\r\n authTimeNotFoundError: {\r\n code: authTimeNotFound,\r\n desc: ClientAuthErrorMessages[authTimeNotFound],\r\n },\r\n maxAgeTranspired: {\r\n code: maxAgeTranspired,\r\n desc: ClientAuthErrorMessages[maxAgeTranspired],\r\n },\r\n multipleMatchingTokens: {\r\n code: multipleMatchingTokens,\r\n desc: ClientAuthErrorMessages[multipleMatchingTokens],\r\n },\r\n multipleMatchingAccounts: {\r\n code: multipleMatchingAccounts,\r\n desc: ClientAuthErrorMessages[multipleMatchingAccounts],\r\n },\r\n multipleMatchingAppMetadata: {\r\n code: multipleMatchingAppMetadata,\r\n desc: ClientAuthErrorMessages[multipleMatchingAppMetadata],\r\n },\r\n tokenRequestCannotBeMade: {\r\n code: requestCannotBeMade,\r\n desc: ClientAuthErrorMessages[requestCannotBeMade],\r\n },\r\n removeEmptyScopeError: {\r\n code: cannotRemoveEmptyScope,\r\n desc: ClientAuthErrorMessages[cannotRemoveEmptyScope],\r\n },\r\n appendScopeSetError: {\r\n code: cannotAppendScopeSet,\r\n desc: ClientAuthErrorMessages[cannotAppendScopeSet],\r\n },\r\n emptyInputScopeSetError: {\r\n code: emptyInputScopeSet,\r\n desc: ClientAuthErrorMessages[emptyInputScopeSet],\r\n },\r\n DeviceCodePollingCancelled: {\r\n code: deviceCodePollingCancelled,\r\n desc: ClientAuthErrorMessages[deviceCodePollingCancelled],\r\n },\r\n DeviceCodeExpired: {\r\n code: deviceCodeExpired,\r\n desc: ClientAuthErrorMessages[deviceCodeExpired],\r\n },\r\n DeviceCodeUnknownError: {\r\n code: deviceCodeUnknownError,\r\n desc: ClientAuthErrorMessages[deviceCodeUnknownError],\r\n },\r\n NoAccountInSilentRequest: {\r\n code: noAccountInSilentRequest,\r\n desc: ClientAuthErrorMessages[noAccountInSilentRequest],\r\n },\r\n invalidCacheRecord: {\r\n code: invalidCacheRecord,\r\n desc: ClientAuthErrorMessages[invalidCacheRecord],\r\n },\r\n invalidCacheEnvironment: {\r\n code: invalidCacheEnvironment,\r\n desc: ClientAuthErrorMessages[invalidCacheEnvironment],\r\n },\r\n noAccountFound: {\r\n code: noAccountFound,\r\n desc: ClientAuthErrorMessages[noAccountFound],\r\n },\r\n noCryptoObj: {\r\n code: noCryptoObject,\r\n desc: ClientAuthErrorMessages[noCryptoObject],\r\n },\r\n unexpectedCredentialType: {\r\n code: unexpectedCredentialType,\r\n desc: ClientAuthErrorMessages[unexpectedCredentialType],\r\n },\r\n invalidAssertion: {\r\n code: invalidAssertion,\r\n desc: ClientAuthErrorMessages[invalidAssertion],\r\n },\r\n invalidClientCredential: {\r\n code: invalidClientCredential,\r\n desc: ClientAuthErrorMessages[invalidClientCredential],\r\n },\r\n tokenRefreshRequired: {\r\n code: tokenRefreshRequired,\r\n desc: ClientAuthErrorMessages[tokenRefreshRequired],\r\n },\r\n userTimeoutReached: {\r\n code: userTimeoutReached,\r\n desc: ClientAuthErrorMessages[userTimeoutReached],\r\n },\r\n tokenClaimsRequired: {\r\n code: tokenClaimsCnfRequiredForSignedJwt,\r\n desc: ClientAuthErrorMessages[tokenClaimsCnfRequiredForSignedJwt],\r\n },\r\n noAuthorizationCodeFromServer: {\r\n code: authorizationCodeMissingFromServerResponse,\r\n desc: ClientAuthErrorMessages[authorizationCodeMissingFromServerResponse],\r\n },\r\n bindingKeyNotRemovedError: {\r\n code: bindingKeyNotRemoved,\r\n desc: ClientAuthErrorMessages[bindingKeyNotRemoved],\r\n },\r\n logoutNotSupported: {\r\n code: endSessionEndpointNotSupported,\r\n desc: ClientAuthErrorMessages[endSessionEndpointNotSupported],\r\n },\r\n keyIdMissing: {\r\n code: keyIdMissing,\r\n desc: ClientAuthErrorMessages[keyIdMissing],\r\n },\r\n noNetworkConnectivity: {\r\n code: noNetworkConnectivity,\r\n desc: ClientAuthErrorMessages[noNetworkConnectivity],\r\n },\r\n userCanceledError: {\r\n code: userCanceled,\r\n desc: ClientAuthErrorMessages[userCanceled],\r\n },\r\n missingTenantIdError: {\r\n code: missingTenantIdError,\r\n desc: ClientAuthErrorMessages[missingTenantIdError],\r\n },\r\n nestedAppAuthBridgeDisabled: {\r\n code: nestedAppAuthBridgeDisabled,\r\n desc: ClientAuthErrorMessages[nestedAppAuthBridgeDisabled],\r\n },\r\n};\r\n/**\r\n * Error thrown when there is an error in the client code running on the browser.\r\n */\r\nclass ClientAuthError extends AuthError {\r\n constructor(errorCode, additionalMessage) {\r\n super(errorCode, additionalMessage\r\n ? `${ClientAuthErrorMessages[errorCode]}: ${additionalMessage}`\r\n : ClientAuthErrorMessages[errorCode]);\r\n this.name = \"ClientAuthError\";\r\n Object.setPrototypeOf(this, ClientAuthError.prototype);\r\n }\r\n}\r\nfunction createClientAuthError(errorCode, additionalMessage) {\r\n return new ClientAuthError(errorCode, additionalMessage);\r\n}\n\nexport { ClientAuthError, ClientAuthErrorMessage, ClientAuthErrorMessages, createClientAuthError };\n//# sourceMappingURL=ClientAuthError.mjs.map\n"],"names":[],"mappings":";;;;;AAAA;AAMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACK,MAAC,uBAAuB,GAAG;AAChC,IAAI,CAAC,uBAAuB,GAAG,uDAAuD;AACtF,IAAI,CAAC,oBAAoB,GAAG,2BAA2B;AACvD,IAAI,CAAC,iBAAiB,GAAG,wBA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5
+ * Copyright (c) Microsoft Corporation. All rights reserved.
6
+ * Licensed under the MIT License.
7
+ */
8
+ const clientInfoDecodingError = "client_info_decoding_error";
9
+ const clientInfoEmptyError = "client_info_empty_error";
10
+ const tokenParsingError = "token_parsing_error";
11
+ const nullOrEmptyToken = "null_or_empty_token";
12
+ const endpointResolutionError = "endpoints_resolution_error";
13
+ const networkError = "network_error";
14
+ const openIdConfigError = "openid_config_error";
15
+ const hashNotDeserialized = "hash_not_deserialized";
16
+ const invalidState = "invalid_state";
17
+ const stateMismatch = "state_mismatch";
18
+ const stateNotFound = "state_not_found";
19
+ const nonceMismatch = "nonce_mismatch";
20
+ const authTimeNotFound = "auth_time_not_found";
21
+ const maxAgeTranspired = "max_age_transpired";
22
+ const multipleMatchingTokens = "multiple_matching_tokens";
23
+ const multipleMatchingAccounts = "multiple_matching_accounts";
24
+ const multipleMatchingAppMetadata = "multiple_matching_appMetadata";
25
+ const requestCannotBeMade = "request_cannot_be_made";
26
+ const cannotRemoveEmptyScope = "cannot_remove_empty_scope";
27
+ const cannotAppendScopeSet = "cannot_append_scopeset";
28
+ const emptyInputScopeSet = "empty_input_scopeset";
29
+ const deviceCodePollingCancelled = "device_code_polling_cancelled";
30
+ const deviceCodeExpired = "device_code_expired";
31
+ const deviceCodeUnknownError = "device_code_unknown_error";
32
+ const noAccountInSilentRequest = "no_account_in_silent_request";
33
+ const invalidCacheRecord = "invalid_cache_record";
34
+ const invalidCacheEnvironment = "invalid_cache_environment";
35
+ const noAccountFound = "no_account_found";
36
+ const noCryptoObject = "no_crypto_object";
37
+ const unexpectedCredentialType = "unexpected_credential_type";
38
+ const invalidAssertion = "invalid_assertion";
39
+ const invalidClientCredential = "invalid_client_credential";
40
+ const tokenRefreshRequired = "token_refresh_required";
41
+ const userTimeoutReached = "user_timeout_reached";
42
+ const tokenClaimsCnfRequiredForSignedJwt = "token_claims_cnf_required_for_signedjwt";
43
+ const authorizationCodeMissingFromServerResponse = "authorization_code_missing_from_server_response";
44
+ const bindingKeyNotRemoved = "binding_key_not_removed";
45
+ const endSessionEndpointNotSupported = "end_session_endpoint_not_supported";
46
+ const keyIdMissing = "key_id_missing";
47
+ const noNetworkConnectivity = "no_network_connectivity";
48
+ const userCanceled = "user_canceled";
49
+ const missingTenantIdError = "missing_tenant_id_error";
50
+ const methodNotImplemented = "method_not_implemented";
51
+ const nestedAppAuthBridgeDisabled = "nested_app_auth_bridge_disabled";
52
+
53
+ export { authTimeNotFound, authorizationCodeMissingFromServerResponse, bindingKeyNotRemoved, cannotAppendScopeSet, cannotRemoveEmptyScope, clientInfoDecodingError, clientInfoEmptyError, deviceCodeExpired, deviceCodePollingCancelled, deviceCodeUnknownError, emptyInputScopeSet, endSessionEndpointNotSupported, endpointResolutionError, hashNotDeserialized, invalidAssertion, invalidCacheEnvironment, invalidCacheRecord, invalidClientCredential, invalidState, keyIdMissing, maxAgeTranspired, methodNotImplemented, missingTenantIdError, multipleMatchingAccounts, multipleMatchingAppMetadata, multipleMatchingTokens, nestedAppAuthBridgeDisabled, networkError, noAccountFound, noAccountInSilentRequest, noCryptoObject, noNetworkConnectivity, nonceMismatch, nullOrEmptyToken, openIdConfigError, requestCannotBeMade, stateMismatch, stateNotFound, tokenClaimsCnfRequiredForSignedJwt, tokenParsingError, tokenRefreshRequired, unexpectedCredentialType, userCanceled, userTimeoutReached };
54
+ //# sourceMappingURL=ClientAuthErrorCodes.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClientAuthErrorCodes.mjs","sources":["../../../../../../../lib/msal-common/dist/error/ClientAuthErrorCodes.mjs"],"sourcesContent":["/*! @azure/msal-common v14.15.0 2024-09-20 */\n'use strict';\n/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License.\r\n */\r\nconst clientInfoDecodingError = \"client_info_decoding_error\";\r\nconst clientInfoEmptyError = \"client_info_empty_error\";\r\nconst tokenParsingError = \"token_parsing_error\";\r\nconst nullOrEmptyToken = \"null_or_empty_token\";\r\nconst endpointResolutionError = \"endpoints_resolution_error\";\r\nconst networkError = \"network_error\";\r\nconst openIdConfigError = \"openid_config_error\";\r\nconst hashNotDeserialized = \"hash_not_deserialized\";\r\nconst invalidState = \"invalid_state\";\r\nconst stateMismatch = \"state_mismatch\";\r\nconst stateNotFound = \"state_not_found\";\r\nconst nonceMismatch = \"nonce_mismatch\";\r\nconst authTimeNotFound = \"auth_time_not_found\";\r\nconst maxAgeTranspired = \"max_age_transpired\";\r\nconst multipleMatchingTokens = \"multiple_matching_tokens\";\r\nconst multipleMatchingAccounts = \"multiple_matching_accounts\";\r\nconst multipleMatchingAppMetadata = \"multiple_matching_appMetadata\";\r\nconst requestCannotBeMade = \"request_cannot_be_made\";\r\nconst cannotRemoveEmptyScope = \"cannot_remove_empty_scope\";\r\nconst cannotAppendScopeSet = \"cannot_append_scopeset\";\r\nconst emptyInputScopeSet = \"empty_input_scopeset\";\r\nconst deviceCodePollingCancelled = \"device_code_polling_cancelled\";\r\nconst deviceCodeExpired = \"device_code_expired\";\r\nconst deviceCodeUnknownError = \"device_code_unknown_error\";\r\nconst noAccountInSilentRequest = \"no_account_in_silent_request\";\r\nconst invalidCacheRecord = \"invalid_cache_record\";\r\nconst invalidCacheEnvironment = \"invalid_cache_environment\";\r\nconst noAccountFound = \"no_account_found\";\r\nconst noCryptoObject = \"no_crypto_object\";\r\nconst unexpectedCredentialType = \"unexpected_credential_type\";\r\nconst invalidAssertion = \"invalid_assertion\";\r\nconst invalidClientCredential = \"invalid_client_credential\";\r\nconst tokenRefreshRequired = \"token_refresh_required\";\r\nconst userTimeoutReached = \"user_timeout_reached\";\r\nconst tokenClaimsCnfRequiredForSignedJwt = \"token_claims_cnf_required_for_signedjwt\";\r\nconst authorizationCodeMissingFromServerResponse = \"authorization_code_missing_from_server_response\";\r\nconst bindingKeyNotRemoved = \"binding_key_not_removed\";\r\nconst endSessionEndpointNotSupported = \"end_session_endpoint_not_supported\";\r\nconst keyIdMissing = \"key_id_missing\";\r\nconst noNetworkConnectivity = \"no_network_connectivity\";\r\nconst userCanceled = \"user_canceled\";\r\nconst missingTenantIdError = \"missing_tenant_id_error\";\r\nconst methodNotImplemented = \"method_not_implemented\";\r\nconst nestedAppAuthBridgeDisabled = \"nested_app_auth_bridge_disabled\";\n\nexport { authTimeNotFound, authorizationCodeMissingFromServerResponse, bindingKeyNotRemoved, cannotAppendScopeSet, cannotRemoveEmptyScope, clientInfoDecodingError, clientInfoEmptyError, deviceCodeExpired, deviceCodePollingCancelled, deviceCodeUnknownError, emptyInputScopeSet, endSessionEndpointNotSupported, endpointResolutionError, hashNotDeserialized, invalidAssertion, invalidCacheEnvironment, invalidCacheRecord, invalidClientCredential, invalidState, keyIdMissing, maxAgeTranspired, methodNotImplemented, missingTenantIdError, multipleMatchingAccounts, multipleMatchingAppMetadata, multipleMatchingTokens, nestedAppAuthBridgeDisabled, networkError, noAccountFound, noAccountInSilentRequest, noCryptoObject, noNetworkConnectivity, nonceMismatch, nullOrEmptyToken, openIdConfigError, requestCannotBeMade, stateMismatch, stateNotFound, tokenClaimsCnfRequiredForSignedJwt, tokenParsingError, tokenRefreshRequired, unexpectedCredentialType, userCanceled, userTimeoutReached };\n//# sourceMappingURL=ClientAuthErrorCodes.mjs.map\n"],"names":[],"mappings":";;AAAA;AAEA;AACA;AACA;AACA;AACK,MAAC,uBAAuB,GAAG,6BAA6B;AACxD,MAAC,oBAAoB,GAAG,0BAA0B;AAClD,MAAC,iBAAiB,GAAG,sBAAsB;AAC3C,MAAC,gBAAgB,GAAG,sBAAsB;AAC1C,MAAC,uBAAuB,GAAG,6BAA6B;AACxD,MAAC,YAAY,GAAG,gBAAgB;AAChC,MAAC,iBAAiB,GAAG,sBAAsB;AAC3C,MAAC,mBAAmB,GAAG,wBAAwB;AAC/C,MAAC,YAAY,GAAG,gBAAgB;AAChC,MAAC,aAAa,GAAG,iBAAiB;AAClC,MAAC,aAAa,GAAG,kBAAkB;AACnC,MAAC,aAAa,GAAG,iBAAiB;AA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ty, claimsRequestParsingError, authorityUriInsecure, urlParseError, urlEmptyError, emptyInputScopesError, invalidPromptValue, invalidClaims, tokenRequestEmpty, logoutRequestEmpty, invalidCodeChallengeMethod, pkceParamsMissing, invalidCloudDiscoveryMetadata, invalidAuthorityMetadata, untrustedAuthority, missingSshJwk, missingSshKid, missingNonceAuthenticationHeader, invalidAuthenticationHeader, cannotSetOIDCOptions, cannotAllowNativeBroker, authorityMismatch } from './ClientConfigurationErrorCodes.mjs';
5
+
6
+ /*! @azure/msal-common v14.15.0 2024-09-20 */
7
+
8
+ /*
9
+ * Copyright (c) Microsoft Corporation. All rights reserved.
10
+ * Licensed under the MIT License.
11
+ */
12
+ const ClientConfigurationErrorMessages = {
13
+ [redirectUriEmpty]: "A redirect URI is required for all calls, and none has been set.",
14
+ [claimsRequestParsingError]: "Could not parse the given claims request object.",
15
+ [authorityUriInsecure]: "Authority URIs must use https. Please see here for valid authority configuration options: https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-js-initializing-client-applications#configuration-options",
16
+ [urlParseError]: "URL could not be parsed into appropriate segments.",
17
+ [urlEmptyError]: "URL was empty or null.",
18
+ [emptyInputScopesError]: "Scopes cannot be passed as null, undefined or empty array because they are required to obtain an access token.",
19
+ [invalidPromptValue]: "Please see here for valid configuration options: https://azuread.github.io/microsoft-authentication-library-for-js/ref/modules/_azure_msal_common.html#commonauthorizationurlrequest",
20
+ [invalidClaims]: "Given claims parameter must be a stringified JSON object.",
21
+ [tokenRequestEmpty]: "Token request was empty and not found in cache.",
22
+ [logoutRequestEmpty]: "The logout request was null or undefined.",
23
+ [invalidCodeChallengeMethod]: 'code_challenge_method passed is invalid. Valid values are "plain" and "S256".',
24
+ [pkceParamsMissing]: "Both params: code_challenge and code_challenge_method are to be passed if to be sent in the request",
25
+ [invalidCloudDiscoveryMetadata]: "Invalid cloudDiscoveryMetadata provided. Must be a stringified JSON object containing tenant_discovery_endpoint and metadata fields",
26
+ [invalidAuthorityMetadata]: "Invalid authorityMetadata provided. Must by a stringified JSON object containing authorization_endpoint, token_endpoint, issuer fields.",
27
+ [untrustedAuthority]: "The provided authority is not a trusted authority. Please include this authority in the knownAuthorities config parameter.",
28
+ [missingSshJwk]: "Missing sshJwk in SSH certificate request. A stringified JSON Web Key is required when using the SSH authentication scheme.",
29
+ [missingSshKid]: "Missing sshKid in SSH certificate request. A string that uniquely identifies the public SSH key is required when using the SSH authentication scheme.",
30
+ [missingNonceAuthenticationHeader]: "Unable to find an authentication header containing server nonce. Either the Authentication-Info or WWW-Authenticate headers must be present in order to obtain a server nonce.",
31
+ [invalidAuthenticationHeader]: "Invalid authentication header provided",
32
+ [cannotSetOIDCOptions]: "Cannot set OIDCOptions parameter. Please change the protocol mode to OIDC or use a non-Microsoft authority.",
33
+ [cannotAllowNativeBroker]: "Cannot set allowNativeBroker parameter to true when not in AAD protocol mode.",
34
+ [authorityMismatch]: "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.",
35
+ };
36
+ /**
37
+ * Error thrown when there is an error in configuration of the MSAL.js library.
38
+ */
39
+ class ClientConfigurationError extends AuthError {
40
+ constructor(errorCode) {
41
+ super(errorCode, ClientConfigurationErrorMessages[errorCode]);
42
+ this.name = "ClientConfigurationError";
43
+ Object.setPrototypeOf(this, ClientConfigurationError.prototype);
44
+ }
45
+ }
46
+ function createClientConfigurationError(errorCode) {
47
+ return new ClientConfigurationError(errorCode);
48
+ }
49
+
50
+ export { ClientConfigurationError, ClientConfigurationErrorMessages, createClientConfigurationError };
51
+ //# sourceMappingURL=ClientConfigurationError.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClientConfigurationError.mjs","sources":["../../../../../../../lib/msal-common/dist/error/ClientConfigurationError.mjs"],"sourcesContent":["/*! @azure/msal-common v14.15.0 2024-09-20 */\n'use strict';\nimport { AuthError } from './AuthError.mjs';\nimport { redirectUriEmpty, claimsRequestParsingError, authorityUriInsecure, urlParseError, urlEmptyError, emptyInputScopesError, invalidPromptValue, invalidClaims, tokenRequestEmpty, logoutRequestEmpty, invalidCodeChallengeMethod, pkceParamsMissing, invalidCloudDiscoveryMetadata, invalidAuthorityMetadata, untrustedAuthority, missingSshJwk, missingSshKid, missingNonceAuthenticationHeader, invalidAuthenticationHeader, cannotSetOIDCOptions, cannotAllowNativeBroker, authorityMismatch } from './ClientConfigurationErrorCodes.mjs';\nimport * as ClientConfigurationErrorCodes from './ClientConfigurationErrorCodes.mjs';\nexport { ClientConfigurationErrorCodes };\n\n/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License.\r\n */\r\nconst ClientConfigurationErrorMessages = {\r\n [redirectUriEmpty]: \"A redirect URI is required for all calls, and none has been set.\",\r\n [claimsRequestParsingError]: \"Could not parse the given claims request object.\",\r\n [authorityUriInsecure]: \"Authority URIs must use https. Please see here for valid authority configuration options: https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-js-initializing-client-applications#configuration-options\",\r\n [urlParseError]: \"URL could not be parsed into appropriate segments.\",\r\n [urlEmptyError]: \"URL was empty or null.\",\r\n [emptyInputScopesError]: \"Scopes cannot be passed as null, undefined or empty array because they are required to obtain an access token.\",\r\n [invalidPromptValue]: \"Please see here for valid configuration options: https://azuread.github.io/microsoft-authentication-library-for-js/ref/modules/_azure_msal_common.html#commonauthorizationurlrequest\",\r\n [invalidClaims]: \"Given claims parameter must be a stringified JSON object.\",\r\n [tokenRequestEmpty]: \"Token request was empty and not found in cache.\",\r\n [logoutRequestEmpty]: \"The logout request was null or undefined.\",\r\n [invalidCodeChallengeMethod]: 'code_challenge_method passed is invalid. Valid values are \"plain\" and \"S256\".',\r\n [pkceParamsMissing]: \"Both params: code_challenge and code_challenge_method are to be passed if to be sent in the request\",\r\n [invalidCloudDiscoveryMetadata]: \"Invalid cloudDiscoveryMetadata provided. Must be a stringified JSON object containing tenant_discovery_endpoint and metadata fields\",\r\n [invalidAuthorityMetadata]: \"Invalid authorityMetadata provided. Must by a stringified JSON object containing authorization_endpoint, token_endpoint, issuer fields.\",\r\n [untrustedAuthority]: \"The provided authority is not a trusted authority. Please include this authority in the knownAuthorities config parameter.\",\r\n [missingSshJwk]: \"Missing sshJwk in SSH certificate request. A stringified JSON Web Key is required when using the SSH authentication scheme.\",\r\n [missingSshKid]: \"Missing sshKid in SSH certificate request. A string that uniquely identifies the public SSH key is required when using the SSH authentication scheme.\",\r\n [missingNonceAuthenticationHeader]: \"Unable to find an authentication header containing server nonce. Either the Authentication-Info or WWW-Authenticate headers must be present in order to obtain a server nonce.\",\r\n [invalidAuthenticationHeader]: \"Invalid authentication header provided\",\r\n [cannotSetOIDCOptions]: \"Cannot set OIDCOptions parameter. Please change the protocol mode to OIDC or use a non-Microsoft authority.\",\r\n [cannotAllowNativeBroker]: \"Cannot set allowNativeBroker parameter to true when not in AAD protocol mode.\",\r\n [authorityMismatch]: \"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.\",\r\n};\r\n/**\r\n * ClientConfigurationErrorMessage class containing string constants used by error codes and messages.\r\n * @deprecated Use ClientConfigurationErrorCodes instead\r\n */\r\nconst ClientConfigurationErrorMessage = {\r\n redirectUriNotSet: {\r\n code: redirectUriEmpty,\r\n desc: ClientConfigurationErrorMessages[redirectUriEmpty],\r\n },\r\n claimsRequestParsingError: {\r\n code: claimsRequestParsingError,\r\n desc: ClientConfigurationErrorMessages[claimsRequestParsingError],\r\n },\r\n authorityUriInsecure: {\r\n code: authorityUriInsecure,\r\n desc: ClientConfigurationErrorMessages[authorityUriInsecure],\r\n },\r\n urlParseError: {\r\n code: urlParseError,\r\n desc: ClientConfigurationErrorMessages[urlParseError],\r\n },\r\n urlEmptyError: {\r\n code: urlEmptyError,\r\n desc: ClientConfigurationErrorMessages[urlEmptyError],\r\n },\r\n emptyScopesError: {\r\n code: emptyInputScopesError,\r\n desc: ClientConfigurationErrorMessages[emptyInputScopesError],\r\n },\r\n invalidPrompt: {\r\n code: invalidPromptValue,\r\n desc: ClientConfigurationErrorMessages[invalidPromptValue],\r\n },\r\n invalidClaimsRequest: {\r\n code: invalidClaims,\r\n desc: ClientConfigurationErrorMessages[invalidClaims],\r\n },\r\n tokenRequestEmptyError: {\r\n code: tokenRequestEmpty,\r\n desc: ClientConfigurationErrorMessages[tokenRequestEmpty],\r\n },\r\n logoutRequestEmptyError: {\r\n code: logoutRequestEmpty,\r\n desc: ClientConfigurationErrorMessages[logoutRequestEmpty],\r\n },\r\n invalidCodeChallengeMethod: {\r\n code: invalidCodeChallengeMethod,\r\n desc: ClientConfigurationErrorMessages[invalidCodeChallengeMethod],\r\n },\r\n invalidCodeChallengeParams: {\r\n code: pkceParamsMissing,\r\n desc: ClientConfigurationErrorMessages[pkceParamsMissing],\r\n },\r\n invalidCloudDiscoveryMetadata: {\r\n code: invalidCloudDiscoveryMetadata,\r\n desc: ClientConfigurationErrorMessages[invalidCloudDiscoveryMetadata],\r\n },\r\n invalidAuthorityMetadata: {\r\n code: invalidAuthorityMetadata,\r\n desc: ClientConfigurationErrorMessages[invalidAuthorityMetadata],\r\n },\r\n untrustedAuthority: {\r\n code: untrustedAuthority,\r\n desc: ClientConfigurationErrorMessages[untrustedAuthority],\r\n },\r\n missingSshJwk: {\r\n code: missingSshJwk,\r\n desc: ClientConfigurationErrorMessages[missingSshJwk],\r\n },\r\n missingSshKid: {\r\n code: missingSshKid,\r\n desc: ClientConfigurationErrorMessages[missingSshKid],\r\n },\r\n missingNonceAuthenticationHeader: {\r\n code: missingNonceAuthenticationHeader,\r\n desc: ClientConfigurationErrorMessages[missingNonceAuthenticationHeader],\r\n },\r\n invalidAuthenticationHeader: {\r\n code: invalidAuthenticationHeader,\r\n desc: ClientConfigurationErrorMessages[invalidAuthenticationHeader],\r\n },\r\n cannotSetOIDCOptions: {\r\n code: cannotSetOIDCOptions,\r\n desc: ClientConfigurationErrorMessages[cannotSetOIDCOptions],\r\n },\r\n cannotAllowNativeBroker: {\r\n code: cannotAllowNativeBroker,\r\n desc: ClientConfigurationErrorMessages[cannotAllowNativeBroker],\r\n },\r\n authorityMismatch: {\r\n code: authorityMismatch,\r\n desc: ClientConfigurationErrorMessages[authorityMismatch],\r\n },\r\n};\r\n/**\r\n * Error thrown when there is an error in configuration of the MSAL.js library.\r\n */\r\nclass ClientConfigurationError extends AuthError {\r\n constructor(errorCode) {\r\n super(errorCode, ClientConfigurationErrorMessages[errorCode]);\r\n this.name = \"ClientConfigurationError\";\r\n Object.setPrototypeOf(this, ClientConfigurationError.prototype);\r\n }\r\n}\r\nfunction createClientConfigurationError(errorCode) {\r\n return new ClientConfigurationError(errorCode);\r\n}\n\nexport { ClientConfigurationError, ClientConfigurationErrorMessage, ClientConfigurationErrorMessages, createClientConfigurationError };\n//# sourceMappingURL=ClientConfigurationError.mjs.map\n"],"names":[],"mappings":";;;;;AAAA;AAMA;AACA;AACA;AACA;AACA;AACK,MAAC,gCAAgC,GAAG;AACzC,IAAI,CAAC,gBAAgB,GAAG,kEAAkE;AAC1F,IAAI,CAAC,yBAAyB,GAAG,kDAAkD;AACnF,IAAI,CAAC,oBAAoB,GAAG,2NAA2N;AACvP,IAAI,CAAC,aAAa,GAAG,oDAAoD;AACzE,IAAI,CAAC,aAAa,GAAG,wBAAwB;AAC7C,IAAI,CAAC,qBAAqB,GAAG,gHAAgH;AAC7I,IAAI,CAAC,kBAAkB,GAAG,sLAAsL;AAChN,IAAI,CAAC,aAAa,GAAG,2DAA2D;AAChF,IAAI,CAAC,iBAAiB,GAAG,iDAAiD;AAC1E,IAAI,CAAC,kBAAkB,GAAG,2CAA2C;AACrE,IAAI,CAAC,0BAA0B,GAAG,+EAA+E;AACjH,IAAI,CAAC,iBAAiB,GAAG,qGAAqG;AAC9H,IAAI,CAAC,6BAA6B,GAAG,qIAAqI;AAC1K,IAAI,CAAC,wBAAwB,GAAG,yIAAyI;AACzK,IAAI,CAAC,kBAAkB,GAAG,4HAA4H;AACtJ,IAAI,CAAC,aAAa,GAAG,6HAA6H;AAClJ,IAAI,CAAC,aAAa,GAAG,uJAAuJ;AAC5K,IAAI,CAAC,gCAAgC,GAAG,gLAAgL;AACxN,IAAI,CAAC,2BAA2B,GAAG,wCAAwC;AAC3E,IAAI,CAAC,oBAAoB,GAAG,6GAA6G;AACzI,IAAI,CAAC,uBAAuB,GAAG,+EAA+E;AAC9G,IAAI,CAAC,iBAAiB,GAAG,kPAAkP;AAC3Q,EAAE;AA+FF;AACA;AACA;AACA,MAAM,wBAAwB,SAAS,SAAS,CAAC;AACjD,IAAI,WAAW,CAAC,SAAS,EAAE;AAC3B,QAAQ,KAAK,CAAC,SAAS,EAAE,gCAAgC,CAAC,SAAS,CAAC,CAAC,CAAC;AACtE,QAAQ,IAAI,CAAC,IAAI,GAAG,0BAA0B,CAAC;AAC/C,QAAQ,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,wBAAwB,CAAC,SAAS,CAAC,CAAC;AACxE,KAAK;AACL,CAAC;AACD,SAAS,8BAA8B,CAAC,SAAS,EAAE;AACnD,IAAI,OAAO,IAAI,wBAAwB,CAAC,SAAS,CAAC,CAAC;AACnD;;;;"}
@@ -0,0 +1,32 @@
1
+ /*! @azure/msal-node-extensions v1.2.0 2024-09-20 */
2
+ 'use strict';
3
+ /*! @azure/msal-common v14.15.0 2024-09-20 */
4
+ /*
5
+ * Copyright (c) Microsoft Corporation. All rights reserved.
6
+ * Licensed under the MIT License.
7
+ */
8
+ const redirectUriEmpty = "redirect_uri_empty";
9
+ const claimsRequestParsingError = "claims_request_parsing_error";
10
+ const authorityUriInsecure = "authority_uri_insecure";
11
+ const urlParseError = "url_parse_error";
12
+ const urlEmptyError = "empty_url_error";
13
+ const emptyInputScopesError = "empty_input_scopes_error";
14
+ const invalidPromptValue = "invalid_prompt_value";
15
+ const invalidClaims = "invalid_claims";
16
+ const tokenRequestEmpty = "token_request_empty";
17
+ const logoutRequestEmpty = "logout_request_empty";
18
+ const invalidCodeChallengeMethod = "invalid_code_challenge_method";
19
+ const pkceParamsMissing = "pkce_params_missing";
20
+ const invalidCloudDiscoveryMetadata = "invalid_cloud_discovery_metadata";
21
+ const invalidAuthorityMetadata = "invalid_authority_metadata";
22
+ const untrustedAuthority = "untrusted_authority";
23
+ const missingSshJwk = "missing_ssh_jwk";
24
+ const missingSshKid = "missing_ssh_kid";
25
+ const missingNonceAuthenticationHeader = "missing_nonce_authentication_header";
26
+ const invalidAuthenticationHeader = "invalid_authentication_header";
27
+ const cannotSetOIDCOptions = "cannot_set_OIDCOptions";
28
+ const cannotAllowNativeBroker = "cannot_allow_native_broker";
29
+ const authorityMismatch = "authority_mismatch";
30
+
31
+ export { authorityMismatch, authorityUriInsecure, cannotAllowNativeBroker, cannotSetOIDCOptions, claimsRequestParsingError, emptyInputScopesError, invalidAuthenticationHeader, invalidAuthorityMetadata, invalidClaims, invalidCloudDiscoveryMetadata, invalidCodeChallengeMethod, invalidPromptValue, logoutRequestEmpty, missingNonceAuthenticationHeader, missingSshJwk, missingSshKid, pkceParamsMissing, redirectUriEmpty, tokenRequestEmpty, untrustedAuthority, urlEmptyError, urlParseError };
32
+ //# sourceMappingURL=ClientConfigurationErrorCodes.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClientConfigurationErrorCodes.mjs","sources":["../../../../../../../lib/msal-common/dist/error/ClientConfigurationErrorCodes.mjs"],"sourcesContent":["/*! @azure/msal-common v14.15.0 2024-09-20 */\n'use strict';\n/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License.\r\n */\r\nconst redirectUriEmpty = \"redirect_uri_empty\";\r\nconst claimsRequestParsingError = \"claims_request_parsing_error\";\r\nconst authorityUriInsecure = \"authority_uri_insecure\";\r\nconst urlParseError = \"url_parse_error\";\r\nconst urlEmptyError = \"empty_url_error\";\r\nconst emptyInputScopesError = \"empty_input_scopes_error\";\r\nconst invalidPromptValue = \"invalid_prompt_value\";\r\nconst invalidClaims = \"invalid_claims\";\r\nconst tokenRequestEmpty = \"token_request_empty\";\r\nconst logoutRequestEmpty = \"logout_request_empty\";\r\nconst invalidCodeChallengeMethod = \"invalid_code_challenge_method\";\r\nconst pkceParamsMissing = \"pkce_params_missing\";\r\nconst invalidCloudDiscoveryMetadata = \"invalid_cloud_discovery_metadata\";\r\nconst invalidAuthorityMetadata = \"invalid_authority_metadata\";\r\nconst untrustedAuthority = \"untrusted_authority\";\r\nconst missingSshJwk = \"missing_ssh_jwk\";\r\nconst missingSshKid = \"missing_ssh_kid\";\r\nconst missingNonceAuthenticationHeader = \"missing_nonce_authentication_header\";\r\nconst invalidAuthenticationHeader = \"invalid_authentication_header\";\r\nconst cannotSetOIDCOptions = \"cannot_set_OIDCOptions\";\r\nconst cannotAllowNativeBroker = \"cannot_allow_native_broker\";\r\nconst authorityMismatch = \"authority_mismatch\";\n\nexport { authorityMismatch, authorityUriInsecure, cannotAllowNativeBroker, cannotSetOIDCOptions, claimsRequestParsingError, emptyInputScopesError, invalidAuthenticationHeader, invalidAuthorityMetadata, invalidClaims, invalidCloudDiscoveryMetadata, invalidCodeChallengeMethod, invalidPromptValue, logoutRequestEmpty, missingNonceAuthenticationHeader, missingSshJwk, missingSshKid, pkceParamsMissing, redirectUriEmpty, tokenRequestEmpty, untrustedAuthority, urlEmptyError, urlParseError };\n//# sourceMappingURL=ClientConfigurationErrorCodes.mjs.map\n"],"names":[],"mappings":";;AAAA;AAEA;AACA;AACA;AACA;AACK,MAAC,gBAAgB,GAAG,qBAAqB;AACzC,MAAC,yBAAyB,GAAG,+BAA+B;AAC5D,MAAC,oBAAoB,GAAG,yBAAyB;AACjD,MAAC,aAAa,GAAG,kBAAkB;AACnC,MAAC,aAAa,GAAG,kBAAkB;AACnC,MAAC,qBAAqB,GAAG,2BAA2B;AACpD,MAAC,kBAAkB,GAAG,uBAAuB;AAC7C,MAAC,aAAa,GAAG,iBAAiB;AAClC,MAAC,iBAAiB,GAAG,sBAAsB;AAC3C,MAAC,kBAAkB,GAAG,uBAAuB;AAC7C,MAAC,0BAA0B,GAAG,gCAAgC;AAC9D,MAAC,iBAAiB,GAAG,sBAAsB;AAC3C,MAAC,6BAA6B,GAAG,mCAAmC;AACpE,MAAC,wBAAwB,GAAG,6BAA6B;AACzD,MAAC,kBAAkB,GAAG,sBAAsB;AAC5C,MAAC,aAAa,GAAG,kBAAkB;AACnC,MAAC,aAAa,GAAG,kBAAkB;AACnC,MAAC,gCAAgC,GAAG,sCAAsC;AAC1E,MAAC,2BAA2B,GAAG,gCAAgC;AAC/D,MAAC,oBAAoB,GAAG,yBAAyB;AACjD,MAAC,uBAAuB,GAAG,6BAA6B;AACxD,MAAC,iBAAiB,GAAG;;;;"}