@azure/msal-node-extensions 1.5.23 → 5.0.0-alpha.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 (75) 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/Dpapi.mjs.map +1 -1
  6. package/dist/broker/NativeBrokerPlugin.mjs +30 -42
  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 -3
  10. package/dist/error/NativeAuthError.mjs.map +1 -1
  11. package/dist/error/PersistenceError.mjs +1 -1
  12. package/dist/error/PersistenceError.mjs.map +1 -1
  13. package/dist/index.d.ts +0 -1
  14. package/dist/index.mjs +1 -2
  15. package/dist/index.mjs.map +1 -1
  16. package/dist/lib/msal-common/dist/constants/AADServerParamKeys.mjs +2 -2
  17. package/dist/lib/msal-common/dist/constants/AADServerParamKeys.mjs.map +1 -1
  18. package/dist/lib/msal-common/dist/error/AuthError.mjs +16 -11
  19. package/dist/lib/msal-common/dist/error/AuthError.mjs.map +1 -1
  20. package/dist/lib/msal-common/dist/error/ClientAuthError.mjs +4 -56
  21. package/dist/lib/msal-common/dist/error/ClientAuthError.mjs.map +1 -1
  22. package/dist/lib/msal-common/dist/error/ClientAuthErrorCodes.mjs +4 -49
  23. package/dist/lib/msal-common/dist/error/ClientAuthErrorCodes.mjs.map +1 -1
  24. package/dist/lib/msal-common/dist/error/ClientConfigurationError.mjs +4 -30
  25. package/dist/lib/msal-common/dist/error/ClientConfigurationError.mjs.map +1 -1
  26. package/dist/lib/msal-common/dist/error/ClientConfigurationErrorCodes.mjs +4 -30
  27. package/dist/lib/msal-common/dist/error/ClientConfigurationErrorCodes.mjs.map +1 -1
  28. package/dist/lib/msal-common/dist/error/InteractionRequiredAuthError.mjs +6 -7
  29. package/dist/lib/msal-common/dist/error/InteractionRequiredAuthError.mjs.map +1 -1
  30. package/dist/lib/msal-common/dist/error/ServerError.mjs +2 -2
  31. package/dist/lib/msal-common/dist/error/ServerError.mjs.map +1 -1
  32. package/dist/lib/msal-common/dist/logger/Logger.mjs +17 -23
  33. package/dist/lib/msal-common/dist/logger/Logger.mjs.map +1 -1
  34. package/dist/lib/msal-common/dist/telemetry/server/ServerTelemetryManager.mjs +29 -31
  35. package/dist/lib/msal-common/dist/telemetry/server/ServerTelemetryManager.mjs.map +1 -1
  36. package/dist/lib/msal-common/dist/utils/Constants.mjs +15 -79
  37. package/dist/lib/msal-common/dist/utils/Constants.mjs.map +1 -1
  38. package/dist/lib/msal-common/dist/utils/TimeUtils.mjs +2 -2
  39. package/dist/lib/msal-common/dist/utils/TimeUtils.mjs.map +1 -1
  40. package/dist/lock/CrossPlatformLock.mjs +10 -10
  41. package/dist/lock/CrossPlatformLock.mjs.map +1 -1
  42. package/dist/packageMetadata.d.ts +1 -1
  43. package/dist/packageMetadata.mjs +2 -2
  44. package/dist/persistence/BasePersistence.mjs +1 -1
  45. package/dist/persistence/BasePersistence.mjs.map +1 -1
  46. package/dist/persistence/DataProtectionScope.mjs +1 -1
  47. package/dist/persistence/DataProtectionScope.mjs.map +1 -1
  48. package/dist/persistence/FilePersistence.mjs +5 -5
  49. package/dist/persistence/FilePersistence.mjs.map +1 -1
  50. package/dist/persistence/FilePersistenceWithDataProtection.mjs +2 -2
  51. package/dist/persistence/FilePersistenceWithDataProtection.mjs.map +1 -1
  52. package/dist/persistence/KeychainPersistence.mjs +1 -1
  53. package/dist/persistence/KeychainPersistence.mjs.map +1 -1
  54. package/dist/persistence/LibSecretPersistence.mjs +1 -1
  55. package/dist/persistence/LibSecretPersistence.mjs.map +1 -1
  56. package/dist/persistence/PersistenceCachePlugin.mjs +12 -12
  57. package/dist/persistence/PersistenceCachePlugin.mjs.map +1 -1
  58. package/dist/persistence/PersistenceCreator.mjs +1 -1
  59. package/dist/persistence/PersistenceCreator.mjs.map +1 -1
  60. package/dist/utils/Constants.mjs +1 -1
  61. package/dist/utils/Constants.mjs.map +1 -1
  62. package/dist/utils/Environment.mjs +1 -1
  63. package/dist/utils/Environment.mjs.map +1 -1
  64. package/dist/utils/TypeGuards.mjs +1 -1
  65. package/dist/utils/TypeGuards.mjs.map +1 -1
  66. package/lib/msal-node-extensions.cjs +180 -430
  67. package/lib/msal-node-extensions.cjs.map +1 -1
  68. package/lib/types/error/NativeAuthError.d.ts +1 -1
  69. package/lib/types/index.d.ts +0 -1
  70. package/lib/types/packageMetadata.d.ts +1 -1
  71. package/package.json +86 -88
  72. package/dist/utils/StringUtils.d.ts +0 -8
  73. package/dist/utils/StringUtils.mjs +0 -32
  74. package/dist/utils/StringUtils.mjs.map +0 -1
  75. package/lib/types/utils/StringUtils.d.ts +0 -8
Binary file
Binary file
Binary file
package/dist/Dpapi.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node-extensions v1.5.23 2025-09-24 */
1
+ /*! @azure/msal-node-extensions v5.0.0-alpha.0 2025-10-07 */
2
2
  'use strict';
3
3
  import { createRequire } from 'module';
4
4
 
@@ -1 +1 @@
1
- {"version":3,"file":"Dpapi.mjs","sources":["../src/Dpapi.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAAA;;;AAGG;AAiBH,MAAM,gBAAgB,CAAA;AAClB,IAAA,WAAA,CAA6B,YAAoB,EAAA;QAApB,IAAY,CAAA,YAAA,GAAZ,YAAY,CAAQ;KAAI;IAErD,WAAW,GAAA;AACP,QAAA,MAAM,IAAI,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;KACtC;IACD,aAAa,GAAA;AACT,QAAA,MAAM,IAAI,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;KACtC;AACJ,CAAA;AAED,IAAI,MAAqB;AACzB,IAAI,OAAO,CAAC,QAAQ,KAAK,OAAO,EAAE;AAC9B,IAAA,K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IAAI,CAAA,MAAA,CAAQ,CAAC,CAAC;AACvD,IAAA,CAAA;AAAC,IAAA,OAAO,CAAC,EAAE;AACR,QAAA,KAAK,GAAG,IAAI,gBAAgB,CAAC,4BAA4B,CAAC,CAAC;AAC9D,IAAA,CAAA;AACJ;;;;"}
@@ -1,17 +1,16 @@
1
- /*! @azure/msal-node-extensions v1.5.23 2025-09-24 */
1
+ /*! @azure/msal-node-extensions v5.0.0-alpha.0 2025-10-07 */
2
2
  'use strict';
3
3
  import { msalNodeRuntime, ErrorStatus, LogLevel } from '@azure/msal-node-runtime';
4
4
  import { ErrorCodes } from '../utils/Constants.mjs';
5
- import { StringUtils } from '../utils/StringUtils.mjs';
6
5
  import { NativeAuthError } from '../error/NativeAuthError.mjs';
7
6
  import { name, version } from '../packageMetadata.mjs';
8
7
  import { Logger } from '../lib/msal-common/dist/logger/Logger.mjs';
9
- import { Constants, PromptValue, AuthenticationScheme } from '../lib/msal-common/dist/utils/Constants.mjs';
10
8
  import { createClientAuthError } from '../lib/msal-common/dist/error/ClientAuthError.mjs';
11
9
  import { ServerTelemetryManager } from '../lib/msal-common/dist/telemetry/server/ServerTelemetryManager.mjs';
12
10
  import { createClientConfigurationError } from '../lib/msal-common/dist/error/ClientConfigurationError.mjs';
13
11
  import { ServerError } from '../lib/msal-common/dist/error/ServerError.mjs';
14
12
  import { InteractionRequiredAuthError } from '../lib/msal-common/dist/error/InteractionRequiredAuthError.mjs';
13
+ import { PromptValue, AuthenticationScheme } from '../lib/msal-common/dist/utils/Constants.mjs';
15
14
  import { X_CLIENT_EXTRA_SKU } from '../lib/msal-common/dist/constants/AADServerParamKeys.mjs';
16
15
  import { toDateFromSeconds } from '../lib/msal-common/dist/utils/TimeUtils.mjs';
17
16
  import { noAccountFound, userCanceled, noNetworkConnectivity } from '../lib/msal-common/dist/error/ClientAuthErrorCodes.mjs';
@@ -34,62 +33,62 @@ class NativeBrokerPlugin {
34
33
  }
35
34
  setLogger(loggerOptions) {
36
35
  this.logger = new Logger(loggerOptions, name, version);
37
- const logCallback = (message, logLevel, containsPii) => {
36
+ const logCallback = (message, logLevel, containsPii, correlationId = "") => {
38
37
  switch (logLevel) {
39
38
  case LogLevel.Trace:
40
39
  if (containsPii) {
41
- this.logger.tracePii(message);
40
+ this.logger.tracePii(message, correlationId);
42
41
  }
43
42
  else {
44
- this.logger.trace(message);
43
+ this.logger.trace(message, correlationId);
45
44
  }
46
45
  break;
47
46
  case LogLevel.Debug:
48
47
  if (containsPii) {
49
- this.logger.tracePii(message);
48
+ this.logger.tracePii(message, correlationId);
50
49
  }
51
50
  else {
52
- this.logger.trace(message);
51
+ this.logger.trace(message, correlationId);
53
52
  }
54
53
  break;
55
54
  case LogLevel.Info:
56
55
  if (containsPii) {
57
- this.logger.infoPii(message);
56
+ this.logger.infoPii(message, correlationId);
58
57
  }
59
58
  else {
60
- this.logger.info(message);
59
+ this.logger.info(message, correlationId);
61
60
  }
62
61
  break;
63
62
  case LogLevel.Warning:
64
63
  if (containsPii) {
65
- this.logger.warningPii(message);
64
+ this.logger.warningPii(message, correlationId);
66
65
  }
67
66
  else {
68
- this.logger.warning(message);
67
+ this.logger.warning(message, correlationId);
69
68
  }
70
69
  break;
71
70
  case LogLevel.Error:
72
71
  if (containsPii) {
73
- this.logger.errorPii(message);
72
+ this.logger.errorPii(message, correlationId);
74
73
  }
75
74
  else {
76
- this.logger.error(message);
75
+ this.logger.error(message, correlationId);
77
76
  }
78
77
  break;
79
78
  case LogLevel.Fatal:
80
79
  if (containsPii) {
81
- this.logger.errorPii(message);
80
+ this.logger.errorPii(message, correlationId);
82
81
  }
83
82
  else {
84
- this.logger.error(message);
83
+ this.logger.error(message, correlationId);
85
84
  }
86
85
  break;
87
86
  default:
88
87
  if (containsPii) {
89
- this.logger.infoPii(message);
88
+ this.logger.infoPii(message, correlationId);
90
89
  }
91
90
  else {
92
- this.logger.info(message);
91
+ this.logger.info(message, correlationId);
93
92
  }
94
93
  break;
95
94
  }
@@ -143,13 +142,10 @@ class NativeBrokerPlugin {
143
142
  async acquireTokenSilent(request) {
144
143
  this.logger.trace("NativeBrokerPlugin - acquireTokenSilent called", request.correlationId);
145
144
  const platformRequest = request;
146
- if (!platformRequest.redirectUri) {
147
- platformRequest.redirectUri =
148
- this.chooseRedirectUriByPlatform(platformRequest);
149
- this.logger.info("NativeBrokerPlugin - No Redirect URI provided, using default", platformRequest.redirectUri);
150
- }
151
145
  const authParams = this.generateRequestParameters(platformRequest);
152
146
  const account = await this.getAccount(platformRequest);
147
+ platformRequest.redirectUri =
148
+ this.chooseRedirectUriByPlatform(platformRequest);
153
149
  return new Promise((resolve, reject) => {
154
150
  const resultCallback = (result) => {
155
151
  try {
@@ -184,12 +180,9 @@ class NativeBrokerPlugin {
184
180
  async acquireTokenInteractive(request, providedWindowHandle) {
185
181
  this.logger.trace("NativeBrokerPlugin - acquireTokenInteractive called", request.correlationId);
186
182
  const platformRequest = request;
187
- if (!platformRequest.redirectUri) {
188
- platformRequest.redirectUri =
189
- this.chooseRedirectUriByPlatform(platformRequest);
190
- this.logger.info("NativeBrokerPlugin - No Redirect URI provided, using default", platformRequest.redirectUri);
191
- }
192
183
  const authParams = this.generateRequestParameters(platformRequest);
184
+ platformRequest.redirectUri =
185
+ this.chooseRedirectUriByPlatform(platformRequest);
193
186
  const account = await this.getAccount(platformRequest);
194
187
  const windowHandle = providedWindowHandle || Buffer.from([0]);
195
188
  return new Promise((resolve, reject) => {
@@ -213,8 +206,7 @@ class NativeBrokerPlugin {
213
206
  case PromptValue.SELECT_ACCOUNT:
214
207
  case PromptValue.CREATE:
215
208
  this.logger.info("Calling native interop SignInInteractively API", platformRequest.correlationId);
216
- const loginHint = platformRequest.loginHint ||
217
- Constants.EMPTY_STRING;
209
+ const loginHint = platformRequest.loginHint || "";
218
210
  msalNodeRuntime.SignInInteractivelyAsync(windowHandle, authParams, platformRequest.correlationId, loginHint, resultCallback);
219
211
  break;
220
212
  case PromptValue.NONE:
@@ -234,8 +226,7 @@ class NativeBrokerPlugin {
234
226
  }
235
227
  else {
236
228
  this.logger.info("Calling native interop SignIn API", platformRequest.correlationId);
237
- const loginHint = platformRequest.loginHint ||
238
- Constants.EMPTY_STRING;
229
+ const loginHint = platformRequest.loginHint || "";
239
230
  msalNodeRuntime.SignInAsync(windowHandle, authParams, platformRequest.correlationId, loginHint, resultCallback);
240
231
  }
241
232
  break;
@@ -319,12 +310,13 @@ class NativeBrokerPlugin {
319
310
  const authParams = new msalNodeRuntime.AuthParameters();
320
311
  try {
321
312
  authParams.CreateAuthParameters(request.clientId, request.authority);
322
- authParams.SetRedirectUri(request.redirectUri);
313
+ authParams.SetRedirectUri(this.chooseRedirectUriByPlatform(request));
323
314
  authParams.SetRequestedScopes(request.scopes.join(" "));
324
315
  if (request.claims) {
325
316
  authParams.SetDecodedClaims(request.claims);
326
317
  }
327
- if (request.authenticationScheme === AuthenticationScheme.POP) {
318
+ if (request.authenticationScheme ===
319
+ AuthenticationScheme.POP) {
328
320
  if (!request.resourceRequestMethod ||
329
321
  !request.resourceRequestUri) {
330
322
  throw new Error("Authentication Scheme set to POP but one or more of the following parameters are missing: resourceRequestMethod, resourceRequestUri");
@@ -415,12 +407,12 @@ class NativeBrokerPlugin {
415
407
  expiresOn: toDateFromSeconds(authResult.expiresOn),
416
408
  tokenType: tokenType,
417
409
  correlationId: request.correlationId,
418
- fromNativeBroker: true,
410
+ fromPlatformBroker: true,
419
411
  };
420
412
  return result;
421
413
  }
422
414
  generateAccountInfo(account, idTokenClaims) {
423
- this.logger.trace("NativeBrokerPlugin - generateAccountInfo called");
415
+ this.logger.trace("NativeBrokerPlugin - generateAccountInfo called", "");
424
416
  const accountInfo = {
425
417
  homeAccountId: account.homeAccountId,
426
418
  environment: account.environment,
@@ -444,14 +436,10 @@ class NativeBrokerPlugin {
444
436
  typeof error === "object" &&
445
437
  this.isMsalRuntimeError(error)) {
446
438
  const { errorCode, errorStatus, errorContext, errorTag } = error;
447
- const tagString = StringUtils.tagToString(errorTag);
448
- const enhancedErrorContext = errorContext
449
- ? `${errorContext} (Error Code: ${errorCode}, Tag: ${tagString})`
450
- : `(Error Code: ${errorCode}, Tag: ${tagString})`;
451
439
  switch (errorStatus) {
452
440
  case ErrorStatus.InteractionRequired:
453
441
  case ErrorStatus.AccountUnusable:
454
- return new InteractionRequiredAuthError(ErrorCodes.INTERATION_REQUIRED_ERROR_CODE, enhancedErrorContext);
442
+ return new InteractionRequiredAuthError(ErrorCodes.INTERATION_REQUIRED_ERROR_CODE, errorContext);
455
443
  case ErrorStatus.NoNetwork:
456
444
  case ErrorStatus.NetworkTemporarilyUnavailable:
457
445
  return createClientAuthError(noNetworkConnectivity);
@@ -467,7 +455,7 @@ class NativeBrokerPlugin {
467
455
  case ErrorStatus.AccountNotFound:
468
456
  return createClientAuthError(noAccountFound);
469
457
  default:
470
- return new NativeAuthError(ErrorStatus[errorStatus], enhancedErrorContext, errorCode, errorTag);
458
+ return new NativeAuthError(ErrorStatus[errorStatus], errorContext, errorCode, errorTag);
471
459
  }
472
460
  }
473
461
  throw error;
@@ -1 +1 @@
1
- {"version":3,"file":"NativeBrokerPlugin.mjs","sources":["../../src/broker/NativeBrokerPlugin.ts"],"sourcesContent":[null],"names":["MsalRuntimeLogLevel","ClientAuthErrorCodes.noAccountFound","AADServerParamKeys.X_CLIENT_EXTRA_SKU","TimeUtils.toDateFromSeconds","ClientAuthErrorCodes.noNetworkConnectivity","ClientAuthErrorCodes.userCanceled","ClientConfigurationErrorCodes.untrustedAuthority"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;;;AAGG;MAyCU,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,Q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;gBAC3B,KAAK,WAAW,CAAC,6BAA6B;AAC1C,oBAAA,OAAO,qBAAqB,CACxBC,qBAA0C,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,CACxBC,YAAiC,CACpC,CAAC;gBACN,KAAK,WAAW,CAAC,kBAAkB;AAC/B,oBAAA,OAAO,8BAA8B,CACjCC,kBAAgD,CACnD,CAAC;gBACN,KAAK,WAAW,CAAC,YAAY;;AAEzB,oBAAA,OAAO,IAAI,CAAC;gBAChB,KAAK,WAAW,CAAC,eAAe;AAC5B,oBAAA,OAAO,qBAAqB,CACxBL,cAAmC,CACtC,CAAC;AACN,gBAAA;AACI,oBAAA,OAAO,IAAI,eAAe,CACtB,WAAW,CAAC,WAAW,CAAC,EACxB,oBAAoB,EACpB,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","Constants.PromptValue","ClientAuthErrorCodes.noAccountFound","Constants.AuthenticationScheme","AADServerParamKeys.X_CLIENT_EXTRA_SKU","TimeUtils.toDateFromSeconds","ClientAuthErrorCodes.noNetworkConnectivity","ClientAuthErrorCodes.userCanceled","ClientConfigurationErrorCodes.untrustedAuthority"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;AAGG;MAsCU,kBAAkB,CAAA;AAI3B,IAAA,WAAA,GAAA;AACI,QAAA,MAAM,oBAAoB,GAAkB;YACxC,cAAc,EAAE,MAAW;;YAE3B,CAAC;AACD,YAAA,iBAAiB,EAAE,KAAK;SAC3B,CAAC;AACF,QAAA,IAAI,C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E,QAAQ,EAAE,GACpD,KAAyB,CAAC;AAC9B,YAAA,QAAQ,WAAW;gBACf,KAAK,WAAW,CAAC,mBAAmB,CAAC;gBACrC,KAAK,WAAW,CAAC,eAAe;oBAC5B,OAAO,IAAI,4BAA4B,CACnC,UAAU,CAAC,8BAA8B,EACzC,YAAY,CACf,CAAC;gBACN,KAAK,WAAW,CAAC,SAAS,CAAC;gBAC3B,KAAK,WAAW,CAAC,6BAA6B;AAC1C,oBAAA,OAAO,qBAAqB,CACxBC,qBAA0C,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,CACxBC,YAAiC,CACpC,CAAC;gBACN,KAAK,WAAW,CAAC,kBAAkB;AAC/B,oBAAA,OAAO,8BAA8B,CACjCC,kBAAgD,CACnD,CAAC;gBACN,KAAK,WAAW,CAAC,YAAY;;AAEzB,oBAAA,OAAO,IAAI,CAAC;gBAChB,KAAK,WAAW,CAAC,eAAe;AAC5B,oBAAA,OAAO,qBAAqB,CACxBN,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,QAAA,CAAA;AACD,QAAA,MAAM,KAAK,CAAC;IAChB,CAAC;AACJ;;;;"}
@@ -1,6 +1,6 @@
1
1
  import { AuthError } from "@azure/msal-common/node";
2
2
  export declare class NativeAuthError extends AuthError {
3
3
  statusCode: number;
4
- tag: string;
4
+ tag: number;
5
5
  constructor(errorStatus: string, errorContext: string, errorCode: number, errorTag: number);
6
6
  }
@@ -1,6 +1,5 @@
1
- /*! @azure/msal-node-extensions v1.5.23 2025-09-24 */
1
+ /*! @azure/msal-node-extensions v5.0.0-alpha.0 2025-10-07 */
2
2
  'use strict';
3
- import { StringUtils } from '../utils/StringUtils.mjs';
4
3
  import { AuthError } from '../lib/msal-common/dist/error/AuthError.mjs';
5
4
 
6
5
  /*
@@ -12,7 +11,7 @@ class NativeAuthError extends AuthError {
12
11
  super(errorStatus, errorContext);
13
12
  this.name = "NativeAuthError";
14
13
  this.statusCode = errorCode;
15
- this.tag = StringUtils.tagToString(errorTag);
14
+ this.tag = errorTag;
16
15
  Object.setPrototypeOf(this, NativeAuthError.prototype);
17
16
  }
18
17
  }
@@ -1 +1 @@
1
- {"version":3,"file":"NativeAuthError.mjs","sources":["../../src/error/NativeAuthError.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;AAAA;;;AAGG;AAKG,MAAO,eAAgB,SAAQ,SAAS,CAAA;AAI1C,IAAA,WAAA,CACI,WAAmB,EACnB,YAAoB,EACpB,SAAiB,EACjB,QAAgB,EAAA;AAEhB,QAAA,KAAK,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;AACjC,QAAA,IAAI,CAAC,IAAI,GAAG,iBAAiB,CAAC;AAC9B,QAAA,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;QAC5B,IAAI,CAAC,GAAG,GAAG,WAAW,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;QAC7C,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,eAAe,CAAC,SAAS,CAAC,CAAC;KAC1D;AACJ;;;;"}
1
+ {"version":3,"file":"NativeAuthError.mjs","sources":["../../src/error/NativeAuthError.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAAA;;;AAGG;AAIG,MAAO,eAAgB,SAAQ,SAAS,CAAA;AAI1C,IAAA,WAAA,CACI,WAAmB,EACnB,YAAoB,EACpB,SAAiB,EACjB,QAAgB,EAAA;AAEhB,QAAA,KAAK,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;AACjC,QAAA,IAAI,CAAC,IAAI,GAAG,iBAAiB,CAAC;AAC9B,QAAA,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC;AAC5B,QAAA,IAAI,CAAC,GAAG,GAAG,QAAQ,CAAC;QACpB,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,eAAe,CAAC,SAAS,CAAC,CAAC;IAC3D,CAAC;AACJ;;;;"}
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node-extensions v1.5.23 2025-09-24 */
1
+ /*! @azure/msal-node-extensions v5.0.0-alpha.0 2025-10-07 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1 +1 @@
1
- {"version":3,"file":"PersistenceError.mjs","sources":["../../src/error/PersistenceError.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAEH;;AAEG;AACG,MAAO,gBAAiB,SAAQ,KAAK,CAAA;IAMvC,WAAY,CAAA,SAAiB,EAAE,YAAoB,EAAA;QAC/C,MAAM,WAAW,GAAG,YAAY;AAC5B,cAAE,CAAA,EAAG,SAAS,CAAA,EAAA,EAAK,YAAY,CAAE,CAAA;cAC/B,SAAS,CAAC;QAChB,KAAK,CAAC,WAAW,CAAC,CAAC;QACnB,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC;AAExD,QAAA,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;AAC3B,QAAA,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;AACjC,QAAA,IAAI,CAAC,IAAI,GAAG,kBAAkB,CAAC;KAClC;AAED;;AAEG;AACH,IAAA,OAAO,qBAAqB,CACxB,SAAiB,EACjB,YAAoB,EAAA;AAEpB,QAAA,OAAO,IAAI,gBAAgB,CAAC,SAAS,EAAE,YAAY,CAAC,CAAC;KACxD;AAED;;;AAGG;IACH,OAAO,oBAAoB,CAAC,YAAoB,EAAA;AAC5C,QAAA,OAAO,IAAI,gBAAgB,CAAC,mBAAmB,EAAE,YAAY,CAAC,CAAC;KAClE;AAED;;AAEG;IACH,OAAO,8BAA8B,CACjC,YAAoB,EAAA;AAEpB,QAAA,OAAO,IAAI,gBAAgB,CAAC,eAAe,EAAE,YAAY,CAAC,CAAC;KAC9D;AAED;;AAEG;IACH,OAAO,mCAAmC,CACtC,YAAoB,EAAA;AAEpB,QAAA,OAAO,IAAI,gBAAgB,CAAC,yBAAyB,EAAE,YAAY,CAAC,CAAC;KACxE;AAED;;AAEG;IACH,OAAO,4BAA4B,CAC/B,YAAoB,EAAA;AAEpB,QAAA,OAAO,IAAI,gBAAgB,CAAC,wBAAwB,EAAE,YAAY,CAAC,CAAC;KACvE;AAED;;;;;AAKG;IACH,OAAO,2BAA2B,CAAC,YAAoB,EAAA;AACnD,QAAA,OAAO,IAAI,gBAAgB,CAAC,uBAAuB,EAAE,YAAY,CAAC,CAAC;KACtE;AAED;;;;;AAKG;IACH,OAAO,uBAAuB,CAAC,YAAoB,EAAA;AAC/C,QAAA,OAAO,IAAI,gBAAgB,CAAC,mBAAmB,EAAE,YAAY,CAAC,CAAC;KAClE;AAED;;;;;AAKG;IACH,OAAO,iCAAiC,CACpC,YAAoB,EAAA;AAEpB,QAAA,OAAO,IAAI,gBAAgB,CACvB,6BAA6B,EAC7B,YAAY,CACf,CAAC;KACL;AAED;;;;;AAKG;IACH,OAAO,kCAAkC,CACrC,YAAoB,EAAA;AAEpB,QAAA,OAAO,IAAI,gBAAgB,CACvB,8BAA8B,EAC9B,YAAY,CACf,CAAC;KACL;AACJ;;;;"}
1
+ {"version":3,"file":"PersistenceError.mjs","sources":["../../src/error/PersistenceError.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAEH;;AAEG;AACG,MAAO,gBAAiB,SAAQ,KAAK,CAAA;IAMvC,WAAA,CAAY,SAAiB,EAAE,YAAoB,EAAA;QAC/C,MAAM,WAAW,GAAG,YAAY;AAC5B,cAAE,CAAA,EAAG,SAAS,CAAA,EAAA,EAAK,YAAY,CAAA,CAAE;cAC/B,SAAS,CAAC;QA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AC;AAED;;;;;AAKG;IACH,OAAO,iCAAiC,CACpC,YAAoB,EAAA;AAEpB,QAAA,OAAO,IAAI,gBAAgB,CACvB,6BAA6B,EAC7B,YAAY,CACf,CAAC;IACN,CAAC;AAED;;;;;AAKG;IACH,OAAO,kCAAkC,CACrC,YAAoB,EAAA;AAEpB,QAAA,OAAO,IAAI,gBAAgB,CACvB,8BAA8B,EAC9B,YAAY,CACf,CAAC;IACN,CAAC;AACJ;;;;"}
package/dist/index.d.ts CHANGED
@@ -9,5 +9,4 @@ export { CrossPlatformLockOptions } from "./lock/CrossPlatformLockOptions.js";
9
9
  export { PersistenceCreator } from "./persistence/PersistenceCreator.js";
10
10
  export { IPersistenceConfiguration } from "./persistence/IPersistenceConfiguration.js";
11
11
  export { Environment } from "./utils/Environment.js";
12
- export { StringUtils } from "./utils/StringUtils.js";
13
12
  export { NativeBrokerPlugin } from "./broker/NativeBrokerPlugin.js";
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-node-extensions v1.5.23 2025-09-24 */
1
+ /*! @azure/msal-node-extensions v5.0.0-alpha.0 2025-10-07 */
2
2
  'use strict';
3
3
  export { PersistenceCachePlugin } from './persistence/PersistenceCachePlugin.mjs';
4
4
  export { FilePersistence } from './persistence/FilePersistence.mjs';
@@ -8,6 +8,5 @@ export { KeychainPersistence } from './persistence/KeychainPersistence.mjs';
8
8
  export { LibSecretPersistence } from './persistence/LibSecretPersistence.mjs';
9
9
  export { PersistenceCreator } from './persistence/PersistenceCreator.mjs';
10
10
  export { Environment } from './utils/Environment.mjs';
11
- export { StringUtils } from './utils/StringUtils.mjs';
12
11
  export { NativeBrokerPlugin } from './broker/NativeBrokerPlugin.mjs';
13
12
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
@@ -1,6 +1,6 @@
1
- /*! @azure/msal-node-extensions v1.5.23 2025-09-24 */
1
+ /*! @azure/msal-node-extensions v5.0.0-alpha.0 2025-10-07 */
2
2
  'use strict';
3
- /*! @azure/msal-common v15.13.0 2025-09-24 */
3
+ /*! @azure/msal-common v16.0.0-alpha.0 2025-10-07 */
4
4
  const X_CLIENT_EXTRA_SKU = "x-client-xtra-sku";
5
5
 
6
6
  export { X_CLIENT_EXTRA_SKU };
@@ -1 +1 @@
1
- {"version":3,"file":"AADServerParamKeys.mjs","sources":["../../../../../../../lib/msal-common/dist/constants/AADServerParamKeys.mjs"],"sourcesContent":["/*! @azure/msal-common v15.13.0 2025-09-24 */\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\";\r\nconst BROKER_CLIENT_ID = \"brk_client_id\";\r\nconst BROKER_REDIRECT_URI = \"brk_redirect_uri\";\r\nconst INSTANCE_AWARE = \"instance_aware\";\r\nconst EAR_JWK = \"ear_jwk\";\r\nconst EAR_JWE_CRYPTO = \"ear_jwe_crypto\";\n\nexport { ACCESS_TOKEN, BROKER_CLIENT_ID, BROKER_REDIRECT_URI, 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, EAR_JWE_CRYPTO, EAR_JWK, ERROR, ERROR_DESCRIPTION, EXPIRES_IN, FOCI, GRANT_TYPE, ID_TOKEN, ID_TOKEN_HINT, INSTANCE_AWARE, 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;;;;"}
1
+ {"version":3,"file":"AADServerParamKeys.mjs","sources":["../../../../../../../lib/msal-common/dist/constants/AADServerParamKeys.mjs"],"sourcesContent":["/*! @azure/msal-common v16.0.0-alpha.0 2025-10-07 */\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\";\r\nconst BROKER_CLIENT_ID = \"brk_client_id\";\r\nconst BROKER_REDIRECT_URI = \"brk_redirect_uri\";\r\nconst INSTANCE_AWARE = \"instance_aware\";\r\nconst EAR_JWK = \"ear_jwk\";\r\nconst EAR_JWE_CRYPTO = \"ear_jwe_crypto\";\n\nexport { ACCESS_TOKEN, BROKER_CLIENT_ID, BROKER_REDIRECT_URI, 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, EAR_JWE_CRYPTO, EAR_JWK, ERROR, ERROR_DESCRIPTION, EXPIRES_IN, FOCI, GRANT_TYPE, ID_TOKEN, ID_TOKEN_HINT, INSTANCE_AWARE, 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;;;;"}
@@ -1,21 +1,26 @@
1
- /*! @azure/msal-node-extensions v1.5.23 2025-09-24 */
1
+ /*! @azure/msal-node-extensions v5.0.0-alpha.0 2025-10-07 */
2
2
  'use strict';
3
- import { Constants } from '../utils/Constants.mjs';
4
-
5
- /*! @azure/msal-common v15.13.0 2025-09-24 */
3
+ /*! @azure/msal-common v16.0.0-alpha.0 2025-10-07 */
4
+ /*
5
+ * Copyright (c) Microsoft Corporation. All rights reserved.
6
+ * Licensed under the MIT License.
7
+ */
8
+ function getDefaultErrorMessage(code) {
9
+ return `See https://aka.ms/msal.js.errors#${code} for details`;
10
+ }
6
11
  /**
7
12
  * General error class thrown by the MSAL.js library.
8
13
  */
9
14
  class AuthError extends Error {
10
15
  constructor(errorCode, errorMessage, suberror) {
11
- const errorString = errorMessage
12
- ? `${errorCode}: ${errorMessage}`
13
- : errorCode;
16
+ const message = errorMessage ||
17
+ (errorCode ? getDefaultErrorMessage(errorCode) : "");
18
+ const errorString = message ? `${errorCode}: ${message}` : errorCode;
14
19
  super(errorString);
15
20
  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;
21
+ this.errorCode = errorCode || "";
22
+ this.errorMessage = message || "";
23
+ this.subError = suberror || "";
19
24
  this.name = "AuthError";
20
25
  }
21
26
  setCorrelationId(correlationId) {
@@ -23,5 +28,5 @@ class AuthError extends Error {
23
28
  }
24
29
  }
25
30
 
26
- export { AuthError };
31
+ export { AuthError, getDefaultErrorMessage };
27
32
  //# sourceMappingURL=AuthError.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"AuthError.mjs","sources":["../../../../../../../lib/msal-common/dist/error/AuthError.mjs"],"sourcesContent":["/*! @azure/msal-common v15.13.0 2025-09-24 */\n'use strict';\nimport { Constants } from '../utils/Constants.mjs';\nimport { postRequestFailed, unexpectedError } 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;;;;"}
1
+ {"version":3,"file":"AuthError.mjs","sources":["../../../../../../../lib/msal-common/dist/error/AuthError.mjs"],"sourcesContent":["/*! @azure/msal-common v16.0.0-alpha.0 2025-10-07 */\n'use strict';\n/*\r\n * Copyright (c) Microsoft Corporation. All rights reserved.\r\n * Licensed under the MIT License.\r\n */\r\nfunction getDefaultErrorMessage(code) {\r\n return `See https://aka.ms/msal.js.errors#${code} for details`;\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 message = errorMessage ||\r\n (errorCode ? getDefaultErrorMessage(errorCode) : \"\");\r\n const errorString = message ? `${errorCode}: ${message}` : errorCode;\r\n super(errorString);\r\n Object.setPrototypeOf(this, AuthError.prototype);\r\n this.errorCode = errorCode || \"\";\r\n this.errorMessage = message || \"\";\r\n this.subError = suberror || \"\";\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 || getDefaultErrorMessage(code));\r\n}\n\nexport { AuthError, createAuthError, getDefaultErrorMessage };\n//# sourceMappingURL=AuthError.mjs.map\n"],"names":[],"mappings":";;AAAA;AAEA;AACA;AACA;AACA;AACA,SAAS,sBAAsB,CAAC,IAAI,EAAE;AACtC,IAAI,OAAO,CAAC,kCAAkC,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC;AACnE,CAAC;AACD;AACA;AACA;AACA,MAAM,SAAS,SAAS,KAAK,CAAC;AAC9B,IAAI,WAAW,CAAC,SAAS,EAAE,YAAY,EAAE,QAAQ,EAAE;AACnD,QAAQ,MAAM,OAAO,GAAG,YAAY;AACpC,aAAa,SAAS,GAAG,sBAAsB,CAAC,SAAS,CAAC,GAAG,EAAE,CAAC,CAAC;AACjE,QAAQ,MAAM,WAAW,GAAG,OAAO,GAAG,CAAC,EAAE,SAAS,CAAC,EAAE,EAAE,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC;AAC7E,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,EAAE,CAAC;AACzC,QAAQ,IAAI,CAAC,YAAY,GAAG,OAAO,IAAI,EAAE,CAAC;AAC1C,QAAQ,IAAI,CAAC,QAAQ,GAAG,QAAQ,IAAI,EAAE,CAAC;AACvC,QAAQ,IAAI,CAAC,IAAI,GAAG,WAAW,CAAC;AAChC,IAAI,CAAC;AACL,IAAI,gBAAgB,CAAC,aAAa,EAAE;AACpC,QAAQ,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;AAC3C,IAAI,CAAC;AACL;;;;"}
@@ -1,9 +1,8 @@
1
- /*! @azure/msal-node-extensions v1.5.23 2025-09-24 */
1
+ /*! @azure/msal-node-extensions v5.0.0-alpha.0 2025-10-07 */
2
2
  'use strict';
3
3
  import { AuthError } from './AuthError.mjs';
4
- import { nestedAppAuthBridgeDisabled, methodNotImplemented, missingTenantIdError, userCanceled, noNetworkConnectivity, keyIdMissing, endSessionEndpointNotSupported, bindingKeyNotRemoved, authorizationCodeMissingFromServerResponse, tokenClaimsCnfRequiredForSignedJwt, userTimeoutReached, tokenRefreshRequired, invalidClientCredential, invalidAssertion, unexpectedCredentialType, noCryptoObject, noAccountFound, invalidCacheEnvironment, invalidCacheRecord, noAccountInSilentRequest, deviceCodeUnknownError, deviceCodeExpired, deviceCodePollingCancelled, emptyInputScopeSet, cannotAppendScopeSet, cannotRemoveEmptyScope, requestCannotBeMade, multipleMatchingAppMetadata, multipleMatchingAccounts, multipleMatchingTokens, maxAgeTranspired, authTimeNotFound, nonceMismatch, stateNotFound, stateMismatch, invalidState, hashNotDeserialized, openIdConfigError, networkError, endpointResolutionError, nullOrEmptyToken, tokenParsingError, clientInfoEmptyError, clientInfoDecodingError } from './ClientAuthErrorCodes.mjs';
5
4
 
6
- /*! @azure/msal-common v15.13.0 2025-09-24 */
5
+ /*! @azure/msal-common v16.0.0-alpha.0 2025-10-07 */
7
6
 
8
7
  /*
9
8
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -12,63 +11,12 @@ import { nestedAppAuthBridgeDisabled, methodNotImplemented, missingTenantIdError
12
11
  /**
13
12
  * ClientAuthErrorMessage class containing string constants used by error codes and messages.
14
13
  */
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
14
  /**
65
15
  * Error thrown when there is an error in the client code running on the browser.
66
16
  */
67
17
  class ClientAuthError extends AuthError {
68
18
  constructor(errorCode, additionalMessage) {
69
- super(errorCode, additionalMessage
70
- ? `${ClientAuthErrorMessages[errorCode]}: ${additionalMessage}`
71
- : ClientAuthErrorMessages[errorCode]);
19
+ super(errorCode, additionalMessage);
72
20
  this.name = "ClientAuthError";
73
21
  Object.setPrototypeOf(this, ClientAuthError.prototype);
74
22
  }
@@ -77,5 +25,5 @@ function createClientAuthError(errorCode, additionalMessage) {
77
25
  return new ClientAuthError(errorCode, additionalMessage);
78
26
  }
79
27
 
80
- export { ClientAuthError, ClientAuthErrorMessages, createClientAuthError };
28
+ export { ClientAuthError, createClientAuthError };
81
29
  //# sourceMappingURL=ClientAuthError.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"ClientAuthError.mjs","sources":["../../../../../../../lib/msal-common/dist/error/ClientAuthError.mjs"],"sourcesContent":["/*! @azure/msal-common v15.13.0 2025-09-24 */\n'use strict';\nimport { AuthError } from './AuthError.mjs';\nimport { nestedAppAuthBridgeDisabled, missingTenantIdError, userCanceled, noNetworkConnectivity, keyIdMissing, endSessionEndpointNotSupported, bindingKeyNotRemoved, authorizationCodeMissingFromServerResponse, tokenClaimsCnfRequiredForSignedJwt, userTimeoutReached, tokenRefreshRequired, invalidClientCredential, invalidAssertion, unexpectedCredentialType, noCryptoObject, noAccountFound, invalidCacheEnvironment, invalidCacheRecord, noAccountInSilentRequest, deviceCodeUnknownError, deviceCodeExpired, deviceCodePollingCancelled, emptyInputScopeSet, cannotAppendScopeSet, cannotRemoveEmptyScope, requestCannotBeMade, multipleMatchingAppMetadata, multipleMatchingAccounts, multipleMatchingTokens, maxAgeTranspired, authTimeNotFound, nonceMismatch, stateNotFound, stateMismatch, invalidState, hashNotDeserialized, openIdConfigError, networkError, endpointResolutionError, nullOrEmptyToken, tokenParsingError, clientInfoEmptyError, clientInfoDecodingError, 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;;AAOA;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,wBAAwB;AACjD,IAAI,CAAC,gBAAgB,GAAG,4BAA4B;AACpD,IAAI,CAAC,uBAAuB,GAAG,8BAA8B;AAC7D,IAAI,CAAC,YAAY,GAAG,wBAAwB;AAC5C,IAAI,CAAC,iBAAiB,GAAG,6IAA6I;AACtK,IAAI,CAAC,mBAAmB,GAAG,+CAA+C;AAC1E,IAAI,CAAC,YA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AACzF,IAAI,CAAC,8BAA8B,GAAG,gDAAgD;AACtF,IAAI,CAAC,YAAY,GAAG,uIAAuI;AAC3J,IAAI,CAAC,qBAAqB,GAAG,0DAA0D;AACvF,IAAI,CAAC,YAAY,GAAG,0BAA0B;AAC9C,IAAI,CAAC,oBAAoB,GAAG,mHAAmH;AAC/I,IAAI,CAAC,oBAAoB,GAAG,sCAAsC;AAClE,IAAI,CAAC,2BAA2B,GAAG,wCAAwC;AAC3E,EAAE;AAmLF;AACA;AACA;AACA,MAAM,eAAe,SAAS,SAAS,CAAC;AACxC,IAAI,WAAW,CAAC,SAAS,EAAE,iBAAiB,EAAE;AAC9C,QAAQ,KAAK,CAAC,SAAS,EAAE,iBAAiB;AAC1C,cAAc,CAAC,EAAE,uBAAuB,CAAC,SAAS,CAAC,CAAC,EAAE,EAAE,iBAAiB,CAAC,CAAC;AAC3E,cAAc,uBAAuB,CAAC,SAAS,CAAC,CAAC,CAAC;AAClD,QAAQ,IAAI,CAAC,IAAI,GAAG,iBAAiB,CAAC;AACtC,QAAQ,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,eAAe,CAAC,SAAS,CAAC,CAAC;AAC/D,KAAK;AACL,CAAC;AACD,SAAS,qBAAqB,CAAC,SAAS,EAAE,iBAAiB,EAAE;AAC7D,IAAI,OAAO,IAAI,eAAe,CAAC,SAAS,EAAE,iBAAiB,CAAC,CAAC;AAC7D;;;;"}
1
+ {"version":3,"file":"ClientAuthError.mjs","sources":["../../../../../../../lib/msal-common/dist/error/ClientAuthError.mjs"],"sourcesContent":["/*! @azure/msal-common v16.0.0-alpha.0 2025-10-07 */\n'use strict';\nimport { AuthError } from './AuthError.mjs';\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\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 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, createClientAuthError };\n//# sourceMappingURL=ClientAuthError.mjs.map\n"],"names":[],"mappings":";;;;AAAA;;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,eAAe,SAAS,SAAS,CAAC;AACxC,IAAI,WAAW,CAAC,SAAS,EAAE,iBAAiB,EAAE;AAC9C,QAAQ,KAAK,CAAC,SAAS,EAAE,iBAAiB,CAAC,CAAC;AAC5C,QAAQ,IAAI,CAAC,IAAI,GAAG,iBAAiB,CAAC;AACtC,QAAQ,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,eAAe,CAAC,SAAS,CAAC,CAAC;AAC/D,IAAI,CAAC;AACL,CAAC;AACD,SAAS,qBAAqB,CAAC,SAAS,EAAE,iBAAiB,EAAE;AAC7D,IAAI,OAAO,IAAI,eAAe,CAAC,SAAS,EAAE,iBAAiB,CAAC,CAAC;AAC7D;;;;"}