@azure/msal-browser 4.26.2 → 4.27.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 (286) hide show
  1. package/dist/app/IPublicClientApplication.mjs +1 -1
  2. package/dist/app/PublicClientApplication.mjs +1 -1
  3. package/dist/app/PublicClientNext.mjs +1 -1
  4. package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
  5. package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
  6. package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
  7. package/dist/broker/nativeBroker/PlatformAuthProvider.d.ts +2 -8
  8. package/dist/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
  9. package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +11 -25
  10. package/dist/broker/nativeBroker/PlatformAuthProvider.mjs.map +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 +2 -3
  16. package/dist/cache/CacheKeys.mjs.map +1 -1
  17. package/dist/cache/CookieStorage.mjs +1 -1
  18. package/dist/cache/DatabaseStorage.mjs +1 -1
  19. package/dist/cache/EncryptedData.mjs +1 -1
  20. package/dist/cache/LocalStorage.mjs +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.d.ts +4 -0
  25. package/dist/config/Configuration.d.ts.map +1 -1
  26. package/dist/config/Configuration.mjs +2 -1
  27. package/dist/config/Configuration.mjs.map +1 -1
  28. package/dist/controllers/ControllerFactory.mjs +1 -1
  29. package/dist/controllers/NestedAppAuthController.mjs +1 -1
  30. package/dist/controllers/StandardController.d.ts.map +1 -1
  31. package/dist/controllers/StandardController.mjs +2 -2
  32. package/dist/controllers/StandardController.mjs.map +1 -1
  33. package/dist/controllers/UnknownOperatingContextController.mjs +1 -1
  34. package/dist/crypto/BrowserCrypto.mjs +1 -1
  35. package/dist/crypto/CryptoOps.mjs +1 -1
  36. package/dist/crypto/PkceGenerator.mjs +1 -1
  37. package/dist/crypto/SignedHttpRequest.mjs +1 -1
  38. package/dist/custom-auth-path/app/PublicClientApplication.mjs +1 -1
  39. package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
  40. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
  41. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
  42. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.d.ts +2 -8
  43. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
  44. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs +9 -23
  45. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs.map +1 -1
  46. package/dist/custom-auth-path/cache/AccountManager.mjs +1 -1
  47. package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs +1 -1
  48. package/dist/custom-auth-path/cache/BrowserCacheManager.mjs +1 -1
  49. package/dist/custom-auth-path/cache/CacheHelpers.mjs +1 -1
  50. package/dist/custom-auth-path/cache/CacheKeys.mjs +2 -3
  51. package/dist/custom-auth-path/cache/CacheKeys.mjs.map +1 -1
  52. package/dist/custom-auth-path/cache/CookieStorage.mjs +1 -1
  53. package/dist/custom-auth-path/cache/DatabaseStorage.mjs +1 -1
  54. package/dist/custom-auth-path/cache/EncryptedData.mjs +1 -1
  55. package/dist/custom-auth-path/cache/LocalStorage.mjs +1 -1
  56. package/dist/custom-auth-path/cache/MemoryStorage.mjs +1 -1
  57. package/dist/custom-auth-path/cache/SessionStorage.mjs +1 -1
  58. package/dist/custom-auth-path/cache/TokenCache.mjs +1 -1
  59. package/dist/custom-auth-path/config/Configuration.d.ts +4 -0
  60. package/dist/custom-auth-path/config/Configuration.d.ts.map +1 -1
  61. package/dist/custom-auth-path/config/Configuration.mjs +2 -1
  62. package/dist/custom-auth-path/config/Configuration.mjs.map +1 -1
  63. package/dist/custom-auth-path/controllers/ControllerFactory.mjs +1 -1
  64. package/dist/custom-auth-path/controllers/StandardController.d.ts.map +1 -1
  65. package/dist/custom-auth-path/controllers/StandardController.mjs +2 -2
  66. package/dist/custom-auth-path/controllers/StandardController.mjs.map +1 -1
  67. package/dist/custom-auth-path/crypto/BrowserCrypto.mjs +1 -1
  68. package/dist/custom-auth-path/crypto/CryptoOps.mjs +1 -1
  69. package/dist/custom-auth-path/crypto/PkceGenerator.mjs +1 -1
  70. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts +1 -1
  71. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs +1 -1
  72. package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
  73. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +1 -1
  74. package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs +1 -1
  75. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +1 -1
  76. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
  77. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
  78. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +1 -1
  79. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +1 -1
  80. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
  81. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
  82. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
  83. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
  84. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
  85. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +1 -1
  86. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +1 -1
  87. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +1 -1
  88. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
  89. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
  90. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +1 -1
  91. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
  92. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs +1 -1
  93. package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs +1 -1
  94. package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
  95. package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
  96. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
  97. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
  98. package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
  99. package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
  100. package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
  101. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs +1 -1
  102. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
  103. package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs +1 -1
  104. package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
  105. package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
  106. package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
  107. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
  108. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
  109. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs +1 -1
  110. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +1 -1
  111. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.mjs +1 -1
  112. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +1 -1
  113. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
  114. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
  115. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
  116. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
  117. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
  118. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +1 -1
  119. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
  120. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
  121. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
  122. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
  123. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
  124. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs +1 -1
  125. package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
  126. package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs +1 -1
  127. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
  128. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
  129. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
  130. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
  131. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
  132. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
  133. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
  134. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
  135. package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
  136. package/dist/custom-auth-path/custom_auth/index.mjs +1 -1
  137. package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
  138. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
  139. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
  140. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
  141. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
  142. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
  143. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
  144. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
  145. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
  146. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
  147. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
  148. package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
  149. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
  150. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
  151. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
  152. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
  153. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
  154. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
  155. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +1 -1
  156. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
  157. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
  158. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
  159. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
  160. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
  161. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +1 -1
  162. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
  163. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
  164. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
  165. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
  166. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
  167. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
  168. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
  169. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
  170. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
  171. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
  172. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
  173. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
  174. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
  175. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
  176. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
  177. package/dist/custom-auth-path/encode/Base64Decode.mjs +1 -1
  178. package/dist/custom-auth-path/encode/Base64Encode.mjs +1 -1
  179. package/dist/custom-auth-path/error/BrowserAuthError.mjs +1 -1
  180. package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +1 -1
  181. package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs +1 -1
  182. package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  183. package/dist/custom-auth-path/error/NativeAuthError.mjs +1 -1
  184. package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +1 -1
  185. package/dist/custom-auth-path/event/EventHandler.mjs +1 -1
  186. package/dist/custom-auth-path/event/EventType.mjs +1 -1
  187. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +1 -1
  188. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  189. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
  190. package/dist/custom-auth-path/interaction_client/PopupClient.mjs +1 -1
  191. package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +1 -1
  192. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +1 -1
  193. package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +1 -1
  194. package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +1 -1
  195. package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +1 -1
  196. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +1 -1
  197. package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +1 -1
  198. package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +1 -1
  199. package/dist/custom-auth-path/navigation/NavigationClient.mjs +1 -1
  200. package/dist/custom-auth-path/network/FetchClient.mjs +1 -1
  201. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +1 -1
  202. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +1 -1
  203. package/dist/custom-auth-path/packageMetadata.d.ts +1 -1
  204. package/dist/custom-auth-path/packageMetadata.mjs +2 -2
  205. package/dist/custom-auth-path/protocol/Authorize.mjs +1 -1
  206. package/dist/custom-auth-path/request/RequestHelpers.mjs +1 -1
  207. package/dist/custom-auth-path/response/ResponseHandler.mjs +1 -1
  208. package/dist/custom-auth-path/utils/BrowserConstants.mjs +1 -1
  209. package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +1 -1
  210. package/dist/custom-auth-path/utils/BrowserUtils.mjs +1 -1
  211. package/dist/custom-auth-path/utils/Helpers.mjs +1 -1
  212. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +1 -1
  213. package/dist/custom_auth/CustomAuthConstants.d.ts +1 -1
  214. package/dist/encode/Base64Decode.mjs +1 -1
  215. package/dist/encode/Base64Encode.mjs +1 -1
  216. package/dist/error/BrowserAuthError.mjs +1 -1
  217. package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
  218. package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
  219. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  220. package/dist/error/NativeAuthError.mjs +1 -1
  221. package/dist/error/NativeAuthErrorCodes.mjs +1 -1
  222. package/dist/error/NestedAppAuthError.mjs +1 -1
  223. package/dist/event/EventHandler.mjs +1 -1
  224. package/dist/event/EventMessage.mjs +1 -1
  225. package/dist/event/EventType.mjs +1 -1
  226. package/dist/index.mjs +1 -1
  227. package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
  228. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  229. package/dist/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
  230. package/dist/interaction_client/PopupClient.mjs +1 -1
  231. package/dist/interaction_client/RedirectClient.mjs +1 -1
  232. package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
  233. package/dist/interaction_client/SilentCacheClient.mjs +1 -1
  234. package/dist/interaction_client/SilentIframeClient.mjs +1 -1
  235. package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
  236. package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
  237. package/dist/interaction_handler/InteractionHandler.mjs +1 -1
  238. package/dist/interaction_handler/SilentHandler.mjs +1 -1
  239. package/dist/naa/BridgeError.mjs +1 -1
  240. package/dist/naa/BridgeProxy.mjs +1 -1
  241. package/dist/naa/BridgeStatusCode.mjs +1 -1
  242. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
  243. package/dist/navigation/NavigationClient.mjs +1 -1
  244. package/dist/network/FetchClient.mjs +1 -1
  245. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  246. package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
  247. package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
  248. package/dist/operatingcontext/UnknownOperatingContext.mjs +1 -1
  249. package/dist/packageMetadata.d.ts +1 -1
  250. package/dist/packageMetadata.mjs +2 -2
  251. package/dist/protocol/Authorize.mjs +1 -1
  252. package/dist/request/RequestHelpers.mjs +1 -1
  253. package/dist/response/ResponseHandler.mjs +1 -1
  254. package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
  255. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  256. package/dist/utils/BrowserConstants.mjs +1 -1
  257. package/dist/utils/BrowserProtocolUtils.mjs +1 -1
  258. package/dist/utils/BrowserUtils.mjs +1 -1
  259. package/dist/utils/Helpers.mjs +1 -1
  260. package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
  261. package/lib/custom-auth-path/msal-custom-auth.cjs +76 -86
  262. package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
  263. package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthProvider.d.ts +2 -8
  264. package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
  265. package/lib/custom-auth-path/types/config/Configuration.d.ts +4 -0
  266. package/lib/custom-auth-path/types/config/Configuration.d.ts.map +1 -1
  267. package/lib/custom-auth-path/types/controllers/StandardController.d.ts.map +1 -1
  268. package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  269. package/lib/custom-auth-path/types/packageMetadata.d.ts +1 -1
  270. package/lib/msal-browser.cjs +85 -90
  271. package/lib/msal-browser.cjs.map +1 -1
  272. package/lib/msal-browser.js +85 -90
  273. package/lib/msal-browser.js.map +1 -1
  274. package/lib/msal-browser.min.js +66 -66
  275. package/lib/types/broker/nativeBroker/PlatformAuthProvider.d.ts +2 -8
  276. package/lib/types/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
  277. package/lib/types/config/Configuration.d.ts +4 -0
  278. package/lib/types/config/Configuration.d.ts.map +1 -1
  279. package/lib/types/controllers/StandardController.d.ts.map +1 -1
  280. package/lib/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  281. package/lib/types/packageMetadata.d.ts +1 -1
  282. package/package.json +2 -2
  283. package/src/broker/nativeBroker/PlatformAuthProvider.ts +21 -23
  284. package/src/config/Configuration.ts +5 -0
  285. package/src/controllers/StandardController.ts +2 -1
  286. package/src/packageMetadata.ts +1 -1
@@ -1,8 +1,8 @@
1
- /*! @azure/msal-browser v4.26.2 2025-11-19 */
1
+ /*! @azure/msal-browser v4.27.0 2025-12-04 */
2
2
  'use strict';
3
3
  'use strict';
4
4
 
5
- /*! @azure/msal-common v15.13.2 2025-11-19 */
5
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
6
6
  /*
7
7
  * Copyright (c) Microsoft Corporation. All rights reserved.
8
8
  * Licensed under the MIT License.
@@ -279,7 +279,7 @@ const JsonWebTokenTypes = {
279
279
  // Token renewal offset default in seconds
280
280
  const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
281
281
 
282
- /*! @azure/msal-common v15.13.2 2025-11-19 */
282
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
283
283
  /*
284
284
  * Copyright (c) Microsoft Corporation. All rights reserved.
285
285
  * Licensed under the MIT License.
@@ -296,7 +296,7 @@ var AuthErrorCodes = /*#__PURE__*/Object.freeze({
296
296
  unexpectedError: unexpectedError
297
297
  });
298
298
 
299
- /*! @azure/msal-common v15.13.2 2025-11-19 */
299
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
300
300
 
301
301
  /*
302
302
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -345,7 +345,7 @@ function createAuthError(code, additionalMessage) {
345
345
  : AuthErrorMessages[code]);
346
346
  }
347
347
 
348
- /*! @azure/msal-common v15.13.2 2025-11-19 */
348
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
349
349
  /*
350
350
  * Copyright (c) Microsoft Corporation. All rights reserved.
351
351
  * Licensed under the MIT License.
@@ -445,7 +445,7 @@ var ClientAuthErrorCodes = /*#__PURE__*/Object.freeze({
445
445
  userTimeoutReached: userTimeoutReached
446
446
  });
447
447
 
448
- /*! @azure/msal-common v15.13.2 2025-11-19 */
448
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
449
449
 
450
450
  /*
451
451
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -702,7 +702,7 @@ function createClientAuthError(errorCode, additionalMessage) {
702
702
  return new ClientAuthError(errorCode, additionalMessage);
703
703
  }
704
704
 
705
- /*! @azure/msal-common v15.13.2 2025-11-19 */
705
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
706
706
 
707
707
  /*
708
708
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -741,7 +741,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
741
741
  },
742
742
  };
743
743
 
744
- /*! @azure/msal-common v15.13.2 2025-11-19 */
744
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
745
745
 
746
746
  /*
747
747
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -932,12 +932,12 @@ class Logger {
932
932
  }
933
933
  }
934
934
 
935
- /*! @azure/msal-common v15.13.2 2025-11-19 */
935
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
936
936
  /* eslint-disable header/header */
937
937
  const name$1 = "@azure/msal-common";
938
- const version$1 = "15.13.2";
938
+ const version$1 = "15.13.3";
939
939
 
940
- /*! @azure/msal-common v15.13.2 2025-11-19 */
940
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
941
941
  /*
942
942
  * Copyright (c) Microsoft Corporation. All rights reserved.
943
943
  * Licensed under the MIT License.
@@ -957,7 +957,7 @@ const AzureCloudInstance = {
957
957
  AzureUsGovernment: "https://login.microsoftonline.us",
958
958
  };
959
959
 
960
- /*! @azure/msal-common v15.13.2 2025-11-19 */
960
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
961
961
  /*
962
962
  * Copyright (c) Microsoft Corporation. All rights reserved.
963
963
  * Licensed under the MIT License.
@@ -984,7 +984,8 @@ const cannotSetOIDCOptions = "cannot_set_OIDCOptions";
984
984
  const cannotAllowPlatformBroker = "cannot_allow_platform_broker";
985
985
  const authorityMismatch = "authority_mismatch";
986
986
  const invalidRequestMethodForEAR = "invalid_request_method_for_EAR";
987
- const invalidAuthorizePostBodyParameters = "invalid_authorize_post_body_parameters";
987
+ const invalidAuthorizePostBodyParameters = "invalid_authorize_post_body_parameters";
988
+ const invalidPlatformBrokerConfiguration = "invalid_platform_broker_configuration";
988
989
 
989
990
  var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
990
991
  __proto__: null,
@@ -1000,6 +1001,7 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
1000
1001
  invalidClaims: invalidClaims,
1001
1002
  invalidCloudDiscoveryMetadata: invalidCloudDiscoveryMetadata,
1002
1003
  invalidCodeChallengeMethod: invalidCodeChallengeMethod,
1004
+ invalidPlatformBrokerConfiguration: invalidPlatformBrokerConfiguration,
1003
1005
  invalidRequestMethodForEAR: invalidRequestMethodForEAR,
1004
1006
  logoutRequestEmpty: logoutRequestEmpty,
1005
1007
  missingNonceAuthenticationHeader: missingNonceAuthenticationHeader,
@@ -1013,7 +1015,7 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
1013
1015
  urlParseError: urlParseError
1014
1016
  });
1015
1017
 
1016
- /*! @azure/msal-common v15.13.2 2025-11-19 */
1018
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
1017
1019
 
1018
1020
  /*
1019
1021
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1043,6 +1045,7 @@ const ClientConfigurationErrorMessages = {
1043
1045
  [authorityMismatch]: "Authority mismatch error. Authority provided in login request or PublicClientApplication config does not match the environment of the provided account. Please use a matching account or make an interactive request to login to this authority.",
1044
1046
  [invalidAuthorizePostBodyParameters]: "Invalid authorize post body parameters provided. If you are using authorizePostBodyParameters, the request method must be POST. Please check the request method and parameters.",
1045
1047
  [invalidRequestMethodForEAR]: "Invalid request method for EAR protocol mode. The request method cannot be GET when using EAR protocol mode. Please change the request method to POST.",
1048
+ [invalidPlatformBrokerConfiguration]: "Invalid platform broker configuration. `allowPlatformBrokerWithDOM` can only be enabled when `allowPlatformBroker` is enabled.",
1046
1049
  };
1047
1050
  /**
1048
1051
  * ClientConfigurationErrorMessage class containing string constants used by error codes and messages.
@@ -1141,6 +1144,10 @@ const ClientConfigurationErrorMessage = {
1141
1144
  code: invalidRequestMethodForEAR,
1142
1145
  desc: ClientConfigurationErrorMessages[invalidRequestMethodForEAR],
1143
1146
  },
1147
+ invalidPlatformBrokerConfiguration: {
1148
+ code: invalidPlatformBrokerConfiguration,
1149
+ desc: ClientConfigurationErrorMessages[invalidPlatformBrokerConfiguration],
1150
+ },
1144
1151
  };
1145
1152
  /**
1146
1153
  * Error thrown when there is an error in configuration of the MSAL.js library.
@@ -1156,7 +1163,7 @@ function createClientConfigurationError(errorCode) {
1156
1163
  return new ClientConfigurationError(errorCode);
1157
1164
  }
1158
1165
 
1159
- /*! @azure/msal-common v15.13.2 2025-11-19 */
1166
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
1160
1167
  /*
1161
1168
  * Copyright (c) Microsoft Corporation. All rights reserved.
1162
1169
  * Licensed under the MIT License.
@@ -1253,7 +1260,7 @@ class StringUtils {
1253
1260
  }
1254
1261
  }
1255
1262
 
1256
- /*! @azure/msal-common v15.13.2 2025-11-19 */
1263
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
1257
1264
 
1258
1265
  /*
1259
1266
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1448,7 +1455,7 @@ class ScopeSet {
1448
1455
  }
1449
1456
  }
1450
1457
 
1451
- /*! @azure/msal-common v15.13.2 2025-11-19 */
1458
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
1452
1459
 
1453
1460
  /*
1454
1461
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1488,7 +1495,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
1488
1495
  };
1489
1496
  }
1490
1497
 
1491
- /*! @azure/msal-common v15.13.2 2025-11-19 */
1498
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
1492
1499
  /*
1493
1500
  * Copyright (c) Microsoft Corporation. All rights reserved.
1494
1501
  * Licensed under the MIT License.
@@ -1570,7 +1577,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
1570
1577
  return updatedAccountInfo;
1571
1578
  }
1572
1579
 
1573
- /*! @azure/msal-common v15.13.2 2025-11-19 */
1580
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
1574
1581
  /*
1575
1582
  * Copyright (c) Microsoft Corporation. All rights reserved.
1576
1583
  * Licensed under the MIT License.
@@ -1585,7 +1592,7 @@ const AuthorityType = {
1585
1592
  Ciam: 3,
1586
1593
  };
1587
1594
 
1588
- /*! @azure/msal-common v15.13.2 2025-11-19 */
1595
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
1589
1596
  /*
1590
1597
  * Copyright (c) Microsoft Corporation. All rights reserved.
1591
1598
  * Licensed under the MIT License.
@@ -1607,7 +1614,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
1607
1614
  return null;
1608
1615
  }
1609
1616
 
1610
- /*! @azure/msal-common v15.13.2 2025-11-19 */
1617
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
1611
1618
  /*
1612
1619
  * Copyright (c) Microsoft Corporation. All rights reserved.
1613
1620
  * Licensed under the MIT License.
@@ -1631,7 +1638,7 @@ const ProtocolMode = {
1631
1638
  EAR: "EAR",
1632
1639
  };
1633
1640
 
1634
- /*! @azure/msal-common v15.13.2 2025-11-19 */
1641
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
1635
1642
 
1636
1643
  /*
1637
1644
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1852,7 +1859,7 @@ class AccountEntity {
1852
1859
  }
1853
1860
  }
1854
1861
 
1855
- /*! @azure/msal-common v15.13.2 2025-11-19 */
1862
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
1856
1863
 
1857
1864
  /*
1858
1865
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1933,7 +1940,7 @@ function checkMaxAge(authTime, maxAge) {
1933
1940
  }
1934
1941
  }
1935
1942
 
1936
- /*! @azure/msal-common v15.13.2 2025-11-19 */
1943
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
1937
1944
 
1938
1945
  /*
1939
1946
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2049,7 +2056,7 @@ function normalizeUrlForComparison(url) {
2049
2056
  }
2050
2057
  }
2051
2058
 
2052
- /*! @azure/msal-common v15.13.2 2025-11-19 */
2059
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
2053
2060
 
2054
2061
  /*
2055
2062
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2213,7 +2220,7 @@ class UrlString {
2213
2220
  }
2214
2221
  }
2215
2222
 
2216
- /*! @azure/msal-common v15.13.2 2025-11-19 */
2223
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
2217
2224
 
2218
2225
  /*
2219
2226
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2352,7 +2359,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
2352
2359
  return null;
2353
2360
  }
2354
2361
 
2355
- /*! @azure/msal-common v15.13.2 2025-11-19 */
2362
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
2356
2363
  /*
2357
2364
  * Copyright (c) Microsoft Corporation. All rights reserved.
2358
2365
  * Licensed under the MIT License.
@@ -2360,7 +2367,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
2360
2367
  const cacheQuotaExceeded = "cache_quota_exceeded";
2361
2368
  const cacheErrorUnknown = "cache_error_unknown";
2362
2369
 
2363
- /*! @azure/msal-common v15.13.2 2025-11-19 */
2370
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
2364
2371
 
2365
2372
  /*
2366
2373
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2405,7 +2412,7 @@ function createCacheError(e) {
2405
2412
  }
2406
2413
  }
2407
2414
 
2408
- /*! @azure/msal-common v15.13.2 2025-11-19 */
2415
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
2409
2416
 
2410
2417
  /*
2411
2418
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3515,7 +3522,7 @@ class DefaultStorageClass extends CacheManager {
3515
3522
  }
3516
3523
  }
3517
3524
 
3518
- /*! @azure/msal-common v15.13.2 2025-11-19 */
3525
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
3519
3526
  /*
3520
3527
  * Copyright (c) Microsoft Corporation. All rights reserved.
3521
3528
  * Licensed under the MIT License.
@@ -4037,7 +4044,7 @@ const IntFields = new Set([
4037
4044
  "upgradedCacheCount",
4038
4045
  ]);
4039
4046
 
4040
- /*! @azure/msal-common v15.13.2 2025-11-19 */
4047
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
4041
4048
 
4042
4049
  /*
4043
4050
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4116,7 +4123,7 @@ class StubPerformanceClient {
4116
4123
  }
4117
4124
  }
4118
4125
 
4119
- /*! @azure/msal-common v15.13.2 2025-11-19 */
4126
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
4120
4127
 
4121
4128
  /*
4122
4129
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4216,7 +4223,7 @@ function isOidcProtocolMode(config) {
4216
4223
  return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
4217
4224
  }
4218
4225
 
4219
- /*! @azure/msal-common v15.13.2 2025-11-19 */
4226
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
4220
4227
  /*
4221
4228
  * Copyright (c) Microsoft Corporation. All rights reserved.
4222
4229
  * Licensed under the MIT License.
@@ -4226,7 +4233,7 @@ const CcsCredentialType = {
4226
4233
  UPN: "UPN",
4227
4234
  };
4228
4235
 
4229
- /*! @azure/msal-common v15.13.2 2025-11-19 */
4236
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
4230
4237
  /*
4231
4238
  * Copyright (c) Microsoft Corporation. All rights reserved.
4232
4239
  * Licensed under the MIT License.
@@ -4276,7 +4283,7 @@ const INSTANCE_AWARE = "instance_aware";
4276
4283
  const EAR_JWK = "ear_jwk";
4277
4284
  const EAR_JWE_CRYPTO = "ear_jwe_crypto";
4278
4285
 
4279
- /*! @azure/msal-common v15.13.2 2025-11-19 */
4286
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
4280
4287
 
4281
4288
  /*
4282
4289
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4656,7 +4663,7 @@ function addPostBodyParameters(parameters, bodyParameters) {
4656
4663
  });
4657
4664
  }
4658
4665
 
4659
- /*! @azure/msal-common v15.13.2 2025-11-19 */
4666
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
4660
4667
  /*
4661
4668
  * Copyright (c) Microsoft Corporation. All rights reserved.
4662
4669
  * Licensed under the MIT License.
@@ -4668,7 +4675,7 @@ function isOpenIdConfigResponse(response) {
4668
4675
  response.hasOwnProperty("jwks_uri"));
4669
4676
  }
4670
4677
 
4671
- /*! @azure/msal-common v15.13.2 2025-11-19 */
4678
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
4672
4679
  /*
4673
4680
  * Copyright (c) Microsoft Corporation. All rights reserved.
4674
4681
  * Licensed under the MIT License.
@@ -4678,7 +4685,7 @@ function isCloudInstanceDiscoveryResponse(response) {
4678
4685
  response.hasOwnProperty("metadata"));
4679
4686
  }
4680
4687
 
4681
- /*! @azure/msal-common v15.13.2 2025-11-19 */
4688
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
4682
4689
  /*
4683
4690
  * Copyright (c) Microsoft Corporation. All rights reserved.
4684
4691
  * Licensed under the MIT License.
@@ -4688,7 +4695,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
4688
4695
  response.hasOwnProperty("error_description"));
4689
4696
  }
4690
4697
 
4691
- /*! @azure/msal-common v15.13.2 2025-11-19 */
4698
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
4692
4699
  /*
4693
4700
  * Copyright (c) Microsoft Corporation. All rights reserved.
4694
4701
  * Licensed under the MIT License.
@@ -4784,7 +4791,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
4784
4791
  };
4785
4792
  };
4786
4793
 
4787
- /*! @azure/msal-common v15.13.2 2025-11-19 */
4794
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
4788
4795
 
4789
4796
  /*
4790
4797
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4890,7 +4897,7 @@ RegionDiscovery.IMDS_OPTIONS = {
4890
4897
  },
4891
4898
  };
4892
4899
 
4893
- /*! @azure/msal-common v15.13.2 2025-11-19 */
4900
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
4894
4901
  /*
4895
4902
  * Copyright (c) Microsoft Corporation. All rights reserved.
4896
4903
  * Licensed under the MIT License.
@@ -4955,7 +4962,7 @@ function wasClockTurnedBack(cachedAt) {
4955
4962
  return cachedAtSec > nowSeconds();
4956
4963
  }
4957
4964
 
4958
- /*! @azure/msal-common v15.13.2 2025-11-19 */
4965
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
4959
4966
 
4960
4967
  /*
4961
4968
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5217,7 +5224,7 @@ function isAuthorityMetadataExpired(metadata) {
5217
5224
  return metadata.expiresAt <= nowSeconds();
5218
5225
  }
5219
5226
 
5220
- /*! @azure/msal-common v15.13.2 2025-11-19 */
5227
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
5221
5228
 
5222
5229
  /*
5223
5230
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6056,7 +6063,7 @@ function buildStaticAuthorityOptions(authOptions) {
6056
6063
  };
6057
6064
  }
6058
6065
 
6059
- /*! @azure/msal-common v15.13.2 2025-11-19 */
6066
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
6060
6067
 
6061
6068
  /*
6062
6069
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6087,7 +6094,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
6087
6094
  }
6088
6095
  }
6089
6096
 
6090
- /*! @azure/msal-common v15.13.2 2025-11-19 */
6097
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
6091
6098
 
6092
6099
  /*
6093
6100
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6106,7 +6113,7 @@ class ServerError extends AuthError {
6106
6113
  }
6107
6114
  }
6108
6115
 
6109
- /*! @azure/msal-common v15.13.2 2025-11-19 */
6116
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
6110
6117
  /*
6111
6118
  * Copyright (c) Microsoft Corporation. All rights reserved.
6112
6119
  * Licensed under the MIT License.
@@ -6127,7 +6134,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
6127
6134
  };
6128
6135
  }
6129
6136
 
6130
- /*! @azure/msal-common v15.13.2 2025-11-19 */
6137
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
6131
6138
 
6132
6139
  /*
6133
6140
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6214,7 +6221,7 @@ class ThrottlingUtils {
6214
6221
  }
6215
6222
  }
6216
6223
 
6217
- /*! @azure/msal-common v15.13.2 2025-11-19 */
6224
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
6218
6225
 
6219
6226
  /*
6220
6227
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6245,7 +6252,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
6245
6252
  return new NetworkError(error, httpStatus, responseHeaders);
6246
6253
  }
6247
6254
 
6248
- /*! @azure/msal-common v15.13.2 2025-11-19 */
6255
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
6249
6256
 
6250
6257
  /*
6251
6258
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6393,7 +6400,7 @@ class BaseClient {
6393
6400
  }
6394
6401
  }
6395
6402
 
6396
- /*! @azure/msal-common v15.13.2 2025-11-19 */
6403
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
6397
6404
  /*
6398
6405
  * Copyright (c) Microsoft Corporation. All rights reserved.
6399
6406
  * Licensed under the MIT License.
@@ -6421,7 +6428,7 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
6421
6428
  uxNotAllowed: uxNotAllowed
6422
6429
  });
6423
6430
 
6424
- /*! @azure/msal-common v15.13.2 2025-11-19 */
6431
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
6425
6432
 
6426
6433
  /*
6427
6434
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6511,7 +6518,7 @@ function createInteractionRequiredAuthError(errorCode) {
6511
6518
  return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
6512
6519
  }
6513
6520
 
6514
- /*! @azure/msal-common v15.13.2 2025-11-19 */
6521
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
6515
6522
 
6516
6523
  /*
6517
6524
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6583,7 +6590,7 @@ class ProtocolUtils {
6583
6590
  }
6584
6591
  }
6585
6592
 
6586
- /*! @azure/msal-common v15.13.2 2025-11-19 */
6593
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
6587
6594
 
6588
6595
  /*
6589
6596
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6665,7 +6672,7 @@ class PopTokenGenerator {
6665
6672
  }
6666
6673
  }
6667
6674
 
6668
- /*! @azure/msal-common v15.13.2 2025-11-19 */
6675
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
6669
6676
  /*
6670
6677
  * Copyright (c) Microsoft Corporation. All rights reserved.
6671
6678
  * Licensed under the MIT License.
@@ -6692,7 +6699,7 @@ class PopTokenGenerator {
6692
6699
  }
6693
6700
  }
6694
6701
 
6695
- /*! @azure/msal-common v15.13.2 2025-11-19 */
6702
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
6696
6703
 
6697
6704
  /*
6698
6705
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7023,7 +7030,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
7023
7030
  return baseAccount;
7024
7031
  }
7025
7032
 
7026
- /*! @azure/msal-common v15.13.2 2025-11-19 */
7033
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
7027
7034
  /*
7028
7035
  * Copyright (c) Microsoft Corporation. All rights reserved.
7029
7036
  * Licensed under the MIT License.
@@ -7041,7 +7048,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
7041
7048
  }
7042
7049
  }
7043
7050
 
7044
- /*! @azure/msal-common v15.13.2 2025-11-19 */
7051
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
7045
7052
 
7046
7053
  /*
7047
7054
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7276,7 +7283,7 @@ class AuthorizationCodeClient extends BaseClient {
7276
7283
  }
7277
7284
  }
7278
7285
 
7279
- /*! @azure/msal-common v15.13.2 2025-11-19 */
7286
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
7280
7287
 
7281
7288
  /*
7282
7289
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7485,7 +7492,7 @@ class RefreshTokenClient extends BaseClient {
7485
7492
  }
7486
7493
  }
7487
7494
 
7488
- /*! @azure/msal-common v15.13.2 2025-11-19 */
7495
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
7489
7496
 
7490
7497
  /*
7491
7498
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7583,7 +7590,7 @@ class SilentFlowClient extends BaseClient {
7583
7590
  }
7584
7591
  }
7585
7592
 
7586
- /*! @azure/msal-common v15.13.2 2025-11-19 */
7593
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
7587
7594
 
7588
7595
  /*
7589
7596
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7598,7 +7605,7 @@ const StubbedNetworkModule = {
7598
7605
  },
7599
7606
  };
7600
7607
 
7601
- /*! @azure/msal-common v15.13.2 2025-11-19 */
7608
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
7602
7609
 
7603
7610
  /*
7604
7611
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7822,7 +7829,7 @@ function extractLoginHint(account) {
7822
7829
  return account.loginHint || account.idTokenClaims?.login_hint || null;
7823
7830
  }
7824
7831
 
7825
- /*! @azure/msal-common v15.13.2 2025-11-19 */
7832
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
7826
7833
 
7827
7834
  /*
7828
7835
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7880,7 +7887,7 @@ class AuthenticationHeaderParser {
7880
7887
  }
7881
7888
  }
7882
7889
 
7883
- /*! @azure/msal-common v15.13.2 2025-11-19 */
7890
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
7884
7891
 
7885
7892
  /*
7886
7893
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8143,7 +8150,7 @@ class ServerTelemetryManager {
8143
8150
  }
8144
8151
  }
8145
8152
 
8146
- /*! @azure/msal-common v15.13.2 2025-11-19 */
8153
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
8147
8154
  /*
8148
8155
  * Copyright (c) Microsoft Corporation. All rights reserved.
8149
8156
  * Licensed under the MIT License.
@@ -8151,7 +8158,7 @@ class ServerTelemetryManager {
8151
8158
  const missingKidError = "missing_kid_error";
8152
8159
  const missingAlgError = "missing_alg_error";
8153
8160
 
8154
- /*! @azure/msal-common v15.13.2 2025-11-19 */
8161
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
8155
8162
 
8156
8163
  /*
8157
8164
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8176,7 +8183,7 @@ function createJoseHeaderError(code) {
8176
8183
  return new JoseHeaderError(code, JoseHeaderErrorMessages[code]);
8177
8184
  }
8178
8185
 
8179
- /*! @azure/msal-common v15.13.2 2025-11-19 */
8186
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
8180
8187
 
8181
8188
  /*
8182
8189
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8216,7 +8223,7 @@ class JoseHeader {
8216
8223
  }
8217
8224
  }
8218
8225
 
8219
- /*! @azure/msal-common v15.13.2 2025-11-19 */
8226
+ /*! @azure/msal-common v15.13.3 2025-12-04 */
8220
8227
 
8221
8228
  /*
8222
8229
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -10286,6 +10293,7 @@ function buildConfiguration({ auth: userInputAuth, cache: userInputCache, system
10286
10293
  asyncPopups: false,
10287
10294
  allowRedirectInIframe: false,
10288
10295
  allowPlatformBroker: false,
10296
+ allowPlatformBrokerWithDOM: false,
10289
10297
  nativeBrokerHandshakeTimeout: userInputSystem?.nativeBrokerHandshakeTimeout ||
10290
10298
  DEFAULT_NATIVE_BROKER_HANDSHAKE_TIMEOUT_MS,
10291
10299
  pollIntervalMilliseconds: BrowserConstants.DEFAULT_POLL_INTERVAL_MS,
@@ -10332,7 +10340,7 @@ function buildConfiguration({ auth: userInputAuth, cache: userInputCache, system
10332
10340
 
10333
10341
  /* eslint-disable header/header */
10334
10342
  const name = "@azure/msal-browser";
10335
- const version = "4.26.2";
10343
+ const version = "4.27.0";
10336
10344
 
10337
10345
  /*
10338
10346
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -10346,7 +10354,6 @@ const ACCOUNT_SCHEMA_VERSION = 2;
10346
10354
  const LOG_LEVEL_CACHE_KEY = `${PREFIX}.${BROWSER_PREFIX}.log.level`;
10347
10355
  const LOG_PII_CACHE_KEY = `${PREFIX}.${BROWSER_PREFIX}.log.pii`;
10348
10356
  const BROWSER_PERF_ENABLED_KEY = `${PREFIX}.${BROWSER_PREFIX}.performance.enabled`;
10349
- const PLATFORM_AUTH_DOM_SUPPORT = `${PREFIX}.${BROWSER_PREFIX}.platform.auth.dom`;
10350
10357
  const VERSION_CACHE_KEY = `${PREFIX}.version`;
10351
10358
  const ACCOUNT_KEYS = "account.keys";
10352
10359
  const TOKEN_KEYS = "token.keys";
@@ -15429,7 +15436,7 @@ class PlatformAuthDOMHandler {
15429
15436
  * @param perfClient
15430
15437
  * @returns
15431
15438
  */
15432
- async function isPlatformBrokerAvailable(loggerOptions, perfClient, correlationId) {
15439
+ async function isPlatformBrokerAvailable(loggerOptions, perfClient, correlationId, domConfig) {
15433
15440
  const logger = new Logger(loggerOptions || {}, name, version);
15434
15441
  logger.trace("isPlatformBrokerAvailable called");
15435
15442
  const performanceClient = perfClient || new StubPerformanceClient();
@@ -15437,11 +15444,10 @@ async function isPlatformBrokerAvailable(loggerOptions, perfClient, correlationI
15437
15444
  logger.trace("Non-browser environment detected, returning false");
15438
15445
  return false;
15439
15446
  }
15440
- return !!(await getPlatformAuthProvider(logger, performanceClient, correlationId || createNewGuid()));
15447
+ return !!(await getPlatformAuthProvider(logger, performanceClient, correlationId || createNewGuid(), undefined, domConfig));
15441
15448
  }
15442
- async function getPlatformAuthProvider(logger, performanceClient, correlationId, nativeBrokerHandshakeTimeout) {
15449
+ async function getPlatformAuthProvider(logger, performanceClient, correlationId, nativeBrokerHandshakeTimeout, enablePlatformBrokerDOMSupport) {
15443
15450
  logger.trace("getPlatformAuthProvider called", correlationId);
15444
- const enablePlatformBrokerDOMSupport = isDomEnabledForPlatformAuth();
15445
15451
  logger.trace("Has client allowed platform auth via DOM API: " +
15446
15452
  enablePlatformBrokerDOMSupport);
15447
15453
  let platformAuthProvider;
@@ -15466,22 +15472,6 @@ async function getPlatformAuthProvider(logger, performanceClient, correlationId,
15466
15472
  }
15467
15473
  return platformAuthProvider;
15468
15474
  }
15469
- /**
15470
- * Returns true if the DOM API support for platform auth is enabled in session storage
15471
- * @returns boolean
15472
- * @deprecated
15473
- */
15474
- function isDomEnabledForPlatformAuth() {
15475
- let sessionStorage;
15476
- try {
15477
- sessionStorage = window[BrowserCacheLocation.SessionStorage];
15478
- // Mute errors if it's a non-browser environment or cookies are blocked.
15479
- return sessionStorage?.getItem(PLATFORM_AUTH_DOM_SUPPORT) === "true";
15480
- }
15481
- catch (e) {
15482
- return false;
15483
- }
15484
- }
15485
15475
  /**
15486
15476
  * Returns boolean indicating whether or not the request should attempt to use native broker
15487
15477
  * @param logger
@@ -15491,6 +15481,11 @@ function isDomEnabledForPlatformAuth() {
15491
15481
  */
15492
15482
  function isPlatformAuthAllowed(config, logger, platformAuthProvider, authenticationScheme) {
15493
15483
  logger.trace("isPlatformAuthAllowed called");
15484
+ // throw an error if allowPlatformBroker is not enabled and allowPlatformBrokerWithDOM is enabled
15485
+ if (!config.system.allowPlatformBroker &&
15486
+ config.system.allowPlatformBrokerWithDOM) {
15487
+ throw createClientConfigurationError(invalidPlatformBrokerConfiguration);
15488
+ }
15494
15489
  if (!config.system.allowPlatformBroker) {
15495
15490
  logger.trace("isPlatformAuthAllowed: allowPlatformBroker is not enabled, returning false");
15496
15491
  // Developer disabled WAM
@@ -17243,7 +17238,7 @@ class StandardController {
17243
17238
  if (allowPlatformBroker) {
17244
17239
  try {
17245
17240
  // check if platform authentication is available via DOM or browser extension and create relevant handlers
17246
- this.platformAuthProvider = await getPlatformAuthProvider(this.logger, this.performanceClient, initCorrelationId, this.config.system.nativeBrokerHandshakeTimeout);
17241
+ this.platformAuthProvider = await getPlatformAuthProvider(this.logger, this.performanceClient, initCorrelationId, this.config.system.nativeBrokerHandshakeTimeout, this.config.system.allowPlatformBrokerWithDOM);
17247
17242
  }
17248
17243
  catch (e) {
17249
17244
  this.logger.verbose(e);