@azure/msal-browser 5.21.0 → 5.23.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 (564) hide show
  1. package/dist/app/IPublicClientApplication.mjs +1 -1
  2. package/dist/app/PublicClientApplication.mjs +1 -1
  3. package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
  4. package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +23 -3
  5. package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs.map +1 -1
  6. package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +5 -2
  7. package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs.map +1 -1
  8. package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
  9. package/dist/broker/nativeBroker/PlatformAuthRequest.mjs +49 -0
  10. package/dist/broker/nativeBroker/PlatformAuthRequest.mjs.map +1 -0
  11. package/dist/cache/AccountManager.mjs +1 -1
  12. package/dist/cache/AsyncMemoryStorage.mjs +1 -1
  13. package/dist/cache/BrowserCacheManager.mjs +1 -1
  14. package/dist/cache/CacheHelpers.mjs +1 -1
  15. package/dist/cache/CacheKeys.mjs +1 -1
  16. package/dist/cache/CookieStorage.mjs +1 -1
  17. package/dist/cache/DatabaseStorage.mjs +1 -1
  18. package/dist/cache/EncryptedData.mjs +1 -1
  19. package/dist/cache/LocalStorage.mjs +1 -1
  20. package/dist/cache/MemoryStorage.mjs +1 -1
  21. package/dist/cache/SessionStorage.mjs +1 -1
  22. package/dist/cache/TokenCache.mjs +1 -1
  23. package/dist/config/Configuration.mjs +1 -1
  24. package/dist/controllers/NestedAppAuthController.mjs +1 -1
  25. package/dist/controllers/StandardController.mjs +1 -1
  26. package/dist/crypto/BrowserCrypto.mjs +1 -1
  27. package/dist/crypto/CryptoOps.mjs +1 -1
  28. package/dist/crypto/PkceGenerator.mjs +1 -1
  29. package/dist/crypto/SignedHttpRequest.mjs +1 -1
  30. package/dist/crypto/TokenBindingKeyManager.mjs +1 -1
  31. package/dist/custom_auth/CustomAuthConstants.mjs +1 -1
  32. package/dist/custom_auth/CustomAuthPublicClientApplication.mjs +27 -2
  33. package/dist/custom_auth/CustomAuthPublicClientApplication.mjs.map +1 -1
  34. package/dist/custom_auth/controller/CustomAuthStandardController.mjs +192 -2
  35. package/dist/custom_auth/controller/CustomAuthStandardController.mjs.map +1 -1
  36. package/dist/custom_auth/core/CustomAuthAuthority.mjs +1 -1
  37. package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +1 -1
  38. package/dist/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
  39. package/dist/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
  40. package/dist/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +1 -1
  41. package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +1 -1
  42. package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
  43. package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
  44. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
  45. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
  46. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
  47. package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +1 -1
  48. package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +1 -1
  49. package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +1 -1
  50. package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
  51. package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
  52. package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +1 -1
  53. package/dist/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.mjs +21 -0
  54. package/dist/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.mjs.map +1 -0
  55. package/dist/custom_auth/core/auth_flow/v2/CustomAuthResultV2.mjs +80 -0
  56. package/dist/custom_auth/core/auth_flow/v2/CustomAuthResultV2.mjs.map +1 -0
  57. package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorBaseV2.mjs +102 -0
  58. package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorBaseV2.mjs.map +1 -0
  59. package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.mjs +12 -0
  60. package/dist/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.mjs.map +1 -0
  61. package/dist/custom_auth/core/auth_flow/v2/error/RequestChallengeErrorV2.mjs +20 -0
  62. package/dist/custom_auth/core/auth_flow/v2/error/RequestChallengeErrorV2.mjs.map +1 -0
  63. package/dist/custom_auth/core/auth_flow/v2/error/ResetPasswordStartErrorV2.mjs +36 -0
  64. package/dist/custom_auth/core/auth_flow/v2/error/ResetPasswordStartErrorV2.mjs.map +1 -0
  65. package/dist/custom_auth/core/auth_flow/v2/error/VerifyChallengeErrorV2.mjs +29 -0
  66. package/dist/custom_auth/core/auth_flow/v2/error/VerifyChallengeErrorV2.mjs.map +1 -0
  67. package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.mjs +76 -0
  68. package/dist/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.mjs.map +1 -0
  69. package/dist/custom_auth/core/auth_flow/v2/state/AuthenticationMethodSelectionStateBaseV2.mjs +36 -0
  70. package/dist/custom_auth/core/auth_flow/v2/state/AuthenticationMethodSelectionStateBaseV2.mjs.map +1 -0
  71. package/dist/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.mjs +36 -0
  72. package/dist/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.mjs.map +1 -0
  73. package/dist/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.mjs +134 -0
  74. package/dist/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.mjs.map +1 -0
  75. package/dist/custom_auth/core/auth_flow/v2/state/CompletedStateV2.mjs +23 -0
  76. package/dist/custom_auth/core/auth_flow/v2/state/CompletedStateV2.mjs.map +1 -0
  77. package/dist/custom_auth/core/auth_flow/v2/state/FailedStateV2.mjs +22 -0
  78. package/dist/custom_auth/core/auth_flow/v2/state/FailedStateV2.mjs.map +1 -0
  79. package/dist/custom_auth/core/auth_flow/v2/state/MFARequiredStateV2.mjs +61 -0
  80. package/dist/custom_auth/core/auth_flow/v2/state/MFARequiredStateV2.mjs.map +1 -0
  81. package/dist/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.mjs +87 -0
  82. package/dist/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.mjs.map +1 -0
  83. package/dist/custom_auth/core/error/CustomAuthApiError.mjs +3 -2
  84. package/dist/custom_auth/core/error/CustomAuthApiError.mjs.map +1 -1
  85. package/dist/custom_auth/core/error/CustomAuthError.mjs +1 -1
  86. package/dist/custom_auth/core/error/HttpError.mjs +1 -1
  87. package/dist/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
  88. package/dist/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
  89. package/dist/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
  90. package/dist/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
  91. package/dist/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
  92. package/dist/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
  93. package/dist/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
  94. package/dist/custom_auth/core/error/ParsedUrlError.mjs +1 -1
  95. package/dist/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
  96. package/dist/custom_auth/core/error/UnexpectedError.mjs +1 -1
  97. package/dist/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
  98. package/dist/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
  99. package/dist/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
  100. package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
  101. package/dist/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
  102. package/dist/custom_auth/core/interaction_client/jit/JitClient.mjs +1 -1
  103. package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +1 -1
  104. package/dist/custom_auth/core/interaction_client/mfa/MfaClient.mjs +1 -1
  105. package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +1 -1
  106. package/dist/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.mjs +602 -0
  107. package/dist/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.mjs.map +1 -0
  108. package/dist/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.mjs +67 -0
  109. package/dist/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.mjs.map +1 -0
  110. package/dist/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.mjs +46 -0
  111. package/dist/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.mjs.map +1 -0
  112. package/dist/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
  113. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
  114. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +3 -2
  115. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs.map +1 -1
  116. package/dist/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
  117. package/dist/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
  118. package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +1 -1
  119. package/dist/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
  120. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
  121. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
  122. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.mjs +30 -0
  123. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.mjs.map +1 -0
  124. package/dist/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.mjs +193 -0
  125. package/dist/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.mjs.map +1 -0
  126. package/dist/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.mjs +236 -0
  127. package/dist/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.mjs.map +1 -0
  128. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.mjs +26 -0
  129. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.mjs.map +1 -0
  130. package/dist/custom_auth/core/network_client/custom_auth_api/v2/HrefResolverV2.mjs +66 -0
  131. package/dist/custom_auth/core/network_client/custom_auth_api/v2/HrefResolverV2.mjs.map +1 -0
  132. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.mjs +97 -0
  133. package/dist/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.mjs.map +1 -0
  134. package/dist/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorNormalizerV2.mjs +56 -0
  135. package/dist/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorNormalizerV2.mjs.map +1 -0
  136. package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.mjs +23 -0
  137. package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.mjs.map +1 -0
  138. package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.mjs +14 -0
  139. package/dist/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.mjs.map +1 -0
  140. package/dist/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
  141. package/dist/custom_auth/core/network_client/http_client/IHttpClient.mjs +3 -2
  142. package/dist/custom_auth/core/network_client/http_client/IHttpClient.mjs.map +1 -1
  143. package/dist/custom_auth/core/telemetry/FlowApiIdHelperV2.mjs +38 -0
  144. package/dist/custom_auth/core/telemetry/FlowApiIdHelperV2.mjs.map +1 -0
  145. package/dist/custom_auth/core/telemetry/PublicApiId.mjs +20 -3
  146. package/dist/custom_auth/core/telemetry/PublicApiId.mjs.map +1 -1
  147. package/dist/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
  148. package/dist/custom_auth/core/utils/CustomHeaderUtils.mjs +1 -1
  149. package/dist/custom_auth/core/utils/UrlUtils.mjs +1 -1
  150. package/dist/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
  151. package/dist/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
  152. package/dist/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
  153. package/dist/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
  154. package/dist/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
  155. package/dist/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
  156. package/dist/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
  157. package/dist/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
  158. package/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
  159. package/dist/custom_auth/index.mjs +23 -1
  160. package/dist/custom_auth/index.mjs.map +1 -1
  161. package/dist/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
  162. package/dist/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
  163. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
  164. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
  165. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
  166. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
  167. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
  168. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
  169. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
  170. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
  171. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
  172. package/dist/custom_auth/reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.mjs +29 -0
  173. package/dist/custom_auth/reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.mjs.map +1 -0
  174. package/dist/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.mjs +59 -0
  175. package/dist/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.mjs.map +1 -0
  176. package/dist/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
  177. package/dist/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
  178. package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
  179. package/dist/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
  180. package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
  181. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
  182. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
  183. package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +1 -1
  184. package/dist/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
  185. package/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
  186. package/dist/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
  187. package/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
  188. package/dist/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
  189. package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.mjs +18 -0
  190. package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.mjs.map +1 -0
  191. package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SignInStartErrorV2.mjs +37 -0
  192. package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SignInStartErrorV2.mjs.map +1 -0
  193. package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.mjs +23 -0
  194. package/dist/custom_auth/sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.mjs.map +1 -0
  195. package/dist/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.mjs +70 -0
  196. package/dist/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.mjs.map +1 -0
  197. package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.mjs +61 -0
  198. package/dist/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.mjs.map +1 -0
  199. package/dist/custom_auth/sign_in/interaction_client/SignInClient.mjs +1 -1
  200. package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
  201. package/dist/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
  202. package/dist/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
  203. package/dist/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
  204. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
  205. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
  206. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
  207. package/dist/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
  208. package/dist/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
  209. package/dist/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
  210. package/dist/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
  211. package/dist/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
  212. package/dist/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
  213. package/dist/custom_auth/sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.mjs +25 -0
  214. package/dist/custom_auth/sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.mjs.map +1 -0
  215. package/dist/custom_auth/sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.mjs +33 -0
  216. package/dist/custom_auth/sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.mjs.map +1 -0
  217. package/dist/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.mjs +40 -0
  218. package/dist/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.mjs.map +1 -0
  219. package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.mjs +25 -0
  220. package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.mjs.map +1 -0
  221. package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.mjs +47 -0
  222. package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.mjs.map +1 -0
  223. package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.mjs +60 -0
  224. package/dist/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.mjs.map +1 -0
  225. package/dist/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
  226. package/dist/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
  227. package/dist/encode/Base64Decode.mjs +1 -1
  228. package/dist/encode/Base64Encode.mjs +1 -1
  229. package/dist/error/BrowserAuthError.mjs +1 -1
  230. package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
  231. package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
  232. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  233. package/dist/error/NativeAuthError.mjs +1 -1
  234. package/dist/error/NativeAuthErrorCodes.mjs +1 -1
  235. package/dist/error/NestedAppAuthError.mjs +1 -1
  236. package/dist/event/EventHandler.mjs +1 -1
  237. package/dist/event/EventMessage.mjs +1 -1
  238. package/dist/event/EventType.mjs +1 -1
  239. package/dist/index.mjs +1 -1
  240. package/dist/index.mjs.map +1 -1
  241. package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
  242. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  243. package/dist/interaction_client/PlatformAuthInteractionClient.mjs +8 -2
  244. package/dist/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
  245. package/dist/interaction_client/PopupClient.mjs +1 -1
  246. package/dist/interaction_client/RedirectClient.mjs +11 -8
  247. package/dist/interaction_client/RedirectClient.mjs.map +1 -1
  248. package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
  249. package/dist/interaction_client/SilentCacheClient.mjs +1 -1
  250. package/dist/interaction_client/SilentIframeClient.mjs +1 -1
  251. package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
  252. package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
  253. package/dist/interaction_handler/InteractionHandler.mjs +1 -1
  254. package/dist/interaction_handler/SilentHandler.mjs +1 -1
  255. package/dist/log-strings-mapping.json +189 -5
  256. package/dist/naa/BridgeError.mjs +1 -1
  257. package/dist/naa/BridgeProxy.mjs +1 -1
  258. package/dist/naa/BridgeStatusCode.mjs +1 -1
  259. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
  260. package/dist/navigation/NavigationClient.mjs +1 -1
  261. package/dist/network/FetchClient.mjs +1 -1
  262. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  263. package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
  264. package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
  265. package/dist/packageMetadata.mjs +2 -2
  266. package/dist/popup_relay/constants.mjs +1 -1
  267. package/dist/popup_relay/index.mjs +1 -1
  268. package/dist/popup_relay/relayClient.mjs +1 -1
  269. package/dist/protocol/Authorize.mjs +1 -1
  270. package/dist/redirect_bridge/index.mjs +1 -1
  271. package/dist/request/RequestHelpers.mjs +1 -1
  272. package/dist/response/ResponseHandler.mjs +1 -1
  273. package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
  274. package/dist/telemetry/BrowserPerformanceEvents.mjs +1 -1
  275. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  276. package/dist/telemetry/BrowserRootPerformanceEvents.mjs +1 -1
  277. package/dist/utils/BrowserConstants.mjs +1 -1
  278. package/dist/utils/BrowserProtocolUtils.mjs +1 -1
  279. package/dist/utils/BrowserUtils.mjs +1 -1
  280. package/dist/utils/Helpers.mjs +1 -1
  281. package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
  282. package/dist/webBrokerBridge/PendingRequestRegistry.mjs +1 -1
  283. package/dist/webBrokerBridge/PerfEventNames.mjs +38 -0
  284. package/dist/webBrokerBridge/PerfEventNames.mjs.map +1 -0
  285. package/dist/webBrokerBridge/WebBrokerBridgeError.mjs +1 -1
  286. package/dist/webBrokerBridge/WebBrokerBridgeErrorMap.mjs +1 -1
  287. package/dist/webBrokerBridge/adapter/CrossVersionRequestAdapter.mjs +139 -0
  288. package/dist/webBrokerBridge/adapter/CrossVersionRequestAdapter.mjs.map +1 -0
  289. package/dist/webBrokerBridge/index.mjs +8 -0
  290. package/dist/webBrokerBridge/index.mjs.map +1 -0
  291. package/lib/custom-auth-path/log-strings-mapping.json +195 -11
  292. package/lib/custom-auth-path/msal-custom-auth.cjs +2996 -204
  293. package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
  294. package/lib/custom-auth-path/msal-custom-auth.js +2996 -204
  295. package/lib/custom-auth-path/msal-custom-auth.js.map +1 -1
  296. package/lib/log-strings-mapping.json +2 -2
  297. package/lib/msal-browser.cjs +176 -87
  298. package/lib/msal-browser.cjs.map +1 -1
  299. package/lib/msal-browser.js +176 -87
  300. package/lib/msal-browser.js.map +1 -1
  301. package/lib/msal-browser.min.js +2 -2
  302. package/lib/popup-relay/msal-popup-relay.cjs +2 -2
  303. package/lib/popup-relay/msal-popup-relay.cjs.map +1 -1
  304. package/lib/popup-relay/msal-popup-relay.js +2 -2
  305. package/lib/popup-relay/msal-popup-relay.js.map +1 -1
  306. package/lib/popup-relay/msal-popup-relay.min.js +1 -1
  307. package/lib/redirect-bridge/msal-redirect-bridge.cjs +10 -10
  308. package/lib/redirect-bridge/msal-redirect-bridge.cjs.map +1 -1
  309. package/lib/redirect-bridge/msal-redirect-bridge.js +10 -10
  310. package/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -1
  311. package/lib/redirect-bridge/msal-redirect-bridge.min.js +1 -1
  312. package/lib/web-broker-bridge/msal-web-broker-bridge.cjs +353 -0
  313. package/lib/web-broker-bridge/msal-web-broker-bridge.cjs.map +1 -0
  314. package/package.json +19 -2
  315. package/src/broker/nativeBroker/PlatformAuthDOMHandler.ts +40 -2
  316. package/src/broker/nativeBroker/PlatformAuthExtensionHandler.ts +4 -1
  317. package/src/broker/nativeBroker/PlatformAuthRequest.ts +118 -6
  318. package/src/broker/nativeBroker/PlatformAuthResponse.ts +14 -1
  319. package/src/custom_auth/CustomAuthActionInputs.ts +11 -0
  320. package/src/custom_auth/CustomAuthPublicClientApplication.ts +40 -4
  321. package/src/custom_auth/ICustomAuthPublicClientApplicationV2.ts +44 -0
  322. package/src/custom_auth/controller/CustomAuthStandardController.ts +360 -1
  323. package/src/custom_auth/controller/ICustomAuthStandardController.ts +14 -0
  324. package/src/custom_auth/core/auth_flow/v2/AuthenticationMethodV2.ts +18 -0
  325. package/src/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.ts +20 -0
  326. package/src/custom_auth/core/auth_flow/v2/CustomAuthResultV2.ts +133 -0
  327. package/src/custom_auth/core/auth_flow/v2/error/AuthFlowErrorBaseV2.ts +146 -0
  328. package/src/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.ts +8 -0
  329. package/src/custom_auth/core/auth_flow/v2/error/RequestChallengeErrorV2.ts +15 -0
  330. package/src/custom_auth/core/auth_flow/v2/error/ResetPasswordStartErrorV2.ts +33 -0
  331. package/src/custom_auth/core/auth_flow/v2/error/VerifyChallengeErrorV2.ts +25 -0
  332. package/src/custom_auth/core/auth_flow/v2/result/MFARequestChallengeResultV2.ts +18 -0
  333. package/src/custom_auth/core/auth_flow/v2/result/MFAResendChallengeResultV2.ts +26 -0
  334. package/src/custom_auth/core/auth_flow/v2/result/MFASubmitChallengeResultV2.ts +26 -0
  335. package/src/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.ts +25 -0
  336. package/src/custom_auth/core/auth_flow/v2/result/ResetPasswordStartResultV2.ts +30 -0
  337. package/src/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.ts +40 -0
  338. package/src/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.ts +100 -0
  339. package/src/custom_auth/core/auth_flow/v2/state/AuthenticationMethodSelectionStateBaseV2.ts +59 -0
  340. package/src/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.ts +53 -0
  341. package/src/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.ts +196 -0
  342. package/src/custom_auth/core/auth_flow/v2/state/CompletedStateV2.ts +16 -0
  343. package/src/custom_auth/core/auth_flow/v2/state/CustomAuthStateParametersV2.ts +44 -0
  344. package/src/custom_auth/core/auth_flow/v2/state/FailedStateV2.ts +15 -0
  345. package/src/custom_auth/core/auth_flow/v2/state/MFARequiredStateV2.ts +76 -0
  346. package/src/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.ts +119 -0
  347. package/src/custom_auth/core/error/CustomAuthApiError.ts +3 -1
  348. package/src/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.ts +35 -0
  349. package/src/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.ts +1145 -0
  350. package/src/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.ts +150 -0
  351. package/src/custom_auth/core/interaction_client/v2/parameter/FlowParamsV2.ts +66 -0
  352. package/src/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.ts +185 -0
  353. package/src/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.ts +1 -0
  354. package/src/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.ts +30 -0
  355. package/src/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.ts +423 -0
  356. package/src/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.ts +553 -0
  357. package/src/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.ts +24 -0
  358. package/src/custom_auth/core/network_client/custom_auth_api/v2/HrefResolverV2.ts +81 -0
  359. package/src/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.ts +177 -0
  360. package/src/custom_auth/core/network_client/custom_auth_api/v2/request/RequestsV2.ts +129 -0
  361. package/src/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorNormalizerV2.ts +68 -0
  362. package/src/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorResponsesV2.ts +50 -0
  363. package/src/custom_auth/core/network_client/custom_auth_api/v2/response/HalResource.ts +20 -0
  364. package/src/custom_auth/core/network_client/custom_auth_api/v2/response/ResponsesV2.ts +202 -0
  365. package/src/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.ts +111 -0
  366. package/src/custom_auth/core/network_client/custom_auth_api/v2/result/ResetPasswordResultsV2.ts +26 -0
  367. package/src/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.ts +44 -0
  368. package/src/custom_auth/core/telemetry/FlowApiIdHelperV2.ts +64 -0
  369. package/src/custom_auth/core/telemetry/PublicApiId.ts +18 -0
  370. package/src/custom_auth/index.ts +96 -0
  371. package/src/custom_auth/reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.ts +25 -0
  372. package/src/custom_auth/reset_password/auth_flow/v2/result/SubmitNewPasswordResultV2.ts +33 -0
  373. package/src/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.ts +69 -0
  374. package/src/custom_auth/reset_password/auth_flow/v2/state/ResetPasswordStateParametersV2.ts +9 -0
  375. package/src/custom_auth/sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.ts +13 -0
  376. package/src/custom_auth/sign_in/auth_flow/v2/error_type/SignInStartErrorV2.ts +35 -0
  377. package/src/custom_auth/sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.ts +19 -0
  378. package/src/custom_auth/sign_in/auth_flow/v2/result/SignInContinuationResultV2.ts +31 -0
  379. package/src/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.ts +32 -0
  380. package/src/custom_auth/sign_in/auth_flow/v2/result/SubmitPasswordResultV2.ts +22 -0
  381. package/src/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.ts +96 -0
  382. package/src/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.ts +83 -0
  383. package/src/custom_auth/sign_in/auth_flow/v2/state/SignInStateParametersV2.ts +12 -0
  384. package/src/custom_auth/sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.ts +21 -0
  385. package/src/custom_auth/sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.ts +32 -0
  386. package/src/custom_auth/sign_up/auth_flow/v2/result/SignUpStartResultV2.ts +28 -0
  387. package/src/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.ts +20 -0
  388. package/src/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.ts +48 -0
  389. package/src/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.ts +34 -0
  390. package/src/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.ts +63 -0
  391. package/src/custom_auth/sign_up/auth_flow/v2/state/SignUpStateParametersV2.ts +24 -0
  392. package/src/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.ts +112 -0
  393. package/src/index.ts +0 -2
  394. package/src/interaction_client/PlatformAuthInteractionClient.ts +23 -2
  395. package/src/interaction_client/RedirectClient.ts +15 -5
  396. package/src/packageMetadata.ts +1 -1
  397. package/src/webBrokerBridge/PerfEventNames.ts +43 -0
  398. package/src/webBrokerBridge/index.ts +28 -6
  399. package/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts +1 -0
  400. package/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -1
  401. package/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -1
  402. package/types/broker/nativeBroker/PlatformAuthRequest.d.ts +68 -5
  403. package/types/broker/nativeBroker/PlatformAuthRequest.d.ts.map +1 -1
  404. package/types/broker/nativeBroker/PlatformAuthResponse.d.ts +12 -1
  405. package/types/broker/nativeBroker/PlatformAuthResponse.d.ts.map +1 -1
  406. package/types/custom_auth/CustomAuthActionInputs.d.ts +7 -0
  407. package/types/custom_auth/CustomAuthActionInputs.d.ts.map +1 -1
  408. package/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  409. package/types/custom_auth/CustomAuthPublicClientApplication.d.ts +27 -5
  410. package/types/custom_auth/CustomAuthPublicClientApplication.d.ts.map +1 -1
  411. package/types/custom_auth/ICustomAuthPublicClientApplicationV2.d.ts +30 -0
  412. package/types/custom_auth/ICustomAuthPublicClientApplicationV2.d.ts.map +1 -0
  413. package/types/custom_auth/controller/CustomAuthStandardController.d.ts +11 -2
  414. package/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  415. package/types/custom_auth/controller/ICustomAuthStandardController.d.ts +7 -1
  416. package/types/custom_auth/controller/ICustomAuthStandardController.d.ts.map +1 -1
  417. package/types/custom_auth/core/auth_flow/v2/AuthenticationMethodV2.d.ts +14 -0
  418. package/types/custom_auth/core/auth_flow/v2/AuthenticationMethodV2.d.ts.map +1 -0
  419. package/types/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.d.ts +14 -0
  420. package/types/custom_auth/core/auth_flow/v2/CustomAuthFlowScenarioV2.d.ts.map +1 -0
  421. package/types/custom_auth/core/auth_flow/v2/CustomAuthResultV2.d.ts +53 -0
  422. package/types/custom_auth/core/auth_flow/v2/CustomAuthResultV2.d.ts.map +1 -0
  423. package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorBaseV2.d.ts +40 -0
  424. package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorBaseV2.d.ts.map +1 -0
  425. package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.d.ts +4 -0
  426. package/types/custom_auth/core/auth_flow/v2/error/AuthFlowErrorSubcodesV2.d.ts.map +1 -0
  427. package/types/custom_auth/core/auth_flow/v2/error/RequestChallengeErrorV2.d.ts +11 -0
  428. package/types/custom_auth/core/auth_flow/v2/error/RequestChallengeErrorV2.d.ts.map +1 -0
  429. package/types/custom_auth/core/auth_flow/v2/error/ResetPasswordStartErrorV2.d.ts +23 -0
  430. package/types/custom_auth/core/auth_flow/v2/error/ResetPasswordStartErrorV2.d.ts.map +1 -0
  431. package/types/custom_auth/core/auth_flow/v2/error/VerifyChallengeErrorV2.d.ts +18 -0
  432. package/types/custom_auth/core/auth_flow/v2/error/VerifyChallengeErrorV2.d.ts.map +1 -0
  433. package/types/custom_auth/core/auth_flow/v2/result/MFARequestChallengeResultV2.d.ts +7 -0
  434. package/types/custom_auth/core/auth_flow/v2/result/MFARequestChallengeResultV2.d.ts.map +1 -0
  435. package/types/custom_auth/core/auth_flow/v2/result/MFAResendChallengeResultV2.d.ts +15 -0
  436. package/types/custom_auth/core/auth_flow/v2/result/MFAResendChallengeResultV2.d.ts.map +1 -0
  437. package/types/custom_auth/core/auth_flow/v2/result/MFASubmitChallengeResultV2.d.ts +16 -0
  438. package/types/custom_auth/core/auth_flow/v2/result/MFASubmitChallengeResultV2.d.ts.map +1 -0
  439. package/types/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.d.ts +16 -0
  440. package/types/custom_auth/core/auth_flow/v2/result/RequestChallengeResultV2.d.ts.map +1 -0
  441. package/types/custom_auth/core/auth_flow/v2/result/ResetPasswordStartResultV2.d.ts +18 -0
  442. package/types/custom_auth/core/auth_flow/v2/result/ResetPasswordStartResultV2.d.ts.map +1 -0
  443. package/types/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.d.ts +23 -0
  444. package/types/custom_auth/core/auth_flow/v2/result/VerifyChallengeResultV2.d.ts.map +1 -0
  445. package/types/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.d.ts +21 -0
  446. package/types/custom_auth/core/auth_flow/v2/state/AuthMethodSelectionRequiredStateV2.d.ts.map +1 -0
  447. package/types/custom_auth/core/auth_flow/v2/state/AuthenticationMethodSelectionStateBaseV2.d.ts +17 -0
  448. package/types/custom_auth/core/auth_flow/v2/state/AuthenticationMethodSelectionStateBaseV2.d.ts.map +1 -0
  449. package/types/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.d.ts +14 -0
  450. package/types/custom_auth/core/auth_flow/v2/state/ChallengeVerificationStateBaseV2.d.ts.map +1 -0
  451. package/types/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.d.ts +25 -0
  452. package/types/custom_auth/core/auth_flow/v2/state/CodeRequiredStateV2.d.ts.map +1 -0
  453. package/types/custom_auth/core/auth_flow/v2/state/CompletedStateV2.d.ts +11 -0
  454. package/types/custom_auth/core/auth_flow/v2/state/CompletedStateV2.d.ts.map +1 -0
  455. package/types/custom_auth/core/auth_flow/v2/state/CustomAuthStateParametersV2.d.ts +28 -0
  456. package/types/custom_auth/core/auth_flow/v2/state/CustomAuthStateParametersV2.d.ts.map +1 -0
  457. package/types/custom_auth/core/auth_flow/v2/state/FailedStateV2.d.ts +10 -0
  458. package/types/custom_auth/core/auth_flow/v2/state/FailedStateV2.d.ts.map +1 -0
  459. package/types/custom_auth/core/auth_flow/v2/state/MFARequiredStateV2.d.ts +18 -0
  460. package/types/custom_auth/core/auth_flow/v2/state/MFARequiredStateV2.d.ts.map +1 -0
  461. package/types/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.d.ts +25 -0
  462. package/types/custom_auth/core/auth_flow/v2/state/MFAVerificationRequiredStateV2.d.ts.map +1 -0
  463. package/types/custom_auth/core/error/CustomAuthApiError.d.ts +3 -1
  464. package/types/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -1
  465. package/types/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.d.ts +21 -0
  466. package/types/custom_auth/core/interaction_client/v2/FlowContinuationStateV2.d.ts.map +1 -0
  467. package/types/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.d.ts +35 -0
  468. package/types/custom_auth/core/interaction_client/v2/FlowInteractionClientV2.d.ts.map +1 -0
  469. package/types/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.d.ts +26 -0
  470. package/types/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.d.ts.map +1 -0
  471. package/types/custom_auth/core/interaction_client/v2/parameter/FlowParamsV2.d.ts +43 -0
  472. package/types/custom_auth/core/interaction_client/v2/parameter/FlowParamsV2.d.ts.map +1 -0
  473. package/types/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.d.ts +80 -0
  474. package/types/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.d.ts.map +1 -0
  475. package/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +1 -0
  476. package/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
  477. package/types/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.d.ts +17 -0
  478. package/types/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.d.ts.map +1 -0
  479. package/types/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.d.ts +31 -0
  480. package/types/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.d.ts.map +1 -0
  481. package/types/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.d.ts +23 -0
  482. package/types/custom_auth/core/network_client/custom_auth_api/v2/CustomAuthApiClientV2.d.ts.map +1 -0
  483. package/types/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.d.ts +19 -0
  484. package/types/custom_auth/core/network_client/custom_auth_api/v2/ErrorCodesV2.d.ts.map +1 -0
  485. package/types/custom_auth/core/network_client/custom_auth_api/v2/HrefResolverV2.d.ts +2 -0
  486. package/types/custom_auth/core/network_client/custom_auth_api/v2/HrefResolverV2.d.ts.map +1 -0
  487. package/types/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.d.ts +15 -0
  488. package/types/custom_auth/core/network_client/custom_auth_api/v2/ResponseHandlerV2.d.ts.map +1 -0
  489. package/types/custom_auth/core/network_client/custom_auth_api/v2/request/RequestsV2.d.ts +52 -0
  490. package/types/custom_auth/core/network_client/custom_auth_api/v2/request/RequestsV2.d.ts.map +1 -0
  491. package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorNormalizerV2.d.ts +3 -0
  492. package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorNormalizerV2.d.ts.map +1 -0
  493. package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorResponsesV2.d.ts +37 -0
  494. package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ErrorResponsesV2.d.ts.map +1 -0
  495. package/types/custom_auth/core/network_client/custom_auth_api/v2/response/HalResource.d.ts +12 -0
  496. package/types/custom_auth/core/network_client/custom_auth_api/v2/response/HalResource.d.ts.map +1 -0
  497. package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ResponsesV2.d.ts +133 -0
  498. package/types/custom_auth/core/network_client/custom_auth_api/v2/response/ResponsesV2.d.ts.map +1 -0
  499. package/types/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.d.ts +70 -0
  500. package/types/custom_auth/core/network_client/custom_auth_api/v2/result/BaseResultsV2.d.ts.map +1 -0
  501. package/types/custom_auth/core/network_client/custom_auth_api/v2/result/ResetPasswordResultsV2.d.ts +10 -0
  502. package/types/custom_auth/core/network_client/custom_auth_api/v2/result/ResetPasswordResultsV2.d.ts.map +1 -0
  503. package/types/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.d.ts +33 -0
  504. package/types/custom_auth/core/network_client/custom_auth_api/v2/result/SignUpResultsV2.d.ts.map +1 -0
  505. package/types/custom_auth/core/telemetry/FlowApiIdHelperV2.d.ts +4 -0
  506. package/types/custom_auth/core/telemetry/FlowApiIdHelperV2.d.ts.map +1 -0
  507. package/types/custom_auth/core/telemetry/PublicApiId.d.ts +16 -0
  508. package/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
  509. package/types/custom_auth/index.d.ts +37 -0
  510. package/types/custom_auth/index.d.ts.map +1 -1
  511. package/types/custom_auth/reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.d.ts +18 -0
  512. package/types/custom_auth/reset_password/auth_flow/v2/error_type/SubmitNewPasswordErrorV2.d.ts.map +1 -0
  513. package/types/custom_auth/reset_password/auth_flow/v2/result/SubmitNewPasswordResultV2.d.ts +22 -0
  514. package/types/custom_auth/reset_password/auth_flow/v2/result/SubmitNewPasswordResultV2.d.ts.map +1 -0
  515. package/types/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.d.ts +19 -0
  516. package/types/custom_auth/reset_password/auth_flow/v2/state/NewPasswordRequiredStateV2.d.ts.map +1 -0
  517. package/types/custom_auth/reset_password/auth_flow/v2/state/ResetPasswordStateParametersV2.d.ts +3 -0
  518. package/types/custom_auth/reset_password/auth_flow/v2/state/ResetPasswordStateParametersV2.d.ts.map +1 -0
  519. package/types/custom_auth/sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.d.ts +9 -0
  520. package/types/custom_auth/sign_in/auth_flow/v2/error_type/SignInContinuationErrorV2.d.ts.map +1 -0
  521. package/types/custom_auth/sign_in/auth_flow/v2/error_type/SignInStartErrorV2.d.ts +22 -0
  522. package/types/custom_auth/sign_in/auth_flow/v2/error_type/SignInStartErrorV2.d.ts.map +1 -0
  523. package/types/custom_auth/sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.d.ts +12 -0
  524. package/types/custom_auth/sign_in/auth_flow/v2/error_type/SubmitPasswordErrorV2.d.ts.map +1 -0
  525. package/types/custom_auth/sign_in/auth_flow/v2/result/SignInContinuationResultV2.d.ts +21 -0
  526. package/types/custom_auth/sign_in/auth_flow/v2/result/SignInContinuationResultV2.d.ts.map +1 -0
  527. package/types/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.d.ts +17 -0
  528. package/types/custom_auth/sign_in/auth_flow/v2/result/SignInStartResultV2.d.ts.map +1 -0
  529. package/types/custom_auth/sign_in/auth_flow/v2/result/SubmitPasswordResultV2.d.ts +9 -0
  530. package/types/custom_auth/sign_in/auth_flow/v2/result/SubmitPasswordResultV2.d.ts.map +1 -0
  531. package/types/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.d.ts +17 -0
  532. package/types/custom_auth/sign_in/auth_flow/v2/state/PasswordRequiredStateV2.d.ts.map +1 -0
  533. package/types/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.d.ts +24 -0
  534. package/types/custom_auth/sign_in/auth_flow/v2/state/SignInContinuationStateV2.d.ts.map +1 -0
  535. package/types/custom_auth/sign_in/auth_flow/v2/state/SignInStateParametersV2.d.ts +4 -0
  536. package/types/custom_auth/sign_in/auth_flow/v2/state/SignInStateParametersV2.d.ts.map +1 -0
  537. package/types/custom_auth/sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.d.ts +14 -0
  538. package/types/custom_auth/sign_up/auth_flow/v2/error_type/SignUpStartErrorV2.d.ts.map +1 -0
  539. package/types/custom_auth/sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.d.ts +20 -0
  540. package/types/custom_auth/sign_up/auth_flow/v2/error_type/SubmitAttributesErrorV2.d.ts.map +1 -0
  541. package/types/custom_auth/sign_up/auth_flow/v2/result/SignUpStartResultV2.d.ts +15 -0
  542. package/types/custom_auth/sign_up/auth_flow/v2/result/SignUpStartResultV2.d.ts.map +1 -0
  543. package/types/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.d.ts +8 -0
  544. package/types/custom_auth/sign_up/auth_flow/v2/result/SubmitAttributesResultV2.d.ts.map +1 -0
  545. package/types/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.d.ts +15 -0
  546. package/types/custom_auth/sign_up/auth_flow/v2/state/AttributesRequiredStateV2.d.ts.map +1 -0
  547. package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.d.ts +11 -0
  548. package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpAttributesRequiredStateBaseV2.d.ts.map +1 -0
  549. package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.d.ts +19 -0
  550. package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpPasswordRequiredStateV2.d.ts.map +1 -0
  551. package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpStateParametersV2.d.ts +14 -0
  552. package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpStateParametersV2.d.ts.map +1 -0
  553. package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.d.ts +10 -0
  554. package/types/custom_auth/sign_up/auth_flow/v2/state/SignUpStateTransitionHandlerV2.d.ts.map +1 -0
  555. package/types/index.d.ts +0 -1
  556. package/types/index.d.ts.map +1 -1
  557. package/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  558. package/types/interaction_client/RedirectClient.d.ts.map +1 -1
  559. package/types/packageMetadata.d.ts +1 -1
  560. package/types/webBrokerBridge/PerfEventNames.d.ts +30 -0
  561. package/types/webBrokerBridge/PerfEventNames.d.ts.map +1 -0
  562. package/types/webBrokerBridge/index.d.cts +1 -0
  563. package/types/webBrokerBridge/index.d.ts +3 -5
  564. package/types/webBrokerBridge/index.d.ts.map +1 -1
@@ -0,0 +1,67 @@
1
+ /*! @azure/msal-browser v5.23.0 2026-09-23 */
2
+ 'use strict';
3
+ import { ResponseHandler, Constants } from '@azure/msal-common/browser';
4
+ import { StandardInteractionClient } from '../../../../interaction_client/StandardInteractionClient.mjs';
5
+ import { MethodNotImplementedError } from '../../error/MethodNotImplementedError.mjs';
6
+ import { initializeServerTelemetryManager } from '../../../../interaction_client/BaseInteractionClient.mjs';
7
+
8
+ /*
9
+ * Copyright (c) Microsoft Corporation. All rights reserved.
10
+ * Licensed under the MIT License.
11
+ */
12
+ /*
13
+ * Shared base for Native Auth V2 interaction clients. It extends
14
+ * `StandardInteractionClient` for common browser infrastructure while keeping
15
+ * V1 and V2 token handling independent.
16
+ */
17
+ class InteractionClientBaseV2 extends StandardInteractionClient {
18
+ constructor(config, storageImpl, browserCrypto, logger, eventHandler, navigationClient, performanceClient, customAuthAuthority) {
19
+ super(config, storageImpl, browserCrypto, logger, eventHandler, navigationClient, performanceClient, "");
20
+ this.customAuthAuthority = customAuthAuthority;
21
+ this.tokenResponseHandler = new ResponseHandler(this.config.auth.clientId, this.browserStorage, this.browserCrypto, this.logger, this.performanceClient, null, null);
22
+ }
23
+ // Required by the base contract. After sign-in, use CustomAuthAccountData.getAccessToken().
24
+ acquireToken(
25
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
26
+ request) {
27
+ throw new MethodNotImplementedError("InteractionClientBaseV2.acquireToken");
28
+ }
29
+ // Required by the base contract. After sign-in, use CustomAuthAccountData.signOut().
30
+ logout(
31
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
32
+ request) {
33
+ throw new MethodNotImplementedError("InteractionClientBaseV2.logout");
34
+ }
35
+ getScopes(scopes) {
36
+ const requestedScopes = scopes?.filter((scope) => !!scope) ?? [];
37
+ const seenScopes = new Set(requestedScopes.map((scope) => scope.toLowerCase()));
38
+ const defaultScopes = [
39
+ Constants.OPENID_SCOPE,
40
+ Constants.PROFILE_SCOPE,
41
+ Constants.OFFLINE_ACCESS_SCOPE,
42
+ ];
43
+ return [
44
+ ...requestedScopes,
45
+ ...defaultScopes.filter((scope) => !seenScopes.has(scope.toLowerCase())),
46
+ ];
47
+ }
48
+ async handleTokenResponse(tokenResponse, requestScopes, correlationId, apiId) {
49
+ this.logger.verbose("1aahxi", correlationId);
50
+ const requestTimestamp = Math.round(new Date().getTime() / 1000.0);
51
+ const result = await this.tokenResponseHandler.handleServerTokenResponse(tokenResponse, this.customAuthAuthority, requestTimestamp, {
52
+ authority: this.customAuthAuthority.canonicalAuthority,
53
+ correlationId,
54
+ scopes: requestScopes,
55
+ }, apiId);
56
+ return result;
57
+ }
58
+ createRequestContext(apiId, correlationId) {
59
+ return {
60
+ correlationId,
61
+ telemetryManager: initializeServerTelemetryManager(apiId, this.config.auth.clientId, correlationId, this.browserStorage, this.logger),
62
+ };
63
+ }
64
+ }
65
+
66
+ export { InteractionClientBaseV2 };
67
+ //# sourceMappingURL=InteractionClientBaseV2.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"InteractionClientBaseV2.mjs","sources":["../../../../../src/custom_auth/core/interaction_client/v2/InteractionClientBaseV2.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;AAAA;;;AAGG;AA2BH;;;;AAIG;AACG,MAAgB,uBAAwB,SAAQ,yBAAyB,CAAA;AAG3E,IAAA,WAA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CACnB,CAAC,KAAK,KAAK,CAAC,UAAU,CAAC,GAAG,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC,CAClD;SACJ,CAAC;IACN,CAAC;IAES,MAAM,mBAAmB,CAC/B,aAA8B,EAC9B,aAAuB,EACvB,aAAqB,EACrB,KAAa,EAAA;QAEb,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,QAAA,EAAA,aAAA,CAAA,CAAA;AAEpB,QAAA,MAAM,gBAAgB,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,IAAI,EAAE,CAAC,OAAO,EAAE,GAAG,MAAM,CAAC,CAAC;AAEnE,QAAA,MAAM,MAAM,GACR,MAAM,IAAI,CAAC,oBAAoB,CAAC,yBAAyB,CACrD,aAAiD,EACjD,IAAI,CAAC,mBAAmB,EACxB,gBAAgB,EAChB;AACI,YAAA,SAAS,EAAE,IAAI,CAAC,mBAAmB,CAAC,kBAAkB;YACtD,aAAa;AACb,YAAA,MAAM,EAAE,aAAa;SACxB,EACD,KAAK,CACR,CAAC;AAEN,QAAA,OAAO,MAA8B,CAAC;IAC1C,CAAC;IAES,oBAAoB,CAC1B,KAAa,EACb,aAAqB,EAAA;QAErB,OAAO;YACH,aAAa;YACb,gBAAgB,EAAE,gCAAgC,CAC9C,KAAK,EACL,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,EACzB,aAAa,EACb,IAAI,CAAC,cAAc,EACnB,IAAI,CAAC,MAAM,CACd;SACJ,CAAC;IACN,CAAC;AACJ;;;;"}
@@ -0,0 +1,46 @@
1
+ /*! @azure/msal-browser v5.23.0 2026-09-23 */
2
+ 'use strict';
3
+ /*
4
+ * Copyright (c) Microsoft Corporation. All rights reserved.
5
+ * Licensed under the MIT License.
6
+ */
7
+ // Result type discriminators.
8
+ const FLOW_METHOD_SELECTION_REQUIRED_V2 = "FlowMethodSelectionRequiredResultV2";
9
+ const FLOW_CODE_REQUIRED_V2 = "FlowCodeRequiredResultV2";
10
+ const FLOW_PASSWORD_REQUIRED_V2 = "FlowPasswordRequiredResultV2";
11
+ const FLOW_SIGN_UP_PASSWORD_REQUIRED_V2 = "FlowSignUpPasswordRequiredResultV2";
12
+ const FLOW_MFA_REQUIRED_V2 = "FlowMFARequiredResultV2";
13
+ const FLOW_NEW_PASSWORD_REQUIRED_V2 = "FlowNewPasswordRequiredResultV2";
14
+ const FLOW_ATTRIBUTES_REQUIRED_V2 = "FlowAttributesRequiredResultV2";
15
+ const FLOW_SIGN_IN_CONTINUATION_REQUIRED_V2 = "FlowSignInContinuationRequiredResultV2";
16
+ const FLOW_COMPLETED_V2 = "FlowCompletedResultV2";
17
+ function createFlowMethodSelectionRequiredResultV2(input) {
18
+ return { type: FLOW_METHOD_SELECTION_REQUIRED_V2, ...input };
19
+ }
20
+ function createFlowCodeRequiredResultV2(input) {
21
+ return { type: FLOW_CODE_REQUIRED_V2, ...input };
22
+ }
23
+ function createFlowPasswordRequiredResultV2(input) {
24
+ return { type: FLOW_PASSWORD_REQUIRED_V2, ...input };
25
+ }
26
+ function createFlowSignUpPasswordRequiredResultV2(input) {
27
+ return { type: FLOW_SIGN_UP_PASSWORD_REQUIRED_V2, ...input };
28
+ }
29
+ function createFlowMFARequiredResultV2(input) {
30
+ return { type: FLOW_MFA_REQUIRED_V2, ...input };
31
+ }
32
+ function createFlowNewPasswordRequiredResultV2(input) {
33
+ return { type: FLOW_NEW_PASSWORD_REQUIRED_V2, ...input };
34
+ }
35
+ function createFlowAttributesRequiredResultV2(input) {
36
+ return { type: FLOW_ATTRIBUTES_REQUIRED_V2, ...input };
37
+ }
38
+ function createFlowSignInContinuationRequiredResultV2(input) {
39
+ return { type: FLOW_SIGN_IN_CONTINUATION_REQUIRED_V2, ...input };
40
+ }
41
+ function createFlowCompletedResultV2(input) {
42
+ return { type: FLOW_COMPLETED_V2, ...input };
43
+ }
44
+
45
+ export { FLOW_ATTRIBUTES_REQUIRED_V2, FLOW_CODE_REQUIRED_V2, FLOW_COMPLETED_V2, FLOW_METHOD_SELECTION_REQUIRED_V2, FLOW_MFA_REQUIRED_V2, FLOW_NEW_PASSWORD_REQUIRED_V2, FLOW_PASSWORD_REQUIRED_V2, FLOW_SIGN_IN_CONTINUATION_REQUIRED_V2, FLOW_SIGN_UP_PASSWORD_REQUIRED_V2, createFlowAttributesRequiredResultV2, createFlowCodeRequiredResultV2, createFlowCompletedResultV2, createFlowMFARequiredResultV2, createFlowMethodSelectionRequiredResultV2, createFlowNewPasswordRequiredResultV2, createFlowPasswordRequiredResultV2, createFlowSignInContinuationRequiredResultV2, createFlowSignUpPasswordRequiredResultV2 };
46
+ //# sourceMappingURL=FlowActionResultV2.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FlowActionResultV2.mjs","sources":["../../../../../../src/custom_auth/core/interaction_client/v2/result/FlowActionResultV2.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAmHH;AACO,MAAM,iCAAiC,GAC1C,sCAAsC;AACnC,MAAM,qBAAqB,GAAG,2BAA2B;AACzD,MAAM,yBAAyB,GAAG,+BAA+B;AACjE,MAAM,iCAAiC,GAC1C,qCAAqC;AAClC,MAAM,oBAAoB,GAAG,0BAA0B;AACvD,MAAM,6BAA6B,GAAG,kCAAkC;AACxE,MAAM,2BAA2B,GAAG,iCAAiC;AACrE,MAAM,qCAAqC,GAC9C,yCAAyC;AACtC,MAAM,iBAAiB,GAAG,wBAAwB;AAEnD,SAAU,yCAAyC,CACrD,KAAwD,EAAA;IAExD,OAAO,EAAE,IAAI,EAAE,iCAAiC,EAAE,GAAG,KAAK,EAAE,CAAC;AACjE,CAAC;AAEK,SAAU,8BAA8B,CAC1C,KAA6C,EAAA;IAE7C,OAAO,EAAE,IAAI,EAAE,qBAAqB,EAAE,GAAG,KAAK,EAAE,CAAC;AACrD,CAAC;AAEK,SAAU,kCAAkC,CAC9C,KAAiD,EAAA;IAEjD,OAAO,EAAE,IAAI,EAAE,yBAAyB,EAAE,GAAG,KAAK,EAAE,CAAC;AACzD,CAAC;AAEK,SAAU,wCAAwC,CACpD,KAAuD,EAAA;IAEvD,OAAO,EAAE,IAAI,EAAE,iCAAiC,EAAE,GAAG,KAAK,EAAE,CAAC;AACjE,CAAC;AAEK,SAAU,6BAA6B,CACzC,KAA4C,EAAA;IAE5C,OAAO,EAAE,IAAI,EAAE,oBAAoB,EAAE,GAAG,KAAK,EAAE,CAAC;AACpD,CAAC;AAEK,SAAU,qCAAqC,CACjD,KAAoD,EAAA;IAEpD,OAAO,EAAE,IAAI,EAAE,6BAA6B,EAAE,GAAG,KAAK,EAAE,CAAC;AAC7D,CAAC;AAEK,SAAU,oCAAoC,CAChD,KAAmD,EAAA;IAEnD,OAAO,EAAE,IAAI,EAAE,2BAA2B,EAAE,GAAG,KAAK,EAAE,CAAC;AAC3D,CAAC;AAEK,SAAU,4CAA4C,CACxD,KAA2D,EAAA;IAE3D,OAAO,EAAE,IAAI,EAAE,qCAAqC,EAAE,GAAG,KAAK,EAAE,CAAC;AACrE,CAAC;AAEK,SAAU,2BAA2B,CACvC,KAA0C,EAAA;IAE1C,OAAO,EAAE,IAAI,EAAE,iBAAiB,EAAE,GAAG,KAAK,EAAE,CAAC;AACjD;;;;"}
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v5.21.0 2026-09-02 */
1
+ /*! @azure/msal-browser v5.23.0 2026-09-23 */
2
2
  'use strict';
3
3
  import { HttpHeaderKeys, DefaultPackageInfo, ChallengeType } from '../../../CustomAuthConstants.mjs';
4
4
  import { HTTP_REQUEST_FAILED, CONTINUATION_TOKEN_MISSING, INVALID_RESPONSE_BODY } from './types/ApiErrorCodes.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v5.21.0 2026-09-02 */
1
+ /*! @azure/msal-browser v5.23.0 2026-09-23 */
2
2
  'use strict';
3
3
  import { ResetPasswordApiClient } from './ResetPasswordApiClient.mjs';
4
4
  import { SignupApiClient } from './SignupApiClient.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v5.21.0 2026-09-02 */
1
+ /*! @azure/msal-browser v5.23.0 2026-09-23 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8,6 +8,7 @@ const SIGNIN_INITIATE = "/oauth2/v2.0/initiate";
8
8
  const SIGNIN_CHALLENGE = "/oauth2/v2.0/challenge";
9
9
  const SIGNIN_TOKEN = "/oauth2/v2.0/token";
10
10
  const SIGNIN_INTROSPECT = "/oauth2/v2.0/introspect";
11
+ const AUTHORIZE_CHALLENGE = "/oauth2/v2.0/authorize-challenge";
11
12
  const SIGNUP_START = "/signup/v1.0/start";
12
13
  const SIGNUP_CHALLENGE = "/signup/v1.0/challenge";
13
14
  const SIGNUP_CONTINUE = "/signup/v1.0/continue";
@@ -20,5 +21,5 @@ const REGISTER_INTROSPECT = "/register/v1.0/introspect";
20
21
  const REGISTER_CHALLENGE = "/register/v1.0/challenge";
21
22
  const REGISTER_CONTINUE = "/register/v1.0/continue";
22
23
 
23
- export { REGISTER_CHALLENGE, REGISTER_CONTINUE, REGISTER_INTROSPECT, RESET_PWD_CHALLENGE, RESET_PWD_CONTINUE, RESET_PWD_POLL, RESET_PWD_START, RESET_PWD_SUBMIT, SIGNIN_CHALLENGE, SIGNIN_INITIATE, SIGNIN_INTROSPECT, SIGNIN_TOKEN, SIGNUP_CHALLENGE, SIGNUP_CONTINUE, SIGNUP_START };
24
+ export { AUTHORIZE_CHALLENGE, REGISTER_CHALLENGE, REGISTER_CONTINUE, REGISTER_INTROSPECT, RESET_PWD_CHALLENGE, RESET_PWD_CONTINUE, RESET_PWD_POLL, RESET_PWD_START, RESET_PWD_SUBMIT, SIGNIN_CHALLENGE, SIGNIN_INITIATE, SIGNIN_INTROSPECT, SIGNIN_TOKEN, SIGNUP_CHALLENGE, SIGNUP_CONTINUE, SIGNUP_START };
24
25
  //# sourceMappingURL=CustomAuthApiEndpoint.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"CustomAuthApiEndpoint.mjs","sources":["../../../../../src/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAEI,MAAM,eAAe,GAAG,wBAAwB;AAChD,MAAM,gBAAgB,GAAG,yBAAyB;AAClD,MAAM,YAAY,GAAG,qBAAqB;AAC1C,MAAM,iBAAiB,GAAG,0BAA0B;AAEpD,MAAM,YAAY,GAAG,qBAAqB;AAC1C,MAAM,gBAAgB,GAAG,yBAAyB;AAClD,MAAM,eAAe,GAAG,wBAAwB;AAEhD,MAAM,eAAe,GAAG,4BAA4B;AACpD,MAAM,mBAAmB,GAAG,gCAAgC;AAC5D,MAAM,kBAAkB,GAAG,+BAA+B;AAC1D,MAAM,gBAAgB,GAAG,6BAA6B;AACtD,MAAM,cAAc,GAAG,sCAAsC;AAE7D,MAAM,mBAAmB,GAAG,4BAA4B;AACxD,MAAM,kBAAkB,GAAG,2BAA2B;AACtD,MAAM,iBAAiB,GAAG;;;;"}
1
+ {"version":3,"file":"CustomAuthApiEndpoint.mjs","sources":["../../../../../src/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAEI,MAAM,eAAe,GAAG,wBAAwB;AAChD,MAAM,gBAAgB,GAAG,yBAAyB;AAClD,MAAM,YAAY,GAAG,qBAAqB;AAC1C,MAAM,iBAAiB,GAAG,0BAA0B;AACpD,MAAM,mBAAmB,GAAG,mCAAmC;AAE/D,MAAM,YAAY,GAAG,qBAAqB;AAC1C,MAAM,gBAAgB,GAAG,yBAAyB;AAClD,MAAM,eAAe,GAAG,wBAAwB;AAEhD,MAAM,eAAe,GAAG,4BAA4B;AACpD,MAAM,mBAAmB,GAAG,gCAAgC;AAC5D,MAAM,kBAAkB,GAAG,+BAA+B;AAC1D,MAAM,gBAAgB,GAAG,6BAA6B;AACtD,MAAM,cAAc,GAAG,sCAAsC;AAE7D,MAAM,mBAAmB,GAAG,4BAA4B;AACxD,MAAM,kBAAkB,GAAG,2BAA2B;AACtD,MAAM,iBAAiB,GAAG;;;;"}
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v5.21.0 2026-09-02 */
1
+ /*! @azure/msal-browser v5.23.0 2026-09-23 */
2
2
  'use strict';
3
3
  import { BaseApiClient } from './BaseApiClient.mjs';
4
4
  import { REGISTER_INTROSPECT, REGISTER_CHALLENGE, REGISTER_CONTINUE } from './CustomAuthApiEndpoint.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v5.21.0 2026-09-02 */
1
+ /*! @azure/msal-browser v5.23.0 2026-09-23 */
2
2
  'use strict';
3
3
  import { GrantType, ResetPasswordPollStatus } from '../../../CustomAuthConstants.mjs';
4
4
  import { CustomAuthApiError } from '../../error/CustomAuthApiError.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v5.21.0 2026-09-02 */
1
+ /*! @azure/msal-browser v5.23.0 2026-09-23 */
2
2
  'use strict';
3
3
  import { GrantType } from '../../../CustomAuthConstants.mjs';
4
4
  import { CustomAuthApiError } from '../../error/CustomAuthApiError.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v5.21.0 2026-09-02 */
1
+ /*! @azure/msal-browser v5.23.0 2026-09-23 */
2
2
  'use strict';
3
3
  import { GrantType } from '../../../CustomAuthConstants.mjs';
4
4
  import { BaseApiClient } from './BaseApiClient.mjs';
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v5.21.0 2026-09-02 */
1
+ /*! @azure/msal-browser v5.23.0 2026-09-23 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v5.21.0 2026-09-02 */
1
+ /*! @azure/msal-browser v5.23.0 2026-09-23 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -0,0 +1,30 @@
1
+ /*! @azure/msal-browser v5.23.0 2026-09-23 */
2
+ 'use strict';
3
+ /*
4
+ * Copyright (c) Microsoft Corporation. All rights reserved.
5
+ * Licensed under the MIT License.
6
+ */
7
+ // Content type used by V2 JSON `/api` requests.
8
+ const JSON_CONTENT_TYPE = "application/json";
9
+ // Server action returned after successful credential verification.
10
+ const UPDATE_RELATION = "update";
11
+ const CHALLENGE_RELATION = "challenge";
12
+ const VERIFY_RELATION = "verify";
13
+ const RISK_VERIFY_RELATION = "riskverify";
14
+ const COLLECT_ATTRIBUTES_RELATION = "collectAttributes";
15
+ const AuthenticationMethodTypeV2 = {
16
+ EMAIL: "email",
17
+ PASSWORD: "password",
18
+ SMS: "sms",
19
+ };
20
+ /*
21
+ * Known `state` values on a HAL response. Kept open (the body field is typed as string) because
22
+ * the server may introduce new values; response parsing and flow logic branch on these constants.
23
+ */
24
+ const ResponseStateV2 = {
25
+ CONTINUE: "continue",
26
+ WEB_FALLBACK_REQUIRED: "webFallbackRequired",
27
+ };
28
+
29
+ export { AuthenticationMethodTypeV2, CHALLENGE_RELATION, COLLECT_ATTRIBUTES_RELATION, JSON_CONTENT_TYPE, RISK_VERIFY_RELATION, ResponseStateV2, UPDATE_RELATION, VERIFY_RELATION };
30
+ //# sourceMappingURL=ApiClientConstantsV2.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ApiClientConstantsV2.mjs","sources":["../../../../../../src/custom_auth/core/network_client/custom_auth_api/v2/ApiClientConstantsV2.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAEH;AACO,MAAM,iBAAiB,GAAG,mBAAmB;AAEpD;AACO,MAAM,eAAe,GAAG,SAAS;AACjC,MAAM,kBAAkB,GAAG,YAAY;AACvC,MAAM,eAAe,GAAG,SAAS;AACjC,MAAM,oBAAoB,GAAG,aAAa;AAC1C,MAAM,2BAA2B,GAAG,oBAAoB;AAExD,MAAM,0BAA0B,GAAG;AACtC,IAAA,KAAK,EAAE,OAAO;AACd,IAAA,QAAQ,EAAE,UAAU;AACpB,IAAA,GAAG,EAAE,KAAK;EACH;AAEX;;;AAGG;AACI,MAAM,eAAe,GAAG;AAC3B,IACA,QAAQ,EAAE,UAAU;AACpB,IAAA,qBAAqB,EAAE,qBAAqB;;;;;"}
@@ -0,0 +1,193 @@
1
+ /*! @azure/msal-browser v5.23.0 2026-09-23 */
2
+ 'use strict';
3
+ import { Constants, AADServerParamKeys } from '@azure/msal-common/browser';
4
+ import { DefaultPackageInfo, HttpHeaderKeys } from '../../../../CustomAuthConstants.mjs';
5
+ import { HttpMethod } from '../../http_client/IHttpClient.mjs';
6
+ import { parseUrl, buildUrl } from '../../../utils/UrlUtils.mjs';
7
+ import { filterCustomHeaders } from '../../../utils/CustomHeaderUtils.mjs';
8
+ import { ResponseHandlerV2 } from './ResponseHandlerV2.mjs';
9
+ import { CustomAuthApiError } from '../../../error/CustomAuthApiError.mjs';
10
+ import { resolveHrefV2 } from './HrefResolverV2.mjs';
11
+ import { JSON_CONTENT_TYPE } from './ApiClientConstantsV2.mjs';
12
+ import { AUTHORIZE_CHALLENGE, SIGNIN_TOKEN } from '../CustomAuthApiEndpoint.mjs';
13
+ import { CONTINUATION_TOKEN_MISSING, AUTH_CODE_MISSING, HTTP_REQUEST_FAILED, REDIRECT_TO_WEB, INVALID_TOKEN_RESPONSE } from './ErrorCodesV2.mjs';
14
+
15
+ /*
16
+ * Copyright (c) Microsoft Corporation. All rights reserved.
17
+ * Licensed under the MIT License.
18
+ */
19
+ /*
20
+ * Shared Native Auth V2 network client for OAuth and HAL requests.
21
+ * Handles serialization, headers, error normalization, and server-provided links.
22
+ */
23
+ class BaseApiClientV2 {
24
+ constructor(baseUrl, clientId, httpClient, customAuthApiQueryParams, requestInterceptor, logger) {
25
+ this.clientId = clientId;
26
+ this.httpClient = httpClient;
27
+ this.customAuthApiQueryParams = customAuthApiQueryParams;
28
+ this.requestInterceptor = requestInterceptor;
29
+ this.logger = logger;
30
+ this.baseRequestUrl = parseUrl(!baseUrl.endsWith("/") ? `${baseUrl}/` : baseUrl);
31
+ this.handler = new ResponseHandlerV2(logger);
32
+ }
33
+ /*
34
+ * Starts authorization and returns the initial continuation token and flow links.
35
+ */
36
+ async authorizeChallengeStart(context, scopes) {
37
+ const request = {
38
+ client_id: this.clientId,
39
+ };
40
+ if (scopes?.length) {
41
+ request.scope = scopes.join(" ");
42
+ }
43
+ const parsedResponse = await this.postOAuthForm(AUTHORIZE_CHALLENGE, request, context);
44
+ const { continuationToken, correlationId, error, body } = parsedResponse;
45
+ /*
46
+ * No token means a genuine server error: surface the normalized server error directly. The
47
+ * fallback code/message only applies to a malformed response that carries neither a token
48
+ * nor an error.
49
+ */
50
+ if (!continuationToken) {
51
+ const apiError = error
52
+ ? this.toApiError(error, correlationId)
53
+ : new CustomAuthApiError(CONTINUATION_TOKEN_MISSING, "Continuation token is missing in the response", correlationId);
54
+ this.logger?.error(`15sfif ${apiError.error}`, correlationId);
55
+ throw apiError;
56
+ }
57
+ return {
58
+ continuationToken,
59
+ resetPasswordHref: body.reset_password,
60
+ signInHref: body.sign_in,
61
+ signUpHref: body.sign_up,
62
+ };
63
+ }
64
+ /*
65
+ * Redeems a continuation token for an authorization code and then tokens.
66
+ */
67
+ async completeWithTokens(request, context) {
68
+ const code = await this.authorizeChallengeContinue(request.continuationToken, context);
69
+ return this.token(code, request.scopes, context);
70
+ }
71
+ /*
72
+ * Redeems a continuation token for an authorization code.
73
+ */
74
+ async authorizeChallengeContinue(continuationToken, context) {
75
+ const request = {
76
+ continuation_token: continuationToken,
77
+ };
78
+ const parsedResponse = await this.postOAuthForm(AUTHORIZE_CHALLENGE, request, context);
79
+ this.throwOnApiError(parsedResponse);
80
+ const code = parsedResponse.body.code;
81
+ if (!code) {
82
+ this.logger?.error("0hzeol", parsedResponse.correlationId);
83
+ throw new CustomAuthApiError(AUTH_CODE_MISSING, "Authorization code is missing in the response body", parsedResponse.correlationId);
84
+ }
85
+ return code;
86
+ }
87
+ /*
88
+ * Exchanges an authorization code for tokens.
89
+ */
90
+ async token(code, scopes, context) {
91
+ const request = {
92
+ client_id: this.clientId,
93
+ grant_type: Constants.GrantType.AUTHORIZATION_CODE_GRANT,
94
+ code,
95
+ // Required so the server returns the client_info blob MSAL uses to build the home account id.
96
+ client_info: "1",
97
+ };
98
+ if (scopes.length > 0) {
99
+ request.scope = scopes.join(" ");
100
+ }
101
+ const parsedResponse = await this.postOAuthForm(SIGNIN_TOKEN, request, context);
102
+ this.throwOnApiError(parsedResponse);
103
+ this.ensureTokenResponseIsValid(parsedResponse.body, parsedResponse.correlationId);
104
+ return parsedResponse.body;
105
+ }
106
+ /*
107
+ * Sends a JSON action request to a server-provided link.
108
+ */
109
+ async sendActionRequest(href, method, body, context) {
110
+ if (!body.continuationToken) {
111
+ this.logger?.error("1wtzk1", context.correlationId);
112
+ throw new CustomAuthApiError(CONTINUATION_TOKEN_MISSING, "The HAL request body did not include a continuation token, so the server-driven reset flow cannot advance", context.correlationId);
113
+ }
114
+ const url = resolveHrefV2(this.baseRequestUrl, href);
115
+ const response = await this.sendRequest(url, method, JSON.stringify(body), JSON_CONTENT_TYPE, context);
116
+ const parsedResponse = await this.handler.parseResponse(response, context.correlationId);
117
+ this.throwOnWebFallback(parsedResponse);
118
+ this.throwOnApiError(parsedResponse);
119
+ return parsedResponse;
120
+ }
121
+ throwOnApiError(parsedResponse) {
122
+ if (parsedResponse.error) {
123
+ const apiError = this.toApiError(parsedResponse.error, parsedResponse.correlationId);
124
+ this.logger?.error(`0u4c13 ${apiError.error}`, parsedResponse.correlationId);
125
+ throw apiError;
126
+ }
127
+ }
128
+ async postOAuthForm(endpoint, data, context) {
129
+ const formData = new URLSearchParams(Object.entries(data));
130
+ const url = buildUrl(this.baseRequestUrl.href, endpoint, this.customAuthApiQueryParams);
131
+ const response = await this.sendRequest(url, HttpMethod.POST, formData, Constants.URL_FORM_CONTENT_TYPE, context);
132
+ const parsedResponse = await this.handler.parseResponse(response, context.correlationId);
133
+ this.throwOnWebFallback(parsedResponse);
134
+ return parsedResponse;
135
+ }
136
+ async sendRequest(url, method, body, contentType, context) {
137
+ const headers = {
138
+ ...this.getCommonHeaders(context.correlationId, context.telemetryManager, contentType),
139
+ ...(await this.getAdditionalHeaders(url, context.correlationId)),
140
+ };
141
+ try {
142
+ return await this.httpClient.sendAsync(url, {
143
+ method,
144
+ body,
145
+ headers,
146
+ });
147
+ }
148
+ catch (e) {
149
+ throw new CustomAuthApiError(HTTP_REQUEST_FAILED, `Failed to send request to '${url}': '${e}'`, context.correlationId);
150
+ }
151
+ }
152
+ toApiError(serverError, correlationId) {
153
+ return new CustomAuthApiError(serverError.code, serverError.message ?? "", serverError.correlationId ?? correlationId, serverError.errorCodes, serverError.innerErrorCode, undefined, undefined, serverError.traceId, serverError.timestamp, serverError.attributeValidationDetails);
154
+ }
155
+ throwOnWebFallback(parsedResponse) {
156
+ if (parsedResponse.isWebFallbackRequired) {
157
+ throw new CustomAuthApiError(REDIRECT_TO_WEB, "The server requires the flow to continue in a web browser", parsedResponse.correlationId);
158
+ }
159
+ }
160
+ ensureTokenResponseIsValid(tokenResponse, correlationId) {
161
+ if (!tokenResponse.access_token) {
162
+ throw new CustomAuthApiError(INVALID_TOKEN_RESPONSE, "Access token is missing in the response body", correlationId);
163
+ }
164
+ }
165
+ getCommonHeaders(correlationId, telemetryManager, contentType) {
166
+ return {
167
+ [HttpHeaderKeys.CONTENT_TYPE]: contentType,
168
+ [AADServerParamKeys.X_CLIENT_SKU]: DefaultPackageInfo.SKU,
169
+ [AADServerParamKeys.X_CLIENT_VER]: DefaultPackageInfo.VERSION,
170
+ [AADServerParamKeys.X_CLIENT_OS]: DefaultPackageInfo.OS,
171
+ [AADServerParamKeys.X_CLIENT_CPU]: DefaultPackageInfo.CPU,
172
+ [AADServerParamKeys.X_CLIENT_CURR_TELEM]: telemetryManager.generateCurrentRequestHeaderValue(),
173
+ [AADServerParamKeys.X_CLIENT_LAST_TELEM]: telemetryManager.generateLastRequestHeaderValue(),
174
+ [AADServerParamKeys.CLIENT_REQUEST_ID]: correlationId,
175
+ };
176
+ }
177
+ async getAdditionalHeaders(url, correlationId) {
178
+ if (!this.requestInterceptor) {
179
+ return {};
180
+ }
181
+ try {
182
+ const result = await Promise.resolve(this.requestInterceptor.addAdditionalHeaderFields(url));
183
+ return filterCustomHeaders(result, this.logger, correlationId);
184
+ }
185
+ catch (e) {
186
+ this.logger?.warningPii(`1x9eyr ${e}`, correlationId);
187
+ return {};
188
+ }
189
+ }
190
+ }
191
+
192
+ export { BaseApiClientV2 };
193
+ //# sourceMappingURL=BaseApiClientV2.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseApiClientV2.mjs","sources":["../../../../../../src/custom_auth/core/network_client/custom_auth_api/v2/BaseApiClientV2.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;;;;AAAA;;;AAGG;AA8CH;;;AAGG;MACmB,eAAe,CAAA;IAKjC,WAAA,CACI,OAAe,EACI,QAAgB,EAClB,UAAuB,EACvB,wBAAiD,EACjD,kBAAiD,EAC/C,MAAe,EAAA;QAJf,IAAA,CAAA,QAAQ,GAAR,QAAQ,CAAQ;QAClB,IAAA,CAAA,UAAU,GAAV,UAAU,CAAa;QACvB,IAAA,CAAA,wBAAwB,GAAxB,wBAAwB,CAAyB;QACjD,IAAA,CAAA,kBAAkB,GAAlB,kBAAkB,CAA+B;QAC/C,IAAA,CAAA,MAAM,GAAN,MAAM,CAAS;QAElC,IAAI,CAAC,cAAc,GAAG,QAAQ,CAC1B,CAAC,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,GAAG,CAAA,EAAG,OAAO,CAAA,CAAA,CAAG,GAAG,OAAO,CACnD,CAAC;QACF,IAAI,CAAC,OAAO,GAAG,IAAI,iBAAiB,CAAC,MAAM,CAAC,CAAC;IACjD,CAAC;AAED;;AAEG;AACH,IAAA,MAAM,uBAAuB,CACzB,OAAyB,EACzB,MAAiB,EAAA;AAEjB,QAAA,MAAM,O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