@azure/msal-browser 4.20.0 → 4.21.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 (272) hide show
  1. package/README.md +30 -0
  2. package/dist/app/IPublicClientApplication.mjs +1 -1
  3. package/dist/app/PublicClientApplication.mjs +1 -1
  4. package/dist/app/PublicClientNext.mjs +1 -1
  5. package/dist/broker/nativeBroker/NativeStatusCodes.mjs +2 -3
  6. package/dist/broker/nativeBroker/NativeStatusCodes.mjs.map +1 -1
  7. package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
  8. package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
  9. package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
  10. package/dist/cache/AccountManager.mjs +1 -1
  11. package/dist/cache/AsyncMemoryStorage.mjs +1 -1
  12. package/dist/cache/BrowserCacheManager.mjs +1 -1
  13. package/dist/cache/CacheHelpers.mjs +1 -1
  14. package/dist/cache/CacheKeys.mjs +1 -1
  15. package/dist/cache/CookieStorage.mjs +1 -1
  16. package/dist/cache/DatabaseStorage.mjs +1 -1
  17. package/dist/cache/EncryptedData.mjs +1 -1
  18. package/dist/cache/LocalStorage.mjs +1 -1
  19. package/dist/cache/MemoryStorage.mjs +1 -1
  20. package/dist/cache/SessionStorage.mjs +1 -1
  21. package/dist/cache/TokenCache.mjs +1 -1
  22. package/dist/config/Configuration.mjs +1 -1
  23. package/dist/controllers/ControllerFactory.mjs +1 -1
  24. package/dist/controllers/NestedAppAuthController.mjs +1 -1
  25. package/dist/controllers/StandardController.d.ts.map +1 -1
  26. package/dist/controllers/StandardController.mjs +36 -9
  27. package/dist/controllers/StandardController.mjs.map +1 -1
  28. package/dist/controllers/UnknownOperatingContextController.mjs +1 -1
  29. package/dist/crypto/BrowserCrypto.mjs +1 -1
  30. package/dist/crypto/CryptoOps.mjs +1 -1
  31. package/dist/crypto/PkceGenerator.mjs +1 -1
  32. package/dist/crypto/SignedHttpRequest.mjs +1 -1
  33. package/dist/custom-auth-path/app/PublicClientApplication.mjs +1 -1
  34. package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs +2 -3
  35. package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs.map +1 -1
  36. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
  37. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
  38. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
  39. package/dist/custom-auth-path/cache/AccountManager.mjs +1 -1
  40. package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs +1 -1
  41. package/dist/custom-auth-path/cache/BrowserCacheManager.mjs +1 -1
  42. package/dist/custom-auth-path/cache/CacheHelpers.mjs +1 -1
  43. package/dist/custom-auth-path/cache/CacheKeys.mjs +1 -1
  44. package/dist/custom-auth-path/cache/CookieStorage.mjs +1 -1
  45. package/dist/custom-auth-path/cache/DatabaseStorage.mjs +1 -1
  46. package/dist/custom-auth-path/cache/EncryptedData.mjs +1 -1
  47. package/dist/custom-auth-path/cache/LocalStorage.mjs +1 -1
  48. package/dist/custom-auth-path/cache/MemoryStorage.mjs +1 -1
  49. package/dist/custom-auth-path/cache/SessionStorage.mjs +1 -1
  50. package/dist/custom-auth-path/cache/TokenCache.mjs +1 -1
  51. package/dist/custom-auth-path/config/Configuration.mjs +1 -1
  52. package/dist/custom-auth-path/controllers/ControllerFactory.mjs +1 -1
  53. package/dist/custom-auth-path/controllers/StandardController.d.ts.map +1 -1
  54. package/dist/custom-auth-path/controllers/StandardController.mjs +36 -9
  55. package/dist/custom-auth-path/controllers/StandardController.mjs.map +1 -1
  56. package/dist/custom-auth-path/crypto/BrowserCrypto.mjs +1 -1
  57. package/dist/custom-auth-path/crypto/CryptoOps.mjs +1 -1
  58. package/dist/custom-auth-path/crypto/PkceGenerator.mjs +1 -1
  59. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts +1 -1
  60. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs +1 -1
  61. package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
  62. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +1 -1
  63. package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs +1 -1
  64. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +1 -1
  65. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
  66. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
  67. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
  68. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs +1 -1
  69. package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs +1 -1
  70. package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
  71. package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
  72. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
  73. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
  74. package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
  75. package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
  76. package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
  77. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs +1 -1
  78. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
  79. package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs +1 -1
  80. package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
  81. package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
  82. package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
  83. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
  84. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
  85. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
  86. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
  87. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
  88. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
  89. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +1 -1
  90. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
  91. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
  92. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
  93. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
  94. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
  95. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs +1 -1
  96. package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
  97. package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs +1 -1
  98. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
  99. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
  100. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
  101. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
  102. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
  103. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
  104. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
  105. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
  106. package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
  107. package/dist/custom-auth-path/custom_auth/index.mjs +1 -1
  108. package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
  109. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
  110. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
  111. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
  112. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
  113. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
  114. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
  115. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
  116. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
  117. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
  118. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
  119. package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
  120. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
  121. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
  122. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
  123. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
  124. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
  125. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.mjs +1 -1
  126. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
  127. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +1 -1
  128. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
  129. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
  130. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
  131. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
  132. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
  133. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +1 -1
  134. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
  135. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
  136. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
  137. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
  138. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
  139. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
  140. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
  141. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
  142. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
  143. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
  144. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
  145. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
  146. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
  147. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
  148. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
  149. package/dist/custom-auth-path/encode/Base64Decode.mjs +1 -1
  150. package/dist/custom-auth-path/encode/Base64Encode.mjs +1 -1
  151. package/dist/custom-auth-path/error/BrowserAuthError.mjs +1 -1
  152. package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +1 -1
  153. package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs +1 -1
  154. package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  155. package/dist/custom-auth-path/error/NativeAuthError.d.ts.map +1 -1
  156. package/dist/custom-auth-path/error/NativeAuthError.mjs +3 -4
  157. package/dist/custom-auth-path/error/NativeAuthError.mjs.map +1 -1
  158. package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +1 -1
  159. package/dist/custom-auth-path/event/EventHandler.mjs +1 -1
  160. package/dist/custom-auth-path/event/EventType.mjs +1 -1
  161. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +1 -1
  162. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  163. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  164. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +15 -6
  165. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
  166. package/dist/custom-auth-path/interaction_client/PopupClient.mjs +1 -1
  167. package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +4 -4
  168. package/dist/custom-auth-path/interaction_client/RedirectClient.mjs.map +1 -1
  169. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +1 -1
  170. package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +1 -1
  171. package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +1 -1
  172. package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +1 -1
  173. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +1 -1
  174. package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +1 -1
  175. package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +1 -1
  176. package/dist/custom-auth-path/navigation/NavigationClient.mjs +1 -1
  177. package/dist/custom-auth-path/network/FetchClient.mjs +1 -1
  178. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +1 -1
  179. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +1 -1
  180. package/dist/custom-auth-path/packageMetadata.d.ts +1 -1
  181. package/dist/custom-auth-path/packageMetadata.mjs +2 -2
  182. package/dist/custom-auth-path/protocol/Authorize.d.ts.map +1 -1
  183. package/dist/custom-auth-path/protocol/Authorize.mjs +5 -1
  184. package/dist/custom-auth-path/protocol/Authorize.mjs.map +1 -1
  185. package/dist/custom-auth-path/request/RequestHelpers.mjs +1 -1
  186. package/dist/custom-auth-path/response/ResponseHandler.mjs +1 -1
  187. package/dist/custom-auth-path/utils/BrowserConstants.mjs +1 -1
  188. package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +1 -1
  189. package/dist/custom-auth-path/utils/BrowserUtils.mjs +1 -1
  190. package/dist/custom-auth-path/utils/Helpers.mjs +1 -1
  191. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +1 -1
  192. package/dist/custom_auth/CustomAuthConstants.d.ts +1 -1
  193. package/dist/encode/Base64Decode.mjs +1 -1
  194. package/dist/encode/Base64Encode.mjs +1 -1
  195. package/dist/error/BrowserAuthError.mjs +1 -1
  196. package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
  197. package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
  198. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  199. package/dist/error/NativeAuthError.d.ts.map +1 -1
  200. package/dist/error/NativeAuthError.mjs +3 -4
  201. package/dist/error/NativeAuthError.mjs.map +1 -1
  202. package/dist/error/NativeAuthErrorCodes.mjs +1 -1
  203. package/dist/error/NestedAppAuthError.mjs +1 -1
  204. package/dist/event/EventHandler.mjs +1 -1
  205. package/dist/event/EventMessage.mjs +1 -1
  206. package/dist/event/EventType.mjs +1 -1
  207. package/dist/index.mjs +1 -1
  208. package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
  209. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  210. package/dist/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  211. package/dist/interaction_client/PlatformAuthInteractionClient.mjs +15 -6
  212. package/dist/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
  213. package/dist/interaction_client/PopupClient.mjs +1 -1
  214. package/dist/interaction_client/RedirectClient.mjs +4 -4
  215. package/dist/interaction_client/RedirectClient.mjs.map +1 -1
  216. package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
  217. package/dist/interaction_client/SilentCacheClient.mjs +1 -1
  218. package/dist/interaction_client/SilentIframeClient.mjs +1 -1
  219. package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
  220. package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
  221. package/dist/interaction_handler/InteractionHandler.mjs +1 -1
  222. package/dist/interaction_handler/SilentHandler.mjs +1 -1
  223. package/dist/naa/BridgeError.mjs +1 -1
  224. package/dist/naa/BridgeProxy.mjs +1 -1
  225. package/dist/naa/BridgeStatusCode.mjs +1 -1
  226. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
  227. package/dist/navigation/NavigationClient.mjs +1 -1
  228. package/dist/network/FetchClient.mjs +1 -1
  229. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  230. package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
  231. package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
  232. package/dist/operatingcontext/UnknownOperatingContext.mjs +1 -1
  233. package/dist/packageMetadata.d.ts +1 -1
  234. package/dist/packageMetadata.mjs +2 -2
  235. package/dist/protocol/Authorize.d.ts.map +1 -1
  236. package/dist/protocol/Authorize.mjs +5 -1
  237. package/dist/protocol/Authorize.mjs.map +1 -1
  238. package/dist/request/RequestHelpers.mjs +1 -1
  239. package/dist/response/ResponseHandler.mjs +1 -1
  240. package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
  241. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  242. package/dist/utils/BrowserConstants.mjs +1 -1
  243. package/dist/utils/BrowserProtocolUtils.mjs +1 -1
  244. package/dist/utils/BrowserUtils.mjs +1 -1
  245. package/dist/utils/Helpers.mjs +1 -1
  246. package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
  247. package/lib/custom-auth-path/msal-custom-auth.cjs +177 -84
  248. package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
  249. package/lib/custom-auth-path/types/controllers/StandardController.d.ts.map +1 -1
  250. package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  251. package/lib/custom-auth-path/types/error/NativeAuthError.d.ts.map +1 -1
  252. package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  253. package/lib/custom-auth-path/types/packageMetadata.d.ts +1 -1
  254. package/lib/custom-auth-path/types/protocol/Authorize.d.ts.map +1 -1
  255. package/lib/msal-browser.cjs +179 -86
  256. package/lib/msal-browser.cjs.map +1 -1
  257. package/lib/msal-browser.js +179 -86
  258. package/lib/msal-browser.js.map +1 -1
  259. package/lib/msal-browser.min.js +66 -66
  260. package/lib/types/controllers/StandardController.d.ts.map +1 -1
  261. package/lib/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  262. package/lib/types/error/NativeAuthError.d.ts.map +1 -1
  263. package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  264. package/lib/types/packageMetadata.d.ts +1 -1
  265. package/lib/types/protocol/Authorize.d.ts.map +1 -1
  266. package/package.json +2 -2
  267. package/src/controllers/StandardController.ts +42 -9
  268. package/src/error/NativeAuthError.ts +1 -2
  269. package/src/interaction_client/PlatformAuthInteractionClient.ts +17 -5
  270. package/src/interaction_client/RedirectClient.ts +2 -2
  271. package/src/packageMetadata.ts +1 -1
  272. package/src/protocol/Authorize.ts +8 -0
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  export { CustomAuthPublicClientApplication } from './CustomAuthPublicClientApplication.mjs';
4
4
  export { CustomAuthAccountData } from './get_account/auth_flow/CustomAuthAccountData.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { BaseOperatingContext } from '../../operatingcontext/BaseOperatingContext.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { AuthActionErrorBase } from '../../../core/auth_flow/AuthFlowErrorBase.mjs';
4
4
  import { CustomAuthApiError } from '../../../core/error/CustomAuthApiError.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { AuthFlowResultBase } from '../../../core/auth_flow/AuthFlowResultBase.mjs';
4
4
  import { ResetPasswordResendCodeError } from '../error_type/ResetPasswordError.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { AuthFlowResultBase } from '../../../core/auth_flow/AuthFlowResultBase.mjs';
4
4
  import { ResetPasswordError } from '../error_type/ResetPasswordError.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { AuthFlowResultBase } from '../../../core/auth_flow/AuthFlowResultBase.mjs';
4
4
  import { ResetPasswordSubmitCodeError } from '../error_type/ResetPasswordError.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { AuthFlowResultBase } from '../../../core/auth_flow/AuthFlowResultBase.mjs';
4
4
  import { ResetPasswordSubmitPasswordError } from '../error_type/ResetPasswordError.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { ResetPasswordResendCodeResult } from '../result/ResetPasswordResendCodeResult.mjs';
4
4
  import { ResetPasswordSubmitCodeResult } from '../result/ResetPasswordSubmitCodeResult.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { SignInContinuationState } from '../../../sign_in/auth_flow/state/SignInContinuationState.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { AuthFlowStateBase } from '../../../core/auth_flow/AuthFlowState.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { ResetPasswordSubmitPasswordResult } from '../result/ResetPasswordSubmitPasswordResult.mjs';
4
4
  import { ResetPasswordState } from './ResetPasswordState.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { AuthFlowActionRequiredStateBase } from '../../../core/auth_flow/AuthFlowState.mjs';
4
4
  import { ensureArgumentIsNotEmptyString } from '../../../core/utils/ArgumentValidator.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { CustomAuthApiError } from '../../core/error/CustomAuthApiError.mjs';
4
4
  import { CustomAuthInteractionClientBase } from '../../core/interaction_client/CustomAuthInteractionClientBase.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { AuthActionErrorBase } from '../../../core/auth_flow/AuthFlowErrorBase.mjs';
4
4
  import { USER_NOT_FOUND } from '../../../core/network_client/custom_auth_api/types/ApiErrorCodes.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { AuthFlowResultBase } from '../../../core/auth_flow/AuthFlowResultBase.mjs';
4
4
  import { SignInResendCodeError } from '../error_type/SignInError.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { AuthFlowResultBase } from '../../../core/auth_flow/AuthFlowResultBase.mjs';
4
4
  import { SignInError } from '../error_type/SignInError.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { SignInSubmitCodeError } from '../error_type/SignInError.mjs';
4
4
  import { SignInCompletedState } from '../state/SignInCompletedState.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { AuthFlowResultBase } from '../../../core/auth_flow/AuthFlowResultBase.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { SignInSubmitPasswordError } from '../error_type/SignInError.mjs';
4
4
  import { SignInCompletedState } from '../state/SignInCompletedState.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { CustomAuthAccountData } from '../../../get_account/auth_flow/CustomAuthAccountData.mjs';
4
4
  import { SignInResendCodeResult } from '../result/SignInResendCodeResult.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { AuthFlowStateBase } from '../../../core/auth_flow/AuthFlowState.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { CustomAuthAccountData } from '../../../get_account/auth_flow/CustomAuthAccountData.mjs';
4
4
  import { SignInResult } from '../result/SignInResult.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { AuthFlowStateBase } from '../../../core/auth_flow/AuthFlowState.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { CustomAuthAccountData } from '../../../get_account/auth_flow/CustomAuthAccountData.mjs';
4
4
  import { SignInSubmitPasswordResult } from '../result/SignInSubmitPasswordResult.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { AuthFlowActionRequiredStateBase } from '../../../core/auth_flow/AuthFlowState.mjs';
4
4
  import { ensureArgumentIsNotEmptyString } from '../../../core/utils/ArgumentValidator.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { ChallengeType, DefaultCustomAuthApiCodeLength } from '../../CustomAuthConstants.mjs';
4
4
  import { CustomAuthApiError } from '../../core/error/CustomAuthApiError.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { AuthActionErrorBase } from '../../../core/auth_flow/AuthFlowErrorBase.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { AuthFlowResultBase } from '../../../core/auth_flow/AuthFlowResultBase.mjs';
4
4
  import { SignUpResendCodeError } from '../error_type/SignUpError.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { AuthFlowResultBase } from '../../../core/auth_flow/AuthFlowResultBase.mjs';
4
4
  import { SignUpError } from '../error_type/SignUpError.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { AuthFlowResultBase } from '../../../core/auth_flow/AuthFlowResultBase.mjs';
4
4
  import { SignUpSubmitAttributesError } from '../error_type/SignUpError.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { AuthFlowResultBase } from '../../../core/auth_flow/AuthFlowResultBase.mjs';
4
4
  import { SignUpSubmitCodeError } from '../error_type/SignUpError.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { AuthFlowResultBase } from '../../../core/auth_flow/AuthFlowResultBase.mjs';
4
4
  import { SignUpSubmitPasswordError } from '../error_type/SignUpError.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { InvalidArgumentError } from '../../../core/error/InvalidArgumentError.mjs';
4
4
  import { UnexpectedError } from '../../../core/error/UnexpectedError.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { UnexpectedError } from '../../../core/error/UnexpectedError.mjs';
4
4
  import { SIGN_UP_PASSWORD_REQUIRED_RESULT_TYPE, SIGN_UP_ATTRIBUTES_REQUIRED_RESULT_TYPE, SIGN_UP_COMPLETED_RESULT_TYPE } from '../../interaction_client/result/SignUpActionResult.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { SignInContinuationState } from '../../../sign_in/auth_flow/state/SignInContinuationState.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { AuthFlowStateBase } from '../../../core/auth_flow/AuthFlowState.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { UnexpectedError } from '../../../core/error/UnexpectedError.mjs';
4
4
  import { SignInScenario } from '../../../sign_in/auth_flow/SignInScenario.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { AuthFlowActionRequiredStateBase } from '../../../core/auth_flow/AuthFlowState.mjs';
4
4
  import { ensureArgumentIsNotEmptyString } from '../../../core/utils/ArgumentValidator.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { CustomAuthApiError } from '../../core/error/CustomAuthApiError.mjs';
4
4
  import { UNSUPPORTED_CHALLENGE_TYPE, ATTRIBUTES_REQUIRED, CREDENTIAL_REQUIRED, INVALID_RESPONSE_BODY, CONTINUATION_TOKEN_MISSING } from '../../core/network_client/custom_auth_api/types/ApiErrorCodes.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { createBrowserAuthError } from '../error/BrowserAuthError.mjs';
4
4
  import { invalidBase64String } from '../error/BrowserAuthErrorCodes.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { AuthError } from '@azure/msal-common/browser';
4
4
  import { timedOut, failedToDecryptEarResponse, failedToParseHeaders, failedToBuildHeaders, invalidPopTokenRequest, invalidBase64String, nativePromptNotSupported, uninitializedPublicClientApplication, nativeConnectionNotEstablished, nativeExtensionNotInstalled, nativeHandshakeTimeout, unableToAcquireTokenFromNativePlatform, databaseUnavailable, spaCodeAndNativeAccountIdPresent, authCodeOrNativeAccountIdRequired, authCodeRequired, cryptoKeyNotFound, unableToLoadToken, failedToParseResponse, getRequestFailed, postRequestFailed, noNetworkConnectivity, databaseNotOpen, nonBrowserEnvironment, invalidCacheType, authRequestNotSetError, unableToParseTokenRequestCacheError, noTokenRequestCacheError, silentPromptValueError, noAccountError, silentLogoutUnsupported, iframeClosedPrematurely, blockNestedPopups, blockIframeReload, redirectInIframe, monitorWindowTimeout, monitorPopupTimeout, userCancelled, emptyWindowError, popupWindowError, interactionInProgress, stateInteractionTypeMismatch, unableToParseState, hashDoesNotContainKnownProperties, noStateInHash, hashEmptyError, emptyNavigateUri, cryptoNonExistent, earJweEmpty, earJwkEmpty, pkceNotCreated } from './BrowserAuthErrorCodes.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { AuthError } from '@azure/msal-common/browser';
4
4
  import { inMemRedirectUnavailable, stubbedPublicClientApplicationCalled, storageNotSupported } from './BrowserConfigurationAuthErrorCodes.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1 +1 @@
1
- {"version":3,"file":"NativeAuthError.d.ts","sourceRoot":"","sources":["../../../src/error/NativeAuthError.ts"],"names":[],"mappings":"AAKA,OAAO,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AO,MAAM,uBAAuB;;CAGnC,CAAC;AAEF,qBAAa,eAAgB,SAAQ,SAAS;IAC1C,GAAG,EAAE,OAAO,GAAG,SAAS,CAAC;gBAEb,SAAS,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,OAAO;CAOrE;AAED;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,eAAe,GAAG,OAAO,CAuBtE;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CACjC,IAAI,EAAE,MAAM,EACZ,WAAW,CAAC,EAAE,MAAM,EACpB,GAAG,CAAC,EAAE,OAAO,GACd,SAAS,CA6BX"}
@@ -1,9 +1,9 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { AuthError, createInteractionRequiredAuthError, InteractionRequiredAuthErrorCodes, InteractionRequiredAuthError } from '@azure/msal-common/browser';
4
4
  import { createBrowserAuthError } from './BrowserAuthError.mjs';
5
5
  import { contentError, userSwitch } from './NativeAuthErrorCodes.mjs';
6
- import { PERSISTENT_ERROR, DISABLED, UX_NOT_ALLOWED, NO_NETWORK, USER_CANCEL, USER_INTERACTION_REQUIRED, ACCOUNT_UNAVAILABLE } from '../broker/nativeBroker/NativeStatusCodes.mjs';
6
+ import { DISABLED, UX_NOT_ALLOWED, NO_NETWORK, USER_CANCEL, USER_INTERACTION_REQUIRED, ACCOUNT_UNAVAILABLE } from '../broker/nativeBroker/NativeStatusCodes.mjs';
7
7
  import { noNetworkConnectivity, userCancelled } from './BrowserAuthErrorCodes.mjs';
8
8
 
9
9
  /*
@@ -28,8 +28,7 @@ class NativeAuthError extends AuthError {
28
28
  function isFatalNativeAuthError(error) {
29
29
  if (error.ext &&
30
30
  error.ext.status &&
31
- (error.ext.status === PERSISTENT_ERROR ||
32
- error.ext.status === DISABLED)) {
31
+ error.ext.status === DISABLED) {
33
32
  return true;
34
33
  }
35
34
  if (error.ext &&
@@ -1 +1 @@
1
- {"version":3,"file":"NativeAuthError.mjs","sources":["../../../../src/error/NativeAuthError.ts"],"sourcesContent":[null],"names":["NativeAuthErrorCodes.userSwitch","NativeStatusCodes.PERSISTENT_ERROR","NativeStatusCodes.DISABLED","NativeAuthErrorCodes.contentError","NativeStatusCodes.ACCOUNT_UNAVAILABLE","NativeStatusCodes.USER_INTERACTION_REQUIRED","NativeStatusCodes.USER_CANCEL","BrowserAuthErrorCodes.userCancelled","NativeStatusCodes.NO_NETWORK","BrowserAuthErrorCodes.noNetworkConnectivity","NativeStatusCodes.UX_NOT_ALLOWED"],"mappings":";;;;;;;;AAAA;;;AAGG;AAyBH,MAAM,oBAAoB,GAAG,WAAW,CAAC;AAE5B,MAAA,uBAAuB,GAAG;AACnC,IAAA,CAACA,UAA+B,GAC5B,oKAAoK;EAC1K;AAEI,MAAO,eAAgB,SAAQ,SAAS,CAAA;AAG1C,IAAA,WAAA,CAAY,SAAiB,EAAE,WAAoB,EAAE,GAAa,EAAA;AAC9D,QAAA,KAAK,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC;QAE9B,MAAM,CAAC,cAAc,CAAC,IAAI,EAAE,eAAe,CAAC,SAAS,CAAC,CAAC;AACvD,QAAA,IAAI,CAAC,IAAI,GAAG,iBAAiB,CAAC;AAC9B,QAAA,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;KAClB;AACJ,CAAA;AAED;;AAEG;AACG,SAAU,sBAAsB,CAAC,KAAsB,EAAA;IACzD,IACI,KAAK,CAAC,GAAG;QACT,KAAK,CAAC,GAAG,CAAC,MAAM;SACf,KAAK,CAAC,GAAG,CAAC,MAAM,KAAKC,gBAAkC;YACpD,KAAK,CAAC,GAAG,CAAC,MAAM,KAAKC,QAA0B,CAAC,EACtD;AACE,QAAA,OAAO,IAAI,CAAC;AACf,KAAA;IAED,IACI,KAAK,CAAC,GAAG;QACT,KAAK,CAAC,GAAG,CAAC,KAAK;AACf,QAAA,KAAK,CAAC,GAAG,CAAC,KAAK,KAAK,oBAAoB,EAC1C;AACE,QAAA,OAAO,IAAI,CAAC;AACf,KAAA;IAED,QAAQ,KAAK,CAAC,SAAS;QACnB,KAAKC,YAAiC;AAClC,YAAA,OAAO,IAAI,CAAC;AAChB,QAAA;AACI,YAAA,OAAO,KAAK,CAAC;AACpB,KAAA;AACL,CAAC;AAED;;;;;;AAMG;SACa,qBAAqB,CACjC,IAAY,EACZ,WAAoB,EACpB,GAAa,EAAA;AAEb,IAAA,IAAI,GAAG,IAAI,GAAG,CAAC,MAAM,EAAE;QACnB,QAAQ,GAAG,CAAC,MAAM;YACd,KAAKC,mBAAqC;AACtC,gBAAA,OAAO,kCAAkC,CACrC,iCAAiC,CAAC,wBAAwB,CAC7D,CAAC;YACN,KAAKC,yBAA2C;AAC5C,gBAAA,OAAO,IAAI,4BAA4B,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;YAC/D,KAAKC,WAA6B;AAC9B,gBAAA,OAAO,sBAAsB,CACzBC,aAAmC,CACtC,CAAC;YACN,KAAKC,UAA4B;AAC7B,gBAAA,OAAO,sBAAsB,CACzBC,qBAA2C,CAC9C,CAAC;YACN,KAAKC,cAAgC;AACjC,gBAAA,OAAO,kCAAkC,CACrC,iCAAiC,CAAC,YAAY,CACjD,CAAC;AACT,SAAA;AACJ,KAAA;AAED,IAAA,OAAO,IAAI,eAAe,CACtB,IAAI,EACJ,uBAAuB,CAAC,IAAI,CAAC,IAAI,WAAW,EAC5C,GAAG,CACN,CAAC;AACN;;;;"}
1
+ {"version":3,"file":"NativeAuthError.mjs","sources":["../../../../src/error/NativeAuthError.ts"],"sourcesContent":[null],"names":["NativeAuthErrorCodes.userSwitch","NativeStatusCodes.DISABLED","NativeAuthErrorCodes.contentError","NativeStatusCodes.ACCOUNT_UNAVAILABLE","NativeStatusCodes.USER_INTERACTION_REQUIRED","NativeStatusCodes.USER_CANCEL","BrowserAuthErrorCodes.userCancelled","NativeStatusCodes.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CAAC,MAAM;YACd,KAAKC,mBAAqC;AACtC,gBAAA,OAAO,kCAAkC,CACrC,iCAAiC,CAAC,wBAAwB,CAC7D,CAAC;YACN,KAAKC,yBAA2C;AAC5C,gBAAA,OAAO,IAAI,4BAA4B,CAAC,IAAI,EAAE,WAAW,CAAC,CAAC;YAC/D,KAAKC,WAA6B;AAC9B,gBAAA,OAAO,sBAAsB,CACzBC,aAAmC,CACtC,CAAC;YACN,KAAKC,UAA4B;AAC7B,gBAAA,OAAO,sBAAsB,CACzBC,qBAA2C,CAC9C,CAAC;YACN,KAAKC,cAAgC;AACjC,gBAAA,OAAO,kCAAkC,CACrC,iCAAiC,CAAC,YAAY,CACjD,CAAC;AACT,SAAA;AACJ,KAAA;AAED,IAAA,OAAO,IAAI,eAAe,CACtB,IAAI,EACJ,uBAAuB,CAAC,IAAI,CAAC,IAAI,WAAW,EAC5C,GAAG,CACN,CAAC;AACN;;;;"}
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { Logger } from '@azure/msal-common/browser';
4
4
  import { EventType } from './EventType.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { UrlString, ServerTelemetryManager, PerformanceEvents, Authority, invokeAsync, AuthorityFactory, createClientConfigurationError, ClientConfigurationErrorCodes } from '@azure/msal-common/browser';
4
4
  import { version } from '../packageMetadata.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { AuthorizationCodeClient } from '@azure/msal-common/browser';
4
4
 
@@ -1 +1 @@
1
- {"version":3,"file":"PlatformAuthInteractionClient.d.ts","sourceRoot":"","sources":["../../../src/interaction_client/PlatformAuthInteractionClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,MAAM,EACN,OAAO,EAIP,aAAa,EAEb,QAAQ,EAOR,kBAAkB,EAQlB,WAAW,EAOX,0BAA0B,EAE7B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EACH,KAAK,EAIL,iBAAiB,EACpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAC;AACpF,OAAO,EACH,IAAI,EACJ,oBAAoB,EACvB,MAAM,gDAAgD,CAAC;AAOxD,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAEhE,OAAO,EAAE,iBAAiB,EAAE,MAAM,oCAAoC,CAAC;AAKvE,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;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AG,SAAS,GACvC,MAAM;IAQT,SAAS,CAAC,8BAA8B,CACpC,YAAY,CAAC,EAAE,MAAM,GACtB,IAAI,GAAG,IAAI;IAgCd;;;;OAIG;IACH,OAAO,CAAC,mBAAmB;IAc3B;;;;OAIG;IACH,SAAS,CAAC,mBAAmB,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO;IAWlD;;;OAGG;cACa,uBAAuB,CACnC,OAAO,EAAE,YAAY,GAAG,gBAAgB,GACzC,OAAO,CAAC,mBAAmB,CAAC;YAmFjB,qBAAqB;IAoBnC,OAAO,CAAC,SAAS;IAwCjB;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;CA2ClC"}
1
+ {"version":3,"file":"PlatformAuthInteractionClient.d.ts","sourceRoot":"","sources":["../../../src/interaction_client/PlatformAuthInteractionClient.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,MAAM,EACN,OAAO,EAIP,aAAa,EAEb,QAAQ,EAOR,kBAAkB,EAQlB,WAAW,EAOX,0BAA0B,EAE7B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AACtE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAClE,OAAO,EACH,KAAK,EAIL,iBAAiB,EACpB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,mBAAmB,EAAE,MAAM,+CAA+C,CAAC;AACpF,OAAO,EACH,IAAI,EACJ,oBAAoB,EACvB,MAAM,gDAAgD,CAAC;AAOxD,OAAO,EAAE,eAAe,EAAE,MA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,mBAAmB,EAAE,MAAM,EAC3B,QAAQ,EAAE,MAAM,EAChB,YAAY,EAAE,MAAM,GACrB,OAAO,CAAC,IAAI,CAAC;IAoDhB,iBAAiB,CACb,SAAS,EAAE,MAAM,EACjB,SAAS,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,GACvC,MAAM;IAQT,SAAS,CAAC,8BAA8B,CACpC,YAAY,CAAC,EAAE,MAAM,GACtB,IAAI,GAAG,IAAI;IAgCd;;;;OAIG;IACH,OAAO,CAAC,mBAAmB;IAc3B;;;;OAIG;IACH,SAAS,CAAC,mBAAmB,CAAC,IAAI,EAAE,IAAI,GAAG,OAAO;IAWlD;;;OAGG;cACa,uBAAuB,CACnC,OAAO,EAAE,YAAY,GAAG,gBAAgB,GACzC,OAAO,CAAC,mBAAmB,CAAC;YAmFjB,qBAAqB;IAoBnC,OAAO,CAAC,SAAS;IAwCjB;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;CA2ClC"}
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.20.0 2025-08-12 */
1
+ /*! @azure/msal-browser v4.21.0 2025-08-19 */
2
2
  'use strict';
3
3
  import { ServerTelemetryManager, AADServerParamKeys, PerformanceEvents, TimeUtils, ScopeSet, createClientAuthError, ClientAuthErrorCodes, AuthToken, buildAccountToCache, AccountEntity, Constants, AuthorityType, AuthenticationScheme, PopTokenGenerator, updateAccountTenantProfileData, CacheHelpers, OIDC_DEFAULT_SCOPES, invokeAsync, UrlString, PromptValue } from '@azure/msal-common/browser';
4
4
  import { BaseInteractionClient } from './BaseInteractionClient.mjs';
@@ -47,10 +47,10 @@ class PlatformAuthInteractionClient extends BaseInteractionClient {
47
47
  * @param request
48
48
  */
49
49
  async acquireToken(request, cacheLookupPolicy) {
50
- this.performanceClient.addQueueMeasurement(PerformanceEvents.NativeInteractionClientAcquireToken, request.correlationId);
50
+ this.performanceClient.addQueueMeasurement(PerformanceEvents.NativeInteractionClientAcquireToken, this.correlationId);
51
51
  this.logger.trace("NativeInteractionClient - acquireToken called.");
52
52
  // start the perf measurement
53
- const nativeATMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.NativeInteractionClientAcquireToken, request.correlationId);
53
+ const nativeATMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.NativeInteractionClientAcquireToken, this.correlationId);
54
54
  const reqTimestamp = TimeUtils.nowSeconds();
55
55
  const serverTelemetryManager = this.initializeServerTelemetryManager(this.apiId);
56
56
  try {
@@ -69,6 +69,10 @@ class PlatformAuthInteractionClient extends BaseInteractionClient {
69
69
  catch (e) {
70
70
  if (cacheLookupPolicy === CacheLookupPolicy.AccessToken) {
71
71
  this.logger.info("MSAL internal Cache does not contain tokens, return error as per cache policy");
72
+ nativeATMeasurement.end({
73
+ success: false,
74
+ brokerErrorCode: "cache_request_failed",
75
+ });
72
76
  throw e;
73
77
  }
74
78
  // continue with a native call for any and all errors
@@ -90,7 +94,6 @@ class PlatformAuthInteractionClient extends BaseInteractionClient {
90
94
  success: false,
91
95
  errorCode: error.errorCode,
92
96
  subErrorCode: error.subError,
93
- isNativeBroker: true,
94
97
  });
95
98
  throw error;
96
99
  });
@@ -99,6 +102,9 @@ class PlatformAuthInteractionClient extends BaseInteractionClient {
99
102
  if (e instanceof NativeAuthError) {
100
103
  serverTelemetryManager.setNativeBrokerErrorCode(e.errorCode);
101
104
  }
105
+ nativeATMeasurement.end({
106
+ success: false,
107
+ });
102
108
  throw e;
103
109
  }
104
110
  }
@@ -220,6 +226,9 @@ class PlatformAuthInteractionClient extends BaseInteractionClient {
220
226
  const authResult = await this.handleNativeResponse(response, request, reqTimestamp);
221
227
  const serverTelemetryManager = this.initializeServerTelemetryManager(this.apiId);
222
228
  serverTelemetryManager.clearNativeBrokerErrorCode();
229
+ if (performanceClient && this.correlationId) {
230
+ this.performanceClient.addFields({ isNativeBroker: true }, this.correlationId);
231
+ }
223
232
  return authResult;
224
233
  }
225
234
  catch (e) {
@@ -536,7 +545,7 @@ class PlatformAuthInteractionClient extends BaseInteractionClient {
536
545
  // generate reqCnf if not provided in the request
537
546
  let reqCnfData;
538
547
  if (!validatedRequest.keyId) {
539
- const generatedReqCnfData = await invokeAsync(popTokenGenerator.generateCnf.bind(popTokenGenerator), PerformanceEvents.PopTokenGenerateCnf, this.logger, this.performanceClient, request.correlationId)(shrParameters, this.logger);
548
+ const generatedReqCnfData = await invokeAsync(popTokenGenerator.generateCnf.bind(popTokenGenerator), PerformanceEvents.PopTokenGenerateCnf, this.logger, this.performanceClient, this.correlationId)(shrParameters, this.logger);
540
549
  reqCnfData = generatedReqCnfData.reqCnfString;
541
550
  validatedRequest.keyId = generatedReqCnfData.kid;
542
551
  validatedRequest.signPopToken = true;
@@ -622,7 +631,7 @@ class PlatformAuthInteractionClient extends BaseInteractionClient {
622
631
  this.performanceClient?.addFields({
623
632
  embeddedClientId: child_client_id,
624
633
  embeddedRedirectUri: child_redirect_uri,
625
- }, request.correlationId);
634
+ }, this.correlationId);
626
635
  }
627
636
  }
628
637