@azure/msal-browser 5.17.3 → 5.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (243) hide show
  1. package/dist/app/IPublicClientApplication.mjs +1 -1
  2. package/dist/app/PublicClientApplication.mjs +1 -1
  3. package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
  4. package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
  5. package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
  6. package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
  7. package/dist/cache/AccountManager.mjs +1 -1
  8. package/dist/cache/AsyncMemoryStorage.mjs +1 -1
  9. package/dist/cache/BrowserCacheManager.mjs +15 -7
  10. package/dist/cache/BrowserCacheManager.mjs.map +1 -1
  11. package/dist/cache/CacheHelpers.mjs +1 -1
  12. package/dist/cache/CacheKeys.mjs +1 -1
  13. package/dist/cache/CookieStorage.mjs +1 -1
  14. package/dist/cache/DatabaseStorage.mjs +1 -1
  15. package/dist/cache/EncryptedData.mjs +1 -1
  16. package/dist/cache/LocalStorage.mjs +1 -1
  17. package/dist/cache/MemoryStorage.mjs +1 -1
  18. package/dist/cache/SessionStorage.mjs +1 -1
  19. package/dist/cache/TokenCache.mjs +1 -1
  20. package/dist/config/Configuration.mjs +1 -1
  21. package/dist/controllers/NestedAppAuthController.mjs +1 -1
  22. package/dist/controllers/StandardController.mjs +14 -3
  23. package/dist/controllers/StandardController.mjs.map +1 -1
  24. package/dist/crypto/BrowserCrypto.mjs +1 -1
  25. package/dist/crypto/CryptoOps.mjs +1 -1
  26. package/dist/crypto/PkceGenerator.mjs +1 -1
  27. package/dist/crypto/SignedHttpRequest.mjs +1 -1
  28. package/dist/custom_auth/CustomAuthConstants.mjs +1 -1
  29. package/dist/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
  30. package/dist/custom_auth/controller/CustomAuthStandardController.mjs +1 -1
  31. package/dist/custom_auth/core/CustomAuthAuthority.mjs +1 -1
  32. package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +1 -1
  33. package/dist/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
  34. package/dist/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
  35. package/dist/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +1 -1
  36. package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +1 -1
  37. package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
  38. package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
  39. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
  40. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
  41. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
  42. package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +1 -1
  43. package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +1 -1
  44. package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +1 -1
  45. package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
  46. package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
  47. package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +1 -1
  48. package/dist/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
  49. package/dist/custom_auth/core/error/CustomAuthError.mjs +1 -1
  50. package/dist/custom_auth/core/error/HttpError.mjs +1 -1
  51. package/dist/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
  52. package/dist/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
  53. package/dist/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
  54. package/dist/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
  55. package/dist/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
  56. package/dist/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
  57. package/dist/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
  58. package/dist/custom_auth/core/error/ParsedUrlError.mjs +1 -1
  59. package/dist/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
  60. package/dist/custom_auth/core/error/UnexpectedError.mjs +1 -1
  61. package/dist/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
  62. package/dist/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
  63. package/dist/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
  64. package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
  65. package/dist/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
  66. package/dist/custom_auth/core/interaction_client/jit/JitClient.mjs +1 -1
  67. package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +1 -1
  68. package/dist/custom_auth/core/interaction_client/mfa/MfaClient.mjs +1 -1
  69. package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +1 -1
  70. package/dist/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
  71. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
  72. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
  73. package/dist/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
  74. package/dist/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
  75. package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +1 -1
  76. package/dist/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
  77. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
  78. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
  79. package/dist/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
  80. package/dist/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
  81. package/dist/custom_auth/core/telemetry/PublicApiId.mjs +1 -1
  82. package/dist/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
  83. package/dist/custom_auth/core/utils/CustomHeaderUtils.mjs +1 -1
  84. package/dist/custom_auth/core/utils/UrlUtils.mjs +1 -1
  85. package/dist/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
  86. package/dist/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
  87. package/dist/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
  88. package/dist/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
  89. package/dist/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
  90. package/dist/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
  91. package/dist/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
  92. package/dist/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
  93. package/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
  94. package/dist/custom_auth/index.mjs +1 -1
  95. package/dist/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
  96. package/dist/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
  97. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
  98. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
  99. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
  100. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
  101. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
  102. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
  103. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
  104. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
  105. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
  106. package/dist/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
  107. package/dist/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
  108. package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
  109. package/dist/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
  110. package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
  111. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
  112. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
  113. package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +1 -1
  114. package/dist/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
  115. package/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
  116. package/dist/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
  117. package/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
  118. package/dist/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
  119. package/dist/custom_auth/sign_in/interaction_client/SignInClient.mjs +1 -1
  120. package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
  121. package/dist/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
  122. package/dist/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
  123. package/dist/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
  124. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
  125. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
  126. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
  127. package/dist/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
  128. package/dist/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
  129. package/dist/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
  130. package/dist/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
  131. package/dist/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
  132. package/dist/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
  133. package/dist/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
  134. package/dist/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
  135. package/dist/encode/Base64Decode.mjs +1 -1
  136. package/dist/encode/Base64Encode.mjs +1 -1
  137. package/dist/error/BrowserAuthError.mjs +1 -1
  138. package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
  139. package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
  140. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  141. package/dist/error/NativeAuthError.mjs +1 -1
  142. package/dist/error/NativeAuthErrorCodes.mjs +1 -1
  143. package/dist/error/NestedAppAuthError.mjs +1 -1
  144. package/dist/event/EventHandler.mjs +1 -1
  145. package/dist/event/EventMessage.mjs +1 -1
  146. package/dist/event/EventType.mjs +1 -1
  147. package/dist/index.mjs +1 -1
  148. package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
  149. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  150. package/dist/interaction_client/PlatformAuthInteractionClient.mjs +25 -4
  151. package/dist/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
  152. package/dist/interaction_client/PopupClient.mjs +1 -1
  153. package/dist/interaction_client/RedirectClient.mjs +1 -1
  154. package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
  155. package/dist/interaction_client/SilentCacheClient.mjs +1 -1
  156. package/dist/interaction_client/SilentIframeClient.mjs +1 -1
  157. package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
  158. package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
  159. package/dist/interaction_handler/InteractionHandler.mjs +1 -1
  160. package/dist/interaction_handler/SilentHandler.mjs +1 -1
  161. package/dist/log-strings-mapping.json +1116 -1116
  162. package/dist/naa/BridgeError.mjs +1 -1
  163. package/dist/naa/BridgeProxy.mjs +1 -1
  164. package/dist/naa/BridgeStatusCode.mjs +1 -1
  165. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +4 -2
  166. package/dist/naa/mapping/NestedAppAuthAdapter.mjs.map +1 -1
  167. package/dist/navigation/NavigationClient.mjs +1 -1
  168. package/dist/network/FetchClient.mjs +1 -1
  169. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  170. package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
  171. package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
  172. package/dist/packageMetadata.mjs +2 -2
  173. package/dist/popup_relay/constants.mjs +1 -1
  174. package/dist/popup_relay/index.mjs +1 -1
  175. package/dist/popup_relay/relayClient.mjs +1 -1
  176. package/dist/protocol/Authorize.mjs +1 -1
  177. package/dist/redirect_bridge/index.mjs +1 -1
  178. package/dist/request/RequestHelpers.mjs +1 -1
  179. package/dist/response/ResponseHandler.mjs +1 -1
  180. package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
  181. package/dist/telemetry/BrowserPerformanceEvents.mjs +1 -1
  182. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  183. package/dist/telemetry/BrowserRootPerformanceEvents.mjs +1 -1
  184. package/dist/utils/BrowserConstants.mjs +1 -1
  185. package/dist/utils/BrowserProtocolUtils.mjs +1 -1
  186. package/dist/utils/BrowserUtils.mjs +1 -1
  187. package/dist/utils/Helpers.mjs +1 -1
  188. package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
  189. package/lib/custom-auth-path/log-strings-mapping.json +2 -2
  190. package/lib/custom-auth-path/msal-custom-auth.cjs +271 -110
  191. package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
  192. package/lib/custom-auth-path/msal-custom-auth.js +271 -110
  193. package/lib/custom-auth-path/msal-custom-auth.js.map +1 -1
  194. package/lib/log-strings-mapping.json +2 -2
  195. package/lib/msal-browser.cjs +275 -112
  196. package/lib/msal-browser.cjs.map +1 -1
  197. package/lib/msal-browser.js +275 -112
  198. package/lib/msal-browser.js.map +1 -1
  199. package/lib/msal-browser.min.js +2 -2
  200. package/lib/popup-relay/msal-popup-relay.cjs +2 -2
  201. package/lib/popup-relay/msal-popup-relay.cjs.map +1 -1
  202. package/lib/popup-relay/msal-popup-relay.js +2 -2
  203. package/lib/popup-relay/msal-popup-relay.js.map +1 -1
  204. package/lib/popup-relay/msal-popup-relay.min.js +1 -1
  205. package/lib/redirect-bridge/msal-redirect-bridge.cjs +10 -10
  206. package/lib/redirect-bridge/msal-redirect-bridge.cjs.map +1 -1
  207. package/lib/redirect-bridge/msal-redirect-bridge.js +10 -10
  208. package/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -1
  209. package/lib/redirect-bridge/msal-redirect-bridge.min.js +1 -1
  210. package/package.json +2 -2
  211. package/src/broker/nativeBroker/PlatformAuthRequest.ts +2 -1
  212. package/src/cache/BrowserCacheManager.ts +24 -6
  213. package/src/controllers/StandardController.ts +20 -2
  214. package/src/interaction_client/PlatformAuthInteractionClient.ts +35 -3
  215. package/src/naa/TokenRequest.ts +1 -0
  216. package/src/naa/mapping/NestedAppAuthAdapter.ts +5 -0
  217. package/src/packageMetadata.ts +1 -1
  218. package/src/webBrokerBridge/IWebBrokerBridgeMessage.ts +42 -0
  219. package/src/webBrokerBridge/PendingRequestRegistry.ts +79 -0
  220. package/src/webBrokerBridge/WebBrokerBridgeError.ts +69 -0
  221. package/src/webBrokerBridge/WebBrokerBridgeErrorMap.ts +108 -0
  222. package/src/webBrokerBridge/index.ts +25 -0
  223. package/types/broker/nativeBroker/PlatformAuthRequest.d.ts +1 -0
  224. package/types/broker/nativeBroker/PlatformAuthRequest.d.ts.map +1 -1
  225. package/types/cache/BrowserCacheManager.d.ts +7 -5
  226. package/types/cache/BrowserCacheManager.d.ts.map +1 -1
  227. package/types/controllers/StandardController.d.ts.map +1 -1
  228. package/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  229. package/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  230. package/types/naa/TokenRequest.d.ts +1 -0
  231. package/types/naa/TokenRequest.d.ts.map +1 -1
  232. package/types/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -1
  233. package/types/packageMetadata.d.ts +1 -1
  234. package/types/webBrokerBridge/IWebBrokerBridgeMessage.d.ts +35 -0
  235. package/types/webBrokerBridge/IWebBrokerBridgeMessage.d.ts.map +1 -0
  236. package/types/webBrokerBridge/PendingRequestRegistry.d.ts +27 -0
  237. package/types/webBrokerBridge/PendingRequestRegistry.d.ts.map +1 -0
  238. package/types/webBrokerBridge/WebBrokerBridgeError.d.ts +50 -0
  239. package/types/webBrokerBridge/WebBrokerBridgeError.d.ts.map +1 -0
  240. package/types/webBrokerBridge/WebBrokerBridgeErrorMap.d.ts +10 -0
  241. package/types/webBrokerBridge/WebBrokerBridgeErrorMap.d.ts.map +1 -0
  242. package/types/webBrokerBridge/index.d.ts +16 -0
  243. package/types/webBrokerBridge/index.d.ts.map +1 -0
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v5.17.3 2026-07-29 */
1
+ /*! @azure/msal-browser v5.18.0 2026-08-04 */
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.msal = {}));
7
7
  })(this, (function (exports) { 'use strict';
8
8
 
9
- /*! @azure/msal-common v16.11.3 2026-07-29 */
9
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
10
10
  /*
11
11
  * Copyright (c) Microsoft Corporation. All rights reserved.
12
12
  * Licensed under the MIT License.
@@ -56,9 +56,10 @@
56
56
  const EAR_JWK = "ear_jwk";
57
57
  const EAR_JWE_CRYPTO = "ear_jwe_crypto";
58
58
  const RESOURCE = "resource";
59
- const CLI_DATA = "clidata";
59
+ const CLI_DATA = "clidata";
60
+ const ATTRIBUTE_TOKENS = "attribute_tokens";
60
61
 
61
- /*! @azure/msal-common v16.11.3 2026-07-29 */
62
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
62
63
  /*
63
64
  * Copyright (c) Microsoft Corporation. All rights reserved.
64
65
  * Licensed under the MIT License.
@@ -294,7 +295,7 @@
294
295
  // Token renewal offset default in seconds
295
296
  const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
296
297
 
297
- /*! @azure/msal-common v16.11.3 2026-07-29 */
298
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
298
299
  /*
299
300
  * Copyright (c) Microsoft Corporation. All rights reserved.
300
301
  * Licensed under the MIT License.
@@ -323,7 +324,7 @@
323
324
  return new AuthError(code, correlationId, additionalMessage || getDefaultErrorMessage$1(code));
324
325
  }
325
326
 
326
- /*! @azure/msal-common v16.11.3 2026-07-29 */
327
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
327
328
 
328
329
  /*
329
330
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -346,7 +347,7 @@
346
347
  return new ClientAuthError(errorCode, correlationId, additionalMessage);
347
348
  }
348
349
 
349
- /*! @azure/msal-common v16.11.3 2026-07-29 */
350
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
350
351
  /*
351
352
  * Copyright (c) Microsoft Corporation. All rights reserved.
352
353
  * Licensed under the MIT License.
@@ -430,7 +431,7 @@
430
431
  userCanceled: userCanceled
431
432
  });
432
433
 
433
- /*! @azure/msal-common v16.11.3 2026-07-29 */
434
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
434
435
 
435
436
  /*
436
437
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -468,7 +469,7 @@
468
469
  };
469
470
  }
470
471
 
471
- /*! @azure/msal-common v16.11.3 2026-07-29 */
472
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
472
473
 
473
474
  /*
474
475
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -534,7 +535,7 @@
534
535
  return matches[2];
535
536
  }
536
537
 
537
- /*! @azure/msal-common v16.11.3 2026-07-29 */
538
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
538
539
 
539
540
  /*
540
541
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -622,7 +623,7 @@
622
623
  return updatedAccountInfo;
623
624
  }
624
625
 
625
- /*! @azure/msal-common v16.11.3 2026-07-29 */
626
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
626
627
  /*
627
628
  * Copyright (c) Microsoft Corporation. All rights reserved.
628
629
  * Licensed under the MIT License.
@@ -637,7 +638,7 @@
637
638
  Ciam: 3,
638
639
  };
639
640
 
640
- /*! @azure/msal-common v16.11.3 2026-07-29 */
641
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
641
642
  /*
642
643
  * Copyright (c) Microsoft Corporation. All rights reserved.
643
644
  * Licensed under the MIT License.
@@ -659,7 +660,7 @@
659
660
  return null;
660
661
  }
661
662
 
662
- /*! @azure/msal-common v16.11.3 2026-07-29 */
663
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
663
664
  /*
664
665
  * Copyright (c) Microsoft Corporation. All rights reserved.
665
666
  * Licensed under the MIT License.
@@ -683,7 +684,7 @@
683
684
  EAR: "EAR",
684
685
  };
685
686
 
686
- /*! @azure/msal-common v16.11.3 2026-07-29 */
687
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
687
688
  /**
688
689
  * Returns the AccountInfo interface for this account.
689
690
  * @internal
@@ -872,7 +873,7 @@
872
873
  entity.hasOwnProperty("authorityType"));
873
874
  }
874
875
 
875
- /*! @azure/msal-common v16.11.3 2026-07-29 */
876
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
876
877
  /*
877
878
  * Copyright (c) Microsoft Corporation. All rights reserved.
878
879
  * Licensed under the MIT License.
@@ -889,7 +890,7 @@
889
890
  unexpectedError: unexpectedError
890
891
  });
891
892
 
892
- /*! @azure/msal-common v16.11.3 2026-07-29 */
893
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
893
894
 
894
895
  /*
895
896
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -909,7 +910,7 @@
909
910
  return new ClientConfigurationError(errorCode, correlationId);
910
911
  }
911
912
 
912
- /*! @azure/msal-common v16.11.3 2026-07-29 */
913
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
913
914
  /*
914
915
  * Copyright (c) Microsoft Corporation. All rights reserved.
915
916
  * Licensed under the MIT License.
@@ -973,7 +974,7 @@
973
974
  urlParseError: urlParseError
974
975
  });
975
976
 
976
- /*! @azure/msal-common v16.11.3 2026-07-29 */
977
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
977
978
 
978
979
  /*
979
980
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1031,7 +1032,7 @@
1031
1032
  }
1032
1033
  }
1033
1034
 
1034
- /*! @azure/msal-common v16.11.3 2026-07-29 */
1035
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
1035
1036
  /*
1036
1037
  * Copyright (c) Microsoft Corporation. All rights reserved.
1037
1038
  * Licensed under the MIT License.
@@ -1043,7 +1044,7 @@
1043
1044
  response.hasOwnProperty("jwks_uri"));
1044
1045
  }
1045
1046
 
1046
- /*! @azure/msal-common v16.11.3 2026-07-29 */
1047
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
1047
1048
  /*
1048
1049
  * Copyright (c) Microsoft Corporation. All rights reserved.
1049
1050
  * Licensed under the MIT License.
@@ -1123,7 +1124,7 @@
1123
1124
  }
1124
1125
  }
1125
1126
 
1126
- /*! @azure/msal-common v16.11.3 2026-07-29 */
1127
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
1127
1128
 
1128
1129
  /*
1129
1130
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1281,7 +1282,7 @@
1281
1282
  }
1282
1283
  }
1283
1284
 
1284
- /*! @azure/msal-common v16.11.3 2026-07-29 */
1285
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
1285
1286
 
1286
1287
  /*
1287
1288
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1447,7 +1448,7 @@
1447
1448
  return null;
1448
1449
  }
1449
1450
 
1450
- /*! @azure/msal-common v16.11.3 2026-07-29 */
1451
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
1451
1452
  /*
1452
1453
  * Copyright (c) Microsoft Corporation. All rights reserved.
1453
1454
  * Licensed under the MIT License.
@@ -1467,7 +1468,7 @@
1467
1468
  AzureUsGovernment: "https://login.microsoftonline.us",
1468
1469
  };
1469
1470
 
1470
- /*! @azure/msal-common v16.11.3 2026-07-29 */
1471
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
1471
1472
  /*
1472
1473
  * Copyright (c) Microsoft Corporation. All rights reserved.
1473
1474
  * Licensed under the MIT License.
@@ -1477,7 +1478,7 @@
1477
1478
  response.hasOwnProperty("metadata"));
1478
1479
  }
1479
1480
 
1480
- /*! @azure/msal-common v16.11.3 2026-07-29 */
1481
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
1481
1482
  /*
1482
1483
  * Copyright (c) Microsoft Corporation. All rights reserved.
1483
1484
  * Licensed under the MIT License.
@@ -1487,7 +1488,7 @@
1487
1488
  response.hasOwnProperty("error_description"));
1488
1489
  }
1489
1490
 
1490
- /*! @azure/msal-common v16.11.3 2026-07-29 */
1491
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
1491
1492
  /*
1492
1493
  * Copyright (c) Microsoft Corporation. All rights reserved.
1493
1494
  * Licensed under the MIT License.
@@ -1558,7 +1559,7 @@
1558
1559
  const CacheManagerGetRefreshToken = "cacheManagerGetRefreshToken";
1559
1560
  const SetUserData = "setUserData";
1560
1561
 
1561
- /*! @azure/msal-common v16.11.3 2026-07-29 */
1562
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
1562
1563
  /*
1563
1564
  * Copyright (c) Microsoft Corporation. All rights reserved.
1564
1565
  * Licensed under the MIT License.
@@ -1651,7 +1652,7 @@
1651
1652
  };
1652
1653
  };
1653
1654
 
1654
- /*! @azure/msal-common v16.11.3 2026-07-29 */
1655
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
1655
1656
 
1656
1657
  /*
1657
1658
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1762,7 +1763,7 @@
1762
1763
  },
1763
1764
  };
1764
1765
 
1765
- /*! @azure/msal-common v16.11.3 2026-07-29 */
1766
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
1766
1767
  /*
1767
1768
  * Copyright (c) Microsoft Corporation. All rights reserved.
1768
1769
  * Licensed under the MIT License.
@@ -1827,7 +1828,7 @@
1827
1828
  return cachedAtSec > nowSeconds();
1828
1829
  }
1829
1830
 
1830
- /*! @azure/msal-common v16.11.3 2026-07-29 */
1831
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
1831
1832
 
1832
1833
  /*
1833
1834
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2092,9 +2093,22 @@
2092
2093
  */
2093
2094
  function isAuthorityMetadataExpired(metadata) {
2094
2095
  return metadata.expiresAt <= nowSeconds();
2096
+ }
2097
+ /**
2098
+ * Serialize attribute tokens synchronously (sort and join).
2099
+ * This is a sync-only operation for use at request construction time.
2100
+ * @param attributeTokens - array of tokens
2101
+ * @returns serialized partition string or undefined if no tokens
2102
+ */
2103
+ function serializeAttributeTokens(attributeTokens) {
2104
+ if (!attributeTokens || attributeTokens.length === 0) {
2105
+ return undefined;
2106
+ }
2107
+ // Serialize: sort and join tokens
2108
+ return [...attributeTokens].sort().join(" ");
2095
2109
  }
2096
2110
 
2097
- /*! @azure/msal-common v16.11.3 2026-07-29 */
2111
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
2098
2112
 
2099
2113
  /*
2100
2114
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3064,7 +3078,7 @@
3064
3078
  };
3065
3079
  }
3066
3080
 
3067
- /*! @azure/msal-common v16.11.3 2026-07-29 */
3081
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
3068
3082
 
3069
3083
  /*
3070
3084
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3098,7 +3112,7 @@
3098
3112
  }
3099
3113
  }
3100
3114
 
3101
- /*! @azure/msal-common v16.11.3 2026-07-29 */
3115
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
3102
3116
 
3103
3117
  /*
3104
3118
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3294,7 +3308,7 @@
3294
3308
  }
3295
3309
  }
3296
3310
 
3297
- /*! @azure/msal-common v16.11.3 2026-07-29 */
3311
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
3298
3312
 
3299
3313
  /*
3300
3314
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3422,13 +3436,14 @@
3422
3436
  * @param claims - The claims string from the request
3423
3437
  * @param clientCapabilities - The client capabilities from configuration
3424
3438
  * @param skipBrokerClaims - When true and BROKER_CLIENT_ID is present, excludes clientCapabilities from claims
3439
+ * @param claimsToMerge - Optional client-originated claims JSON string (e.g. `claimsFromClient`) deep-merged into `claims` with precedence on conflicts
3425
3440
  */
3426
- function addClaims(parameters, correlationId, claims, clientCapabilities, skipBrokerClaims) {
3441
+ function addClaims(parameters, correlationId, claims, clientCapabilities, skipBrokerClaims, claimsToMerge) {
3427
3442
  // Skip clientCapabilities if skipBrokerClaims is set to true and this is a brokered authentication flow
3428
3443
  const configClaims = skipBrokerClaims && parameters.has(BROKER_CLIENT_ID)
3429
3444
  ? undefined
3430
3445
  : clientCapabilities;
3431
- const mergedClaims = buildMergedClaims$1(claims, configClaims, correlationId);
3446
+ const mergedClaims = buildMergedClaims$1(claims, configClaims, correlationId, claimsToMerge);
3432
3447
  parameters.set(CLAIMS, mergedClaims);
3433
3448
  }
3434
3449
  /**
@@ -3594,32 +3609,79 @@
3594
3609
  [ClaimsRequestKeys.LOGIN_HINT]: { essential: false },
3595
3610
  };
3596
3611
  /**
3597
- * Parses claims JSON, merges default optional idToken claims (signin_state, login_hint),
3598
- * and appends client capabilities (xms_cc) to the access_token section.
3612
+ * Parses a claims JSON string into an object, throwing a ClientConfigurationError
3613
+ * (error code `invalid_claims`) if the value is not a valid JSON object. The raw
3614
+ * claims value is never included in the error - it may contain sensitive data.
3615
+ * @param claims - Claims JSON string. Must be valid JSON representing an object.
3616
+ * @param correlationId - The request correlation id
3617
+ * @returns The parsed claims object
3618
+ */
3619
+ function parseClaims(claims, correlationId = "") {
3620
+ let parsed;
3621
+ try {
3622
+ parsed = JSON.parse(claims);
3623
+ }
3624
+ catch (e) {
3625
+ // Malformed JSON
3626
+ throw createClientConfigurationError(invalidClaims, correlationId);
3627
+ }
3628
+ if (!isPlainObject(parsed)) {
3629
+ // Valid JSON, but not an object (e.g. an array, a scalar, or the literal `null`).
3630
+ throw createClientConfigurationError(invalidClaims, correlationId);
3631
+ }
3632
+ return parsed;
3633
+ }
3634
+ /**
3635
+ * Type guard for a non-null, non-array object (a JSON "object" value).
3636
+ * @param value - The value to test
3637
+ * @returns True when value is a plain object that can be deep-merged
3638
+ */
3639
+ function isPlainObject(value) {
3640
+ return typeof value === "object" && value !== null && !Array.isArray(value);
3641
+ }
3642
+ /**
3643
+ * Recursively deep-merges two parsed claims objects. Nested objects are merged key-by-key;
3644
+ * for any other value type (arrays, scalars, null) the value from `claimsToMerge` replaces
3645
+ * the base. This mirrors the deep merge used by msal-dotnet so that, for example, a server
3646
+ * `access_token` challenge and a client-originated `access_token` claim are combined rather
3647
+ * than one clobbering the other.
3648
+ * @param baseClaims - The parsed base claims object
3649
+ * @param claimsToMerge - The parsed claims object merged in with precedence
3650
+ * @returns The deep-merged claims object
3651
+ */
3652
+ function deepMergeClaims(baseClaims, claimsToMerge) {
3653
+ const merged = { ...baseClaims };
3654
+ for (const [key, mergeInValue] of Object.entries(claimsToMerge)) {
3655
+ const baseValue = merged[key];
3656
+ if (isPlainObject(baseValue) && isPlainObject(mergeInValue)) {
3657
+ merged[key] = deepMergeClaims(baseValue, mergeInValue);
3658
+ }
3659
+ else {
3660
+ merged[key] = mergeInValue;
3661
+ }
3662
+ }
3663
+ return merged;
3664
+ }
3665
+ /**
3666
+ * Parses claims JSON, optionally deep-merges a second client-originated claims string
3667
+ * (`claimsToMerge`, e.g. `claimsFromClient`) with precedence on conflicting keys, merges
3668
+ * default optional idToken claims (signin_state, login_hint), and appends client
3669
+ * capabilities (xms_cc) to the access_token section.
3599
3670
  * Does not overwrite idToken claims already specified by the caller.
3600
3671
  * @param claims - Existing claims JSON string from the request (may be undefined)
3601
3672
  * @param clientCapabilities - Client capabilities array from configuration
3673
+ * @param correlationId - The request correlation id
3674
+ * @param claimsToMerge - Optional second claims JSON string (e.g. client-originated `claimsFromClient`)
3675
+ * deep-merged into `claims` with precedence on conflicts; parsed and validated when present. Nested
3676
+ * objects are merged recursively; arrays and scalar values are replaced.
3602
3677
  * @returns Merged claims JSON string
3603
3678
  */
3604
- function buildMergedClaims$1(claims, clientCapabilities, correlationId = "") {
3605
- let mergedClaims;
3679
+ function buildMergedClaims$1(claims, clientCapabilities, correlationId = "", claimsToMerge) {
3606
3680
  // Parse provided claims into JSON object or initialize empty object
3607
- if (!claims) {
3608
- mergedClaims = {};
3609
- }
3610
- else {
3611
- try {
3612
- const parsed = JSON.parse(claims);
3613
- if (typeof parsed !== "object" ||
3614
- parsed === null ||
3615
- Array.isArray(parsed)) {
3616
- throw new Error("Claims must be a JSON object");
3617
- }
3618
- mergedClaims = parsed;
3619
- }
3620
- catch (e) {
3621
- throw createClientConfigurationError(invalidClaims, correlationId);
3622
- }
3681
+ let mergedClaims = claims ? parseClaims(claims, correlationId) : {};
3682
+ // Deep-merge client-originated claims (e.g. `claimsFromClient`) with precedence on conflicts
3683
+ if (claimsToMerge?.trim()) {
3684
+ mergedClaims = deepMergeClaims(mergedClaims, parseClaims(claimsToMerge, correlationId));
3623
3685
  }
3624
3686
  // Add default optional idToken claims
3625
3687
  if (!Object.prototype.hasOwnProperty.call(mergedClaims, ClaimsRequestKeys.ID_TOKEN)) {
@@ -3707,9 +3769,28 @@
3707
3769
  if (resource) {
3708
3770
  parameters.set(RESOURCE, resource);
3709
3771
  }
3772
+ }
3773
+ /**
3774
+ * Add the `attribute_tokens` parameter to a /token request body.
3775
+ *
3776
+ * When `attributeTokens` is a non-empty array the values are sorted lexicographically and joined
3777
+ * with a single space, then written to the request body. When `attributeTokens` is an empty array
3778
+ * the parameter is deleted from the request body.
3779
+ *
3780
+ * @param parameters - request parameter map that will be serialized into the /token body
3781
+ * @param attributeTokens - caller-provided attribute token strings
3782
+ */
3783
+ function addAttributeTokens(parameters, attributeTokens) {
3784
+ const serialized = serializeAttributeTokens(attributeTokens);
3785
+ if (serialized) {
3786
+ parameters.set(ATTRIBUTE_TOKENS, serialized);
3787
+ }
3788
+ else {
3789
+ parameters.delete(ATTRIBUTE_TOKENS);
3790
+ }
3710
3791
  }
3711
3792
 
3712
- /*! @azure/msal-common v16.11.3 2026-07-29 */
3793
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
3713
3794
 
3714
3795
  /*
3715
3796
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3831,7 +3912,7 @@
3831
3912
  }
3832
3913
  }
3833
3914
 
3834
- /*! @azure/msal-common v16.11.3 2026-07-29 */
3915
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
3835
3916
 
3836
3917
  /*
3837
3918
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3874,7 +3955,7 @@
3874
3955
  },
3875
3956
  };
3876
3957
 
3877
- /*! @azure/msal-common v16.11.3 2026-07-29 */
3958
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
3878
3959
  /*
3879
3960
  * Copyright (c) Microsoft Corporation. All rights reserved.
3880
3961
  * Licensed under the MIT License.
@@ -4163,12 +4244,12 @@
4163
4244
  }
4164
4245
  }
4165
4246
 
4166
- /*! @azure/msal-common v16.11.3 2026-07-29 */
4247
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
4167
4248
  /* eslint-disable header/header */
4168
4249
  const name$1 = "@azure/msal-common";
4169
- const version$1 = "16.11.3";
4250
+ const version$1 = "16.12.0";
4170
4251
 
4171
- /*! @azure/msal-common v16.11.3 2026-07-29 */
4252
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
4172
4253
  /*
4173
4254
  * Copyright (c) Microsoft Corporation. All rights reserved.
4174
4255
  * Licensed under the MIT License.
@@ -4176,7 +4257,7 @@
4176
4257
  const cacheQuotaExceeded = "cache_quota_exceeded";
4177
4258
  const cacheErrorUnknown = "cache_error_unknown";
4178
4259
 
4179
- /*! @azure/msal-common v16.11.3 2026-07-29 */
4260
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
4180
4261
 
4181
4262
  /*
4182
4263
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4214,7 +4295,7 @@
4214
4295
  }
4215
4296
  }
4216
4297
 
4217
- /*! @azure/msal-common v16.11.3 2026-07-29 */
4298
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
4218
4299
 
4219
4300
  /*
4220
4301
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4441,9 +4522,17 @@
4441
4522
  }
4442
4523
  /**
4443
4524
  * saves access token credential
4444
- * @param credential
4525
+ * @param credential - the access token entity to save
4526
+ * @param correlationId - unique identifier for the request
4527
+ * @param kmsi - keep me signed in flag
4445
4528
  */
4446
4529
  async saveAccessToken(credential, correlationId, kmsi) {
4530
+ // Compute hash from components on the entity itself — no need to thread externally.
4531
+ let additionalCacheKeyHash;
4532
+ if (credential.additionalCacheKeyComponents &&
4533
+ Object.keys(credential.additionalCacheKeyComponents).length > 0) {
4534
+ additionalCacheKeyHash = await this.cryptoImpl.hashString(JSON.stringify(credential.additionalCacheKeyComponents));
4535
+ }
4447
4536
  const accessTokenFilter = {
4448
4537
  clientId: credential.clientId,
4449
4538
  credentialType: credential.credentialType,
@@ -4467,7 +4556,7 @@
4467
4556
  }
4468
4557
  }
4469
4558
  });
4470
- await this.setAccessTokenCredential(credential, correlationId, kmsi);
4559
+ await this.setAccessTokenCredential(credential, correlationId, kmsi, additionalCacheKeyHash);
4471
4560
  }
4472
4561
  /**
4473
4562
  * Retrieve account entities matching all provided tenant-agnostic filters; if no filter is set, get all account entities in the cache
@@ -4879,6 +4968,12 @@
4879
4968
  AuthenticationScheme$1.BEARER.toLowerCase()
4880
4969
  ? CredentialType.ACCESS_TOKEN_WITH_AUTH_SCHEME
4881
4970
  : CredentialType.ACCESS_TOKEN;
4971
+ const attributeTokenPartition = serializeAttributeTokens(request.attributeTokens);
4972
+ const additionalCacheKeyComponents = attributeTokenPartition
4973
+ ? {
4974
+ attribute_tokens: attributeTokenPartition,
4975
+ }
4976
+ : undefined;
4882
4977
  const accessTokenFilter = {
4883
4978
  homeAccountId: account.homeAccountId,
4884
4979
  environment: account.environment,
@@ -4888,10 +4983,12 @@
4888
4983
  target: scopes,
4889
4984
  tokenType: authScheme,
4890
4985
  keyId: request.sshKid,
4986
+ additionalCacheKeyComponents: additionalCacheKeyComponents,
4891
4987
  };
4892
4988
  const accessTokenKeys = (tokenKeys && tokenKeys.accessToken) ||
4893
4989
  this.getTokenKeys().accessToken;
4894
4990
  const accessTokens = [];
4991
+ const matchedKeys = [];
4895
4992
  accessTokenKeys.forEach((key) => {
4896
4993
  // Validate key
4897
4994
  if (this.accessTokenKeyMatchesFilter(key, accessTokenFilter, true)) {
@@ -4900,18 +4997,18 @@
4900
4997
  if (accessToken &&
4901
4998
  this.credentialMatchesFilter(accessToken, accessTokenFilter, correlationId)) {
4902
4999
  accessTokens.push(accessToken);
5000
+ matchedKeys.push(key);
4903
5001
  }
4904
5002
  }
4905
5003
  });
4906
- const numAccessTokens = accessTokens.length;
4907
- if (numAccessTokens < 1) {
5004
+ if (accessTokens.length < 1) {
4908
5005
  this.commonLogger.info("1nckna", correlationId);
4909
5006
  return null;
4910
5007
  }
4911
- else if (numAccessTokens > 1) {
5008
+ else if (accessTokens.length > 1) {
4912
5009
  this.commonLogger.info("1wkfwp", correlationId);
4913
- accessTokens.forEach((accessToken) => {
4914
- this.removeAccessToken(this.generateCredentialKey(accessToken), correlationId);
5010
+ matchedKeys.forEach((key) => {
5011
+ this.removeAccessToken(key, correlationId);
4915
5012
  });
4916
5013
  this.performanceClient.addFields({ multiMatchedAT: accessTokens.length }, correlationId);
4917
5014
  return null;
@@ -5354,7 +5451,9 @@
5354
5451
  getTokenKeys() {
5355
5452
  throw createClientAuthError(methodNotImplemented, "");
5356
5453
  }
5357
- generateCredentialKey() {
5454
+ /* eslint-disable @typescript-eslint/no-unused-vars */
5455
+ generateCredentialKey(_credential, _hash) {
5456
+ /* eslint-enable @typescript-eslint/no-unused-vars */
5358
5457
  throw createClientAuthError(methodNotImplemented, "");
5359
5458
  }
5360
5459
  generateAccountKey() {
@@ -5362,7 +5461,7 @@
5362
5461
  }
5363
5462
  }
5364
5463
 
5365
- /*! @azure/msal-common v16.11.3 2026-07-29 */
5464
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
5366
5465
  /*
5367
5466
  * Copyright (c) Microsoft Corporation. All rights reserved.
5368
5467
  * Licensed under the MIT License.
@@ -5427,7 +5526,7 @@
5427
5526
  "fetchRetryCount",
5428
5527
  ]);
5429
5528
 
5430
- /*! @azure/msal-common v16.11.3 2026-07-29 */
5529
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
5431
5530
 
5432
5531
  /*
5433
5532
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5485,7 +5584,7 @@
5485
5584
  }
5486
5585
  }
5487
5586
 
5488
- /*! @azure/msal-common v16.11.3 2026-07-29 */
5587
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
5489
5588
 
5490
5589
  /*
5491
5590
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5581,7 +5680,7 @@
5581
5680
  return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
5582
5681
  }
5583
5682
 
5584
- /*! @azure/msal-common v16.11.3 2026-07-29 */
5683
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
5585
5684
  /*
5586
5685
  * Copyright (c) Microsoft Corporation. All rights reserved.
5587
5686
  * Licensed under the MIT License.
@@ -5608,7 +5707,7 @@
5608
5707
  }
5609
5708
  }
5610
5709
 
5611
- /*! @azure/msal-common v16.11.3 2026-07-29 */
5710
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
5612
5711
 
5613
5712
  /*
5614
5713
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5688,7 +5787,7 @@
5688
5787
  }
5689
5788
  }
5690
5789
 
5691
- /*! @azure/msal-common v16.11.3 2026-07-29 */
5790
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
5692
5791
  /*
5693
5792
  * Copyright (c) Microsoft Corporation. All rights reserved.
5694
5793
  * Licensed under the MIT License.
@@ -5752,7 +5851,7 @@
5752
5851
  uiNotAllowed: uiNotAllowed
5753
5852
  });
5754
5853
 
5755
- /*! @azure/msal-common v16.11.3 2026-07-29 */
5854
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
5756
5855
 
5757
5856
  /*
5758
5857
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5819,7 +5918,7 @@
5819
5918
  return new InteractionRequiredAuthError(errorCode, correlationId, errorMessage);
5820
5919
  }
5821
5920
 
5822
- /*! @azure/msal-common v16.11.3 2026-07-29 */
5921
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
5823
5922
 
5824
5923
  /*
5825
5924
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5838,7 +5937,7 @@
5838
5937
  }
5839
5938
  }
5840
5939
 
5841
- /*! @azure/msal-common v16.11.3 2026-07-29 */
5940
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
5842
5941
 
5843
5942
  /*
5844
5943
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5909,7 +6008,7 @@
5909
6008
  }
5910
6009
  }
5911
6010
 
5912
- /*! @azure/msal-common v16.11.3 2026-07-29 */
6011
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
5913
6012
 
5914
6013
  /*
5915
6014
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5998,7 +6097,15 @@
5998
6097
  // Add keyId from request to serverTokenResponse if defined
5999
6098
  serverTokenResponse.key_id =
6000
6099
  serverTokenResponse.key_id || request.sshKid || undefined;
6001
- const cacheRecord = this.generateCacheRecord(serverTokenResponse, authority, reqTimestamp, request, idTokenClaims, userAssertionHash, authCodePayload, additionalCacheKeyComponents);
6100
+ // Compute components once for entity storage (fallback if hash not provided by client)
6101
+ const attributeTokenPartition = serializeAttributeTokens(request.attributeTokens);
6102
+ const cacheKeyComponents = additionalCacheKeyComponents ??
6103
+ (attributeTokenPartition
6104
+ ? {
6105
+ attribute_tokens: attributeTokenPartition,
6106
+ }
6107
+ : undefined);
6108
+ const cacheRecord = this.generateCacheRecord(serverTokenResponse, authority, reqTimestamp, request, idTokenClaims, userAssertionHash, authCodePayload, cacheKeyComponents);
6002
6109
  let cacheContext;
6003
6110
  try {
6004
6111
  if (this.persistencePlugin && this.serializableCache) {
@@ -6260,7 +6367,7 @@
6260
6367
  return baseAccount;
6261
6368
  }
6262
6369
 
6263
- /*! @azure/msal-common v16.11.3 2026-07-29 */
6370
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
6264
6371
  /*
6265
6372
  * Copyright (c) Microsoft Corporation. All rights reserved.
6266
6373
  * Licensed under the MIT License.
@@ -6270,7 +6377,7 @@
6270
6377
  UPN: "UPN",
6271
6378
  };
6272
6379
 
6273
- /*! @azure/msal-common v16.11.3 2026-07-29 */
6380
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
6274
6381
  /*
6275
6382
  * Copyright (c) Microsoft Corporation. All rights reserved.
6276
6383
  * Licensed under the MIT License.
@@ -6289,7 +6396,8 @@
6289
6396
  }
6290
6397
  }
6291
6398
 
6292
- /*! @azure/msal-common v16.11.3 2026-07-29 */
6399
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
6400
+
6293
6401
  /*
6294
6402
  * Copyright (c) Microsoft Corporation. All rights reserved.
6295
6403
  * Licensed under the MIT License.
@@ -6308,10 +6416,11 @@
6308
6416
  sshKid: request.sshKid,
6309
6417
  embeddedClientId: request.embeddedClientId || request.extraParameters?.clientId,
6310
6418
  resource: request.resource,
6419
+ attributeTokens: serializeAttributeTokens(request.attributeTokens),
6311
6420
  };
6312
6421
  }
6313
6422
 
6314
- /*! @azure/msal-common v16.11.3 2026-07-29 */
6423
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
6315
6424
 
6316
6425
  /*
6317
6426
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6397,7 +6506,7 @@
6397
6506
  }
6398
6507
  }
6399
6508
 
6400
- /*! @azure/msal-common v16.11.3 2026-07-29 */
6509
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
6401
6510
 
6402
6511
  /*
6403
6512
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6428,7 +6537,7 @@
6428
6537
  return new NetworkError(error, httpStatus, responseHeaders);
6429
6538
  }
6430
6539
 
6431
- /*! @azure/msal-common v16.11.3 2026-07-29 */
6540
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
6432
6541
 
6433
6542
  /*
6434
6543
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6544,7 +6653,7 @@
6544
6653
  return response;
6545
6654
  }
6546
6655
 
6547
- /*! @azure/msal-common v16.11.3 2026-07-29 */
6656
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
6548
6657
 
6549
6658
  /*
6550
6659
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6665,6 +6774,12 @@
6665
6774
  // Add scope array, parameter builder will add default scopes and dedupe
6666
6775
  addScopes(parameters, request.scopes, request.correlationId, true, this.oidcDefaultScopes);
6667
6776
  addResource(parameters, request.resource);
6777
+ if (request.attributeTokens) {
6778
+ addAttributeTokens(parameters, request.attributeTokens);
6779
+ }
6780
+ this.performanceClient?.addFields({
6781
+ hasAttributeTokens: !!request.attributeTokens?.length,
6782
+ }, request.correlationId);
6668
6783
  // add code: user set, not validated
6669
6784
  addAuthorizationCode(parameters, request.code);
6670
6785
  // Add library metadata
@@ -6801,7 +6916,7 @@
6801
6916
  }
6802
6917
  }
6803
6918
 
6804
- /*! @azure/msal-common v16.11.3 2026-07-29 */
6919
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
6805
6920
 
6806
6921
  /*
6807
6922
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7028,7 +7143,7 @@
7028
7143
  return account.loginHint || account.idTokenClaims?.login_hint || null;
7029
7144
  }
7030
7145
 
7031
- /*! @azure/msal-common v16.11.3 2026-07-29 */
7146
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
7032
7147
 
7033
7148
  /*
7034
7149
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7049,7 +7164,7 @@
7049
7164
  return new JoseHeaderError(code, correlationId);
7050
7165
  }
7051
7166
 
7052
- /*! @azure/msal-common v16.11.3 2026-07-29 */
7167
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
7053
7168
  /*
7054
7169
  * Copyright (c) Microsoft Corporation. All rights reserved.
7055
7170
  * Licensed under the MIT License.
@@ -7057,7 +7172,7 @@
7057
7172
  const missingKidError = "missing_kid_error";
7058
7173
  const missingAlgError = "missing_alg_error";
7059
7174
 
7060
- /*! @azure/msal-common v16.11.3 2026-07-29 */
7175
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
7061
7176
 
7062
7177
  /*
7063
7178
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7097,7 +7212,7 @@
7097
7212
  }
7098
7213
  }
7099
7214
 
7100
- /*! @azure/msal-common v16.11.3 2026-07-29 */
7215
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
7101
7216
 
7102
7217
  /*
7103
7218
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7646,7 +7761,7 @@
7646
7761
  }
7647
7762
  }
7648
7763
 
7649
- /*! @azure/msal-common v16.11.3 2026-07-29 */
7764
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
7650
7765
 
7651
7766
  /*
7652
7767
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7807,6 +7922,12 @@
7807
7922
  addServerTelemetry(parameters, this.serverTelemetryManager);
7808
7923
  }
7809
7924
  addRefreshToken(parameters, request.refreshToken);
7925
+ if (request.attributeTokens) {
7926
+ addAttributeTokens(parameters, request.attributeTokens);
7927
+ }
7928
+ this.performanceClient?.addFields({
7929
+ hasAttributeTokens: !!request.attributeTokens?.length,
7930
+ }, request.correlationId);
7810
7931
  if (this.config.clientCredentials.clientSecret) {
7811
7932
  addClientSecret(parameters, this.config.clientCredentials.clientSecret);
7812
7933
  }
@@ -7867,7 +7988,7 @@
7867
7988
  }
7868
7989
  }
7869
7990
 
7870
- /*! @azure/msal-common v16.11.3 2026-07-29 */
7991
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
7871
7992
 
7872
7993
  /*
7873
7994
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8160,7 +8281,7 @@
8160
8281
  clearNativeBrokerErrorCode() { }
8161
8282
  }
8162
8283
 
8163
- /*! @azure/msal-common v16.11.3 2026-07-29 */
8284
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
8164
8285
 
8165
8286
  /*
8166
8287
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8268,7 +8389,7 @@
8268
8389
  }
8269
8390
  }
8270
8391
 
8271
- /*! @azure/msal-common v16.11.3 2026-07-29 */
8392
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
8272
8393
 
8273
8394
  /*
8274
8395
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8284,7 +8405,7 @@
8284
8405
  },
8285
8406
  };
8286
8407
 
8287
- /*! @azure/msal-common v16.11.3 2026-07-29 */
8408
+ /*! @azure/msal-common v16.12.0 2026-08-04 */
8288
8409
 
8289
8410
  /*
8290
8411
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -10787,7 +10908,7 @@
10787
10908
 
10788
10909
  /* eslint-disable header/header */
10789
10910
  const name = "@azure/msal-browser";
10790
- const version = "5.17.3";
10911
+ const version = "5.18.0";
10791
10912
 
10792
10913
  /*
10793
10914
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -11680,12 +11801,12 @@
11680
11801
  return parsedAccessToken;
11681
11802
  }
11682
11803
  /**
11683
- * set accessToken credential to the platform cache
11684
- * @param accessToken
11804
+ * Set accessToken credential to the platform cache
11805
+ * @param accessToken - the access token entity to cache
11685
11806
  */
11686
- async setAccessTokenCredential(accessToken, correlationId, kmsi) {
11807
+ async setAccessTokenCredential(accessToken, correlationId, kmsi, additionalCacheKeyHash) {
11687
11808
  this.logger.trace("1pondb", correlationId);
11688
- const accessTokenKey = this.generateCredentialKey(accessToken);
11809
+ const accessTokenKey = this.generateCredentialKey(accessToken, additionalCacheKeyHash);
11689
11810
  const timestamp = Date.now().toString();
11690
11811
  accessToken.lastUpdatedAt = timestamp;
11691
11812
  await this.setUserData(accessTokenKey, JSON.stringify(accessToken), correlationId, timestamp, kmsi);
@@ -11995,11 +12116,13 @@
11995
12116
  }
11996
12117
  /**
11997
12118
  * Generate Credential Key. All changes to the key REQUIRE a schema version update.
11998
- * Cache Key: msal.<schema_version>|<home_account_id>|<environment>|<credential_type>|<client_id or familyId>|<realm>|<scopes>|<scheme>
12119
+ * Cache Key: msal.<schema_version>|<home_account_id>|<environment>|<credential_type>|<client_id or familyId>|<realm>|<scopes>|<scheme>|<additional_cache_key_components_hash>
12120
+ *
11999
12121
  * @param credentialEntity
12122
+ * @param hash - optional precomputed hash of additionalCacheKeyComponents
12000
12123
  * @returns
12001
12124
  */
12002
- generateCredentialKey(credential) {
12125
+ generateCredentialKey(credential, additionalCacheKeyHash) {
12003
12126
  const familyId = (credential.credentialType ===
12004
12127
  CredentialType.REFRESH_TOKEN &&
12005
12128
  credential.familyId) ||
@@ -12019,6 +12142,12 @@
12019
12142
  credential.target || "",
12020
12143
  scheme,
12021
12144
  ];
12145
+ // Append precomputed component-hash segment.
12146
+ if (credential.additionalCacheKeyComponents &&
12147
+ Object.keys(credential.additionalCacheKeyComponents).length > 0 &&
12148
+ additionalCacheKeyHash) {
12149
+ credentialKey.push(additionalCacheKeyHash);
12150
+ }
12022
12151
  return credentialKey.join(CACHE_KEY_SEPARATOR).toLowerCase();
12023
12152
  }
12024
12153
  /**
@@ -13347,13 +13476,18 @@
13347
13476
  * @returns CommonSilentFlowRequest
13348
13477
  */
13349
13478
  createSilentCacheRequest(request, cachedAccount) {
13350
- return {
13479
+ const silentRequest = {
13351
13480
  authority: request.authority,
13352
13481
  correlationId: this.correlationId,
13353
13482
  scopes: ScopeSet.fromString(request.scope, this.correlationId).asArray(),
13354
13483
  account: cachedAccount,
13355
13484
  forceRefresh: false,
13356
13485
  };
13486
+ // Preserve FMI partition semantics for silent cache filtering.
13487
+ if (request.attributeTokens) {
13488
+ silentRequest.attributeTokens = request.attributeTokens.split(" ");
13489
+ }
13490
+ return silentRequest;
13357
13491
  }
13358
13492
  /**
13359
13493
  * Fetches the tokens from the cache if un-expired
@@ -13679,7 +13813,12 @@
13679
13813
  : response.expires_in) || 0;
13680
13814
  const tokenExpirationSeconds = reqTimestamp + expiresIn;
13681
13815
  const responseScopes = this.generateScopes(response.scope, request.scope);
13682
- const cachedAccessToken = createAccessTokenEntity(homeAccountIdentifier, environment, response.access_token, request.clientId, idTokenClaims.tid || tenantId, responseScopes.printScopes(), tokenExpirationSeconds, 0, base64Decode, request.correlationId, undefined, request.tokenType, undefined, request.keyId);
13816
+ const additionalCacheKeyComponents = request.attributeTokens
13817
+ ? {
13818
+ attribute_tokens: request.attributeTokens,
13819
+ }
13820
+ : undefined;
13821
+ const cachedAccessToken = createAccessTokenEntity(homeAccountIdentifier, environment, response.access_token, request.clientId, idTokenClaims.tid || tenantId, responseScopes.printScopes(), tokenExpirationSeconds, 0, base64Decode, request.correlationId, undefined, request.tokenType, undefined, request.keyId, additionalCacheKeyComponents);
13683
13822
  // save idtoken credential in configured browser storage
13684
13823
  if (!!cachedIdToken && storeInCache?.idToken !== false) {
13685
13824
  await this.browserStorage.setIdTokenCredential(cachedIdToken, this.correlationId, isKmsi(idTokenClaims));
@@ -13760,11 +13899,18 @@
13760
13899
  const configClaims = request.skipBrokerClaims && !!request.embeddedClientId
13761
13900
  ? undefined
13762
13901
  : this.config.auth.clientCapabilities;
13763
- // scopes are expected to be received by the native broker as "scope" and will be added to the request below. 'resource' is added in extraParameters for MCP scenarios.
13902
+ /*
13903
+ * scopes are expected to be received by the native broker as "scope" and will be added to the request below. Other properties that should be dropped from the request to the native broker can be included in the object destructuring here.
13904
+ * attributeTokens is destructured out because PlatformAuthRequest represents it as a pre-serialized string, not the caller-provided Array<string>.
13905
+ */
13764
13906
  const { scopes, claims } = request;
13765
13907
  const scopeSet = new ScopeSet(scopes || [], this.correlationId);
13766
13908
  scopeSet.appendScopes(OIDC_DEFAULT_SCOPES$1);
13767
13909
  const mergedClaims = buildMergedClaims$1(claims, configClaims?.length ? configClaims : undefined);
13910
+ const hasAttributeTokens = !!request.attributeTokens?.length;
13911
+ this.performanceClient?.addFields({
13912
+ hasAttributeTokens,
13913
+ }, this.correlationId);
13768
13914
  const validatedRequest = {
13769
13915
  claims: mergedClaims,
13770
13916
  accountId: this.accountId,
@@ -13791,6 +13937,10 @@
13791
13937
  shrClaims: request.shrClaims,
13792
13938
  shrNonce: request.shrNonce,
13793
13939
  };
13940
+ if (hasAttributeTokens) {
13941
+ validatedRequest.attributeTokens =
13942
+ serializeAttributeTokens(request.attributeTokens);
13943
+ }
13794
13944
  // Check for PoP token requests: signPopToken should only be set to true if popKid is not set
13795
13945
  if (validatedRequest.signPopToken && !!request.popKid) {
13796
13946
  throw createBrowserAuthError(invalidPopTokenRequest, this.correlationId);
@@ -17440,21 +17590,32 @@
17440
17590
  // Create idToken entity and store in browser storage
17441
17591
  const idTokenEntity = createIdTokenEntity(result.account.homeAccountId, result.account.environment, result.idToken, this.config.auth.clientId, result.tenantId);
17442
17592
  // Create accessToken entity and store in native internal storage
17593
+ const attributeTokenPartition = serializeAttributeTokens(request.attributeTokens);
17594
+ const additionalCacheKeyComponents = attributeTokenPartition
17595
+ ? {
17596
+ attribute_tokens: attributeTokenPartition,
17597
+ }
17598
+ : undefined;
17443
17599
  const accessTokenEntity = createAccessTokenEntity(result.account.homeAccountId, result.account.environment, result.accessToken, this.config.auth.clientId, result.tenantId, result.scopes.join(" "), result.expiresOn
17444
17600
  ? toSecondsFromDate(result.expiresOn)
17445
17601
  : 0, result.extExpiresOn
17446
17602
  ? toSecondsFromDate(result.extExpiresOn)
17447
17603
  : 0, base64Decode, request.correlationId || "", undefined, // refreshOn
17448
17604
  result.tokenType, undefined, // userAssertionHash
17449
- request.sshKid);
17605
+ request.sshKid, additionalCacheKeyComponents);
17450
17606
  if (request.resource) {
17451
17607
  accessTokenEntity.resource = request.resource;
17452
17608
  }
17609
+ // Get attribute token partition hash for cache key isolation
17610
+ const components = additionalCacheKeyComponents;
17611
+ const additionalCacheKeyHash = components
17612
+ ? await this.browserCrypto.hashString(JSON.stringify(components))
17613
+ : undefined;
17453
17614
  const kmsi = isKmsi(result.idTokenClaims);
17454
17615
  // Store idToken in browser storage
17455
17616
  await this.browserStorage.setIdTokenCredential(idTokenEntity, result.correlationId, kmsi);
17456
17617
  // Store accessToken in native internal storage
17457
- await this.nativeInternalStorage.setAccessTokenCredential(accessTokenEntity, result.correlationId, kmsi);
17618
+ await this.nativeInternalStorage.setAccessTokenCredential(accessTokenEntity, result.correlationId, kmsi, additionalCacheKeyHash);
17458
17619
  }
17459
17620
  else {
17460
17621
  return this.browserStorage.hydrateCache(result, request);
@@ -18178,6 +18339,7 @@
18178
18339
  const correlationId = request.correlationId || this.crypto.createNewGuid();
18179
18340
  const claims = buildMergedClaims$1(request.claims, this.clientCapabilities);
18180
18341
  const scopes = request.scopes || OIDC_DEFAULT_SCOPES$1;
18342
+ const attributeTokens = serializeAttributeTokens(request.attributeTokens);
18181
18343
  const tokenRequest = {
18182
18344
  platformBrokerId: request.account?.homeAccountId,
18183
18345
  clientId: this.clientId,
@@ -18190,6 +18352,7 @@
18190
18352
  authenticationScheme: request.authenticationScheme ||
18191
18353
  AuthenticationScheme$1.BEARER,
18192
18354
  extraParameters: extraParams,
18355
+ attributeTokens,
18193
18356
  };
18194
18357
  return tokenRequest;
18195
18358
  }