@azure/msal-browser 5.23.0 → 5.25.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 (290) 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 +111 -27
  5. package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs.map +1 -1
  6. package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +178 -67
  7. package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs.map +1 -1
  8. package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +61 -22
  9. package/dist/broker/nativeBroker/PlatformAuthProvider.mjs.map +1 -1
  10. package/dist/broker/nativeBroker/PlatformAuthRequest.mjs +1 -1
  11. package/dist/cache/AccountManager.mjs +1 -1
  12. package/dist/cache/AsyncMemoryStorage.mjs +1 -1
  13. package/dist/cache/BrowserCacheManager.mjs +1 -1
  14. package/dist/cache/CacheHelpers.mjs +1 -1
  15. package/dist/cache/CacheKeys.mjs +1 -1
  16. package/dist/cache/CookieStorage.mjs +1 -1
  17. package/dist/cache/DatabaseStorage.mjs +1 -1
  18. package/dist/cache/EncryptedData.mjs +1 -1
  19. package/dist/cache/LocalStorage.mjs +97 -29
  20. package/dist/cache/LocalStorage.mjs.map +1 -1
  21. package/dist/cache/MemoryStorage.mjs +1 -1
  22. package/dist/cache/SessionStorage.mjs +1 -1
  23. package/dist/cache/TokenCache.mjs +1 -1
  24. package/dist/config/Configuration.mjs +1 -1
  25. package/dist/controllers/NestedAppAuthController.mjs +1 -1
  26. package/dist/controllers/StandardController.mjs +23 -22
  27. package/dist/controllers/StandardController.mjs.map +1 -1
  28. package/dist/crypto/BrowserCrypto.mjs +1 -1
  29. package/dist/crypto/CryptoOps.mjs +1 -1
  30. package/dist/crypto/PkceGenerator.mjs +1 -1
  31. package/dist/crypto/SignedHttpRequest.mjs +1 -1
  32. package/dist/crypto/TokenBindingKeyManager.mjs +1 -1
  33. package/dist/custom_auth/CustomAuthConstants.mjs +1 -1
  34. package/dist/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
  35. package/dist/custom_auth/controller/CustomAuthStandardController.mjs +1 -1
  36. package/dist/custom_auth/core/CustomAuthAuthority.mjs +1 -1
  37. package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +1 -1
  38. package/dist/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
  39. package/dist/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
  40. package/dist/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +1 -1
  41. package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +1 -1
  42. package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
  43. package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
  44. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
  45. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
  46. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
  47. package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +1 -1
  48. package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +1 -1
  49. package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +1 -1
  50. package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
  51. package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
  52. package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +1 -1
  53. package/dist/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.mjs +1 -1
  54. package/dist/custom_auth/core/auth_flow/v2/CustomAuthResultV2.mjs +1 -1
  55. package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorBaseV2.mjs +1 -1
  56. package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.mjs +1 -1
  57. package/dist/custom_auth/core/auth_flow/v2/error/RequestChallengeErrorV2.mjs +1 -1
  58. package/dist/custom_auth/core/auth_flow/v2/error/ResetPasswordStartErrorV2.mjs +1 -1
  59. package/dist/custom_auth/core/auth_flow/v2/error/VerifyChallengeErrorV2.mjs +1 -1
  60. package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.mjs +1 -1
  61. package/dist/custom_auth/core/auth_flow/v2/state/AuthenticationMethodSelectionStateBaseV2.mjs +1 -1
  62. package/dist/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.mjs +1 -1
  63. package/dist/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.mjs +1 -1
  64. package/dist/custom_auth/core/auth_flow/v2/state/CompletedStateV2.mjs +1 -1
  65. package/dist/custom_auth/core/auth_flow/v2/state/FailedStateV2.mjs +1 -1
  66. package/dist/custom_auth/core/auth_flow/v2/state/MFARequiredStateV2.mjs +1 -1
  67. package/dist/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.mjs +1 -1
  68. package/dist/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
  69. package/dist/custom_auth/core/error/CustomAuthError.mjs +1 -1
  70. package/dist/custom_auth/core/error/HttpError.mjs +1 -1
  71. package/dist/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
  72. package/dist/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
  73. package/dist/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
  74. package/dist/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
  75. package/dist/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
  76. package/dist/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
  77. package/dist/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
  78. package/dist/custom_auth/core/error/ParsedUrlError.mjs +1 -1
  79. package/dist/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
  80. package/dist/custom_auth/core/error/UnexpectedError.mjs +1 -1
  81. package/dist/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
  82. package/dist/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
  83. package/dist/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
  84. package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
  85. package/dist/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
  86. package/dist/custom_auth/core/interaction_client/jit/JitClient.mjs +1 -1
  87. package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +1 -1
  88. package/dist/custom_auth/core/interaction_client/mfa/MfaClient.mjs +1 -1
  89. package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +1 -1
  90. package/dist/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.mjs +1 -1
  91. package/dist/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.mjs +1 -1
  92. package/dist/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.mjs +1 -1
  93. package/dist/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
  94. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
  95. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
  96. package/dist/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
  97. package/dist/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
  98. package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +1 -1
  99. package/dist/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
  100. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
  101. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
  102. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.mjs +1 -1
  103. package/dist/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.mjs +1 -1
  104. package/dist/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.mjs +1 -1
  105. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.mjs +1 -1
  106. package/dist/custom_auth/core/network_client/custom_auth_api/v2/HrefResolverV2.mjs +1 -1
  107. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.mjs +1 -1
  108. package/dist/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorNormalizerV2.mjs +1 -1
  109. package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.mjs +1 -1
  110. package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.mjs +1 -1
  111. package/dist/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
  112. package/dist/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
  113. package/dist/custom_auth/core/telemetry/FlowApiIdHelperV2.mjs +1 -1
  114. package/dist/custom_auth/core/telemetry/PublicApiId.mjs +1 -1
  115. package/dist/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
  116. package/dist/custom_auth/core/utils/CustomHeaderUtils.mjs +1 -1
  117. package/dist/custom_auth/core/utils/UrlUtils.mjs +1 -1
  118. package/dist/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
  119. package/dist/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
  120. package/dist/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
  121. package/dist/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
  122. package/dist/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
  123. package/dist/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
  124. package/dist/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
  125. package/dist/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
  126. package/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
  127. package/dist/custom_auth/index.mjs +1 -1
  128. package/dist/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
  129. package/dist/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
  130. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
  131. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
  132. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
  133. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
  134. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
  135. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
  136. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
  137. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
  138. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
  139. package/dist/custom_auth/reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.mjs +1 -1
  140. package/dist/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.mjs +1 -1
  141. package/dist/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
  142. package/dist/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
  143. package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
  144. package/dist/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
  145. package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
  146. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
  147. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
  148. package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +1 -1
  149. package/dist/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
  150. package/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
  151. package/dist/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
  152. package/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
  153. package/dist/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
  154. package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.mjs +1 -1
  155. package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SignInStartErrorV2.mjs +1 -1
  156. package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.mjs +1 -1
  157. package/dist/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.mjs +1 -1
  158. package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.mjs +1 -1
  159. package/dist/custom_auth/sign_in/interaction_client/SignInClient.mjs +1 -1
  160. package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
  161. package/dist/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
  162. package/dist/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
  163. package/dist/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
  164. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
  165. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
  166. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
  167. package/dist/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
  168. package/dist/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
  169. package/dist/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
  170. package/dist/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
  171. package/dist/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
  172. package/dist/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
  173. package/dist/custom_auth/sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.mjs +1 -1
  174. package/dist/custom_auth/sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.mjs +1 -1
  175. package/dist/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.mjs +1 -1
  176. package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.mjs +1 -1
  177. package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.mjs +1 -1
  178. package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.mjs +1 -1
  179. package/dist/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
  180. package/dist/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
  181. package/dist/encode/Base64Decode.mjs +1 -1
  182. package/dist/encode/Base64Encode.mjs +1 -1
  183. package/dist/error/BrowserAuthError.mjs +1 -1
  184. package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
  185. package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
  186. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  187. package/dist/error/NativeAuthError.mjs +1 -1
  188. package/dist/error/NativeAuthErrorCodes.mjs +1 -1
  189. package/dist/error/NestedAppAuthError.mjs +1 -1
  190. package/dist/event/EventHandler.mjs +1 -1
  191. package/dist/event/EventMessage.mjs +1 -1
  192. package/dist/event/EventType.mjs +1 -1
  193. package/dist/index.mjs +1 -1
  194. package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
  195. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  196. package/dist/interaction_client/PlatformAuthInteractionClient.mjs +14 -13
  197. package/dist/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
  198. package/dist/interaction_client/PopupClient.mjs +1 -1
  199. package/dist/interaction_client/RedirectClient.mjs +1 -1
  200. package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
  201. package/dist/interaction_client/SilentCacheClient.mjs +1 -1
  202. package/dist/interaction_client/SilentIframeClient.mjs +1 -1
  203. package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
  204. package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
  205. package/dist/interaction_handler/InteractionHandler.mjs +1 -1
  206. package/dist/interaction_handler/SilentHandler.mjs +1 -1
  207. package/dist/log-strings-mapping.json +23 -11
  208. package/dist/naa/BridgeError.mjs +1 -1
  209. package/dist/naa/BridgeProxy.mjs +1 -1
  210. package/dist/naa/BridgeStatusCode.mjs +1 -1
  211. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
  212. package/dist/navigation/NavigationClient.mjs +1 -1
  213. package/dist/network/FetchClient.mjs +1 -1
  214. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  215. package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
  216. package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
  217. package/dist/packageMetadata.mjs +2 -2
  218. package/dist/popup_relay/constants.mjs +1 -1
  219. package/dist/popup_relay/index.mjs +1 -1
  220. package/dist/popup_relay/relayClient.mjs +1 -1
  221. package/dist/protocol/Authorize.mjs +1 -1
  222. package/dist/redirect_bridge/index.mjs +1 -1
  223. package/dist/request/RequestHelpers.mjs +1 -1
  224. package/dist/request/SilentRequestHelpers.mjs +127 -0
  225. package/dist/request/SilentRequestHelpers.mjs.map +1 -0
  226. package/dist/response/ResponseHandler.mjs +1 -1
  227. package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
  228. package/dist/telemetry/BrowserPerformanceEvents.mjs +16 -2
  229. package/dist/telemetry/BrowserPerformanceEvents.mjs.map +1 -1
  230. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  231. package/dist/telemetry/BrowserRootPerformanceEvents.mjs +1 -1
  232. package/dist/utils/BrowserConstants.mjs +1 -1
  233. package/dist/utils/BrowserProtocolUtils.mjs +1 -1
  234. package/dist/utils/BrowserUtils.mjs +1 -1
  235. package/dist/utils/Helpers.mjs +1 -1
  236. package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
  237. package/dist/webBrokerBridge/PendingRequestRegistry.mjs +1 -1
  238. package/dist/webBrokerBridge/PerfEventNames.mjs +1 -1
  239. package/dist/webBrokerBridge/WebBrokerBridgeError.mjs +1 -1
  240. package/dist/webBrokerBridge/WebBrokerBridgeErrorMap.mjs +1 -1
  241. package/dist/webBrokerBridge/adapter/CrossVersionRequestAdapter.mjs +1 -1
  242. package/dist/webBrokerBridge/index.mjs +1 -1
  243. package/lib/custom-auth-path/log-strings-mapping.json +23 -11
  244. package/lib/custom-auth-path/msal-custom-auth.cjs +668 -234
  245. package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
  246. package/lib/custom-auth-path/msal-custom-auth.js +668 -234
  247. package/lib/custom-auth-path/msal-custom-auth.js.map +1 -1
  248. package/lib/log-strings-mapping.json +23 -11
  249. package/lib/msal-browser.cjs +670 -236
  250. package/lib/msal-browser.cjs.map +1 -1
  251. package/lib/msal-browser.js +670 -236
  252. package/lib/msal-browser.js.map +1 -1
  253. package/lib/msal-browser.min.js +2 -2
  254. package/lib/popup-relay/msal-popup-relay.cjs +2 -2
  255. package/lib/popup-relay/msal-popup-relay.cjs.map +1 -1
  256. package/lib/popup-relay/msal-popup-relay.js +2 -2
  257. package/lib/popup-relay/msal-popup-relay.js.map +1 -1
  258. package/lib/popup-relay/msal-popup-relay.min.js +1 -1
  259. package/lib/redirect-bridge/msal-redirect-bridge.cjs +10 -10
  260. package/lib/redirect-bridge/msal-redirect-bridge.cjs.map +1 -1
  261. package/lib/redirect-bridge/msal-redirect-bridge.js +10 -10
  262. package/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -1
  263. package/lib/redirect-bridge/msal-redirect-bridge.min.js +1 -1
  264. package/lib/web-broker-bridge/msal-web-broker-bridge.cjs +1 -1
  265. package/package.json +3 -3
  266. package/src/broker/nativeBroker/PlatformAuthDOMHandler.ts +177 -43
  267. package/src/broker/nativeBroker/PlatformAuthExtensionHandler.ts +261 -110
  268. package/src/broker/nativeBroker/PlatformAuthProvider.ts +92 -37
  269. package/src/cache/LocalStorage.ts +135 -28
  270. package/src/controllers/StandardController.ts +36 -37
  271. package/src/interaction_client/PlatformAuthInteractionClient.ts +56 -15
  272. package/src/packageMetadata.ts +1 -1
  273. package/src/request/SilentRequestHelpers.ts +218 -0
  274. package/src/telemetry/BrowserPerformanceEvents.ts +20 -0
  275. package/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts +2 -1
  276. package/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -1
  277. package/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +3 -1
  278. package/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -1
  279. package/types/broker/nativeBroker/PlatformAuthProvider.d.ts +1 -1
  280. package/types/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
  281. package/types/cache/LocalStorage.d.ts +4 -5
  282. package/types/cache/LocalStorage.d.ts.map +1 -1
  283. package/types/controllers/StandardController.d.ts.map +1 -1
  284. package/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  285. package/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  286. package/types/packageMetadata.d.ts +1 -1
  287. package/types/request/SilentRequestHelpers.d.ts +34 -0
  288. package/types/request/SilentRequestHelpers.d.ts.map +1 -0
  289. package/types/telemetry/BrowserPerformanceEvents.d.ts +13 -0
  290. package/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v5.23.0 2026-09-23 */
1
+ /*! @azure/msal-browser v5.25.0 2026-10-06 */
2
2
  'use strict';
3
3
  import { createBrowserConfigurationAuthError } from '../error/BrowserConfigurationAuthError.mjs';
4
4
  import { stubbedPublicClientApplicationCalled } from '../error/BrowserConfigurationAuthErrorCodes.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v5.23.0 2026-09-23 */
1
+ /*! @azure/msal-browser v5.25.0 2026-10-06 */
2
2
  'use strict';
3
3
  import { StandardController } from '../controllers/StandardController.mjs';
4
4
  import { StandardOperatingContext } from '../operatingcontext/StandardOperatingContext.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v5.23.0 2026-09-23 */
1
+ /*! @azure/msal-browser v5.25.0 2026-10-06 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,8 +1,9 @@
1
- /*! @azure/msal-browser v5.23.0 2026-09-23 */
1
+ /*! @azure/msal-browser v5.25.0 2026-10-06 */
2
2
  'use strict';
3
- import { createAuthError, AuthErrorCodes } from '@azure/msal-common/browser';
3
+ import { invokeAsync, invoke, createAuthError, AuthErrorCodes } from '@azure/msal-common/browser';
4
4
  import { PlatformAuthConstants } from '../../utils/BrowserConstants.mjs';
5
5
  import { createNativeAuthError } from '../../error/NativeAuthError.mjs';
6
+ import { PlatformAuthDOMCreateProvider, PlatformAuthDOMGetSupportedContracts, PlatformAuthDOMGetToken, PlatformAuthDOMInitializeRequest, PlatformAuthDOMValidateResponse } from '../../telemetry/BrowserPerformanceEvents.mjs';
6
7
 
7
8
  /*
8
9
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -17,17 +18,49 @@ class PlatformAuthDOMHandler {
17
18
  }
18
19
  static async createProvider(logger, performanceClient, correlationId) {
19
20
  logger.trace("12mj4a", correlationId);
20
- // @ts-ignore
21
- if (window.navigator?.platformAuthentication) {
22
- const supportedContracts =
23
- // @ts-ignore
24
- await window.navigator.platformAuthentication.getSupportedContracts(PlatformAuthConstants.MICROSOFT_ENTRA_BROKERID);
25
- if (supportedContracts?.includes(PlatformAuthConstants.PLATFORM_DOM_APIS)) {
21
+ const createProviderMeasurement = performanceClient.startMeasurement(PlatformAuthDOMCreateProvider, correlationId);
22
+ try {
23
+ const platformAuthentication = window.navigator.platformAuthentication;
24
+ if (!platformAuthentication) {
25
+ createProviderMeasurement.add({
26
+ platformAuthProviderAvailable: false,
27
+ });
28
+ createProviderMeasurement.end({
29
+ platformAuthProviderAvailable: false,
30
+ });
31
+ return undefined;
32
+ }
33
+ const supportedContracts = (await invokeAsync(platformAuthentication.getSupportedContracts.bind(platformAuthentication), PlatformAuthDOMGetSupportedContracts, logger, performanceClient, correlationId)(PlatformAuthConstants.MICROSOFT_ENTRA_BROKERID));
34
+ const contractSupported = supportedContracts?.includes(PlatformAuthConstants.PLATFORM_DOM_APIS);
35
+ if (contractSupported) {
26
36
  logger.trace("1h5q1r", correlationId);
37
+ createProviderMeasurement.add({
38
+ platformAuthProviderAvailable: true,
39
+ platformAuthProviderType: PlatformAuthConstants.PLATFORM_DOM_PROVIDER,
40
+ });
41
+ createProviderMeasurement.end({
42
+ platformAuthProviderAvailable: true,
43
+ platformAuthProviderType: PlatformAuthConstants.PLATFORM_DOM_PROVIDER,
44
+ });
27
45
  return new PlatformAuthDOMHandler(logger, performanceClient, correlationId);
28
46
  }
47
+ createProviderMeasurement.add({
48
+ platformAuthProviderAvailable: false,
49
+ });
50
+ createProviderMeasurement.end({
51
+ platformAuthProviderAvailable: false,
52
+ });
53
+ return undefined;
54
+ }
55
+ catch (e) {
56
+ createProviderMeasurement.add({
57
+ platformAuthProviderAvailable: false,
58
+ });
59
+ createProviderMeasurement.end({
60
+ platformAuthProviderAvailable: false,
61
+ }, e);
62
+ throw e;
29
63
  }
30
- return undefined;
31
64
  }
32
65
  /**
33
66
  * Returns the Id for the broker extension this handler is communicating with
@@ -48,31 +81,46 @@ class PlatformAuthDOMHandler {
48
81
  * @returns
49
82
  */
50
83
  async sendMessage(request) {
51
- this.logger.trace(`02bcil ${this.platformAuthType}`, request.correlationId);
84
+ const correlationId = this.getCorrelationId(request.correlationId);
85
+ const sendMessageMeasurement = this.performanceClient.startMeasurement(PlatformAuthDOMGetToken, correlationId);
86
+ sendMessageMeasurement.add({
87
+ platformAuthProviderType: this.platformAuthType,
88
+ });
89
+ this.logger.trace(`02bcil ${this.platformAuthType}`, correlationId);
52
90
  try {
53
- const platformDOMRequest = this.initializePlatformDOMRequest(request);
91
+ const platformDOMRequest = invoke(this.initializePlatformDOMRequest.bind(this), PlatformAuthDOMInitializeRequest, this.logger, this.performanceClient, correlationId)(request);
54
92
  const response =
55
93
  // @ts-ignore
56
94
  await window.navigator.platformAuthentication.executeGetToken(platformDOMRequest);
57
- return this.validatePlatformBrokerResponse(response, request.correlationId);
95
+ const validatedResponse = this.validatePlatformBrokerResponse(response, correlationId);
96
+ sendMessageMeasurement.end({
97
+ success: true,
98
+ platformAuthProviderType: this.platformAuthType,
99
+ });
100
+ return validatedResponse;
58
101
  }
59
102
  catch (e) {
60
- this.logger.error(`11im7g ${this.platformAuthType}`, request.correlationId);
103
+ this.logger.error(`11im7g ${this.platformAuthType}`, correlationId);
104
+ sendMessageMeasurement.end({
105
+ success: false,
106
+ platformAuthProviderType: this.platformAuthType,
107
+ }, e);
61
108
  throw e;
62
109
  }
63
110
  }
64
111
  initializePlatformDOMRequest(request) {
65
- this.logger.trace(`15d6yv ${this.platformAuthType}`, request.correlationId);
66
112
  const { accountId, clientId, authority, scope, redirectUri, correlationId, state, preferBinding, enclave, reqCnf, extraParametersNoCache, extraParameters, ...remainingProperties } = request;
113
+ const requestCorrelationId = this.getCorrelationId(correlationId);
114
+ this.logger.trace(`15d6yv ${this.platformAuthType}`, requestCorrelationId);
67
115
  delete remainingProperties.resourceRequestMethod;
68
116
  delete remainingProperties.resourceRequestUri;
69
- const validExtraParameters = this.getDOMExtraParams(remainingProperties, correlationId);
117
+ const validExtraParameters = this.getDOMExtraParams(remainingProperties, requestCorrelationId);
70
118
  const platformDOMRequest = {
71
119
  accountId: accountId,
72
120
  brokerId: this.getExtensionId(),
73
121
  authority: authority,
74
122
  clientId: clientId,
75
- correlationId: correlationId || this.correlationId,
123
+ correlationId: requestCorrelationId,
76
124
  extraParameters: {
77
125
  ...extraParameters,
78
126
  ...validExtraParameters,
@@ -89,32 +137,68 @@ class PlatformAuthDOMHandler {
89
137
  return platformDOMRequest;
90
138
  }
91
139
  validatePlatformBrokerResponse(response, correlationId) {
92
- if (response.hasOwnProperty("isSuccess")) {
93
- if (response.hasOwnProperty("accessToken") &&
94
- response.hasOwnProperty("idToken") &&
95
- response.hasOwnProperty("clientInfo") &&
96
- response.hasOwnProperty("account") &&
97
- response.hasOwnProperty("scopes") &&
98
- response.hasOwnProperty("expiresIn")) {
140
+ const validationMeasurement = this.performanceClient.startMeasurement(PlatformAuthDOMValidateResponse, correlationId);
141
+ const requiredKeys = [
142
+ "accessToken",
143
+ "idToken",
144
+ "clientInfo",
145
+ "account",
146
+ "scopes",
147
+ "expiresIn",
148
+ ];
149
+ const isValid = response &&
150
+ requiredKeys.every((key) => Object.prototype.hasOwnProperty.call(response, key));
151
+ if (response &&
152
+ Object.prototype.hasOwnProperty.call(response, "isSuccess")) {
153
+ if (isValid) {
99
154
  this.logger.trace(`0h4vei ${this.platformAuthType}`, correlationId);
100
- return this.convertToPlatformBrokerResponse(response, correlationId);
155
+ try {
156
+ const validatedResponse = this.convertToPlatformBrokerResponse(response, correlationId);
157
+ validationMeasurement.end({
158
+ success: true,
159
+ platformAuthProviderType: this.platformAuthType,
160
+ });
161
+ return validatedResponse;
162
+ }
163
+ catch (e) {
164
+ validationMeasurement.end({
165
+ success: false,
166
+ platformAuthProviderType: this.platformAuthType,
167
+ }, e);
168
+ throw e;
169
+ }
101
170
  }
102
- else if (response.hasOwnProperty("error")) {
171
+ else if (Object.prototype.hasOwnProperty.call(response, "error")) {
103
172
  const errorResponse = response;
104
173
  if (errorResponse.isSuccess === false &&
105
174
  errorResponse.error &&
106
175
  errorResponse.error.code) {
107
176
  this.logger.trace(`0g92vm ${this.platformAuthType}`, correlationId);
108
- throw createNativeAuthError(errorResponse.error.code, correlationId, errorResponse.error.description, {
177
+ const nativeAuthError = createNativeAuthError(errorResponse.error.code, correlationId, errorResponse.error.description, {
109
178
  error: parseInt(errorResponse.error.errorCode),
110
179
  protocol_error: errorResponse.error.protocolError,
111
180
  status: errorResponse.error.status,
112
181
  properties: errorResponse.error.properties,
113
182
  });
183
+ validationMeasurement.end({
184
+ success: false,
185
+ platformAuthProviderType: this.platformAuthType,
186
+ brokerErrorName: errorResponse.error.code,
187
+ brokerErrorCode: errorResponse.error.errorCode,
188
+ }, nativeAuthError);
189
+ throw nativeAuthError;
114
190
  }
115
191
  }
116
192
  }
117
- throw createAuthError(AuthErrorCodes.unexpectedError, correlationId, "Response missing expected properties.");
193
+ const error = createAuthError(AuthErrorCodes.unexpectedError, correlationId, "Response missing expected properties.");
194
+ validationMeasurement.end({
195
+ success: false,
196
+ platformAuthProviderType: this.platformAuthType,
197
+ }, error);
198
+ throw error;
199
+ }
200
+ getCorrelationId(correlationId) {
201
+ return correlationId || this.correlationId;
118
202
  }
119
203
  convertToPlatformBrokerResponse(response, correlationId) {
120
204
  this.logger.trace(`14913t ${this.platformAuthType}`, correlationId);
@@ -1 +1 @@
1
- {"version":3,"file":"PlatformAuthDOMHandler.mjs","sources":["../../../src/broker/nativeBroker/PlatformAuthDOMHandler.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;AAAA;;;AAGG;MAsBU,sBAAsB,CAAA;AAM/B,IAAA,WAAA,CACI,MAAc,EACd,iBAAqC,EAC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AAAC,QAAA,OAAO,CAAC,EAAE;AACR,YAAA,IAAI,CAAC,MAAM,CAAC,KAAK,CACb,CAAA,OAAQ,EAAC,IAAA,CAAA,gBAAgB,CAAA,CAAA,EAAA,aAAA,CAAA,CAAA;AAG7B,YAAA,IAAI,CAAC,MAAM,CAAC,QAAQ,CAChB,CAAA,OAAQ,EAAC,IAAA,CAAA;AAGb,YAAA,OAAO,EAAE,CAAC;AACb,QAAA,CAAA;IACL,CAAC;AACJ;;;;"}
1
+ {"version":3,"file":"PlatformAuthDOMHandler.mjs","sources":["../../../src/broker/nativeBroker/PlatformAuthDOMHandler.ts"],"sourcesContent":[null],"names":["BrowserPerformanceEvents.PlatformAuthDOMCreateProvider","BrowserPerformanceEvents.PlatformAuthDOMGetSupportedContracts","BrowserPerformanceEvents.PlatformAuthDOMGetToken","BrowserPerformanceEvents.PlatformAuthDOMInitializeRequest","BrowserPerformanceEvents.PlatformAuthDOMValidateResponse"],"mappings":";;;;;;;AAAA;;;AAGG;MAyBU,sBAAsB,CAAA;AAM/B,IAAA,WAAA,CACI,MAAc,EACd,iBAAqC,EACrC,aAAqB,EAAA;AAErB,QAAA,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;AACrB,QAAA,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;AAC3C,QAAA,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;AACnC,QAAA,IAAI,CAAC,gBAAgB,GAAG,qBAAqB,CAAC,qBAAqB,CAAC;IACxE,CAAC;IAED,aAAa,cAAc,CACvB,MAAc,EACd,iBAAqC,EACrC,aAAqB,EAAA;AAErB,QAAA,MAAM,CAAC,KAAK,CACR;AAGJ,QAAA,MAAM,yBAAyB,GAAG,iBAAiB,CAAC,gBAAgB,CAChEA,6BAAsD,EACtD,aAAa,CAChB,CAAC;QAEF,IAAI;AACA,YAAA,MAAM,sBAAsB,GACxB,MAAM,CAAC,SAOV,CAAC,sBAAsB,CAAC;YACzB,IAAI,CAAC,sBAAsB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