opencode-m365-copilot 0.2.2 → 0.3.1
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/README.md +66 -3
- package/dist/{agent-BXH7KR-e.mjs → agent-C3DxtJPy.mjs} +3 -5
- package/dist/cli.mjs +46 -10
- package/dist/{dist-JS8R_Thl.mjs → dist-CBYT-Zyt.mjs} +325 -152
- package/dist/{login-BD6JAsn7.mjs → login-_9JzoRK8.mjs} +25 -7
- package/dist/{otpauth.node-klD_z4Tx.mjs → otpauth.node-CBOz_1IZ.mjs} +22 -13
- package/dist/plugin.d.mts +11 -3
- package/dist/plugin.mjs +99 -22
- package/dist/{server-B_2RPeJD.mjs → server-DO0_u884.mjs} +2896 -1398
- package/dist/server.d.mts +44 -6
- package/dist/server.mjs +2 -2
- package/package.json +14 -7
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { F as __require, I as __toESM, P as __commonJSMin } from "./server-DO0_u884.mjs";
|
|
2
2
|
import { randomUUID } from "node:crypto";
|
|
3
3
|
import http from "http";
|
|
4
4
|
import crypto, { createHash as createHash$1 } from "crypto";
|
|
5
5
|
//#region node_modules/@azure/msal-node/dist/cache/serializer/Serializer.mjs
|
|
6
|
-
/*! @azure/msal-node
|
|
6
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
7
7
|
/**
|
|
8
8
|
* This class serializes cache entities to be saved into in-memory object types defined internally
|
|
9
9
|
* @internal
|
|
@@ -143,7 +143,7 @@ var Serializer = class {
|
|
|
143
143
|
};
|
|
144
144
|
//#endregion
|
|
145
145
|
//#region node_modules/@azure/msal-common/dist/constants/AADServerParamKeys.mjs
|
|
146
|
-
/*! @azure/msal-common v16.
|
|
146
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
147
147
|
const CLIENT_ID = "client_id";
|
|
148
148
|
const REDIRECT_URI = "redirect_uri";
|
|
149
149
|
const RESPONSE_TYPE = "response_type";
|
|
@@ -190,13 +190,12 @@ const CLI_DATA = "clidata";
|
|
|
190
190
|
const ATTRIBUTE_TOKENS = "attribute_tokens";
|
|
191
191
|
//#endregion
|
|
192
192
|
//#region node_modules/@azure/msal-common/dist/utils/Constants.mjs
|
|
193
|
-
/*! @azure/msal-common v16.
|
|
193
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
194
194
|
const SKU = "msal.js.common";
|
|
195
195
|
const DEFAULT_AUTHORITY = "https://login.microsoftonline.com/common/";
|
|
196
196
|
const DEFAULT_AUTHORITY_HOST = "login.microsoftonline.com";
|
|
197
197
|
const DEFAULT_COMMON_TENANT = "common";
|
|
198
198
|
const ADFS = "adfs";
|
|
199
|
-
const DSTS = "dstsv2";
|
|
200
199
|
const AAD_INSTANCE_DISCOVERY_ENDPT = `${DEFAULT_AUTHORITY}discovery/instance?api-version=1.1&authorization_endpoint=`;
|
|
201
200
|
const CIAM_AUTH_URL = ".ciamlogin.com";
|
|
202
201
|
const AAD_TENANT_DOMAIN_SUFFIX = ".onmicrosoft.com";
|
|
@@ -227,6 +226,7 @@ const OIDC_SCOPES = [...OIDC_DEFAULT_SCOPES, EMAIL_SCOPE];
|
|
|
227
226
|
const HeaderNames = {
|
|
228
227
|
CONTENT_TYPE: "Content-Type",
|
|
229
228
|
CONTENT_LENGTH: "Content-Length",
|
|
229
|
+
DPOP: "DPoP",
|
|
230
230
|
RETRY_AFTER: "Retry-After",
|
|
231
231
|
CCS_HEADER: "X-AnchorMailbox",
|
|
232
232
|
WWWAuthenticate: "WWW-Authenticate",
|
|
@@ -250,7 +250,8 @@ const ClaimsRequestKeys = {
|
|
|
250
250
|
XMS_CC: "xms_cc",
|
|
251
251
|
ID_TOKEN: "id_token",
|
|
252
252
|
SIGNIN_STATE: "signin_state",
|
|
253
|
-
LOGIN_HINT: "login_hint"
|
|
253
|
+
LOGIN_HINT: "login_hint",
|
|
254
|
+
TENANT_REGION_SUB_SCOPE: "tenant_region_sub_scope"
|
|
254
255
|
};
|
|
255
256
|
/**
|
|
256
257
|
* we considered making this "enum" in the request instead of string, however it looks like the allowed list of
|
|
@@ -337,6 +338,7 @@ const SERVER_TELEM_UNKNOWN_ERROR = "unknown_error";
|
|
|
337
338
|
const AuthenticationScheme = {
|
|
338
339
|
BEARER: "Bearer",
|
|
339
340
|
POP: "pop",
|
|
341
|
+
DPOP: "DPoP",
|
|
340
342
|
SSH: "ssh-cert"
|
|
341
343
|
};
|
|
342
344
|
const DEFAULT_MAX_THROTTLE_TIME_SECONDS = 3600;
|
|
@@ -391,7 +393,7 @@ const EncodingTypes = {
|
|
|
391
393
|
};
|
|
392
394
|
//#endregion
|
|
393
395
|
//#region node_modules/@azure/msal-common/dist/error/AuthError.mjs
|
|
394
|
-
/*! @azure/msal-common v16.
|
|
396
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
395
397
|
function getDefaultErrorMessage(code) {
|
|
396
398
|
return `See https://aka.ms/msal.js.errors#${code} for details`;
|
|
397
399
|
}
|
|
@@ -416,7 +418,7 @@ function createAuthError(code, correlationId, additionalMessage) {
|
|
|
416
418
|
}
|
|
417
419
|
//#endregion
|
|
418
420
|
//#region node_modules/@azure/msal-common/dist/error/ClientAuthError.mjs
|
|
419
|
-
/*! @azure/msal-common v16.
|
|
421
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
420
422
|
/**
|
|
421
423
|
* ClientAuthErrorMessage class containing string constants used by error codes and messages.
|
|
422
424
|
*/
|
|
@@ -435,7 +437,7 @@ function createClientAuthError(errorCode, correlationId, additionalMessage) {
|
|
|
435
437
|
}
|
|
436
438
|
//#endregion
|
|
437
439
|
//#region node_modules/@azure/msal-common/dist/error/ClientAuthErrorCodes.mjs
|
|
438
|
-
/*! @azure/msal-common v16.
|
|
440
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
439
441
|
const clientInfoDecodingError = "client_info_decoding_error";
|
|
440
442
|
const clientInfoEmptyError = "client_info_empty_error";
|
|
441
443
|
const tokenParsingError = "token_parsing_error";
|
|
@@ -456,6 +458,7 @@ const noAccountInSilentRequest = "no_account_in_silent_request";
|
|
|
456
458
|
const invalidCacheRecord = "invalid_cache_record";
|
|
457
459
|
const invalidCacheEnvironment = "invalid_cache_environment";
|
|
458
460
|
const noCryptoObject = "no_crypto_object";
|
|
461
|
+
const dpopTokenTypeMismatch = "dpop_token_type_mismatch";
|
|
459
462
|
const tokenRefreshRequired = "token_refresh_required";
|
|
460
463
|
const tokenClaimsCnfRequiredForSignedJwt = "token_claims_cnf_required_for_signedjwt";
|
|
461
464
|
const endSessionEndpointNotSupported = "end_session_endpoint_not_supported";
|
|
@@ -465,7 +468,7 @@ const resourceParameterRequired = "resource_parameter_required";
|
|
|
465
468
|
const misplacedResourceParam = "misplaced_resource_parameter";
|
|
466
469
|
//#endregion
|
|
467
470
|
//#region node_modules/@azure/msal-common/dist/account/ClientInfo.mjs
|
|
468
|
-
/*! @azure/msal-common v16.
|
|
471
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
469
472
|
/**
|
|
470
473
|
* Function to build a client info object from server clientInfo string
|
|
471
474
|
* @param rawClientInfo
|
|
@@ -494,7 +497,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
|
|
|
494
497
|
}
|
|
495
498
|
//#endregion
|
|
496
499
|
//#region node_modules/@azure/msal-common/dist/account/AuthToken.mjs
|
|
497
|
-
/*! @azure/msal-common v16.
|
|
500
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
498
501
|
/**
|
|
499
502
|
* Extract token by decoding the rawToken
|
|
500
503
|
*
|
|
@@ -546,7 +549,7 @@ function getJWSPayload(authToken, correlationId) {
|
|
|
546
549
|
}
|
|
547
550
|
//#endregion
|
|
548
551
|
//#region node_modules/@azure/msal-common/dist/account/AccountInfo.mjs
|
|
549
|
-
/*! @azure/msal-common v16.
|
|
552
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
550
553
|
/**
|
|
551
554
|
* Returns true if tenantId matches the utid portion of homeAccountId
|
|
552
555
|
* @param tenantId
|
|
@@ -623,19 +626,18 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
|
|
|
623
626
|
}
|
|
624
627
|
//#endregion
|
|
625
628
|
//#region node_modules/@azure/msal-common/dist/authority/AuthorityType.mjs
|
|
626
|
-
/*! @azure/msal-common v16.
|
|
629
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
627
630
|
/**
|
|
628
631
|
* Authority types supported by MSAL.
|
|
629
632
|
*/
|
|
630
633
|
const AuthorityType = {
|
|
631
634
|
Default: 0,
|
|
632
635
|
Adfs: 1,
|
|
633
|
-
Dsts: 2,
|
|
634
636
|
Ciam: 3
|
|
635
637
|
};
|
|
636
638
|
//#endregion
|
|
637
639
|
//#region node_modules/@azure/msal-common/dist/account/TokenClaims.mjs
|
|
638
|
-
/*! @azure/msal-common v16.
|
|
640
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
639
641
|
/**
|
|
640
642
|
* Gets tenantId from available ID token claims to set as credential realm with the following precedence:
|
|
641
643
|
* 1. tid - if the token is acquired from an Azure AD tenant tid will be present
|
|
@@ -651,7 +653,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
|
|
|
651
653
|
}
|
|
652
654
|
//#endregion
|
|
653
655
|
//#region node_modules/@azure/msal-common/dist/authority/ProtocolMode.mjs
|
|
654
|
-
/*! @azure/msal-common v16.
|
|
656
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
655
657
|
/**
|
|
656
658
|
* Protocol modes supported by MSAL.
|
|
657
659
|
*/
|
|
@@ -672,7 +674,7 @@ const ProtocolMode = {
|
|
|
672
674
|
};
|
|
673
675
|
//#endregion
|
|
674
676
|
//#region node_modules/@azure/msal-common/dist/cache/utils/AccountEntityUtils.mjs
|
|
675
|
-
/*! @azure/msal-common v16.
|
|
677
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
676
678
|
/**
|
|
677
679
|
* Returns the AccountInfo interface for this account.
|
|
678
680
|
* @internal
|
|
@@ -749,7 +751,7 @@ function createAccountEntity(accountDetails, authority, correlationId, base64Dec
|
|
|
749
751
|
* @param authType
|
|
750
752
|
*/
|
|
751
753
|
function generateHomeAccountId(serverClientInfo, authType, logger, cryptoObj, correlationId, idTokenClaims) {
|
|
752
|
-
if (
|
|
754
|
+
if (authType !== AuthorityType.Adfs) {
|
|
753
755
|
if (serverClientInfo) try {
|
|
754
756
|
const clientInfo = buildClientInfo(serverClientInfo, cryptoObj.base64Decode);
|
|
755
757
|
if (clientInfo.uid && clientInfo.utid) return `${clientInfo.uid}.${clientInfo.utid}`;
|
|
@@ -769,11 +771,11 @@ function isAccountEntity(entity) {
|
|
|
769
771
|
}
|
|
770
772
|
//#endregion
|
|
771
773
|
//#region node_modules/@azure/msal-common/dist/error/AuthErrorCodes.mjs
|
|
772
|
-
/*! @azure/msal-common v16.
|
|
774
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
773
775
|
const postRequestFailed = "post_request_failed";
|
|
774
776
|
//#endregion
|
|
775
777
|
//#region node_modules/@azure/msal-common/dist/error/ClientConfigurationError.mjs
|
|
776
|
-
/*! @azure/msal-common v16.
|
|
778
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
777
779
|
/**
|
|
778
780
|
* Error thrown when there is an error in configuration of the MSAL.js library.
|
|
779
781
|
*/
|
|
@@ -789,7 +791,7 @@ function createClientConfigurationError(errorCode, correlationId) {
|
|
|
789
791
|
}
|
|
790
792
|
//#endregion
|
|
791
793
|
//#region node_modules/@azure/msal-common/dist/error/ClientConfigurationErrorCodes.mjs
|
|
792
|
-
/*! @azure/msal-common v16.
|
|
794
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
793
795
|
const redirectUriEmpty = "redirect_uri_empty";
|
|
794
796
|
const authorityUriInsecure = "authority_uri_insecure";
|
|
795
797
|
const urlParseError = "url_parse_error";
|
|
@@ -805,15 +807,19 @@ const untrustedAuthority = "untrusted_authority";
|
|
|
805
807
|
const missingSshJwk = "missing_ssh_jwk";
|
|
806
808
|
const issuerValidationFailed = "issuer_validation_failed";
|
|
807
809
|
const invalidResponseMode = "invalid_response_mode";
|
|
810
|
+
const invalidDpopHtm = "invalid_dpop_htm";
|
|
811
|
+
const invalidDpopHtu = "invalid_dpop_htu";
|
|
812
|
+
const invalidDpopNonce = "invalid_dpop_nonce";
|
|
813
|
+
const dpopMissingResourceContext = "dpop_missing_resource_context";
|
|
808
814
|
//#endregion
|
|
809
815
|
//#region node_modules/@azure/msal-common/dist/authority/OpenIdConfigResponse.mjs
|
|
810
|
-
/*! @azure/msal-common v16.
|
|
816
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
811
817
|
function isOpenIdConfigResponse(response) {
|
|
812
818
|
return response.hasOwnProperty("authorization_endpoint") && response.hasOwnProperty("token_endpoint") && response.hasOwnProperty("issuer") && response.hasOwnProperty("jwks_uri");
|
|
813
819
|
}
|
|
814
820
|
//#endregion
|
|
815
821
|
//#region node_modules/@azure/msal-common/dist/utils/StringUtils.mjs
|
|
816
|
-
/*! @azure/msal-common v16.
|
|
822
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
817
823
|
/**
|
|
818
824
|
* @hidden
|
|
819
825
|
*/
|
|
@@ -883,7 +889,7 @@ var StringUtils = class {
|
|
|
883
889
|
};
|
|
884
890
|
//#endregion
|
|
885
891
|
//#region node_modules/@azure/msal-common/dist/url/UrlString.mjs
|
|
886
|
-
/*! @azure/msal-common v16.
|
|
892
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
887
893
|
/**
|
|
888
894
|
* Url object class which can perform various transformations on url strings.
|
|
889
895
|
*/
|
|
@@ -990,7 +996,7 @@ var UrlString = class UrlString {
|
|
|
990
996
|
};
|
|
991
997
|
//#endregion
|
|
992
998
|
//#region node_modules/@azure/msal-common/dist/authority/AuthorityMetadata.mjs
|
|
993
|
-
/*! @azure/msal-common v16.
|
|
999
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
994
1000
|
const endpointHosts = [
|
|
995
1001
|
{ host: "login.microsoftonline.com" },
|
|
996
1002
|
{ host: "login.partner.microsoftonline.cn" },
|
|
@@ -1058,15 +1064,6 @@ const rawMetdataJSON = {
|
|
|
1058
1064
|
preferred_network: "login.sovcloud-identity.sg",
|
|
1059
1065
|
preferred_cache: "login.sovcloud-identity.sg",
|
|
1060
1066
|
aliases: ["login.sovcloud-identity.sg"]
|
|
1061
|
-
},
|
|
1062
|
-
{
|
|
1063
|
-
preferred_network: "login.windows-ppe.net",
|
|
1064
|
-
preferred_cache: "login.windows-ppe.net",
|
|
1065
|
-
aliases: [
|
|
1066
|
-
"login.windows-ppe.net",
|
|
1067
|
-
"sts.windows-ppe.net",
|
|
1068
|
-
"login.microsoft-ppe.com"
|
|
1069
|
-
]
|
|
1070
1067
|
}
|
|
1071
1068
|
] }
|
|
1072
1069
|
};
|
|
@@ -1130,30 +1127,29 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
|
|
|
1130
1127
|
}
|
|
1131
1128
|
//#endregion
|
|
1132
1129
|
//#region node_modules/@azure/msal-common/dist/authority/AuthorityOptions.mjs
|
|
1133
|
-
/*! @azure/msal-common v16.
|
|
1130
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
1134
1131
|
const AzureCloudInstance = {
|
|
1135
1132
|
None: "none",
|
|
1136
1133
|
AzurePublic: "https://login.microsoftonline.com",
|
|
1137
|
-
AzurePpe: "https://login.windows-ppe.net",
|
|
1138
1134
|
AzureChina: "https://login.chinacloudapi.cn",
|
|
1139
1135
|
AzureGermany: "https://login.microsoftonline.de",
|
|
1140
1136
|
AzureUsGovernment: "https://login.microsoftonline.us"
|
|
1141
1137
|
};
|
|
1142
1138
|
//#endregion
|
|
1143
1139
|
//#region node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryResponse.mjs
|
|
1144
|
-
/*! @azure/msal-common v16.
|
|
1140
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
1145
1141
|
function isCloudInstanceDiscoveryResponse(response) {
|
|
1146
1142
|
return response.hasOwnProperty("tenant_discovery_endpoint") && response.hasOwnProperty("metadata");
|
|
1147
1143
|
}
|
|
1148
1144
|
//#endregion
|
|
1149
1145
|
//#region node_modules/@azure/msal-common/dist/authority/CloudInstanceDiscoveryErrorResponse.mjs
|
|
1150
|
-
/*! @azure/msal-common v16.
|
|
1146
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
1151
1147
|
function isCloudInstanceDiscoveryErrorResponse(response) {
|
|
1152
1148
|
return response.hasOwnProperty("error") && response.hasOwnProperty("error_description");
|
|
1153
1149
|
}
|
|
1154
1150
|
//#endregion
|
|
1155
1151
|
//#region node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvents.mjs
|
|
1156
|
-
/*! @azure/msal-common v16.
|
|
1152
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
1157
1153
|
/**
|
|
1158
1154
|
* Time spent sending/waiting for the response of a request to the token endpoint
|
|
1159
1155
|
*/
|
|
@@ -1212,7 +1208,7 @@ const RegionDiscoveryGetCurrentVersion = "regionDiscoveryGetCurrentVersion";
|
|
|
1212
1208
|
const CacheManagerGetRefreshToken = "cacheManagerGetRefreshToken";
|
|
1213
1209
|
//#endregion
|
|
1214
1210
|
//#region node_modules/@azure/msal-common/dist/utils/FunctionWrappers.mjs
|
|
1215
|
-
/*! @azure/msal-common v16.
|
|
1211
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
1216
1212
|
/**
|
|
1217
1213
|
* Wraps a function with a performance measurement.
|
|
1218
1214
|
* Usage: invoke(functionToCall, performanceClient, "EventName", "correlationId")(...argsToPassToFunction)
|
|
@@ -1281,7 +1277,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
|
|
|
1281
1277
|
};
|
|
1282
1278
|
//#endregion
|
|
1283
1279
|
//#region node_modules/@azure/msal-common/dist/authority/RegionDiscovery.mjs
|
|
1284
|
-
/*! @azure/msal-common v16.
|
|
1280
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
1285
1281
|
var RegionDiscovery = class RegionDiscovery {
|
|
1286
1282
|
constructor(networkInterface, logger, performanceClient, correlationId) {
|
|
1287
1283
|
this.networkInterface = networkInterface;
|
|
@@ -1352,7 +1348,7 @@ var RegionDiscovery = class RegionDiscovery {
|
|
|
1352
1348
|
RegionDiscovery.IMDS_OPTIONS = { headers: { Metadata: "true" } };
|
|
1353
1349
|
//#endregion
|
|
1354
1350
|
//#region node_modules/@azure/msal-common/dist/utils/TimeUtils.mjs
|
|
1355
|
-
/*! @azure/msal-common v16.
|
|
1351
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
1356
1352
|
/**
|
|
1357
1353
|
* Utility functions for managing date and time operations.
|
|
1358
1354
|
*/
|
|
@@ -1397,7 +1393,7 @@ function delay(t, value) {
|
|
|
1397
1393
|
}
|
|
1398
1394
|
//#endregion
|
|
1399
1395
|
//#region node_modules/@azure/msal-common/dist/cache/utils/CacheHelpers.mjs
|
|
1400
|
-
/*! @azure/msal-common v16.
|
|
1396
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
1401
1397
|
/**
|
|
1402
1398
|
* Create IdTokenEntity
|
|
1403
1399
|
* @param homeAccountId
|
|
@@ -1597,7 +1593,7 @@ function serializeAttributeTokens(attributeTokens) {
|
|
|
1597
1593
|
}
|
|
1598
1594
|
//#endregion
|
|
1599
1595
|
//#region node_modules/@azure/msal-common/dist/authority/Authority.mjs
|
|
1600
|
-
/*! @azure/msal-common v16.
|
|
1596
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
1601
1597
|
/**
|
|
1602
1598
|
* The authority class validates the authority URIs used by the user, and retrieves the OpenID Configuration Data from the
|
|
1603
1599
|
* endpoint. It will store the pertinent config data in this object for use during token calls.
|
|
@@ -1631,7 +1627,6 @@ var Authority = class Authority {
|
|
|
1631
1627
|
const pathSegments = authorityUri.PathSegments;
|
|
1632
1628
|
if (pathSegments.length) switch (pathSegments[0].toLowerCase()) {
|
|
1633
1629
|
case ADFS: return AuthorityType.Adfs;
|
|
1634
|
-
case DSTS: return AuthorityType.Dsts;
|
|
1635
1630
|
}
|
|
1636
1631
|
return AuthorityType.Default;
|
|
1637
1632
|
}
|
|
@@ -2332,7 +2327,7 @@ function buildStaticAuthorityOptions(authOptions) {
|
|
|
2332
2327
|
}
|
|
2333
2328
|
//#endregion
|
|
2334
2329
|
//#region node_modules/@azure/msal-common/dist/authority/AuthorityFactory.mjs
|
|
2335
|
-
/*! @azure/msal-common v16.
|
|
2330
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
2336
2331
|
/**
|
|
2337
2332
|
* Create an authority object of the correct type based on the url
|
|
2338
2333
|
* Performs basic authority validation - checks to see if the authority is of a valid type (i.e. aad, b2c, adfs)
|
|
@@ -2359,7 +2354,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
|
|
|
2359
2354
|
}
|
|
2360
2355
|
//#endregion
|
|
2361
2356
|
//#region node_modules/@azure/msal-common/dist/request/ScopeSet.mjs
|
|
2362
|
-
/*! @azure/msal-common v16.
|
|
2357
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
2363
2358
|
/**
|
|
2364
2359
|
* The ScopeSet class creates a set of scopes. Scopes are case-insensitive, unique values, so the Set object in JS makes
|
|
2365
2360
|
* the most sense to implement for this class. All scopes are trimmed and converted to lower case strings in intersection and union functions
|
|
@@ -2511,7 +2506,7 @@ var ScopeSet = class ScopeSet {
|
|
|
2511
2506
|
};
|
|
2512
2507
|
//#endregion
|
|
2513
2508
|
//#region node_modules/@azure/msal-common/dist/request/RequestParameterBuilder.mjs
|
|
2514
|
-
/*! @azure/msal-common v16.
|
|
2509
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
2515
2510
|
function instrumentBrokerParams(parameters, correlationId, performanceClient) {
|
|
2516
2511
|
if (!correlationId) return;
|
|
2517
2512
|
const clientId = parameters.get(CLIENT_ID);
|
|
@@ -2763,11 +2758,13 @@ function addExtraParameters(parameters, extraParams) {
|
|
|
2763
2758
|
}
|
|
2764
2759
|
/**
|
|
2765
2760
|
* Default optional idToken claims requested on all auth requests.
|
|
2766
|
-
* signin_state enables KMSI detection; login_hint enables login hint propagation
|
|
2761
|
+
* signin_state enables KMSI detection; login_hint enables login hint propagation;
|
|
2762
|
+
* tenant_region_sub_scope identifies the sovereign enclave a tenant belongs to.
|
|
2767
2763
|
*/
|
|
2768
2764
|
const DEFAULT_ID_TOKEN_CLAIMS = {
|
|
2769
2765
|
[ClaimsRequestKeys.SIGNIN_STATE]: { essential: false },
|
|
2770
|
-
[ClaimsRequestKeys.LOGIN_HINT]: { essential: false }
|
|
2766
|
+
[ClaimsRequestKeys.LOGIN_HINT]: { essential: false },
|
|
2767
|
+
[ClaimsRequestKeys.TENANT_REGION_SUB_SCOPE]: { essential: false }
|
|
2771
2768
|
};
|
|
2772
2769
|
/**
|
|
2773
2770
|
* Parses a claims JSON string into an object, throwing a ClientConfigurationError
|
|
@@ -2817,8 +2814,8 @@ function deepMergeClaims(baseClaims, claimsToMerge) {
|
|
|
2817
2814
|
/**
|
|
2818
2815
|
* Parses claims JSON, optionally deep-merges a second client-originated claims string
|
|
2819
2816
|
* (`claimsToMerge`, e.g. `claimsFromClient`) with precedence on conflicting keys, merges
|
|
2820
|
-
* default optional idToken claims (signin_state, login_hint), and appends client
|
|
2821
|
-
* capabilities (xms_cc) to the access_token section
|
|
2817
|
+
* default optional idToken claims (signin_state, login_hint, tenant_region_sub_scope), and appends client
|
|
2818
|
+
* capabilities (xms_cc) to the access_token section
|
|
2822
2819
|
* Does not overwrite idToken claims already specified by the caller.
|
|
2823
2820
|
* @param claims - Existing claims JSON string from the request (may be undefined)
|
|
2824
2821
|
* @param clientCapabilities - Client capabilities array from configuration
|
|
@@ -2918,7 +2915,7 @@ function addAttributeTokens(parameters, attributeTokens) {
|
|
|
2918
2915
|
}
|
|
2919
2916
|
//#endregion
|
|
2920
2917
|
//#region node_modules/@azure/msal-common/dist/utils/UrlUtils.mjs
|
|
2921
|
-
/*! @azure/msal-common v16.
|
|
2918
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
2922
2919
|
/**
|
|
2923
2920
|
* Parses hash string from given string. Returns empty string if no hash symbol is found.
|
|
2924
2921
|
* @param hashString
|
|
@@ -2954,7 +2951,7 @@ function mapToQueryString(parameters) {
|
|
|
2954
2951
|
}
|
|
2955
2952
|
//#endregion
|
|
2956
2953
|
//#region node_modules/@azure/msal-common/dist/crypto/ICrypto.mjs
|
|
2957
|
-
/*! @azure/msal-common v16.
|
|
2954
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
2958
2955
|
/**
|
|
2959
2956
|
* Shared JOSE algorithm literals used by MSAL package internals.
|
|
2960
2957
|
* @internal
|
|
@@ -2998,7 +2995,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
|
|
|
2998
2995
|
};
|
|
2999
2996
|
//#endregion
|
|
3000
2997
|
//#region node_modules/@azure/msal-common/dist/crypto/ITokenBindingKeyManager.mjs
|
|
3001
|
-
/*! @azure/msal-common v16.
|
|
2998
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
3002
2999
|
/**
|
|
3003
3000
|
* Default token-binding key manager used when a platform-specific implementation
|
|
3004
3001
|
* has not been provided.
|
|
@@ -3017,7 +3014,7 @@ const DEFAULT_TOKEN_BINDING_KEY_MANAGER = {
|
|
|
3017
3014
|
};
|
|
3018
3015
|
//#endregion
|
|
3019
3016
|
//#region node_modules/@azure/msal-common/dist/logger/Logger.mjs
|
|
3020
|
-
/*! @azure/msal-common v16.
|
|
3017
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
3021
3018
|
/**
|
|
3022
3019
|
* Log message level.
|
|
3023
3020
|
*/
|
|
@@ -3248,17 +3245,17 @@ var Logger = class Logger {
|
|
|
3248
3245
|
};
|
|
3249
3246
|
//#endregion
|
|
3250
3247
|
//#region node_modules/@azure/msal-common/dist/packageMetadata.mjs
|
|
3251
|
-
/*! @azure/msal-common v16.
|
|
3248
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
3252
3249
|
const name$1 = "@azure/msal-common";
|
|
3253
|
-
const version$1 = "16.
|
|
3250
|
+
const version$1 = "16.14.0";
|
|
3254
3251
|
//#endregion
|
|
3255
3252
|
//#region node_modules/@azure/msal-common/dist/error/CacheErrorCodes.mjs
|
|
3256
|
-
/*! @azure/msal-common v16.
|
|
3253
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
3257
3254
|
const cacheQuotaExceeded = "cache_quota_exceeded";
|
|
3258
3255
|
const cacheErrorUnknown = "cache_error_unknown";
|
|
3259
3256
|
//#endregion
|
|
3260
3257
|
//#region node_modules/@azure/msal-common/dist/error/CacheError.mjs
|
|
3261
|
-
/*! @azure/msal-common v16.
|
|
3258
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
3262
3259
|
/**
|
|
3263
3260
|
* Error thrown when there is an error with the cache
|
|
3264
3261
|
*/
|
|
@@ -3284,15 +3281,16 @@ function createCacheError(e) {
|
|
|
3284
3281
|
}
|
|
3285
3282
|
//#endregion
|
|
3286
3283
|
//#region node_modules/@azure/msal-common/dist/cache/CacheManager.mjs
|
|
3287
|
-
/*! @azure/msal-common v16.
|
|
3284
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
3288
3285
|
/**
|
|
3289
3286
|
* Interface class which implement cache storage functions used by MSAL to perform validity checks, and store tokens.
|
|
3290
3287
|
* @internal
|
|
3291
3288
|
*/
|
|
3292
3289
|
var CacheManager = class {
|
|
3293
|
-
constructor(clientId, cryptoImpl, logger, performanceClient, staticAuthorityOptions) {
|
|
3290
|
+
constructor(clientId, cryptoImpl, logger, performanceClient, staticAuthorityOptions, tokenBindingKeyManager) {
|
|
3294
3291
|
this.clientId = clientId;
|
|
3295
3292
|
this.cryptoImpl = cryptoImpl;
|
|
3293
|
+
this.tokenBindingKeyManager = tokenBindingKeyManager;
|
|
3296
3294
|
this.commonLogger = logger.clone(name$1, version$1);
|
|
3297
3295
|
this.staticAuthorityOptions = staticAuthorityOptions;
|
|
3298
3296
|
this.performanceClient = performanceClient;
|
|
@@ -3591,13 +3589,15 @@ var CacheManager = class {
|
|
|
3591
3589
|
if (!credential) return;
|
|
3592
3590
|
this.removeItem(key, correlationId);
|
|
3593
3591
|
this.performanceClient.incrementFields({ accessTokensRemoved: 1 }, correlationId);
|
|
3594
|
-
if (credential.credentialType.toLowerCase() === CredentialType.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase()) {
|
|
3595
|
-
|
|
3592
|
+
if (credential.credentialType.toLowerCase() === CredentialType.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase()) switch (credential.tokenType?.toLowerCase()) {
|
|
3593
|
+
case AuthenticationScheme.POP:
|
|
3594
|
+
case AuthenticationScheme.DPOP.toLowerCase(): {
|
|
3596
3595
|
const kid = credential.keyId;
|
|
3597
|
-
if (kid) this.
|
|
3598
|
-
this.commonLogger.error(
|
|
3596
|
+
if (kid) this.tokenBindingKeyManager.removeTokenBindingKey(kid, correlationId).catch(() => {
|
|
3597
|
+
this.commonLogger.error("Failed to remove token binding key", correlationId);
|
|
3599
3598
|
this.performanceClient?.incrementFields({ removeTokenBindingKeyFailure: 1 }, correlationId);
|
|
3600
3599
|
});
|
|
3600
|
+
break;
|
|
3601
3601
|
}
|
|
3602
3602
|
}
|
|
3603
3603
|
}
|
|
@@ -4009,13 +4009,13 @@ var CacheManager = class {
|
|
|
4009
4009
|
const normalizedFilterTokenType = filter.tokenType?.toLowerCase();
|
|
4010
4010
|
if (!!filter.tokenType && !this.matchTokenType(entity, filter.tokenType)) return false;
|
|
4011
4011
|
switch (normalizedFilterTokenType) {
|
|
4012
|
-
case "dpop":
|
|
4013
|
-
case AuthenticationScheme.SSH: return this.matchKeyBoundAccessToken(entity, filter
|
|
4012
|
+
case "dpop":
|
|
4013
|
+
case AuthenticationScheme.SSH: return this.matchKeyBoundAccessToken(entity, filter);
|
|
4014
4014
|
default: return true;
|
|
4015
4015
|
}
|
|
4016
4016
|
}
|
|
4017
|
-
matchKeyBoundAccessToken(entity, filter
|
|
4018
|
-
if (!filter.keyId) return
|
|
4017
|
+
matchKeyBoundAccessToken(entity, filter) {
|
|
4018
|
+
if (!filter.keyId) return true;
|
|
4019
4019
|
return this.matchKeyId(entity, filter.keyId);
|
|
4020
4020
|
}
|
|
4021
4021
|
/**
|
|
@@ -4130,7 +4130,7 @@ var DefaultStorageClass = class extends CacheManager {
|
|
|
4130
4130
|
};
|
|
4131
4131
|
//#endregion
|
|
4132
4132
|
//#region node_modules/@azure/msal-common/dist/telemetry/performance/PerformanceEvent.mjs
|
|
4133
|
-
/*! @azure/msal-common v16.
|
|
4133
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
4134
4134
|
/**
|
|
4135
4135
|
* State of the performance event.
|
|
4136
4136
|
*
|
|
@@ -4144,7 +4144,7 @@ const PerformanceEventStatus = {
|
|
|
4144
4144
|
};
|
|
4145
4145
|
//#endregion
|
|
4146
4146
|
//#region node_modules/@azure/msal-common/dist/telemetry/performance/StubPerformanceClient.mjs
|
|
4147
|
-
/*! @azure/msal-common v16.
|
|
4147
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
4148
4148
|
var StubPerformanceClient = class {
|
|
4149
4149
|
generateId() {
|
|
4150
4150
|
return "callback-id";
|
|
@@ -4186,7 +4186,7 @@ var StubPerformanceClient = class {
|
|
|
4186
4186
|
};
|
|
4187
4187
|
//#endregion
|
|
4188
4188
|
//#region node_modules/@azure/msal-common/dist/config/ClientConfiguration.mjs
|
|
4189
|
-
/*! @azure/msal-common v16.
|
|
4189
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
4190
4190
|
const DEFAULT_SYSTEM_OPTIONS$1 = {
|
|
4191
4191
|
tokenRenewalOffsetSeconds: 300,
|
|
4192
4192
|
preventCorsPreflight: false
|
|
@@ -4236,6 +4236,7 @@ function buildClientConfiguration({ authOptions: userAuthOptions, systemOptions:
|
|
|
4236
4236
|
...DEFAULT_LOGGER_IMPLEMENTATION,
|
|
4237
4237
|
...userLoggerOption
|
|
4238
4238
|
};
|
|
4239
|
+
const resolvedTokenBindingKeyManager = tokenBindingKeyManager || DEFAULT_TOKEN_BINDING_KEY_MANAGER;
|
|
4239
4240
|
return {
|
|
4240
4241
|
authOptions: buildAuthOptions(userAuthOptions),
|
|
4241
4242
|
systemOptions: {
|
|
@@ -4243,10 +4244,10 @@ function buildClientConfiguration({ authOptions: userAuthOptions, systemOptions:
|
|
|
4243
4244
|
...userSystemOptions
|
|
4244
4245
|
},
|
|
4245
4246
|
loggerOptions,
|
|
4246
|
-
storageInterface: storageImplementation || new DefaultStorageClass(userAuthOptions.clientId, DEFAULT_CRYPTO_IMPLEMENTATION, new Logger(loggerOptions, "@azure/msal-common", "16.
|
|
4247
|
+
storageInterface: storageImplementation || new DefaultStorageClass(userAuthOptions.clientId, DEFAULT_CRYPTO_IMPLEMENTATION, new Logger(loggerOptions, "@azure/msal-common", "16.14.0"), new StubPerformanceClient(), void 0, resolvedTokenBindingKeyManager),
|
|
4247
4248
|
networkInterface: networkImplementation || DEFAULT_NETWORK_IMPLEMENTATION,
|
|
4248
4249
|
cryptoInterface: cryptoImplementation || DEFAULT_CRYPTO_IMPLEMENTATION,
|
|
4249
|
-
tokenBindingKeyManager:
|
|
4250
|
+
tokenBindingKeyManager: resolvedTokenBindingKeyManager,
|
|
4250
4251
|
clientCredentials: clientCredentials || DEFAULT_CLIENT_CREDENTIALS,
|
|
4251
4252
|
libraryInfo: {
|
|
4252
4253
|
...DEFAULT_LIBRARY_INFO,
|
|
@@ -4283,7 +4284,7 @@ function isOidcProtocolMode(config) {
|
|
|
4283
4284
|
}
|
|
4284
4285
|
//#endregion
|
|
4285
4286
|
//#region node_modules/@azure/msal-common/dist/cache/persistence/TokenCacheContext.mjs
|
|
4286
|
-
/*! @azure/msal-common v16.
|
|
4287
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
4287
4288
|
/**
|
|
4288
4289
|
* This class instance helps track the memory changes facilitating
|
|
4289
4290
|
* decisions to read from and write to the persistent cache
|
|
@@ -4307,7 +4308,7 @@ function isOidcProtocolMode(config) {
|
|
|
4307
4308
|
};
|
|
4308
4309
|
//#endregion
|
|
4309
4310
|
//#region node_modules/@azure/msal-common/dist/error/JoseHeaderError.mjs
|
|
4310
|
-
/*! @azure/msal-common v16.
|
|
4311
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
4311
4312
|
/**
|
|
4312
4313
|
* Error thrown when there is an error in the client code running on the browser.
|
|
4313
4314
|
*/
|
|
@@ -4324,7 +4325,7 @@ function createJoseHeaderError(code, correlationId) {
|
|
|
4324
4325
|
}
|
|
4325
4326
|
//#endregion
|
|
4326
4327
|
//#region node_modules/@azure/msal-common/dist/utils/ObjectUtils.mjs
|
|
4327
|
-
/*! @azure/msal-common v16.
|
|
4328
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
4328
4329
|
/**
|
|
4329
4330
|
* Checks whether a value is a plain JSON-like object.
|
|
4330
4331
|
* Allows objects with null prototypes, but rejects arrays and object subclasses.
|
|
@@ -4338,14 +4339,14 @@ function isPlainObject(value) {
|
|
|
4338
4339
|
}
|
|
4339
4340
|
//#endregion
|
|
4340
4341
|
//#region node_modules/@azure/msal-common/dist/error/JoseHeaderErrorCodes.mjs
|
|
4341
|
-
/*! @azure/msal-common v16.
|
|
4342
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
4342
4343
|
const missingKidError = "missing_kid_error";
|
|
4343
4344
|
const missingAlgError = "missing_alg_error";
|
|
4344
4345
|
const missingJwkError = "missing_jwk_error";
|
|
4345
4346
|
const invalidJwkError = "invalid_jwk_error";
|
|
4346
4347
|
//#endregion
|
|
4347
4348
|
//#region node_modules/@azure/msal-common/dist/crypto/JoseHeader.mjs
|
|
4348
|
-
/*! @azure/msal-common v16.
|
|
4349
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
4349
4350
|
/** @internal */
|
|
4350
4351
|
var JoseHeader = class JoseHeader {
|
|
4351
4352
|
constructor(options, correlationId) {
|
|
@@ -4392,7 +4393,7 @@ var JoseHeader = class JoseHeader {
|
|
|
4392
4393
|
};
|
|
4393
4394
|
//#endregion
|
|
4394
4395
|
//#region node_modules/@azure/msal-common/dist/crypto/PopTokenGenerator.mjs
|
|
4395
|
-
/*! @azure/msal-common v16.
|
|
4396
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
4396
4397
|
const KeyLocation = { SW: "sw" };
|
|
4397
4398
|
const SHR_TOKEN_BINDING_KEY_TYPE = "shr";
|
|
4398
4399
|
const SHR_TOKEN_BINDING_KEY_ALGORITHM = JsonWebTokenAlgorithms.RS256;
|
|
@@ -4476,8 +4477,133 @@ var PopTokenGenerator = class {
|
|
|
4476
4477
|
}
|
|
4477
4478
|
};
|
|
4478
4479
|
//#endregion
|
|
4480
|
+
//#region node_modules/@azure/msal-common/dist/crypto/DpopProofGenerator.mjs
|
|
4481
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
4482
|
+
const DPOP_HTM_REGEX = /^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;
|
|
4483
|
+
const DPOP_TOKEN_BINDING_KEY_TYPE = "dpop";
|
|
4484
|
+
const DPOP_JWT_HEADER_ALGORITHM = JsonWebTokenAlgorithms.ES256;
|
|
4485
|
+
function buildProofHeader(publicJwk, correlationId) {
|
|
4486
|
+
return JoseHeader.getDpopHeader({
|
|
4487
|
+
alg: DPOP_JWT_HEADER_ALGORITHM,
|
|
4488
|
+
jwk: publicJwk
|
|
4489
|
+
}, correlationId);
|
|
4490
|
+
}
|
|
4491
|
+
function normalizeHtm(htm, correlationId) {
|
|
4492
|
+
if (typeof htm !== "string" || !DPOP_HTM_REGEX.test(htm)) throw createClientConfigurationError(invalidDpopHtm, correlationId);
|
|
4493
|
+
return htm.toUpperCase();
|
|
4494
|
+
}
|
|
4495
|
+
/**
|
|
4496
|
+
* Normalizes a URL for use as the DPoP htu claim.
|
|
4497
|
+
* Per RFC 9449 §4.2, htu is the target URI without query and fragment components.
|
|
4498
|
+
* WHATWG URL serialization handles RFC 3986 syntax- and scheme-based normalization
|
|
4499
|
+
* such as lowercasing scheme/host and eliding default ports.
|
|
4500
|
+
*/
|
|
4501
|
+
function normalizeHtu(url, correlationId) {
|
|
4502
|
+
let parsedUrl;
|
|
4503
|
+
try {
|
|
4504
|
+
parsedUrl = new URL(url);
|
|
4505
|
+
} catch {
|
|
4506
|
+
throw createClientConfigurationError(urlParseError, correlationId);
|
|
4507
|
+
}
|
|
4508
|
+
if (!/^https:\/\//i.test(url) || parsedUrl.protocol !== "https:" || parsedUrl.username || parsedUrl.password) throw createClientConfigurationError(invalidDpopHtu, correlationId);
|
|
4509
|
+
parsedUrl.search = "";
|
|
4510
|
+
parsedUrl.hash = "";
|
|
4511
|
+
return parsedUrl.href;
|
|
4512
|
+
}
|
|
4513
|
+
function validateDpopNonce(nonce, correlationId) {
|
|
4514
|
+
if (nonce !== void 0 && nonce.trim().length === 0) throw createClientConfigurationError(invalidDpopNonce, correlationId);
|
|
4515
|
+
}
|
|
4516
|
+
/**
|
|
4517
|
+
* Builds RFC 9449 DPoP proof JWT payloads for token-endpoint and
|
|
4518
|
+
* resource-endpoint proof bindings.
|
|
4519
|
+
*
|
|
4520
|
+
* Not exported from any public package entry point.
|
|
4521
|
+
* This helper is internal-only until DPoP is wired into acquisition flows
|
|
4522
|
+
* in a subsequent work item.
|
|
4523
|
+
*
|
|
4524
|
+
* DPoP proofs do not contain SHR fields (at, ts, m, u, p, q).
|
|
4525
|
+
* @internal
|
|
4526
|
+
*/
|
|
4527
|
+
var DpopProofGenerator = class {
|
|
4528
|
+
constructor(cryptoUtils, tokenBindingKeyManager) {
|
|
4529
|
+
this.cryptoUtils = cryptoUtils;
|
|
4530
|
+
this.tokenBindingKeyManager = tokenBindingKeyManager;
|
|
4531
|
+
}
|
|
4532
|
+
/**
|
|
4533
|
+
* Provisions a fresh DPoP key and returns the RFC 7638 JWK thumbprint used
|
|
4534
|
+
* as `dpop_jkt`.
|
|
4535
|
+
*/
|
|
4536
|
+
async generateJkt(correlationId = "") {
|
|
4537
|
+
return this.tokenBindingKeyManager.provisionTokenBindingKey({
|
|
4538
|
+
tokenBindingKeyType: DPOP_TOKEN_BINDING_KEY_TYPE,
|
|
4539
|
+
tokenBindingKeyAlgorithm: DPOP_JWT_HEADER_ALGORITHM,
|
|
4540
|
+
correlationId
|
|
4541
|
+
});
|
|
4542
|
+
}
|
|
4543
|
+
/**
|
|
4544
|
+
* Builds RFC 9449 claims for a token-endpoint DPoP proof.
|
|
4545
|
+
* - htm is always "POST" because token endpoint requests use HTTP POST (RFC 9449 §5).
|
|
4546
|
+
* - htu is the normalized token endpoint URI (query and fragment stripped).
|
|
4547
|
+
* - jti is a fresh CSPRNG-backed unique identifier for every proof.
|
|
4548
|
+
*/
|
|
4549
|
+
buildTokenProofClaims(params, correlationId = "") {
|
|
4550
|
+
validateDpopNonce(params.nonce, correlationId);
|
|
4551
|
+
const claims = {
|
|
4552
|
+
jti: this.cryptoUtils.createNewGuid(),
|
|
4553
|
+
htm: "POST",
|
|
4554
|
+
htu: normalizeHtu(params.tokenEndpoint, correlationId),
|
|
4555
|
+
iat: nowSeconds()
|
|
4556
|
+
};
|
|
4557
|
+
if (params.nonce !== void 0) claims.nonce = params.nonce;
|
|
4558
|
+
return claims;
|
|
4559
|
+
}
|
|
4560
|
+
/**
|
|
4561
|
+
* Builds and signs a compact DPoP proof JWT for a token-endpoint request.
|
|
4562
|
+
*/
|
|
4563
|
+
async generateTokenProof(params, keyId, correlationId = "") {
|
|
4564
|
+
return this.generateProof(this.buildTokenProofClaims(params, correlationId), keyId, correlationId);
|
|
4565
|
+
}
|
|
4566
|
+
/**
|
|
4567
|
+
* Builds RFC 9449 claims for a resource-endpoint DPoP proof.
|
|
4568
|
+
* - htm is uppercased per RFC 9449 §4.2.
|
|
4569
|
+
* - htu is the normalized resource URI (query and fragment stripped).
|
|
4570
|
+
* - ath is the base64url-encoded SHA-256 hash of the ASCII access token.
|
|
4571
|
+
* - jti is a fresh CSPRNG-backed unique identifier for every proof.
|
|
4572
|
+
*/
|
|
4573
|
+
buildResourceProofClaims(params, correlationId = "") {
|
|
4574
|
+
validateDpopNonce(params.nonce, correlationId);
|
|
4575
|
+
const claims = {
|
|
4576
|
+
jti: this.cryptoUtils.createNewGuid(),
|
|
4577
|
+
htm: normalizeHtm(params.htm, correlationId),
|
|
4578
|
+
htu: normalizeHtu(params.htu, correlationId),
|
|
4579
|
+
ath: params.ath,
|
|
4580
|
+
iat: nowSeconds()
|
|
4581
|
+
};
|
|
4582
|
+
if (params.nonce !== void 0) claims.nonce = params.nonce;
|
|
4583
|
+
return claims;
|
|
4584
|
+
}
|
|
4585
|
+
/**
|
|
4586
|
+
* Builds and signs a compact DPoP proof JWT for a resource request.
|
|
4587
|
+
*/
|
|
4588
|
+
async generateResourceProof(params, keyId, correlationId = "") {
|
|
4589
|
+
const { htu, htm, nonce } = params;
|
|
4590
|
+
if (!htu || !htm) throw createClientConfigurationError(dpopMissingResourceContext, correlationId);
|
|
4591
|
+
const ath = await this.cryptoUtils.hashString(params.accessToken);
|
|
4592
|
+
return this.generateProof(this.buildResourceProofClaims({
|
|
4593
|
+
htu,
|
|
4594
|
+
htm,
|
|
4595
|
+
ath,
|
|
4596
|
+
nonce
|
|
4597
|
+
}, correlationId), keyId, correlationId);
|
|
4598
|
+
}
|
|
4599
|
+
async generateProof(claims, keyId, correlationId) {
|
|
4600
|
+
const publicJwk = await this.tokenBindingKeyManager.getTokenBindingPublicKeyJwk(keyId, correlationId);
|
|
4601
|
+
return this.cryptoUtils.signTokenBindingJwt(buildProofHeader(publicJwk, correlationId), claims, keyId, correlationId);
|
|
4602
|
+
}
|
|
4603
|
+
};
|
|
4604
|
+
//#endregion
|
|
4479
4605
|
//#region node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthErrorCodes.mjs
|
|
4480
|
-
/*! @azure/msal-common v16.
|
|
4606
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
4481
4607
|
/**
|
|
4482
4608
|
* MSAL-defined interaction required error code indicating no tokens are found in cache.
|
|
4483
4609
|
* @public
|
|
@@ -4490,7 +4616,7 @@ const noTokensFound = "no_tokens_found";
|
|
|
4490
4616
|
const refreshTokenExpired = "refresh_token_expired";
|
|
4491
4617
|
//#endregion
|
|
4492
4618
|
//#region node_modules/@azure/msal-common/dist/error/InteractionRequiredAuthError.mjs
|
|
4493
|
-
/*! @azure/msal-common v16.
|
|
4619
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
4494
4620
|
/**
|
|
4495
4621
|
* InteractionRequiredServerErrorMessage contains string constants used by error codes and messages returned by the server indicating interaction is required
|
|
4496
4622
|
*/
|
|
@@ -4548,7 +4674,7 @@ function createInteractionRequiredAuthError(errorCode, correlationId, errorMessa
|
|
|
4548
4674
|
}
|
|
4549
4675
|
//#endregion
|
|
4550
4676
|
//#region node_modules/@azure/msal-common/dist/error/ServerError.mjs
|
|
4551
|
-
/*! @azure/msal-common v16.
|
|
4677
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
4552
4678
|
/**
|
|
4553
4679
|
* Error thrown when there is an error with the server code, for example, unavailability.
|
|
4554
4680
|
*/
|
|
@@ -4563,7 +4689,7 @@ var ServerError = class ServerError extends AuthError {
|
|
|
4563
4689
|
};
|
|
4564
4690
|
//#endregion
|
|
4565
4691
|
//#region node_modules/@azure/msal-common/dist/utils/ProtocolUtils.mjs
|
|
4566
|
-
/*! @azure/msal-common v16.
|
|
4692
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
4567
4693
|
/**
|
|
4568
4694
|
* Parses the state into the RequestStateObject, which contains the LibraryState info and the state passed by the user.
|
|
4569
4695
|
* @param base64Decode
|
|
@@ -4589,7 +4715,7 @@ function parseRequestState(base64Decode, state, correlationId) {
|
|
|
4589
4715
|
}
|
|
4590
4716
|
//#endregion
|
|
4591
4717
|
//#region node_modules/@azure/msal-common/dist/response/ResponseHandler.mjs
|
|
4592
|
-
/*! @azure/msal-common v16.
|
|
4718
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
4593
4719
|
/**
|
|
4594
4720
|
* Class that handles response parsing.
|
|
4595
4721
|
* @internal
|
|
@@ -4643,7 +4769,14 @@ var ResponseHandler = class ResponseHandler {
|
|
|
4643
4769
|
this.homeAccountIdentifier = generateHomeAccountId(serverTokenResponse.client_info || "", authority.authorityType, this.logger, this.cryptoObj, request.correlationId, idTokenClaims);
|
|
4644
4770
|
let requestStateObj;
|
|
4645
4771
|
if (!!authCodePayload && !!authCodePayload.state) requestStateObj = parseRequestState(this.cryptoObj.base64Decode, authCodePayload.state, request.correlationId);
|
|
4646
|
-
serverTokenResponse.key_id = serverTokenResponse.key_id || request.sshKid || void 0;
|
|
4772
|
+
serverTokenResponse.key_id = serverTokenResponse.key_id || request.dpopJkt || request.sshKid || void 0;
|
|
4773
|
+
if (request.authenticationScheme === AuthenticationScheme.DPOP) {
|
|
4774
|
+
if (serverTokenResponse.token_type?.toLowerCase() !== AuthenticationScheme.DPOP.toLowerCase()) {
|
|
4775
|
+
this.performanceClient?.addFields({ dpopTokenTypeMismatch: serverTokenResponse.token_type }, request.correlationId);
|
|
4776
|
+
throw createClientAuthError(dpopTokenTypeMismatch, request.correlationId);
|
|
4777
|
+
}
|
|
4778
|
+
serverTokenResponse.token_type = AuthenticationScheme.DPOP;
|
|
4779
|
+
}
|
|
4647
4780
|
const attributeTokenPartition = serializeAttributeTokens(request.attributeTokens);
|
|
4648
4781
|
const cacheKeyComponents = additionalCacheKeyComponents ?? (attributeTokenPartition ? { attribute_tokens: attributeTokenPartition } : void 0);
|
|
4649
4782
|
const cacheRecord = this.generateCacheRecord(serverTokenResponse, authority, reqTimestamp, request, idTokenClaims, userAssertionHash, authCodePayload, cacheKeyComponents);
|
|
@@ -4754,13 +4887,23 @@ var ResponseHandler = class ResponseHandler {
|
|
|
4754
4887
|
let extExpiresOn;
|
|
4755
4888
|
let refreshOn;
|
|
4756
4889
|
let familyId = "";
|
|
4890
|
+
let dpopProof;
|
|
4757
4891
|
if (cacheRecord.accessToken) {
|
|
4892
|
+
const accessTokenType = cacheRecord.accessToken.tokenType?.toLowerCase();
|
|
4758
4893
|
if (cacheRecord.accessToken.tokenType === AuthenticationScheme.POP && !request.popKid) {
|
|
4759
4894
|
const popTokenGenerator = new PopTokenGenerator(cryptoObj, tokenBindingKeyManager, performanceClient);
|
|
4760
4895
|
const { secret, keyId } = cacheRecord.accessToken;
|
|
4761
4896
|
if (!keyId) throw createClientAuthError(keyIdMissing, request.correlationId);
|
|
4762
4897
|
accessToken = await popTokenGenerator.signPopToken(secret, keyId, request);
|
|
4763
4898
|
} else accessToken = cacheRecord.accessToken.secret;
|
|
4899
|
+
if (accessTokenType === AuthenticationScheme.DPOP.toLowerCase()) {
|
|
4900
|
+
if (!cacheRecord.accessToken.keyId) throw createClientAuthError(keyIdMissing, request.correlationId);
|
|
4901
|
+
dpopProof = await new DpopProofGenerator(cryptoObj, tokenBindingKeyManager).generateResourceProof({
|
|
4902
|
+
htu: request.resourceRequestUri,
|
|
4903
|
+
htm: request.resourceRequestMethod,
|
|
4904
|
+
accessToken: cacheRecord.accessToken.secret
|
|
4905
|
+
}, cacheRecord.accessToken.keyId, request.correlationId);
|
|
4906
|
+
}
|
|
4764
4907
|
responseScopes = ScopeSet.fromString(cacheRecord.accessToken.target, request.correlationId).asArray();
|
|
4765
4908
|
expiresOn = toDateFromSeconds(cacheRecord.accessToken.expiresOn);
|
|
4766
4909
|
extExpiresOn = toDateFromSeconds(cacheRecord.accessToken.extendedExpiresOn);
|
|
@@ -4769,6 +4912,8 @@ var ResponseHandler = class ResponseHandler {
|
|
|
4769
4912
|
if (cacheRecord.appMetadata) familyId = cacheRecord.appMetadata.familyId === "1" ? "1" : "";
|
|
4770
4913
|
const uid = idTokenClaims?.oid || idTokenClaims?.sub || "";
|
|
4771
4914
|
const tid = idTokenClaims?.tid || "";
|
|
4915
|
+
const regionSubScope = idTokenClaims?.tenant_region_sub_scope;
|
|
4916
|
+
if (typeof regionSubScope === "string") performanceClient?.addFields({ regionSubScope }, request.correlationId);
|
|
4772
4917
|
if (serverTokenResponse?.spa_accountid && !!cacheRecord.account) {
|
|
4773
4918
|
cacheRecord.account.nativeAccountId = serverTokenResponse?.spa_accountid;
|
|
4774
4919
|
const targetTenantId = tid || cacheRecord.account.realm;
|
|
@@ -4787,6 +4932,7 @@ var ResponseHandler = class ResponseHandler {
|
|
|
4787
4932
|
idToken: cacheRecord?.idToken?.secret || "",
|
|
4788
4933
|
idTokenClaims: idTokenClaims || {},
|
|
4789
4934
|
accessToken,
|
|
4935
|
+
dpopProof,
|
|
4790
4936
|
fromCache: fromTokenCache,
|
|
4791
4937
|
expiresOn,
|
|
4792
4938
|
extExpiresOn,
|
|
@@ -4794,7 +4940,7 @@ var ResponseHandler = class ResponseHandler {
|
|
|
4794
4940
|
correlationId: request.correlationId,
|
|
4795
4941
|
requestId: requestId || "",
|
|
4796
4942
|
familyId,
|
|
4797
|
-
tokenType: cacheRecord.accessToken?.tokenType || "",
|
|
4943
|
+
tokenType: cacheRecord.accessToken?.tokenType?.toLowerCase() === AuthenticationScheme.DPOP.toLowerCase() ? AuthenticationScheme.DPOP : cacheRecord.accessToken?.tokenType || "",
|
|
4798
4944
|
state: requestState ? requestState.userRequestState : "",
|
|
4799
4945
|
cloudGraphHostName: cacheRecord.account?.cloudGraphHostName || "",
|
|
4800
4946
|
msGraphHost: cacheRecord.account?.msGraphHost || "",
|
|
@@ -4835,14 +4981,14 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
|
|
|
4835
4981
|
}
|
|
4836
4982
|
//#endregion
|
|
4837
4983
|
//#region node_modules/@azure/msal-common/dist/account/CcsCredential.mjs
|
|
4838
|
-
/*! @azure/msal-common v16.
|
|
4984
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
4839
4985
|
const CcsCredentialType = {
|
|
4840
4986
|
HOME_ACCOUNT_ID: "home_account_id",
|
|
4841
4987
|
UPN: "UPN"
|
|
4842
4988
|
};
|
|
4843
4989
|
//#endregion
|
|
4844
4990
|
//#region node_modules/@azure/msal-common/dist/utils/ClientAssertionUtils.mjs
|
|
4845
|
-
/*! @azure/msal-common v16.
|
|
4991
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
4846
4992
|
async function getClientAssertion(clientAssertion, clientId, tokenEndpoint, fmiPath) {
|
|
4847
4993
|
if (typeof clientAssertion === "string") return clientAssertion;
|
|
4848
4994
|
else return clientAssertion({
|
|
@@ -4853,7 +4999,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint, fmiP
|
|
|
4853
4999
|
}
|
|
4854
5000
|
//#endregion
|
|
4855
5001
|
//#region node_modules/@azure/msal-common/dist/network/RequestThumbprint.mjs
|
|
4856
|
-
/*! @azure/msal-common v16.
|
|
5002
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
4857
5003
|
function getRequestThumbprint(clientId, request, homeAccountId) {
|
|
4858
5004
|
return {
|
|
4859
5005
|
clientId,
|
|
@@ -4873,7 +5019,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
|
|
|
4873
5019
|
}
|
|
4874
5020
|
//#endregion
|
|
4875
5021
|
//#region node_modules/@azure/msal-common/dist/network/ThrottlingUtils.mjs
|
|
4876
|
-
/*! @azure/msal-common v16.
|
|
5022
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
4877
5023
|
/** @internal */
|
|
4878
5024
|
var ThrottlingUtils = class ThrottlingUtils {
|
|
4879
5025
|
/**
|
|
@@ -4949,7 +5095,7 @@ var ThrottlingUtils = class ThrottlingUtils {
|
|
|
4949
5095
|
};
|
|
4950
5096
|
//#endregion
|
|
4951
5097
|
//#region node_modules/@azure/msal-common/dist/error/NetworkError.mjs
|
|
4952
|
-
/*! @azure/msal-common v16.
|
|
5098
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
4953
5099
|
/**
|
|
4954
5100
|
* Represents network related errors
|
|
4955
5101
|
*/
|
|
@@ -4976,7 +5122,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
|
|
|
4976
5122
|
}
|
|
4977
5123
|
//#endregion
|
|
4978
5124
|
//#region node_modules/@azure/msal-common/dist/protocol/Token.mjs
|
|
4979
|
-
/*! @azure/msal-common v16.
|
|
5125
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
4980
5126
|
/**
|
|
4981
5127
|
* Creates default headers for requests to token endpoint
|
|
4982
5128
|
*/
|
|
@@ -4997,6 +5143,17 @@ function createTokenRequestHeaders(logger, preventCorsPreflight, ccsCred) {
|
|
|
4997
5143
|
return headers;
|
|
4998
5144
|
}
|
|
4999
5145
|
/**
|
|
5146
|
+
* Adds the DPoP proof header for token endpoint requests when DPoP is requested.
|
|
5147
|
+
* @internal
|
|
5148
|
+
*/
|
|
5149
|
+
async function addDpopTokenProofHeader(headers, request, tokenEndpoint, cryptoUtils, tokenBindingKeyManager) {
|
|
5150
|
+
if (request.authenticationScheme !== AuthenticationScheme.DPOP) return;
|
|
5151
|
+
const dpopProofGenerator = new DpopProofGenerator(cryptoUtils, tokenBindingKeyManager);
|
|
5152
|
+
const keyId = request.dpopJkt;
|
|
5153
|
+
if (!keyId?.trim()) throw createClientAuthError(keyIdMissing, request.correlationId);
|
|
5154
|
+
headers[HeaderNames.DPOP] = await dpopProofGenerator.generateTokenProof({ tokenEndpoint }, keyId, request.correlationId);
|
|
5155
|
+
}
|
|
5156
|
+
/**
|
|
5000
5157
|
* Creates query string for the /token request
|
|
5001
5158
|
* @param request
|
|
5002
5159
|
*/
|
|
@@ -5071,7 +5228,7 @@ async function sendPostRequest(thumbprint, tokenEndpoint, options, correlationId
|
|
|
5071
5228
|
}
|
|
5072
5229
|
//#endregion
|
|
5073
5230
|
//#region node_modules/@azure/msal-common/dist/client/AuthorizationCodeClient.mjs
|
|
5074
|
-
/*! @azure/msal-common v16.
|
|
5231
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
5075
5232
|
/**
|
|
5076
5233
|
* Oauth2.0 Authorization Code client
|
|
5077
5234
|
* @internal
|
|
@@ -5134,6 +5291,7 @@ var AuthorizationCodeClient = class {
|
|
|
5134
5291
|
this.logger.verbose(`Could not parse client info for CCS Header: '${e}'`, request.correlationId);
|
|
5135
5292
|
}
|
|
5136
5293
|
const headers = createTokenRequestHeaders(this.logger, this.config.systemOptions.preventCorsPreflight, ccsCredential || request.ccsCredential);
|
|
5294
|
+
await addDpopTokenProofHeader(headers, request, endpoint, this.cryptoUtils, this.config.tokenBindingKeyManager);
|
|
5137
5295
|
const thumbprint = getRequestThumbprint(this.config.authOptions.clientId, request);
|
|
5138
5296
|
return invokeAsync(executePostToTokenEndpoint, AuthorizationCodeClientExecutePostToTokenEndpoint, this.logger, this.performanceClient, request.correlationId)(endpoint, requestBody, headers, thumbprint, request.correlationId, this.cacheManager, this.networkClient, this.logger, this.performanceClient, serverTelemetryManager);
|
|
5139
5297
|
}
|
|
@@ -5230,7 +5388,7 @@ var AuthorizationCodeClient = class {
|
|
|
5230
5388
|
};
|
|
5231
5389
|
//#endregion
|
|
5232
5390
|
//#region node_modules/@azure/msal-common/dist/protocol/Authorize.mjs
|
|
5233
|
-
/*! @azure/msal-common v16.
|
|
5391
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
5234
5392
|
/**
|
|
5235
5393
|
* Returns map of parameters that are applicable to all calls to /authorize whether using PKCE or EAR
|
|
5236
5394
|
* @param config
|
|
@@ -5341,7 +5499,7 @@ function extractLoginHint(account) {
|
|
|
5341
5499
|
}
|
|
5342
5500
|
//#endregion
|
|
5343
5501
|
//#region node_modules/@azure/msal-common/dist/client/RefreshTokenClient.mjs
|
|
5344
|
-
/*! @azure/msal-common v16.
|
|
5502
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
5345
5503
|
const DEFAULT_REFRESH_TOKEN_EXPIRATION_OFFSET_SECONDS = 300;
|
|
5346
5504
|
/**
|
|
5347
5505
|
* OAuth2.0 refresh token client
|
|
@@ -5407,6 +5565,7 @@ var RefreshTokenClient = class {
|
|
|
5407
5565
|
type: CcsCredentialType.HOME_ACCOUNT_ID
|
|
5408
5566
|
}
|
|
5409
5567
|
};
|
|
5568
|
+
if (refreshTokenRequest.authenticationScheme === AuthenticationScheme.DPOP && !refreshTokenRequest.dpopJkt) refreshTokenRequest.dpopJkt = await new DpopProofGenerator(this.cryptoUtils, this.config.tokenBindingKeyManager).generateJkt(request.correlationId);
|
|
5410
5569
|
try {
|
|
5411
5570
|
return await invokeAsync(this.acquireToken.bind(this), RefreshTokenClientAcquireToken, this.logger, this.performanceClient, request.correlationId)(refreshTokenRequest, apiId);
|
|
5412
5571
|
} catch (e) {
|
|
@@ -5430,6 +5589,7 @@ var RefreshTokenClient = class {
|
|
|
5430
5589
|
const endpoint = UrlString.appendQueryString(authority.tokenEndpoint, queryParametersString);
|
|
5431
5590
|
const requestBody = await invokeAsync(this.createTokenRequestBody.bind(this), RefreshTokenClientCreateTokenRequestBody, this.logger, this.performanceClient, request.correlationId)(request);
|
|
5432
5591
|
const headers = createTokenRequestHeaders(this.logger, this.config.systemOptions.preventCorsPreflight, request.ccsCredential);
|
|
5592
|
+
await addDpopTokenProofHeader(headers, request, endpoint, this.cryptoUtils, this.config.tokenBindingKeyManager);
|
|
5433
5593
|
const thumbprint = getRequestThumbprint(this.config.authOptions.clientId, request);
|
|
5434
5594
|
return invokeAsync(executePostToTokenEndpoint, RefreshTokenClientExecutePostToTokenEndpoint, this.logger, this.performanceClient, request.correlationId)(endpoint, requestBody, headers, thumbprint, request.correlationId, this.cacheManager, this.networkClient, this.logger, this.performanceClient, this.serverTelemetryManager);
|
|
5435
5595
|
}
|
|
@@ -5486,7 +5646,7 @@ var RefreshTokenClient = class {
|
|
|
5486
5646
|
};
|
|
5487
5647
|
//#endregion
|
|
5488
5648
|
//#region node_modules/@azure/msal-common/dist/telemetry/server/ServerTelemetryManager.mjs
|
|
5489
|
-
/*! @azure/msal-common v16.
|
|
5649
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
5490
5650
|
const skuGroupSeparator = ",";
|
|
5491
5651
|
const skuValueSeparator = "|";
|
|
5492
5652
|
function makeExtraSkuString(params) {
|
|
@@ -5681,7 +5841,7 @@ var ServerTelemetryManager = class ServerTelemetryManager {
|
|
|
5681
5841
|
};
|
|
5682
5842
|
//#endregion
|
|
5683
5843
|
//#region node_modules/@azure/msal-common/dist/client/SilentFlowClient.mjs
|
|
5684
|
-
/*! @azure/msal-common v16.
|
|
5844
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
5685
5845
|
/** @internal */
|
|
5686
5846
|
var SilentFlowClient = class {
|
|
5687
5847
|
constructor(configuration, performanceClient) {
|
|
@@ -5720,6 +5880,20 @@ var SilentFlowClient = class {
|
|
|
5720
5880
|
throw createClientAuthError(tokenRefreshRequired, request.correlationId);
|
|
5721
5881
|
}
|
|
5722
5882
|
} else if (cachedAccessToken.refreshOn && isTokenExpired(cachedAccessToken.refreshOn, 0)) lastCacheOutcome = CacheOutcome.PROACTIVELY_REFRESHED;
|
|
5883
|
+
if (cachedAccessToken.tokenType?.toLowerCase() === AuthenticationScheme.DPOP.toLowerCase()) {
|
|
5884
|
+
if (!cachedAccessToken.keyId) {
|
|
5885
|
+
this.logger.info("SilentFlowClient:acquireCachedToken - Cached DPoP access token is missing keyId; refresh required", request.correlationId);
|
|
5886
|
+
this.setCacheOutcome(CacheOutcome.NO_CACHED_ACCESS_TOKEN, request.correlationId);
|
|
5887
|
+
throw createClientAuthError(tokenRefreshRequired, request.correlationId);
|
|
5888
|
+
}
|
|
5889
|
+
try {
|
|
5890
|
+
await this.config.tokenBindingKeyManager.getTokenBindingPublicKeyJwk(cachedAccessToken.keyId, request.correlationId);
|
|
5891
|
+
} catch {
|
|
5892
|
+
this.logger.info("SilentFlowClient:acquireCachedToken - Local DPoP key was not found for cached access token; refresh required", request.correlationId);
|
|
5893
|
+
this.setCacheOutcome(CacheOutcome.NO_CACHED_ACCESS_TOKEN, request.correlationId);
|
|
5894
|
+
throw createClientAuthError(tokenRefreshRequired, request.correlationId);
|
|
5895
|
+
}
|
|
5896
|
+
}
|
|
5723
5897
|
const environment = request.authority || this.authority.getPreferredCache();
|
|
5724
5898
|
const cacheRecord = {
|
|
5725
5899
|
account: this.cacheManager.getAccount(this.cacheManager.generateAccountKey(request.account), request.correlationId),
|
|
@@ -5752,7 +5926,7 @@ var SilentFlowClient = class {
|
|
|
5752
5926
|
};
|
|
5753
5927
|
//#endregion
|
|
5754
5928
|
//#region node_modules/@azure/msal-common/dist/request/BaseAuthRequest.mjs
|
|
5755
|
-
/*! @azure/msal-common v16.
|
|
5929
|
+
/*! @azure/msal-common v16.14.0 2026-08-28 */
|
|
5756
5930
|
/**
|
|
5757
5931
|
* Helper to enforce resource parameter presence in token requests when isMcp is set in the configuration.
|
|
5758
5932
|
* If resource parameter is set in both the request and in extraQueryParameters or extraParameters, an error will be thrown.
|
|
@@ -5771,7 +5945,7 @@ function containsResourceParam(params) {
|
|
|
5771
5945
|
}
|
|
5772
5946
|
//#endregion
|
|
5773
5947
|
//#region node_modules/@azure/msal-node/dist/cache/serializer/Deserializer.mjs
|
|
5774
|
-
/*! @azure/msal-node
|
|
5948
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
5775
5949
|
/**
|
|
5776
5950
|
* This class deserializes cache entities read from the file into in-memory object types defined internally
|
|
5777
5951
|
* @internal
|
|
@@ -5919,7 +6093,7 @@ var Deserializer = class {
|
|
|
5919
6093
|
};
|
|
5920
6094
|
}
|
|
5921
6095
|
};
|
|
5922
|
-
/*! @azure/msal-node
|
|
6096
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
5923
6097
|
/**
|
|
5924
6098
|
* Managed Identity Query Parameters - used in network requests
|
|
5925
6099
|
*/
|
|
@@ -6032,7 +6206,7 @@ const LOOPBACK_SERVER_CONSTANTS = {
|
|
|
6032
6206
|
};
|
|
6033
6207
|
//#endregion
|
|
6034
6208
|
//#region node_modules/@azure/msal-node/dist/network/HttpClient.mjs
|
|
6035
|
-
/*! @azure/msal-node
|
|
6209
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
6036
6210
|
/**
|
|
6037
6211
|
* HTTP client implementation using Node.js native fetch API.
|
|
6038
6212
|
*
|
|
@@ -6169,7 +6343,7 @@ function getFetchHeaders(options) {
|
|
|
6169
6343
|
}
|
|
6170
6344
|
//#endregion
|
|
6171
6345
|
//#region node_modules/@azure/msal-node/dist/error/ManagedIdentityErrorCodes.mjs
|
|
6172
|
-
/*! @azure/msal-node
|
|
6346
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
6173
6347
|
const invalidFileExtension = "invalid_file_extension";
|
|
6174
6348
|
const invalidFilePath = "invalid_file_path";
|
|
6175
6349
|
const invalidManagedIdentityIdType = "invalid_managed_identity_id_type";
|
|
@@ -6193,7 +6367,7 @@ const MsiEnvironmentVariableUrlMalformedErrorCodes = {
|
|
|
6193
6367
|
};
|
|
6194
6368
|
//#endregion
|
|
6195
6369
|
//#region node_modules/@azure/msal-node/dist/error/ManagedIdentityError.mjs
|
|
6196
|
-
/*! @azure/msal-node
|
|
6370
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
6197
6371
|
/**
|
|
6198
6372
|
* ManagedIdentityErrorMessage class containing string constants used by error codes and messages.
|
|
6199
6373
|
*/
|
|
@@ -6230,10 +6404,10 @@ function createManagedIdentityError(errorCode, correlationId) {
|
|
|
6230
6404
|
}
|
|
6231
6405
|
//#endregion
|
|
6232
6406
|
//#region node_modules/@azure/msal-node/dist/config/ManagedIdentityId.mjs
|
|
6233
|
-
/*! @azure/msal-node
|
|
6407
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
6234
6408
|
//#endregion
|
|
6235
6409
|
//#region node_modules/@azure/msal-node/dist/error/NodeAuthError.mjs
|
|
6236
|
-
/*! @azure/msal-node
|
|
6410
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
6237
6411
|
/**
|
|
6238
6412
|
* NodeAuthErrorMessage class containing string constants used by error codes and messages.
|
|
6239
6413
|
*/
|
|
@@ -6337,7 +6511,7 @@ var NodeAuthError = class NodeAuthError extends AuthError {
|
|
|
6337
6511
|
};
|
|
6338
6512
|
//#endregion
|
|
6339
6513
|
//#region node_modules/@azure/msal-node/dist/config/Configuration.mjs
|
|
6340
|
-
/*! @azure/msal-node
|
|
6514
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
6341
6515
|
const DEFAULT_AUTH_OPTIONS = {
|
|
6342
6516
|
clientId: "",
|
|
6343
6517
|
authority: DEFAULT_AUTHORITY,
|
|
@@ -6412,7 +6586,7 @@ function buildAppConfiguration({ auth, broker, cache, system, telemetry }) {
|
|
|
6412
6586
|
}
|
|
6413
6587
|
//#endregion
|
|
6414
6588
|
//#region node_modules/@azure/msal-node/dist/crypto/GuidGenerator.mjs
|
|
6415
|
-
/*! @azure/msal-node
|
|
6589
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
6416
6590
|
var GuidGenerator = class {
|
|
6417
6591
|
/**
|
|
6418
6592
|
* Generates a random [RFC 4122](https://www.rfc-editor.org/rfc/rfc4122.txt) version 4 UUID. The UUID is generated using a
|
|
@@ -6431,7 +6605,7 @@ var GuidGenerator = class {
|
|
|
6431
6605
|
};
|
|
6432
6606
|
//#endregion
|
|
6433
6607
|
//#region node_modules/@azure/msal-node/dist/utils/EncodingUtils.mjs
|
|
6434
|
-
/*! @azure/msal-node
|
|
6608
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
6435
6609
|
var EncodingUtils = class EncodingUtils {
|
|
6436
6610
|
/**
|
|
6437
6611
|
* 'utf8': Multibyte encoded Unicode characters. Many web pages and other document formats use UTF-8.
|
|
@@ -6469,7 +6643,7 @@ var EncodingUtils = class EncodingUtils {
|
|
|
6469
6643
|
};
|
|
6470
6644
|
//#endregion
|
|
6471
6645
|
//#region node_modules/@azure/msal-node/dist/crypto/HashUtils.mjs
|
|
6472
|
-
/*! @azure/msal-node
|
|
6646
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
6473
6647
|
var HashUtils = class {
|
|
6474
6648
|
/**
|
|
6475
6649
|
* generate 'SHA256' hash
|
|
@@ -6481,7 +6655,7 @@ var HashUtils = class {
|
|
|
6481
6655
|
};
|
|
6482
6656
|
//#endregion
|
|
6483
6657
|
//#region node_modules/@azure/msal-node/dist/crypto/PkceGenerator.mjs
|
|
6484
|
-
/*! @azure/msal-node
|
|
6658
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
6485
6659
|
/**
|
|
6486
6660
|
* https://tools.ietf.org/html/rfc7636#page-8
|
|
6487
6661
|
*/
|
|
@@ -6525,7 +6699,7 @@ var PkceGenerator = class {
|
|
|
6525
6699
|
};
|
|
6526
6700
|
//#endregion
|
|
6527
6701
|
//#region node_modules/@azure/msal-node/dist/crypto/CryptoProvider.mjs
|
|
6528
|
-
/*! @azure/msal-node
|
|
6702
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
6529
6703
|
/**
|
|
6530
6704
|
* This class implements MSAL node's crypto interface, which allows it to perform base64 encoding and decoding, generating cryptographically random GUIDs and
|
|
6531
6705
|
* implementing Proof Key for Code Exchange specs for the OAuth Authorization Code Flow using PKCE (rfc here: https://tools.ietf.org/html/rfc7636).
|
|
@@ -6612,7 +6786,7 @@ var CryptoProvider = class {
|
|
|
6612
6786
|
};
|
|
6613
6787
|
//#endregion
|
|
6614
6788
|
//#region node_modules/@azure/msal-node/dist/cache/CacheHelpers.mjs
|
|
6615
|
-
/*! @azure/msal-node
|
|
6789
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
6616
6790
|
/**
|
|
6617
6791
|
* Computes a combined hash from additional cache key components.
|
|
6618
6792
|
*
|
|
@@ -6666,14 +6840,14 @@ function generateAccountKey(account) {
|
|
|
6666
6840
|
}
|
|
6667
6841
|
//#endregion
|
|
6668
6842
|
//#region node_modules/@azure/msal-node/dist/cache/NodeStorage.mjs
|
|
6669
|
-
/*! @azure/msal-node
|
|
6843
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
6670
6844
|
/**
|
|
6671
6845
|
* This class implements Storage for node, reading cache from user specified storage location or an extension library
|
|
6672
6846
|
* @public
|
|
6673
6847
|
*/
|
|
6674
6848
|
var NodeStorage = class extends CacheManager {
|
|
6675
6849
|
constructor(logger, clientId, cryptoImpl, staticAuthorityOptions) {
|
|
6676
|
-
super(clientId, cryptoImpl, logger, new StubPerformanceClient(), staticAuthorityOptions);
|
|
6850
|
+
super(clientId, cryptoImpl, logger, new StubPerformanceClient(), staticAuthorityOptions, DEFAULT_TOKEN_BINDING_KEY_MANAGER);
|
|
6677
6851
|
this.cache = {};
|
|
6678
6852
|
this.changeEmitters = [];
|
|
6679
6853
|
this.logger = logger;
|
|
@@ -7033,7 +7207,7 @@ var NodeStorage = class extends CacheManager {
|
|
|
7033
7207
|
};
|
|
7034
7208
|
//#endregion
|
|
7035
7209
|
//#region node_modules/@azure/msal-node/dist/cache/TokenCache.mjs
|
|
7036
|
-
/*! @azure/msal-node
|
|
7210
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
7037
7211
|
const defaultSerializedCache = {
|
|
7038
7212
|
Account: {},
|
|
7039
7213
|
IdToken: {},
|
|
@@ -11429,7 +11603,7 @@ var import_jsonwebtoken = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin
|
|
|
11429
11603
|
TokenExpiredError: require_TokenExpiredError()
|
|
11430
11604
|
};
|
|
11431
11605
|
})))(), 1);
|
|
11432
|
-
/*! @azure/msal-node
|
|
11606
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
11433
11607
|
const userTimeoutReached = "user_timeout_reached";
|
|
11434
11608
|
const invalidAssertion = "invalid_assertion";
|
|
11435
11609
|
const deviceCodePollingCancelled = "device_code_polling_cancelled";
|
|
@@ -11437,7 +11611,7 @@ const deviceCodeExpired = "device_code_expired";
|
|
|
11437
11611
|
const deviceCodeUnknownError = "device_code_unknown_error";
|
|
11438
11612
|
//#endregion
|
|
11439
11613
|
//#region node_modules/@azure/msal-node/dist/client/ClientAssertion.mjs
|
|
11440
|
-
/*! @azure/msal-node
|
|
11614
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
11441
11615
|
/**
|
|
11442
11616
|
* Client assertion of type jwt-bearer used in confidential client flows
|
|
11443
11617
|
* @public
|
|
@@ -11545,12 +11719,12 @@ var ClientAssertion = class ClientAssertion {
|
|
|
11545
11719
|
};
|
|
11546
11720
|
//#endregion
|
|
11547
11721
|
//#region node_modules/@azure/msal-node/dist/packageMetadata.mjs
|
|
11548
|
-
/*! @azure/msal-node
|
|
11722
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
11549
11723
|
const name = "@azure/msal-node";
|
|
11550
|
-
const version = "
|
|
11724
|
+
const version = "6.0.0";
|
|
11551
11725
|
//#endregion
|
|
11552
11726
|
//#region node_modules/@azure/msal-node/dist/client/BaseClient.mjs
|
|
11553
|
-
/*! @azure/msal-node
|
|
11727
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
11554
11728
|
/**
|
|
11555
11729
|
* Base application class which will construct requests to send to and handle responses from the Microsoft STS using the authorization code flow.
|
|
11556
11730
|
* @internal
|
|
@@ -11602,7 +11776,7 @@ var BaseClient = class {
|
|
|
11602
11776
|
};
|
|
11603
11777
|
//#endregion
|
|
11604
11778
|
//#region node_modules/@azure/msal-node/dist/client/UsernamePasswordClient.mjs
|
|
11605
|
-
/*! @azure/msal-node
|
|
11779
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
11606
11780
|
/**
|
|
11607
11781
|
* Oauth2.0 Password grant client
|
|
11608
11782
|
* Note: We are only supporting public clients for password grant and for purely testing purposes
|
|
@@ -11683,7 +11857,7 @@ var UsernamePasswordClient = class extends BaseClient {
|
|
|
11683
11857
|
};
|
|
11684
11858
|
//#endregion
|
|
11685
11859
|
//#region node_modules/@azure/msal-node/dist/protocol/Authorize.mjs
|
|
11686
|
-
/*! @azure/msal-node
|
|
11860
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
11687
11861
|
/**
|
|
11688
11862
|
* Constructs the full /authorize URL with request parameters
|
|
11689
11863
|
* @param config
|
|
@@ -11712,7 +11886,7 @@ function getAuthCodeRequestUrl(config, authority, request, logger) {
|
|
|
11712
11886
|
}
|
|
11713
11887
|
//#endregion
|
|
11714
11888
|
//#region node_modules/@azure/msal-node/dist/client/ClientApplication.mjs
|
|
11715
|
-
/*! @azure/msal-node
|
|
11889
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
11716
11890
|
/**
|
|
11717
11891
|
* Base abstract class for all ClientApplications - public and confidential
|
|
11718
11892
|
* @public
|
|
@@ -12031,7 +12205,7 @@ var ClientApplication = class {
|
|
|
12031
12205
|
};
|
|
12032
12206
|
//#endregion
|
|
12033
12207
|
//#region node_modules/@azure/msal-node/dist/network/LoopbackClient.mjs
|
|
12034
|
-
/*! @azure/msal-node
|
|
12208
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
12035
12209
|
var LoopbackClient = class {
|
|
12036
12210
|
constructor(preferredPort) {
|
|
12037
12211
|
this.preferredPort = preferredPort;
|
|
@@ -12154,7 +12328,7 @@ var LoopbackClient = class {
|
|
|
12154
12328
|
};
|
|
12155
12329
|
//#endregion
|
|
12156
12330
|
//#region node_modules/@azure/msal-node/dist/client/DeviceCodeClient.mjs
|
|
12157
|
-
/*! @azure/msal-node
|
|
12331
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
12158
12332
|
/**
|
|
12159
12333
|
* OAuth2.0 Device code client
|
|
12160
12334
|
* @public
|
|
@@ -12328,7 +12502,7 @@ var DeviceCodeClient = class extends BaseClient {
|
|
|
12328
12502
|
};
|
|
12329
12503
|
//#endregion
|
|
12330
12504
|
//#region node_modules/@azure/msal-node/dist/client/PublicClientApplication.mjs
|
|
12331
|
-
/*! @azure/msal-node
|
|
12505
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
12332
12506
|
/**
|
|
12333
12507
|
* This class is to be used to acquire tokens for public client applications (desktop, mobile). Public client applications
|
|
12334
12508
|
* are not trusted to safely store application secrets, and therefore can only request tokens in the name of an user.
|
|
@@ -12397,8 +12571,7 @@ var PublicClientApplication = class extends ClientApplication {
|
|
|
12397
12571
|
const correlationId = request.correlationId || this.cryptoProvider.createNewGuid();
|
|
12398
12572
|
this.logger.trace("acquireTokenInteractive called", correlationId);
|
|
12399
12573
|
enforceResourceParameter(this.config.auth.isMcp, request);
|
|
12400
|
-
const { openBrowser, successTemplate, errorTemplate, windowHandle,
|
|
12401
|
-
if (customLoopbackClient) this.logger.warning("The loopbackClient option is deprecated and will be removed in a future major version. Omit it to use the built-in loopback server, and set preferredPort when a fixed port is required.", correlationId);
|
|
12574
|
+
const { openBrowser, successTemplate, errorTemplate, windowHandle, preferredPort, ...remainingProperties } = request;
|
|
12402
12575
|
if (this.nativeBrokerPlugin) {
|
|
12403
12576
|
const brokerRequest = {
|
|
12404
12577
|
...remainingProperties,
|
|
@@ -12421,8 +12594,8 @@ var PublicClientApplication = class extends ClientApplication {
|
|
|
12421
12594
|
request.redirectUri = "";
|
|
12422
12595
|
}
|
|
12423
12596
|
const { verifier, challenge } = await this.cryptoProvider.generatePkceCodes();
|
|
12424
|
-
const loopbackClient =
|
|
12425
|
-
const responseMode = remainingProperties.responseMode ?? ResponseMode$1.
|
|
12597
|
+
const loopbackClient = new LoopbackClient(preferredPort);
|
|
12598
|
+
const responseMode = remainingProperties.responseMode ?? ResponseMode$1.FORM_POST;
|
|
12426
12599
|
if (responseMode !== ResponseMode$1.QUERY && responseMode !== ResponseMode$1.FORM_POST) throw createClientConfigurationError(invalidResponseMode, correlationId);
|
|
12427
12600
|
let authCodeResponse = {};
|
|
12428
12601
|
let authCodeListenerError = null;
|
|
@@ -12537,7 +12710,7 @@ var PublicClientApplication = class extends ClientApplication {
|
|
|
12537
12710
|
}
|
|
12538
12711
|
/**
|
|
12539
12712
|
* Attempts to retrieve the redirectUri from the loopback server. If the loopback server does not start listening for requests within the timeout this will throw.
|
|
12540
|
-
* @param loopbackClient -
|
|
12713
|
+
* @param loopbackClient - built-in loopback server implementation
|
|
12541
12714
|
* @param correlationId - correlation id of the request
|
|
12542
12715
|
* @returns
|
|
12543
12716
|
*/
|
|
@@ -12570,19 +12743,19 @@ var PublicClientApplication = class extends ClientApplication {
|
|
|
12570
12743
|
};
|
|
12571
12744
|
//#endregion
|
|
12572
12745
|
//#region node_modules/@azure/msal-node/dist/client/ClientCredentialClient.mjs
|
|
12573
|
-
/*! @azure/msal-node
|
|
12746
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
12574
12747
|
//#endregion
|
|
12575
12748
|
//#region node_modules/@azure/msal-node/dist/client/OnBehalfOfClient.mjs
|
|
12576
|
-
/*! @azure/msal-node
|
|
12749
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
12577
12750
|
//#endregion
|
|
12578
12751
|
//#region node_modules/@azure/msal-node/dist/client/UserFederatedIdentityCredentialClient.mjs
|
|
12579
|
-
/*! @azure/msal-node
|
|
12752
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
12580
12753
|
//#endregion
|
|
12581
12754
|
//#region node_modules/@azure/msal-node/dist/client/ConfidentialClientApplication.mjs
|
|
12582
|
-
/*! @azure/msal-node
|
|
12755
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
12583
12756
|
//#endregion
|
|
12584
12757
|
//#region node_modules/@azure/msal-node/dist/utils/TimeUtils.mjs
|
|
12585
|
-
/*! @azure/msal-node
|
|
12758
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
12586
12759
|
/**
|
|
12587
12760
|
* @internal
|
|
12588
12761
|
* Checks if a given date string is in ISO 8601 format.
|
|
@@ -12597,7 +12770,7 @@ function isIso8601(dateString) {
|
|
|
12597
12770
|
}
|
|
12598
12771
|
//#endregion
|
|
12599
12772
|
//#region node_modules/@azure/msal-node/dist/network/HttpClientWithRetries.mjs
|
|
12600
|
-
/*! @azure/msal-node
|
|
12773
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
12601
12774
|
var HttpClientWithRetries = class {
|
|
12602
12775
|
constructor(httpClientNoRetries, retryPolicy, logger) {
|
|
12603
12776
|
this.httpClientNoRetries = httpClientNoRetries;
|
|
@@ -12627,7 +12800,7 @@ var HttpClientWithRetries = class {
|
|
|
12627
12800
|
};
|
|
12628
12801
|
//#endregion
|
|
12629
12802
|
//#region node_modules/@azure/msal-node/dist/client/ManagedIdentitySources/BaseManagedIdentitySource.mjs
|
|
12630
|
-
/*! @azure/msal-node
|
|
12803
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
12631
12804
|
/**
|
|
12632
12805
|
* Managed Identity User Assigned Id Query Parameter Names
|
|
12633
12806
|
*/
|
|
@@ -12817,21 +12990,21 @@ BaseManagedIdentitySource.getValidatedEnvVariableUrlString = (envVariableStringN
|
|
|
12817
12990
|
throw createManagedIdentityError(MsiEnvironmentVariableUrlMalformedErrorCodes[envVariableStringName], "");
|
|
12818
12991
|
}
|
|
12819
12992
|
};
|
|
12820
|
-
/*! @azure/msal-node
|
|
12821
|
-
/*! @azure/msal-node
|
|
12822
|
-
/*! @azure/msal-node
|
|
12823
|
-
/*! @azure/msal-node
|
|
12993
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
12994
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
12995
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
12996
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
12824
12997
|
`${process.env["ProgramData"]}`;
|
|
12825
12998
|
`${process.env["ProgramFiles"]}`;
|
|
12826
|
-
/*! @azure/msal-node
|
|
12827
|
-
/*! @azure/msal-node
|
|
12828
|
-
/*! @azure/msal-node
|
|
12829
|
-
/*! @azure/msal-node
|
|
12830
|
-
/*! @azure/msal-node
|
|
12999
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
13000
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
13001
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
13002
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
13003
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
12831
13004
|
`${ManagedIdentitySourceNames.MACHINE_LEARNING}`;
|
|
12832
|
-
/*! @azure/msal-node
|
|
12833
|
-
/*! @azure/msal-node
|
|
13005
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
13006
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
12834
13007
|
ManagedIdentitySourceNames.SERVICE_FABRIC;
|
|
12835
|
-
/*! @azure/msal-node
|
|
13008
|
+
/*! @azure/msal-node v6.0.0 2026-08-28 */
|
|
12836
13009
|
//#endregion
|
|
12837
13010
|
export { CryptoProvider, PublicClientApplication };
|