@azure/msal-browser 5.17.0 → 5.17.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/dist/app/IPublicClientApplication.mjs +1 -1
- package/dist/app/PublicClientApplication.mjs +1 -1
- package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
- package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
- package/dist/cache/AccountManager.mjs +1 -1
- package/dist/cache/AsyncMemoryStorage.mjs +1 -1
- package/dist/cache/BrowserCacheManager.mjs +1 -1
- package/dist/cache/CacheHelpers.mjs +1 -1
- package/dist/cache/CacheKeys.mjs +1 -1
- package/dist/cache/CookieStorage.mjs +1 -1
- package/dist/cache/DatabaseStorage.mjs +1 -1
- package/dist/cache/EncryptedData.mjs +1 -1
- package/dist/cache/LocalStorage.mjs +1 -1
- package/dist/cache/MemoryStorage.mjs +1 -1
- package/dist/cache/SessionStorage.mjs +1 -1
- package/dist/cache/TokenCache.mjs +1 -1
- package/dist/config/Configuration.mjs +1 -1
- package/dist/controllers/NestedAppAuthController.mjs +1 -1
- package/dist/controllers/StandardController.mjs +1 -1
- package/dist/crypto/BrowserCrypto.mjs +61 -12
- package/dist/crypto/BrowserCrypto.mjs.map +1 -1
- package/dist/crypto/CryptoOps.mjs +6 -12
- package/dist/crypto/CryptoOps.mjs.map +1 -1
- package/dist/crypto/PkceGenerator.mjs +1 -1
- package/dist/crypto/SignedHttpRequest.mjs +1 -1
- package/dist/custom_auth/CustomAuthConstants.mjs +1 -1
- package/dist/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
- package/dist/custom_auth/controller/CustomAuthStandardController.mjs +1 -1
- package/dist/custom_auth/core/CustomAuthAuthority.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
- package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +1 -1
- package/dist/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
- package/dist/custom_auth/core/error/CustomAuthError.mjs +1 -1
- package/dist/custom_auth/core/error/HttpError.mjs +1 -1
- package/dist/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
- package/dist/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
- package/dist/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
- package/dist/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
- package/dist/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
- package/dist/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
- package/dist/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
- package/dist/custom_auth/core/error/ParsedUrlError.mjs +1 -1
- package/dist/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
- package/dist/custom_auth/core/error/UnexpectedError.mjs +1 -1
- package/dist/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
- package/dist/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
- package/dist/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/jit/JitClient.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/mfa/MfaClient.mjs +1 -1
- package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
- package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
- package/dist/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
- package/dist/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
- package/dist/custom_auth/core/telemetry/PublicApiId.mjs +1 -1
- package/dist/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
- package/dist/custom_auth/core/utils/CustomHeaderUtils.mjs +1 -1
- package/dist/custom_auth/core/utils/UrlUtils.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
- package/dist/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
- package/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
- package/dist/custom_auth/index.mjs +1 -1
- package/dist/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
- package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
- package/dist/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
- package/dist/custom_auth/sign_in/interaction_client/SignInClient.mjs +1 -1
- package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
- package/dist/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
- package/dist/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
- package/dist/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
- package/dist/encode/Base64Decode.mjs +1 -1
- package/dist/encode/Base64Encode.mjs +1 -1
- package/dist/error/BrowserAuthError.mjs +1 -1
- package/dist/error/BrowserAuthErrorCodes.mjs +3 -2
- package/dist/error/BrowserAuthErrorCodes.mjs.map +1 -1
- package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
- package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
- package/dist/error/NativeAuthError.mjs +1 -1
- package/dist/error/NativeAuthErrorCodes.mjs +1 -1
- package/dist/error/NestedAppAuthError.mjs +1 -1
- package/dist/event/EventHandler.mjs +1 -1
- package/dist/event/EventMessage.mjs +1 -1
- package/dist/event/EventType.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
- package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
- package/dist/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
- package/dist/interaction_client/PopupClient.mjs +1 -1
- package/dist/interaction_client/RedirectClient.mjs +1 -1
- package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
- package/dist/interaction_client/SilentCacheClient.mjs +1 -1
- package/dist/interaction_client/SilentIframeClient.mjs +1 -1
- package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
- package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
- package/dist/interaction_handler/InteractionHandler.mjs +1 -1
- package/dist/interaction_handler/SilentHandler.mjs +1 -1
- package/dist/log-strings-mapping.json +2 -2
- package/dist/naa/BridgeError.mjs +1 -1
- package/dist/naa/BridgeProxy.mjs +1 -1
- package/dist/naa/BridgeStatusCode.mjs +1 -1
- package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
- package/dist/navigation/NavigationClient.mjs +1 -1
- package/dist/network/FetchClient.mjs +1 -1
- package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
- package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
- package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
- package/dist/packageMetadata.mjs +2 -2
- package/dist/popup_relay/constants.mjs +1 -1
- package/dist/popup_relay/index.mjs +1 -1
- package/dist/popup_relay/relayClient.mjs +1 -1
- package/dist/protocol/Authorize.mjs +1 -1
- package/dist/redirect_bridge/index.mjs +1 -1
- package/dist/request/RequestHelpers.mjs +1 -1
- package/dist/response/ResponseHandler.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceEvents.mjs +1 -1
- package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
- package/dist/telemetry/BrowserRootPerformanceEvents.mjs +1 -1
- package/dist/utils/BrowserConstants.mjs +1 -1
- package/dist/utils/BrowserProtocolUtils.mjs +1 -1
- package/dist/utils/BrowserUtils.mjs +1 -1
- package/dist/utils/Helpers.mjs +1 -1
- package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
- package/lib/custom-auth-path/log-strings-mapping.json +2 -2
- package/lib/custom-auth-path/msal-custom-auth.cjs +134 -86
- package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
- package/lib/custom-auth-path/msal-custom-auth.js +134 -86
- package/lib/custom-auth-path/msal-custom-auth.js.map +1 -1
- package/lib/log-strings-mapping.json +2 -2
- package/lib/msal-browser.cjs +142 -89
- package/lib/msal-browser.cjs.map +1 -1
- package/lib/msal-browser.js +142 -89
- package/lib/msal-browser.js.map +1 -1
- package/lib/msal-browser.min.js +2 -2
- package/lib/popup-relay/msal-popup-relay.cjs +2 -2
- package/lib/popup-relay/msal-popup-relay.cjs.map +1 -1
- package/lib/popup-relay/msal-popup-relay.js +2 -2
- package/lib/popup-relay/msal-popup-relay.js.map +1 -1
- package/lib/popup-relay/msal-popup-relay.min.js +1 -1
- package/lib/redirect-bridge/msal-redirect-bridge.cjs +10 -10
- package/lib/redirect-bridge/msal-redirect-bridge.cjs.map +1 -1
- package/lib/redirect-bridge/msal-redirect-bridge.js +10 -10
- package/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -1
- package/lib/redirect-bridge/msal-redirect-bridge.min.js +1 -1
- package/package.json +2 -2
- package/src/crypto/BrowserCrypto.ts +104 -9
- package/src/crypto/CryptoOps.ts +13 -12
- package/src/error/BrowserAuthErrorCodes.ts +1 -0
- package/src/packageMetadata.ts +1 -1
- package/types/crypto/BrowserCrypto.d.ts +19 -5
- package/types/crypto/BrowserCrypto.d.ts.map +1 -1
- package/types/crypto/CryptoOps.d.ts.map +1 -1
- package/types/custom_auth/CustomAuthConstants.d.ts +1 -1
- package/types/error/BrowserAuthErrorCodes.d.ts +1 -0
- package/types/error/BrowserAuthErrorCodes.d.ts.map +1 -1
- package/types/packageMetadata.d.ts +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! @azure/msal-browser v5.17.
|
|
1
|
+
/*! @azure/msal-browser v5.17.1 2026-07-15 */
|
|
2
2
|
'use strict';
|
|
3
3
|
(function (global, factory) {
|
|
4
4
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.msalCustomAuth = {}));
|
|
7
7
|
})(this, (function (exports) { 'use strict';
|
|
8
8
|
|
|
9
|
-
/*! @azure/msal-common v16.11.
|
|
9
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
10
10
|
/*
|
|
11
11
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
12
12
|
* Licensed under the MIT License.
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
const RESOURCE = "resource";
|
|
59
59
|
const CLI_DATA = "clidata";
|
|
60
60
|
|
|
61
|
-
/*! @azure/msal-common v16.11.
|
|
61
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
62
62
|
/*
|
|
63
63
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
64
64
|
* Licensed under the MIT License.
|
|
@@ -289,7 +289,7 @@
|
|
|
289
289
|
// Token renewal offset default in seconds
|
|
290
290
|
const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
|
|
291
291
|
|
|
292
|
-
/*! @azure/msal-common v16.11.
|
|
292
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
293
293
|
/*
|
|
294
294
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
295
295
|
* Licensed under the MIT License.
|
|
@@ -318,7 +318,7 @@
|
|
|
318
318
|
return new AuthError(code, correlationId, additionalMessage || getDefaultErrorMessage$1(code));
|
|
319
319
|
}
|
|
320
320
|
|
|
321
|
-
/*! @azure/msal-common v16.11.
|
|
321
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
322
322
|
|
|
323
323
|
/*
|
|
324
324
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -341,7 +341,7 @@
|
|
|
341
341
|
return new ClientAuthError(errorCode, correlationId, additionalMessage);
|
|
342
342
|
}
|
|
343
343
|
|
|
344
|
-
/*! @azure/msal-common v16.11.
|
|
344
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
345
345
|
/*
|
|
346
346
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
347
347
|
* Licensed under the MIT License.
|
|
@@ -378,7 +378,7 @@
|
|
|
378
378
|
const resourceParameterRequired = "resource_parameter_required";
|
|
379
379
|
const misplacedResourceParam = "misplaced_resource_parameter";
|
|
380
380
|
|
|
381
|
-
/*! @azure/msal-common v16.11.
|
|
381
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
382
382
|
|
|
383
383
|
/*
|
|
384
384
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -416,7 +416,7 @@
|
|
|
416
416
|
};
|
|
417
417
|
}
|
|
418
418
|
|
|
419
|
-
/*! @azure/msal-common v16.11.
|
|
419
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
420
420
|
|
|
421
421
|
/*
|
|
422
422
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -482,7 +482,7 @@
|
|
|
482
482
|
return matches[2];
|
|
483
483
|
}
|
|
484
484
|
|
|
485
|
-
/*! @azure/msal-common v16.11.
|
|
485
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
486
486
|
|
|
487
487
|
/*
|
|
488
488
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -570,7 +570,7 @@
|
|
|
570
570
|
return updatedAccountInfo;
|
|
571
571
|
}
|
|
572
572
|
|
|
573
|
-
/*! @azure/msal-common v16.11.
|
|
573
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
574
574
|
/*
|
|
575
575
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
576
576
|
* Licensed under the MIT License.
|
|
@@ -585,7 +585,7 @@
|
|
|
585
585
|
Ciam: 3,
|
|
586
586
|
};
|
|
587
587
|
|
|
588
|
-
/*! @azure/msal-common v16.11.
|
|
588
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
589
589
|
/*
|
|
590
590
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
591
591
|
* Licensed under the MIT License.
|
|
@@ -607,7 +607,7 @@
|
|
|
607
607
|
return null;
|
|
608
608
|
}
|
|
609
609
|
|
|
610
|
-
/*! @azure/msal-common v16.11.
|
|
610
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
611
611
|
/*
|
|
612
612
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
613
613
|
* Licensed under the MIT License.
|
|
@@ -631,7 +631,7 @@
|
|
|
631
631
|
EAR: "EAR",
|
|
632
632
|
};
|
|
633
633
|
|
|
634
|
-
/*! @azure/msal-common v16.11.
|
|
634
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
635
635
|
/**
|
|
636
636
|
* Returns the AccountInfo interface for this account.
|
|
637
637
|
* @internal
|
|
@@ -820,7 +820,7 @@
|
|
|
820
820
|
entity.hasOwnProperty("authorityType"));
|
|
821
821
|
}
|
|
822
822
|
|
|
823
|
-
/*! @azure/msal-common v16.11.
|
|
823
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
824
824
|
/*
|
|
825
825
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
826
826
|
* Licensed under the MIT License.
|
|
@@ -830,7 +830,7 @@
|
|
|
830
830
|
*/
|
|
831
831
|
const unexpectedError = "unexpected_error";
|
|
832
832
|
|
|
833
|
-
/*! @azure/msal-common v16.11.
|
|
833
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
834
834
|
|
|
835
835
|
/*
|
|
836
836
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -850,7 +850,7 @@
|
|
|
850
850
|
return new ClientConfigurationError(errorCode, correlationId);
|
|
851
851
|
}
|
|
852
852
|
|
|
853
|
-
/*! @azure/msal-common v16.11.
|
|
853
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
854
854
|
/*
|
|
855
855
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
856
856
|
* Licensed under the MIT License.
|
|
@@ -876,7 +876,7 @@
|
|
|
876
876
|
const invalidPlatformBrokerConfiguration = "invalid_platform_broker_configuration";
|
|
877
877
|
const issuerValidationFailed = "issuer_validation_failed";
|
|
878
878
|
|
|
879
|
-
/*! @azure/msal-common v16.11.
|
|
879
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
880
880
|
/*
|
|
881
881
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
882
882
|
* Licensed under the MIT License.
|
|
@@ -888,7 +888,7 @@
|
|
|
888
888
|
response.hasOwnProperty("jwks_uri"));
|
|
889
889
|
}
|
|
890
890
|
|
|
891
|
-
/*! @azure/msal-common v16.11.
|
|
891
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
892
892
|
/*
|
|
893
893
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
894
894
|
* Licensed under the MIT License.
|
|
@@ -968,7 +968,7 @@
|
|
|
968
968
|
}
|
|
969
969
|
}
|
|
970
970
|
|
|
971
|
-
/*! @azure/msal-common v16.11.
|
|
971
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
972
972
|
|
|
973
973
|
/*
|
|
974
974
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1126,7 +1126,7 @@
|
|
|
1126
1126
|
}
|
|
1127
1127
|
}
|
|
1128
1128
|
|
|
1129
|
-
/*! @azure/msal-common v16.11.
|
|
1129
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
1130
1130
|
|
|
1131
1131
|
/*
|
|
1132
1132
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1292,7 +1292,7 @@
|
|
|
1292
1292
|
return null;
|
|
1293
1293
|
}
|
|
1294
1294
|
|
|
1295
|
-
/*! @azure/msal-common v16.11.
|
|
1295
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
1296
1296
|
/*
|
|
1297
1297
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1298
1298
|
* Licensed under the MIT License.
|
|
@@ -1301,7 +1301,7 @@
|
|
|
1301
1301
|
// AzureCloudInstance is not specified.
|
|
1302
1302
|
None: "none"};
|
|
1303
1303
|
|
|
1304
|
-
/*! @azure/msal-common v16.11.
|
|
1304
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
1305
1305
|
/*
|
|
1306
1306
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1307
1307
|
* Licensed under the MIT License.
|
|
@@ -1311,7 +1311,7 @@
|
|
|
1311
1311
|
response.hasOwnProperty("metadata"));
|
|
1312
1312
|
}
|
|
1313
1313
|
|
|
1314
|
-
/*! @azure/msal-common v16.11.
|
|
1314
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
1315
1315
|
/*
|
|
1316
1316
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1317
1317
|
* Licensed under the MIT License.
|
|
@@ -1321,7 +1321,7 @@
|
|
|
1321
1321
|
response.hasOwnProperty("error_description"));
|
|
1322
1322
|
}
|
|
1323
1323
|
|
|
1324
|
-
/*! @azure/msal-common v16.11.
|
|
1324
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
1325
1325
|
/*
|
|
1326
1326
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1327
1327
|
* Licensed under the MIT License.
|
|
@@ -1392,7 +1392,7 @@
|
|
|
1392
1392
|
const CacheManagerGetRefreshToken = "cacheManagerGetRefreshToken";
|
|
1393
1393
|
const SetUserData = "setUserData";
|
|
1394
1394
|
|
|
1395
|
-
/*! @azure/msal-common v16.11.
|
|
1395
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
1396
1396
|
/*
|
|
1397
1397
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1398
1398
|
* Licensed under the MIT License.
|
|
@@ -1485,7 +1485,7 @@
|
|
|
1485
1485
|
};
|
|
1486
1486
|
};
|
|
1487
1487
|
|
|
1488
|
-
/*! @azure/msal-common v16.11.
|
|
1488
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
1489
1489
|
|
|
1490
1490
|
/*
|
|
1491
1491
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1596,7 +1596,7 @@
|
|
|
1596
1596
|
},
|
|
1597
1597
|
};
|
|
1598
1598
|
|
|
1599
|
-
/*! @azure/msal-common v16.11.
|
|
1599
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
1600
1600
|
/*
|
|
1601
1601
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
1602
1602
|
* Licensed under the MIT License.
|
|
@@ -1661,7 +1661,7 @@
|
|
|
1661
1661
|
return cachedAtSec > nowSeconds();
|
|
1662
1662
|
}
|
|
1663
1663
|
|
|
1664
|
-
/*! @azure/msal-common v16.11.
|
|
1664
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
1665
1665
|
|
|
1666
1666
|
/*
|
|
1667
1667
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -1928,7 +1928,7 @@
|
|
|
1928
1928
|
return metadata.expiresAt <= nowSeconds();
|
|
1929
1929
|
}
|
|
1930
1930
|
|
|
1931
|
-
/*! @azure/msal-common v16.11.
|
|
1931
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
1932
1932
|
|
|
1933
1933
|
/*
|
|
1934
1934
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2898,7 +2898,7 @@
|
|
|
2898
2898
|
};
|
|
2899
2899
|
}
|
|
2900
2900
|
|
|
2901
|
-
/*! @azure/msal-common v16.11.
|
|
2901
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
2902
2902
|
|
|
2903
2903
|
/*
|
|
2904
2904
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -2932,7 +2932,7 @@
|
|
|
2932
2932
|
}
|
|
2933
2933
|
}
|
|
2934
2934
|
|
|
2935
|
-
/*! @azure/msal-common v16.11.
|
|
2935
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
2936
2936
|
|
|
2937
2937
|
/*
|
|
2938
2938
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3128,7 +3128,7 @@
|
|
|
3128
3128
|
}
|
|
3129
3129
|
}
|
|
3130
3130
|
|
|
3131
|
-
/*! @azure/msal-common v16.11.
|
|
3131
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
3132
3132
|
|
|
3133
3133
|
/*
|
|
3134
3134
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3543,7 +3543,7 @@
|
|
|
3543
3543
|
}
|
|
3544
3544
|
}
|
|
3545
3545
|
|
|
3546
|
-
/*! @azure/msal-common v16.11.
|
|
3546
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
3547
3547
|
|
|
3548
3548
|
/*
|
|
3549
3549
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -3665,12 +3665,16 @@
|
|
|
3665
3665
|
}
|
|
3666
3666
|
}
|
|
3667
3667
|
|
|
3668
|
-
/*! @azure/msal-common v16.11.
|
|
3668
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
3669
3669
|
|
|
3670
3670
|
/*
|
|
3671
3671
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3672
3672
|
* Licensed under the MIT License.
|
|
3673
3673
|
*/
|
|
3674
|
+
/**
|
|
3675
|
+
* Default crypto implementation used when a platform-specific implementation has
|
|
3676
|
+
* not been provided.
|
|
3677
|
+
*/
|
|
3674
3678
|
const DEFAULT_CRYPTO_IMPLEMENTATION = {
|
|
3675
3679
|
createNewGuid: () => {
|
|
3676
3680
|
throw createClientAuthError(methodNotImplemented, "");
|
|
@@ -3704,7 +3708,7 @@
|
|
|
3704
3708
|
},
|
|
3705
3709
|
};
|
|
3706
3710
|
|
|
3707
|
-
/*! @azure/msal-common v16.11.
|
|
3711
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
3708
3712
|
/*
|
|
3709
3713
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3710
3714
|
* Licensed under the MIT License.
|
|
@@ -3979,12 +3983,12 @@
|
|
|
3979
3983
|
}
|
|
3980
3984
|
}
|
|
3981
3985
|
|
|
3982
|
-
/*! @azure/msal-common v16.11.
|
|
3986
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
3983
3987
|
/* eslint-disable header/header */
|
|
3984
3988
|
const name$1 = "@azure/msal-common";
|
|
3985
|
-
const version$1 = "16.11.
|
|
3989
|
+
const version$1 = "16.11.2";
|
|
3986
3990
|
|
|
3987
|
-
/*! @azure/msal-common v16.11.
|
|
3991
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
3988
3992
|
/*
|
|
3989
3993
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
3990
3994
|
* Licensed under the MIT License.
|
|
@@ -3992,7 +3996,7 @@
|
|
|
3992
3996
|
const cacheQuotaExceeded = "cache_quota_exceeded";
|
|
3993
3997
|
const cacheErrorUnknown = "cache_error_unknown";
|
|
3994
3998
|
|
|
3995
|
-
/*! @azure/msal-common v16.11.
|
|
3999
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
3996
4000
|
|
|
3997
4001
|
/*
|
|
3998
4002
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -4030,7 +4034,7 @@
|
|
|
4030
4034
|
}
|
|
4031
4035
|
}
|
|
4032
4036
|
|
|
4033
|
-
/*! @azure/msal-common v16.11.
|
|
4037
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
4034
4038
|
|
|
4035
4039
|
/*
|
|
4036
4040
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5177,7 +5181,7 @@
|
|
|
5177
5181
|
}
|
|
5178
5182
|
}
|
|
5179
5183
|
|
|
5180
|
-
/*! @azure/msal-common v16.11.
|
|
5184
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
5181
5185
|
/*
|
|
5182
5186
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5183
5187
|
* Licensed under the MIT License.
|
|
@@ -5191,7 +5195,7 @@
|
|
|
5191
5195
|
const PerformanceEventStatus = {
|
|
5192
5196
|
InProgress: 1};
|
|
5193
5197
|
|
|
5194
|
-
/*! @azure/msal-common v16.11.
|
|
5198
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
5195
5199
|
|
|
5196
5200
|
/*
|
|
5197
5201
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5249,7 +5253,7 @@
|
|
|
5249
5253
|
}
|
|
5250
5254
|
}
|
|
5251
5255
|
|
|
5252
|
-
/*! @azure/msal-common v16.11.
|
|
5256
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
5253
5257
|
|
|
5254
5258
|
/*
|
|
5255
5259
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5345,7 +5349,7 @@
|
|
|
5345
5349
|
return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
|
|
5346
5350
|
}
|
|
5347
5351
|
|
|
5348
|
-
/*! @azure/msal-common v16.11.
|
|
5352
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
5349
5353
|
/*
|
|
5350
5354
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5351
5355
|
* Licensed under the MIT License.
|
|
@@ -5372,7 +5376,7 @@
|
|
|
5372
5376
|
}
|
|
5373
5377
|
}
|
|
5374
5378
|
|
|
5375
|
-
/*! @azure/msal-common v16.11.
|
|
5379
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
5376
5380
|
|
|
5377
5381
|
/*
|
|
5378
5382
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5452,7 +5456,7 @@
|
|
|
5452
5456
|
}
|
|
5453
5457
|
}
|
|
5454
5458
|
|
|
5455
|
-
/*! @azure/msal-common v16.11.
|
|
5459
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
5456
5460
|
/*
|
|
5457
5461
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
5458
5462
|
* Licensed under the MIT License.
|
|
@@ -5503,7 +5507,7 @@
|
|
|
5503
5507
|
*/
|
|
5504
5508
|
const interruptedUser = "interrupted_user";
|
|
5505
5509
|
|
|
5506
|
-
/*! @azure/msal-common v16.11.
|
|
5510
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
5507
5511
|
|
|
5508
5512
|
/*
|
|
5509
5513
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5570,7 +5574,7 @@
|
|
|
5570
5574
|
return new InteractionRequiredAuthError(errorCode, correlationId, errorMessage);
|
|
5571
5575
|
}
|
|
5572
5576
|
|
|
5573
|
-
/*! @azure/msal-common v16.11.
|
|
5577
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
5574
5578
|
|
|
5575
5579
|
/*
|
|
5576
5580
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5589,7 +5593,7 @@
|
|
|
5589
5593
|
}
|
|
5590
5594
|
}
|
|
5591
5595
|
|
|
5592
|
-
/*! @azure/msal-common v16.11.
|
|
5596
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
5593
5597
|
|
|
5594
5598
|
/*
|
|
5595
5599
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -5660,7 +5664,7 @@
|
|
|
5660
5664
|
}
|
|
5661
5665
|
}
|
|
5662
5666
|
|
|
5663
|
-
/*! @azure/msal-common v16.11.
|
|
5667
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
5664
5668
|
|
|
5665
5669
|
/*
|
|
5666
5670
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6011,7 +6015,7 @@
|
|
|
6011
6015
|
return baseAccount;
|
|
6012
6016
|
}
|
|
6013
6017
|
|
|
6014
|
-
/*! @azure/msal-common v16.11.
|
|
6018
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
6015
6019
|
/*
|
|
6016
6020
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6017
6021
|
* Licensed under the MIT License.
|
|
@@ -6021,7 +6025,7 @@
|
|
|
6021
6025
|
UPN: "UPN",
|
|
6022
6026
|
};
|
|
6023
6027
|
|
|
6024
|
-
/*! @azure/msal-common v16.11.
|
|
6028
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
6025
6029
|
/*
|
|
6026
6030
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6027
6031
|
* Licensed under the MIT License.
|
|
@@ -6040,7 +6044,7 @@
|
|
|
6040
6044
|
}
|
|
6041
6045
|
}
|
|
6042
6046
|
|
|
6043
|
-
/*! @azure/msal-common v16.11.
|
|
6047
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
6044
6048
|
/*
|
|
6045
6049
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6046
6050
|
* Licensed under the MIT License.
|
|
@@ -6062,7 +6066,7 @@
|
|
|
6062
6066
|
};
|
|
6063
6067
|
}
|
|
6064
6068
|
|
|
6065
|
-
/*! @azure/msal-common v16.11.
|
|
6069
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
6066
6070
|
|
|
6067
6071
|
/*
|
|
6068
6072
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6148,7 +6152,7 @@
|
|
|
6148
6152
|
}
|
|
6149
6153
|
}
|
|
6150
6154
|
|
|
6151
|
-
/*! @azure/msal-common v16.11.
|
|
6155
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
6152
6156
|
|
|
6153
6157
|
/*
|
|
6154
6158
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6179,7 +6183,7 @@
|
|
|
6179
6183
|
return new NetworkError(error, httpStatus, responseHeaders);
|
|
6180
6184
|
}
|
|
6181
6185
|
|
|
6182
|
-
/*! @azure/msal-common v16.11.
|
|
6186
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
6183
6187
|
|
|
6184
6188
|
/*
|
|
6185
6189
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6295,7 +6299,7 @@
|
|
|
6295
6299
|
return response;
|
|
6296
6300
|
}
|
|
6297
6301
|
|
|
6298
|
-
/*! @azure/msal-common v16.11.
|
|
6302
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
6299
6303
|
|
|
6300
6304
|
/*
|
|
6301
6305
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6552,7 +6556,7 @@
|
|
|
6552
6556
|
}
|
|
6553
6557
|
}
|
|
6554
6558
|
|
|
6555
|
-
/*! @azure/msal-common v16.11.
|
|
6559
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
6556
6560
|
|
|
6557
6561
|
/*
|
|
6558
6562
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6779,7 +6783,7 @@
|
|
|
6779
6783
|
return account.loginHint || account.idTokenClaims?.login_hint || null;
|
|
6780
6784
|
}
|
|
6781
6785
|
|
|
6782
|
-
/*! @azure/msal-common v16.11.
|
|
6786
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
6783
6787
|
|
|
6784
6788
|
/*
|
|
6785
6789
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6800,7 +6804,7 @@
|
|
|
6800
6804
|
return new JoseHeaderError(code, correlationId);
|
|
6801
6805
|
}
|
|
6802
6806
|
|
|
6803
|
-
/*! @azure/msal-common v16.11.
|
|
6807
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
6804
6808
|
/*
|
|
6805
6809
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
6806
6810
|
* Licensed under the MIT License.
|
|
@@ -6808,7 +6812,7 @@
|
|
|
6808
6812
|
const missingKidError = "missing_kid_error";
|
|
6809
6813
|
const missingAlgError = "missing_alg_error";
|
|
6810
6814
|
|
|
6811
|
-
/*! @azure/msal-common v16.11.
|
|
6815
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
6812
6816
|
|
|
6813
6817
|
/*
|
|
6814
6818
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -6848,7 +6852,7 @@
|
|
|
6848
6852
|
}
|
|
6849
6853
|
}
|
|
6850
6854
|
|
|
6851
|
-
/*! @azure/msal-common v16.11.
|
|
6855
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
6852
6856
|
|
|
6853
6857
|
/*
|
|
6854
6858
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7069,7 +7073,7 @@
|
|
|
7069
7073
|
}
|
|
7070
7074
|
}
|
|
7071
7075
|
|
|
7072
|
-
/*! @azure/msal-common v16.11.
|
|
7076
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
7073
7077
|
|
|
7074
7078
|
/*
|
|
7075
7079
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7362,7 +7366,7 @@
|
|
|
7362
7366
|
clearNativeBrokerErrorCode() { }
|
|
7363
7367
|
}
|
|
7364
7368
|
|
|
7365
|
-
/*! @azure/msal-common v16.11.
|
|
7369
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
7366
7370
|
|
|
7367
7371
|
/*
|
|
7368
7372
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7470,7 +7474,7 @@
|
|
|
7470
7474
|
}
|
|
7471
7475
|
}
|
|
7472
7476
|
|
|
7473
|
-
/*! @azure/msal-common v16.11.
|
|
7477
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
7474
7478
|
|
|
7475
7479
|
/*
|
|
7476
7480
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7486,7 +7490,7 @@
|
|
|
7486
7490
|
},
|
|
7487
7491
|
};
|
|
7488
7492
|
|
|
7489
|
-
/*! @azure/msal-common v16.11.
|
|
7493
|
+
/*! @azure/msal-common v16.11.2 2026-07-15 */
|
|
7490
7494
|
|
|
7491
7495
|
/*
|
|
7492
7496
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -7914,7 +7918,7 @@
|
|
|
7914
7918
|
|
|
7915
7919
|
/* eslint-disable header/header */
|
|
7916
7920
|
const name = "@azure/msal-browser";
|
|
7917
|
-
const version = "5.17.
|
|
7921
|
+
const version = "5.17.1";
|
|
7918
7922
|
|
|
7919
7923
|
/*
|
|
7920
7924
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
@@ -8585,6 +8589,7 @@
|
|
|
8585
8589
|
const getRequestFailed = "get_request_failed";
|
|
8586
8590
|
const failedToParseResponse = "failed_to_parse_response";
|
|
8587
8591
|
const cryptoKeyNotFound = "crypto_key_not_found";
|
|
8592
|
+
const invalidPublicJwk = "invalid_public_jwk";
|
|
8588
8593
|
const authCodeRequired = "auth_code_required";
|
|
8589
8594
|
const authCodeOrNativeAccountIdRequired = "auth_code_or_nativeAccountId_required";
|
|
8590
8595
|
const spaCodeAndNativeAccountIdPresent = "spa_code_and_nativeAccountId_present";
|
|
@@ -8906,6 +8911,12 @@
|
|
|
8906
8911
|
const HKDF = "HKDF";
|
|
8907
8912
|
// SHA-256 hashing algorithm
|
|
8908
8913
|
const S256_HASH_ALG = "SHA-256";
|
|
8914
|
+
const JSON_WEB_KEY_TYPE_EC = "EC";
|
|
8915
|
+
const JSON_WEB_KEY_TYPE_RSA = "RSA";
|
|
8916
|
+
const MISSING_JWK_KTY_SUBERROR = "missing_jwk_kty";
|
|
8917
|
+
const UNSUPPORTED_JWK_KTY_SUBERROR = "unsupported_jwk_kty";
|
|
8918
|
+
const MISSING_JWK_MEMBER_SUBERROR = "missing_jwk_member";
|
|
8919
|
+
const EMPTY_JWK_MEMBER_SUBERROR = "empty_jwk_member";
|
|
8909
8920
|
// MOD length for PoP tokens
|
|
8910
8921
|
const MODULUS_LENGTH = 2048;
|
|
8911
8922
|
// Public Exponent
|
|
@@ -8922,12 +8933,15 @@
|
|
|
8922
8933
|
const DERIVE_KEY = "deriveKey";
|
|
8923
8934
|
// Suberror
|
|
8924
8935
|
const SUBTLE_SUBERROR = "crypto_subtle_undefined";
|
|
8925
|
-
const
|
|
8936
|
+
const RSA_KEYGEN_ALGORITHM_OPTIONS = {
|
|
8926
8937
|
name: PKCS1_V15_KEYGEN_ALG,
|
|
8927
8938
|
hash: S256_HASH_ALG,
|
|
8928
8939
|
modulusLength: MODULUS_LENGTH,
|
|
8929
8940
|
publicExponent: PUBLIC_EXPONENT,
|
|
8930
8941
|
};
|
|
8942
|
+
const RSA_SIGN_ALGORITHM_OPTIONS = {
|
|
8943
|
+
name: PKCS1_V15_KEYGEN_ALG,
|
|
8944
|
+
};
|
|
8931
8945
|
/**
|
|
8932
8946
|
* Check whether browser crypto is available.
|
|
8933
8947
|
*/
|
|
@@ -9011,12 +9025,13 @@
|
|
|
9011
9025
|
return text;
|
|
9012
9026
|
}
|
|
9013
9027
|
/**
|
|
9014
|
-
* Generates a keypair based on
|
|
9028
|
+
* Generates a keypair based on the provided algorithm config.
|
|
9015
9029
|
* @param extractable
|
|
9016
9030
|
* @param usages
|
|
9031
|
+
* @param algorithm
|
|
9017
9032
|
*/
|
|
9018
|
-
async function generateKeyPair(extractable, usages) {
|
|
9019
|
-
return window.crypto.subtle.generateKey(
|
|
9033
|
+
async function generateKeyPair(extractable, usages, algorithm) {
|
|
9034
|
+
return window.crypto.subtle.generateKey(algorithm, extractable, usages);
|
|
9020
9035
|
}
|
|
9021
9036
|
/**
|
|
9022
9037
|
* Export key as Json Web Key (JWK)
|
|
@@ -9030,17 +9045,19 @@
|
|
|
9030
9045
|
* @param key
|
|
9031
9046
|
* @param extractable
|
|
9032
9047
|
* @param usages
|
|
9048
|
+
* @param algorithm
|
|
9033
9049
|
*/
|
|
9034
|
-
async function importJwk(key, extractable, usages) {
|
|
9035
|
-
return window.crypto.subtle.importKey(KEY_FORMAT_JWK, key,
|
|
9050
|
+
async function importJwk(key, extractable, usages, algorithm) {
|
|
9051
|
+
return window.crypto.subtle.importKey(KEY_FORMAT_JWK, key, algorithm, extractable, usages);
|
|
9036
9052
|
}
|
|
9037
9053
|
/**
|
|
9038
|
-
* Signs given data with given key
|
|
9054
|
+
* Signs given data with given key.
|
|
9039
9055
|
* @param key
|
|
9040
9056
|
* @param data
|
|
9057
|
+
* @param algorithm
|
|
9041
9058
|
*/
|
|
9042
|
-
async function sign(key, data) {
|
|
9043
|
-
return window.crypto.subtle.sign(
|
|
9059
|
+
async function sign(key, data, algorithm) {
|
|
9060
|
+
return window.crypto.subtle.sign(algorithm, key, data);
|
|
9044
9061
|
}
|
|
9045
9062
|
/**
|
|
9046
9063
|
* Generates Base64 encoded jwk used in the Encrypted Authorize Response (EAR) flow
|
|
@@ -9183,6 +9200,43 @@
|
|
|
9183
9200
|
const hashBuffer = await sha256Digest(plainText);
|
|
9184
9201
|
const hashBytes = new Uint8Array(hashBuffer);
|
|
9185
9202
|
return urlEncodeArr(hashBytes);
|
|
9203
|
+
}
|
|
9204
|
+
const JWK_THUMBPRINT_REQUIRED_MEMBERS = {
|
|
9205
|
+
[JSON_WEB_KEY_TYPE_EC]: ["crv", "kty", "x", "y"],
|
|
9206
|
+
[JSON_WEB_KEY_TYPE_RSA]: ["e", "kty", "n"],
|
|
9207
|
+
};
|
|
9208
|
+
function getJwkThumbprintMembers(publicJwk) {
|
|
9209
|
+
const kty = publicJwk.kty;
|
|
9210
|
+
if (typeof kty !== "string" || kty.length === 0) {
|
|
9211
|
+
throw createBrowserAuthError(invalidPublicJwk, "", MISSING_JWK_KTY_SUBERROR);
|
|
9212
|
+
}
|
|
9213
|
+
const requiredMembers = JWK_THUMBPRINT_REQUIRED_MEMBERS[kty];
|
|
9214
|
+
if (!requiredMembers) {
|
|
9215
|
+
throw createBrowserAuthError(invalidPublicJwk, "", UNSUPPORTED_JWK_KTY_SUBERROR);
|
|
9216
|
+
}
|
|
9217
|
+
return requiredMembers.reduce((thumbprintMembers, memberName) => {
|
|
9218
|
+
const memberValue = publicJwk[memberName];
|
|
9219
|
+
if (typeof memberValue !== "string") {
|
|
9220
|
+
throw createBrowserAuthError(invalidPublicJwk, "", MISSING_JWK_MEMBER_SUBERROR);
|
|
9221
|
+
}
|
|
9222
|
+
if (memberValue.length === 0) {
|
|
9223
|
+
throw createBrowserAuthError(invalidPublicJwk, "", EMPTY_JWK_MEMBER_SUBERROR);
|
|
9224
|
+
}
|
|
9225
|
+
thumbprintMembers[memberName] = memberValue;
|
|
9226
|
+
return thumbprintMembers;
|
|
9227
|
+
}, {});
|
|
9228
|
+
}
|
|
9229
|
+
/**
|
|
9230
|
+
* Computes an RFC 7638 JWK thumbprint for a public key.
|
|
9231
|
+
* The required members for the JWK key type are serialised in lexicographic order
|
|
9232
|
+
* and the SHA-256 digest is returned as a base64url string.
|
|
9233
|
+
* @internal
|
|
9234
|
+
*/
|
|
9235
|
+
async function computeJwkThumbprint(publicJwk) {
|
|
9236
|
+
const thumbprintMembers = getJwkThumbprintMembers(publicJwk);
|
|
9237
|
+
// RFC 7638 §3.3: use only required members, sorted lexicographically
|
|
9238
|
+
const thumbprintJson = JSON.stringify(thumbprintMembers, Object.keys(thumbprintMembers).sort());
|
|
9239
|
+
return hashString(thumbprintJson);
|
|
9186
9240
|
}
|
|
9187
9241
|
|
|
9188
9242
|
/*
|
|
@@ -14444,20 +14498,14 @@
|
|
|
14444
14498
|
async getPublicKeyThumbprint(request) {
|
|
14445
14499
|
const publicKeyThumbMeasurement = this.performanceClient?.startMeasurement(CryptoOptsGetPublicKeyThumbprint, request.correlationId);
|
|
14446
14500
|
// Generate Keypair
|
|
14447
|
-
const keyPair = await generateKeyPair(CryptoOps.EXTRACTABLE, CryptoOps.POP_KEY_USAGES);
|
|
14501
|
+
const keyPair = await generateKeyPair(CryptoOps.EXTRACTABLE, CryptoOps.POP_KEY_USAGES, RSA_KEYGEN_ALGORITHM_OPTIONS);
|
|
14448
14502
|
// Generate Thumbprint for Public Key
|
|
14449
14503
|
const publicKeyJwk = await exportJwk(keyPair.publicKey);
|
|
14450
|
-
const
|
|
14451
|
-
e: publicKeyJwk.e,
|
|
14452
|
-
kty: publicKeyJwk.kty,
|
|
14453
|
-
n: publicKeyJwk.n,
|
|
14454
|
-
};
|
|
14455
|
-
const publicJwkString = getSortedObjectString(pubKeyThumprintObj);
|
|
14456
|
-
const publicJwkHash = await this.hashString(publicJwkString);
|
|
14504
|
+
const publicJwkHash = await computeJwkThumbprint(publicKeyJwk);
|
|
14457
14505
|
// Generate Thumbprint for Private Key
|
|
14458
14506
|
const privateKeyJwk = await exportJwk(keyPair.privateKey);
|
|
14459
14507
|
// Re-import private key to make it unextractable
|
|
14460
|
-
const unextractablePrivateKey = await importJwk(privateKeyJwk, false, ["sign"]);
|
|
14508
|
+
const unextractablePrivateKey = await importJwk(privateKeyJwk, false, ["sign"], RSA_KEYGEN_ALGORITHM_OPTIONS);
|
|
14461
14509
|
// Store Keypair data in keystore
|
|
14462
14510
|
await this.cache.setItem(publicJwkHash, {
|
|
14463
14511
|
privateKey: unextractablePrivateKey,
|
|
@@ -14542,7 +14590,7 @@
|
|
|
14542
14590
|
// Sign token
|
|
14543
14591
|
const encoder = new TextEncoder();
|
|
14544
14592
|
const tokenBuffer = encoder.encode(tokenString);
|
|
14545
|
-
const signatureBuffer = await sign(cachedKeyPair.privateKey, tokenBuffer);
|
|
14593
|
+
const signatureBuffer = await sign(cachedKeyPair.privateKey, tokenBuffer, RSA_SIGN_ALGORITHM_OPTIONS);
|
|
14546
14594
|
const encodedSignature = urlEncodeArr(new Uint8Array(signatureBuffer));
|
|
14547
14595
|
const signedJwt = `${tokenString}.${encodedSignature}`;
|
|
14548
14596
|
if (signJwtMeasurement) {
|