@azure/msal-node-extensions 1.5.26 → 5.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/arm64/dpapi.node +0 -0
- package/bin/ia32/dpapi.node +0 -0
- package/bin/x64/dpapi.node +0 -0
- package/dist/Dpapi.mjs +1 -1
- package/dist/broker/NativeBrokerPlugin.mjs +24 -25
- package/dist/broker/NativeBrokerPlugin.mjs.map +1 -1
- package/dist/error/PersistenceError.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/lib/msal-common/dist/constants/AADServerParamKeys.mjs +2 -2
- package/dist/lib/msal-common/dist/constants/AADServerParamKeys.mjs.map +1 -1
- package/dist/lib/msal-common/dist/error/AuthError.mjs +16 -11
- package/dist/lib/msal-common/dist/error/AuthError.mjs.map +1 -1
- package/dist/lib/msal-common/dist/error/ClientAuthError.mjs +4 -57
- package/dist/lib/msal-common/dist/error/ClientAuthError.mjs.map +1 -1
- package/dist/lib/msal-common/dist/error/ClientAuthErrorCodes.mjs +3 -48
- package/dist/lib/msal-common/dist/error/ClientAuthErrorCodes.mjs.map +1 -1
- package/dist/lib/msal-common/dist/error/ClientConfigurationError.mjs +4 -31
- package/dist/lib/msal-common/dist/error/ClientConfigurationError.mjs.map +1 -1
- package/dist/lib/msal-common/dist/error/ClientConfigurationErrorCodes.mjs +4 -31
- package/dist/lib/msal-common/dist/error/ClientConfigurationErrorCodes.mjs.map +1 -1
- package/dist/lib/msal-common/dist/error/InteractionRequiredAuthError.mjs +6 -7
- package/dist/lib/msal-common/dist/error/InteractionRequiredAuthError.mjs.map +1 -1
- package/dist/lib/msal-common/dist/error/PlatformBrokerError.mjs +4 -3
- package/dist/lib/msal-common/dist/error/PlatformBrokerError.mjs.map +1 -1
- package/dist/lib/msal-common/dist/error/ServerError.mjs +2 -2
- package/dist/lib/msal-common/dist/error/ServerError.mjs.map +1 -1
- package/dist/lib/msal-common/dist/logger/Logger.mjs +91 -23
- package/dist/lib/msal-common/dist/logger/Logger.mjs.map +1 -1
- package/dist/lib/msal-common/dist/telemetry/server/ServerTelemetryManager.mjs +29 -31
- package/dist/lib/msal-common/dist/telemetry/server/ServerTelemetryManager.mjs.map +1 -1
- package/dist/lib/msal-common/dist/utils/Constants.mjs +15 -79
- package/dist/lib/msal-common/dist/utils/Constants.mjs.map +1 -1
- package/dist/lib/msal-common/dist/utils/TimeUtils.mjs +2 -2
- package/dist/lib/msal-common/dist/utils/TimeUtils.mjs.map +1 -1
- package/dist/lock/CrossPlatformLock.mjs +10 -10
- package/dist/lock/CrossPlatformLock.mjs.map +1 -1
- package/dist/packageMetadata.d.ts +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/persistence/BasePersistence.mjs +1 -1
- package/dist/persistence/DataProtectionScope.mjs +1 -1
- package/dist/persistence/FilePersistence.mjs +5 -5
- package/dist/persistence/FilePersistence.mjs.map +1 -1
- package/dist/persistence/FilePersistenceWithDataProtection.mjs +2 -2
- package/dist/persistence/FilePersistenceWithDataProtection.mjs.map +1 -1
- package/dist/persistence/KeychainPersistence.mjs +1 -1
- package/dist/persistence/LibSecretPersistence.mjs +1 -1
- package/dist/persistence/PersistenceCachePlugin.mjs +12 -12
- package/dist/persistence/PersistenceCachePlugin.mjs.map +1 -1
- package/dist/persistence/PersistenceCreator.mjs +1 -1
- package/dist/utils/Constants.mjs +1 -1
- package/dist/utils/Environment.mjs +1 -1
- package/dist/utils/TypeGuards.mjs +1 -1
- package/lib/msal-node-extensions.cjs +259 -398
- package/lib/msal-node-extensions.cjs.map +1 -1
- package/lib/types/packageMetadata.d.ts +1 -1
- package/package.json +4 -6
package/bin/arm64/dpapi.node
CHANGED
|
Binary file
|
package/bin/ia32/dpapi.node
CHANGED
|
Binary file
|
package/bin/x64/dpapi.node
CHANGED
|
Binary file
|
package/dist/Dpapi.mjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
/*! @azure/msal-node-extensions
|
|
1
|
+
/*! @azure/msal-node-extensions v5.0.0-beta.0 2025-12-05 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { msalNodeRuntime, ErrorStatus, LogLevel } from '@azure/msal-node-runtime';
|
|
4
4
|
import { ErrorCodes } from '../utils/Constants.mjs';
|
|
5
5
|
import { name, version } from '../packageMetadata.mjs';
|
|
6
6
|
import { Logger } from '../lib/msal-common/dist/logger/Logger.mjs';
|
|
7
|
-
import { Constants, PromptValue, AuthenticationScheme } from '../lib/msal-common/dist/utils/Constants.mjs';
|
|
8
7
|
import { createClientAuthError } from '../lib/msal-common/dist/error/ClientAuthError.mjs';
|
|
9
8
|
import { ServerTelemetryManager } from '../lib/msal-common/dist/telemetry/server/ServerTelemetryManager.mjs';
|
|
10
9
|
import { PlatformBrokerError } from '../lib/msal-common/dist/error/PlatformBrokerError.mjs';
|
|
11
10
|
import { createClientConfigurationError } from '../lib/msal-common/dist/error/ClientConfigurationError.mjs';
|
|
12
11
|
import { ServerError } from '../lib/msal-common/dist/error/ServerError.mjs';
|
|
13
12
|
import { InteractionRequiredAuthError } from '../lib/msal-common/dist/error/InteractionRequiredAuthError.mjs';
|
|
13
|
+
import { PromptValue, AuthenticationScheme } from '../lib/msal-common/dist/utils/Constants.mjs';
|
|
14
14
|
import { X_CLIENT_EXTRA_SKU } from '../lib/msal-common/dist/constants/AADServerParamKeys.mjs';
|
|
15
15
|
import { toDateFromSeconds } from '../lib/msal-common/dist/utils/TimeUtils.mjs';
|
|
16
16
|
import { noAccountFound, platformBrokerError, userCanceled, noNetworkConnectivity } from '../lib/msal-common/dist/error/ClientAuthErrorCodes.mjs';
|
|
@@ -33,62 +33,62 @@ class NativeBrokerPlugin {
|
|
|
33
33
|
}
|
|
34
34
|
setLogger(loggerOptions) {
|
|
35
35
|
this.logger = new Logger(loggerOptions, name, version);
|
|
36
|
-
const logCallback = (message, logLevel, containsPii) => {
|
|
36
|
+
const logCallback = (message, logLevel, containsPii, correlationId = "") => {
|
|
37
37
|
switch (logLevel) {
|
|
38
38
|
case LogLevel.Trace:
|
|
39
39
|
if (containsPii) {
|
|
40
|
-
this.logger.tracePii(message);
|
|
40
|
+
this.logger.tracePii(message, correlationId);
|
|
41
41
|
}
|
|
42
42
|
else {
|
|
43
|
-
this.logger.trace(message);
|
|
43
|
+
this.logger.trace(message, correlationId);
|
|
44
44
|
}
|
|
45
45
|
break;
|
|
46
46
|
case LogLevel.Debug:
|
|
47
47
|
if (containsPii) {
|
|
48
|
-
this.logger.tracePii(message);
|
|
48
|
+
this.logger.tracePii(message, correlationId);
|
|
49
49
|
}
|
|
50
50
|
else {
|
|
51
|
-
this.logger.trace(message);
|
|
51
|
+
this.logger.trace(message, correlationId);
|
|
52
52
|
}
|
|
53
53
|
break;
|
|
54
54
|
case LogLevel.Info:
|
|
55
55
|
if (containsPii) {
|
|
56
|
-
this.logger.infoPii(message);
|
|
56
|
+
this.logger.infoPii(message, correlationId);
|
|
57
57
|
}
|
|
58
58
|
else {
|
|
59
|
-
this.logger.info(message);
|
|
59
|
+
this.logger.info(message, correlationId);
|
|
60
60
|
}
|
|
61
61
|
break;
|
|
62
62
|
case LogLevel.Warning:
|
|
63
63
|
if (containsPii) {
|
|
64
|
-
this.logger.warningPii(message);
|
|
64
|
+
this.logger.warningPii(message, correlationId);
|
|
65
65
|
}
|
|
66
66
|
else {
|
|
67
|
-
this.logger.warning(message);
|
|
67
|
+
this.logger.warning(message, correlationId);
|
|
68
68
|
}
|
|
69
69
|
break;
|
|
70
70
|
case LogLevel.Error:
|
|
71
71
|
if (containsPii) {
|
|
72
|
-
this.logger.errorPii(message);
|
|
72
|
+
this.logger.errorPii(message, correlationId);
|
|
73
73
|
}
|
|
74
74
|
else {
|
|
75
|
-
this.logger.error(message);
|
|
75
|
+
this.logger.error(message, correlationId);
|
|
76
76
|
}
|
|
77
77
|
break;
|
|
78
78
|
case LogLevel.Fatal:
|
|
79
79
|
if (containsPii) {
|
|
80
|
-
this.logger.errorPii(message);
|
|
80
|
+
this.logger.errorPii(message, correlationId);
|
|
81
81
|
}
|
|
82
82
|
else {
|
|
83
|
-
this.logger.error(message);
|
|
83
|
+
this.logger.error(message, correlationId);
|
|
84
84
|
}
|
|
85
85
|
break;
|
|
86
86
|
default:
|
|
87
87
|
if (containsPii) {
|
|
88
|
-
this.logger.infoPii(message);
|
|
88
|
+
this.logger.infoPii(message, correlationId);
|
|
89
89
|
}
|
|
90
90
|
else {
|
|
91
|
-
this.logger.info(message);
|
|
91
|
+
this.logger.info(message, correlationId);
|
|
92
92
|
}
|
|
93
93
|
break;
|
|
94
94
|
}
|
|
@@ -212,8 +212,7 @@ class NativeBrokerPlugin {
|
|
|
212
212
|
case PromptValue.SELECT_ACCOUNT:
|
|
213
213
|
case PromptValue.CREATE:
|
|
214
214
|
this.logger.info("Calling native interop SignInInteractively API", platformRequest.correlationId);
|
|
215
|
-
const loginHint = platformRequest.loginHint ||
|
|
216
|
-
Constants.EMPTY_STRING;
|
|
215
|
+
const loginHint = platformRequest.loginHint || "";
|
|
217
216
|
msalNodeRuntime.SignInInteractivelyAsync(windowHandle, authParams, platformRequest.correlationId, loginHint, resultCallback);
|
|
218
217
|
break;
|
|
219
218
|
case PromptValue.NONE:
|
|
@@ -233,8 +232,7 @@ class NativeBrokerPlugin {
|
|
|
233
232
|
}
|
|
234
233
|
else {
|
|
235
234
|
this.logger.info("Calling native interop SignIn API", platformRequest.correlationId);
|
|
236
|
-
const loginHint = platformRequest.loginHint ||
|
|
237
|
-
Constants.EMPTY_STRING;
|
|
235
|
+
const loginHint = platformRequest.loginHint || "";
|
|
238
236
|
msalNodeRuntime.SignInAsync(windowHandle, authParams, platformRequest.correlationId, loginHint, resultCallback);
|
|
239
237
|
}
|
|
240
238
|
break;
|
|
@@ -323,7 +321,8 @@ class NativeBrokerPlugin {
|
|
|
323
321
|
if (request.claims) {
|
|
324
322
|
authParams.SetDecodedClaims(request.claims);
|
|
325
323
|
}
|
|
326
|
-
if (request.authenticationScheme ===
|
|
324
|
+
if (request.authenticationScheme ===
|
|
325
|
+
AuthenticationScheme.POP) {
|
|
327
326
|
if (!request.resourceRequestMethod ||
|
|
328
327
|
!request.resourceRequestUri) {
|
|
329
328
|
throw new Error("Authentication Scheme set to POP but one or more of the following parameters are missing: resourceRequestMethod, resourceRequestUri");
|
|
@@ -414,12 +413,12 @@ class NativeBrokerPlugin {
|
|
|
414
413
|
expiresOn: toDateFromSeconds(authResult.expiresOn),
|
|
415
414
|
tokenType: tokenType,
|
|
416
415
|
correlationId: request.correlationId,
|
|
417
|
-
|
|
416
|
+
fromPlatformBroker: true,
|
|
418
417
|
};
|
|
419
418
|
return result;
|
|
420
419
|
}
|
|
421
420
|
generateAccountInfo(account, idTokenClaims) {
|
|
422
|
-
this.logger.trace("NativeBrokerPlugin - generateAccountInfo called");
|
|
421
|
+
this.logger.trace("NativeBrokerPlugin - generateAccountInfo called", "");
|
|
423
422
|
const accountInfo = {
|
|
424
423
|
homeAccountId: account.homeAccountId,
|
|
425
424
|
environment: account.environment,
|
|
@@ -455,7 +454,7 @@ class NativeBrokerPlugin {
|
|
|
455
454
|
wrappedError = createClientAuthError(noNetworkConnectivity);
|
|
456
455
|
break;
|
|
457
456
|
case ErrorStatus.ServerTemporarilyUnavailable:
|
|
458
|
-
wrappedError = new ServerError(ErrorCodes.SERVER_UNAVAILABLE,
|
|
457
|
+
wrappedError = new ServerError(ErrorCodes.SERVER_UNAVAILABLE, msalNodeRuntimeError.message);
|
|
459
458
|
break;
|
|
460
459
|
case ErrorStatus.UserCanceled:
|
|
461
460
|
wrappedError = createClientAuthError(userCanceled);
|
|
@@ -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.userCan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RuntimeLogLevel","Constants.PromptValue","ClientAuthErrorCodes.noAccountFound","Constants.AuthenticationScheme","AADServerParamKeys.X_CLIENT_EXTRA_SKU","TimeUtils.toDateFromSeconds","ClientAuthErrorCodes.noNetworkConnectivity","ClientAuthErrorCodes.userCanceled","ClientConfigurationErrorCodes.untrustedAuthority","ClientAuthErrorCodes.platformBrokerError"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;;;AAGG;MAsCU,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;AACvD,QAAA,MAAM,WAAW,GAAG,CAChB,OAAe,EACf,QAA6B,EAC7B,WAAoB,EACpB,aAAA,GAAwB,EAAE,KAC1B;AACA,YAAA,QAAQ,QAAQ;gBACZ,KAAKA,QAAmB,CAAC,KAAK;AAC1B,oBAAA,IAAI,WAAW,EAAE;wBACb,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;AAChD,qBAAA;AAAM,yBAAA;wBACH,IAAI,CAAC,MAAM,CAAC,KAAK,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC;AAC7C,qBAAA;oBACD,MAAM;gBACV,KAAKA,QAAmB,CAAC,KAAK;AAC1B,oBAAA,IAAI,WAAW,EAAE;wBACb,IAAI,CAAC,MAAM,CA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AAM;AACV,gBAAA;AACI,oBAAA,YAAY,GAAG,qBAAqB,CAChCO,mBAAwC,CAC3C,CAAC;AACT,aAAA;AAED,YAAA,YAAY,CAAC,mBAAmB,GAAG,oBAAoB,CAAC;AACxD,YAAA,OAAO,YAAY,CAAC;AACvB,SAAA;AACD,QAAA,MAAM,KAAK,CAAC;KACf;AACJ;;;;"}
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-node-extensions
|
|
1
|
+
/*! @azure/msal-node-extensions v5.0.0-beta.0 2025-12-05 */
|
|
2
2
|
'use strict';
|
|
3
3
|
export { PersistenceCachePlugin } from './persistence/PersistenceCachePlugin.mjs';
|
|
4
4
|
export { FilePersistence } from './persistence/FilePersistence.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
/*! @azure/msal-node-extensions
|
|
1
|
+
/*! @azure/msal-node-extensions v5.0.0-beta.0 2025-12-05 */
|
|
2
2
|
'use strict';
|
|
3
|
-
/*! @azure/msal-common
|
|
3
|
+
/*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
|
|
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
|
|
1
|
+
{"version":3,"file":"AADServerParamKeys.mjs","sources":["../../../../../../../lib/msal-common/dist/constants/AADServerParamKeys.mjs"],"sourcesContent":["/*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */\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
|
|
1
|
+
/*! @azure/msal-node-extensions v5.0.0-beta.0 2025-12-05 */
|
|
2
2
|
'use strict';
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
/*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
|
|
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
|
|
12
|
-
?
|
|
13
|
-
|
|
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 ||
|
|
17
|
-
this.errorMessage =
|
|
18
|
-
this.subError = suberror ||
|
|
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
|
|
1
|
+
{"version":3,"file":"AuthError.mjs","sources":["../../../../../../../lib/msal-common/dist/error/AuthError.mjs"],"sourcesContent":["/*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */\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,KAAK;AACL,IAAI,gBAAgB,CAAC,aAAa,EAAE;AACpC,QAAQ,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;AAC3C,KAAK;AACL;;;;"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
/*! @azure/msal-node-extensions
|
|
1
|
+
/*! @azure/msal-node-extensions v5.0.0-beta.0 2025-12-05 */
|
|
2
2
|
'use strict';
|
|
3
3
|
import { AuthError } from './AuthError.mjs';
|
|
4
|
-
import { platformBrokerError, 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
|
|
5
|
+
/*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
|
|
7
6
|
|
|
8
7
|
/*
|
|
9
8
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -12,64 +11,12 @@ import { platformBrokerError, nestedAppAuthBridgeDisabled, methodNotImplemented,
|
|
|
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
|
-
[platformBrokerError]: "An error occurred in the native broker. See the platformBrokerError property for details.",
|
|
64
|
-
};
|
|
65
14
|
/**
|
|
66
15
|
* Error thrown when there is an error in the client code running on the browser.
|
|
67
16
|
*/
|
|
68
17
|
class ClientAuthError extends AuthError {
|
|
69
18
|
constructor(errorCode, additionalMessage) {
|
|
70
|
-
super(errorCode, additionalMessage
|
|
71
|
-
? `${ClientAuthErrorMessages[errorCode]}: ${additionalMessage}`
|
|
72
|
-
: ClientAuthErrorMessages[errorCode]);
|
|
19
|
+
super(errorCode, additionalMessage);
|
|
73
20
|
this.name = "ClientAuthError";
|
|
74
21
|
Object.setPrototypeOf(this, ClientAuthError.prototype);
|
|
75
22
|
}
|
|
@@ -78,5 +25,5 @@ function createClientAuthError(errorCode, additionalMessage) {
|
|
|
78
25
|
return new ClientAuthError(errorCode, additionalMessage);
|
|
79
26
|
}
|
|
80
27
|
|
|
81
|
-
export { ClientAuthError,
|
|
28
|
+
export { ClientAuthError, createClientAuthError };
|
|
82
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.3 2025-12-04 */\n'use strict';\nimport { AuthError } from './AuthError.mjs';\nimport { platformBrokerError, 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 [platformBrokerError]: \"An error occurred in the native broker. See the platformBrokerError property for details.\",\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 platformBrokerError: {\r\n code: platformBrokerError,\r\n desc: ClientAuthErrorMessages[platformBrokerError],\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;;A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BAAiB,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-beta.0 2025-12-05 */\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,KAAK;AACL,CAAC;AACD,SAAS,qBAAqB,CAAC,SAAS,EAAE,iBAAiB,EAAE;AAC7D,IAAI,OAAO,IAAI,eAAe,CAAC,SAAS,EAAE,iBAAiB,CAAC,CAAC;AAC7D;;;;"}
|
|
@@ -1,55 +1,10 @@
|
|
|
1
|
-
/*! @azure/msal-node-extensions
|
|
1
|
+
/*! @azure/msal-node-extensions v5.0.0-beta.0 2025-12-05 */
|
|
2
2
|
'use strict';
|
|
3
|
-
/*! @azure/msal-common
|
|
4
|
-
/*
|
|
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";
|
|
3
|
+
/*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */
|
|
35
4
|
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
5
|
const noNetworkConnectivity = "no_network_connectivity";
|
|
48
6
|
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
7
|
const platformBrokerError = "platform_broker_error";
|
|
53
8
|
|
|
54
|
-
export {
|
|
9
|
+
export { noAccountFound, noNetworkConnectivity, platformBrokerError, userCanceled };
|
|
55
10
|
//# sourceMappingURL=ClientAuthErrorCodes.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ClientAuthErrorCodes.mjs","sources":["../../../../../../../lib/msal-common/dist/error/ClientAuthErrorCodes.mjs"],"sourcesContent":["/*! @azure/msal-common
|
|
1
|
+
{"version":3,"file":"ClientAuthErrorCodes.mjs","sources":["../../../../../../../lib/msal-common/dist/error/ClientAuthErrorCodes.mjs"],"sourcesContent":["/*! @azure/msal-common v16.0.0-beta.0 2025-12-05 */\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 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 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 tokenRefreshRequired = \"token_refresh_required\";\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 methodNotImplemented = \"method_not_implemented\";\r\nconst nestedAppAuthBridgeDisabled = \"nested_app_auth_bridge_disabled\";\r\nconst platformBrokerError = \"platform_broker_error\";\n\nexport { authTimeNotFound, authorizationCodeMissingFromServerResponse, bindingKeyNotRemoved, cannotAppendScopeSet, cannotRemoveEmptyScope, clientInfoDecodingError, clientInfoEmptyError, emptyInputScopeSet, endSessionEndpointNotSupported, endpointResolutionError, hashNotDeserialized, invalidCacheEnvironment, invalidCacheRecord, invalidState, keyIdMissing, maxAgeTranspired, methodNotImplemented, multipleMatchingAppMetadata, multipleMatchingTokens, nestedAppAuthBridgeDisabled, networkError, noAccountFound, noAccountInSilentRequest, noCryptoObject, noNetworkConnectivity, nonceMismatch, nullOrEmptyToken, openIdConfigError, platformBrokerError, requestCannotBeMade, stateMismatch, stateNotFound, tokenClaimsCnfRequiredForSignedJwt, tokenParsingError, tokenRefreshRequired, unexpectedCredentialType, userCanceled };\n//# sourceMappingURL=ClientAuthErrorCodes.mjs.map\n"],"names":[],"mappings":";;AAAA;AA6BK,MAAC,cAAc,GAAG,mBAAmB;AASrC,MAAC,qBAAqB,GAAG,0BAA0B;AACnD,MAAC,YAAY,GAAG,gBAAgB;AAGhC,MAAC,mBAAmB,GAAG;;;;"}
|