@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
@@ -1,8 +1,8 @@
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
  'use strict';
4
4
 
5
- /*! @azure/msal-common v16.14.0 2026-09-02 */
5
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
6
6
  /*
7
7
  * Copyright (c) Microsoft Corporation. All rights reserved.
8
8
  * Licensed under the MIT License.
@@ -56,7 +56,7 @@ const RESOURCE = "resource";
56
56
  const CLI_DATA = "clidata";
57
57
  const ATTRIBUTE_TOKENS = "attribute_tokens";
58
58
 
59
- /*! @azure/msal-common v16.14.0 2026-09-02 */
59
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
60
60
  /*
61
61
  * Copyright (c) Microsoft Corporation. All rights reserved.
62
62
  * Licensed under the MIT License.
@@ -295,7 +295,7 @@ const JsonWebTokenTypes$1 = {
295
295
  // Token renewal offset default in seconds
296
296
  const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
297
297
 
298
- /*! @azure/msal-common v16.14.0 2026-09-02 */
298
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
299
299
  /*
300
300
  * Copyright (c) Microsoft Corporation. All rights reserved.
301
301
  * Licensed under the MIT License.
@@ -324,7 +324,7 @@ function createAuthError(code, correlationId, additionalMessage) {
324
324
  return new AuthError(code, correlationId, additionalMessage || getDefaultErrorMessage$1(code));
325
325
  }
326
326
 
327
- /*! @azure/msal-common v16.14.0 2026-09-02 */
327
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
328
328
 
329
329
  /*
330
330
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -347,7 +347,7 @@ function createClientAuthError(errorCode, correlationId, additionalMessage) {
347
347
  return new ClientAuthError(errorCode, correlationId, additionalMessage);
348
348
  }
349
349
 
350
- /*! @azure/msal-common v16.14.0 2026-09-02 */
350
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
351
351
  /*
352
352
  * Copyright (c) Microsoft Corporation. All rights reserved.
353
353
  * Licensed under the MIT License.
@@ -433,7 +433,7 @@ var ClientAuthErrorCodes = /*#__PURE__*/Object.freeze({
433
433
  userCanceled: userCanceled
434
434
  });
435
435
 
436
- /*! @azure/msal-common v16.14.0 2026-09-02 */
436
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
437
437
 
438
438
  /*
439
439
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -471,7 +471,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
471
471
  };
472
472
  }
473
473
 
474
- /*! @azure/msal-common v16.14.0 2026-09-02 */
474
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
475
475
 
476
476
  /*
477
477
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -537,7 +537,7 @@ function getJWSPayload(authToken, correlationId) {
537
537
  return matches[2];
538
538
  }
539
539
 
540
- /*! @azure/msal-common v16.14.0 2026-09-02 */
540
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
541
541
 
542
542
  /*
543
543
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -625,7 +625,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
625
625
  return updatedAccountInfo;
626
626
  }
627
627
 
628
- /*! @azure/msal-common v16.14.0 2026-09-02 */
628
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
629
629
  /*
630
630
  * Copyright (c) Microsoft Corporation. All rights reserved.
631
631
  * Licensed under the MIT License.
@@ -639,7 +639,7 @@ const AuthorityType = {
639
639
  Ciam: 3,
640
640
  };
641
641
 
642
- /*! @azure/msal-common v16.14.0 2026-09-02 */
642
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
643
643
  /*
644
644
  * Copyright (c) Microsoft Corporation. All rights reserved.
645
645
  * Licensed under the MIT License.
@@ -661,7 +661,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
661
661
  return null;
662
662
  }
663
663
 
664
- /*! @azure/msal-common v16.14.0 2026-09-02 */
664
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
665
665
  /*
666
666
  * Copyright (c) Microsoft Corporation. All rights reserved.
667
667
  * Licensed under the MIT License.
@@ -685,7 +685,7 @@ const ProtocolMode = {
685
685
  EAR: "EAR",
686
686
  };
687
687
 
688
- /*! @azure/msal-common v16.14.0 2026-09-02 */
688
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
689
689
  /**
690
690
  * Returns the AccountInfo interface for this account.
691
691
  * @internal
@@ -874,7 +874,7 @@ function isAccountEntity(entity) {
874
874
  entity.hasOwnProperty("authorityType"));
875
875
  }
876
876
 
877
- /*! @azure/msal-common v16.14.0 2026-09-02 */
877
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
878
878
  /*
879
879
  * Copyright (c) Microsoft Corporation. All rights reserved.
880
880
  * Licensed under the MIT License.
@@ -891,7 +891,7 @@ var AuthErrorCodes = /*#__PURE__*/Object.freeze({
891
891
  unexpectedError: unexpectedError
892
892
  });
893
893
 
894
- /*! @azure/msal-common v16.14.0 2026-09-02 */
894
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
895
895
 
896
896
  /*
897
897
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -911,7 +911,7 @@ function createClientConfigurationError(errorCode, correlationId) {
911
911
  return new ClientConfigurationError(errorCode, correlationId);
912
912
  }
913
913
 
914
- /*! @azure/msal-common v16.14.0 2026-09-02 */
914
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
915
915
  /*
916
916
  * Copyright (c) Microsoft Corporation. All rights reserved.
917
917
  * Licensed under the MIT License.
@@ -981,7 +981,7 @@ var ClientConfigurationErrorCodes = /*#__PURE__*/Object.freeze({
981
981
  urlParseError: urlParseError
982
982
  });
983
983
 
984
- /*! @azure/msal-common v16.14.0 2026-09-02 */
984
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
985
985
 
986
986
  /*
987
987
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1039,7 +1039,7 @@ class AuthenticationHeaderParser {
1039
1039
  }
1040
1040
  }
1041
1041
 
1042
- /*! @azure/msal-common v16.14.0 2026-09-02 */
1042
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
1043
1043
  /*
1044
1044
  * Copyright (c) Microsoft Corporation. All rights reserved.
1045
1045
  * Licensed under the MIT License.
@@ -1051,7 +1051,7 @@ function isOpenIdConfigResponse(response) {
1051
1051
  response.hasOwnProperty("jwks_uri"));
1052
1052
  }
1053
1053
 
1054
- /*! @azure/msal-common v16.14.0 2026-09-02 */
1054
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
1055
1055
  /*
1056
1056
  * Copyright (c) Microsoft Corporation. All rights reserved.
1057
1057
  * Licensed under the MIT License.
@@ -1131,7 +1131,7 @@ class StringUtils {
1131
1131
  }
1132
1132
  }
1133
1133
 
1134
- /*! @azure/msal-common v16.14.0 2026-09-02 */
1134
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
1135
1135
 
1136
1136
  /*
1137
1137
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1289,7 +1289,7 @@ class UrlString {
1289
1289
  }
1290
1290
  }
1291
1291
 
1292
- /*! @azure/msal-common v16.14.0 2026-09-02 */
1292
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
1293
1293
 
1294
1294
  /*
1295
1295
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1443,7 +1443,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
1443
1443
  return null;
1444
1444
  }
1445
1445
 
1446
- /*! @azure/msal-common v16.14.0 2026-09-02 */
1446
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
1447
1447
  /*
1448
1448
  * Copyright (c) Microsoft Corporation. All rights reserved.
1449
1449
  * Licensed under the MIT License.
@@ -1461,7 +1461,7 @@ const AzureCloudInstance = {
1461
1461
  AzureUsGovernment: "https://login.microsoftonline.us",
1462
1462
  };
1463
1463
 
1464
- /*! @azure/msal-common v16.14.0 2026-09-02 */
1464
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
1465
1465
  /*
1466
1466
  * Copyright (c) Microsoft Corporation. All rights reserved.
1467
1467
  * Licensed under the MIT License.
@@ -1471,7 +1471,7 @@ function isCloudInstanceDiscoveryResponse(response) {
1471
1471
  response.hasOwnProperty("metadata"));
1472
1472
  }
1473
1473
 
1474
- /*! @azure/msal-common v16.14.0 2026-09-02 */
1474
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
1475
1475
  /*
1476
1476
  * Copyright (c) Microsoft Corporation. All rights reserved.
1477
1477
  * Licensed under the MIT License.
@@ -1481,7 +1481,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
1481
1481
  response.hasOwnProperty("error_description"));
1482
1482
  }
1483
1483
 
1484
- /*! @azure/msal-common v16.14.0 2026-09-02 */
1484
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
1485
1485
  /*
1486
1486
  * Copyright (c) Microsoft Corporation. All rights reserved.
1487
1487
  * Licensed under the MIT License.
@@ -1552,7 +1552,7 @@ const RegionDiscoveryGetCurrentVersion = "regionDiscoveryGetCurrentVersion";
1552
1552
  const CacheManagerGetRefreshToken = "cacheManagerGetRefreshToken";
1553
1553
  const SetUserData = "setUserData";
1554
1554
 
1555
- /*! @azure/msal-common v16.14.0 2026-09-02 */
1555
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
1556
1556
  /*
1557
1557
  * Copyright (c) Microsoft Corporation. All rights reserved.
1558
1558
  * Licensed under the MIT License.
@@ -1645,7 +1645,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
1645
1645
  };
1646
1646
  };
1647
1647
 
1648
- /*! @azure/msal-common v16.14.0 2026-09-02 */
1648
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
1649
1649
 
1650
1650
  /*
1651
1651
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1756,7 +1756,7 @@ RegionDiscovery.IMDS_OPTIONS = {
1756
1756
  },
1757
1757
  };
1758
1758
 
1759
- /*! @azure/msal-common v16.14.0 2026-09-02 */
1759
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
1760
1760
  /*
1761
1761
  * Copyright (c) Microsoft Corporation. All rights reserved.
1762
1762
  * Licensed under the MIT License.
@@ -1821,7 +1821,7 @@ function wasClockTurnedBack(cachedAt) {
1821
1821
  return cachedAtSec > nowSeconds();
1822
1822
  }
1823
1823
 
1824
- /*! @azure/msal-common v16.14.0 2026-09-02 */
1824
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
1825
1825
 
1826
1826
  /*
1827
1827
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2108,7 +2108,7 @@ function serializeAttributeTokens(attributeTokens) {
2108
2108
  return [...attributeTokens].sort().join(" ");
2109
2109
  }
2110
2110
 
2111
- /*! @azure/msal-common v16.14.0 2026-09-02 */
2111
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
2112
2112
 
2113
2113
  /*
2114
2114
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3076,7 +3076,7 @@ function buildStaticAuthorityOptions(authOptions) {
3076
3076
  };
3077
3077
  }
3078
3078
 
3079
- /*! @azure/msal-common v16.14.0 2026-09-02 */
3079
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
3080
3080
 
3081
3081
  /*
3082
3082
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3110,7 +3110,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
3110
3110
  }
3111
3111
  }
3112
3112
 
3113
- /*! @azure/msal-common v16.14.0 2026-09-02 */
3113
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
3114
3114
 
3115
3115
  /*
3116
3116
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3306,7 +3306,7 @@ class ScopeSet {
3306
3306
  }
3307
3307
  }
3308
3308
 
3309
- /*! @azure/msal-common v16.14.0 2026-09-02 */
3309
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
3310
3310
 
3311
3311
  /*
3312
3312
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3792,7 +3792,7 @@ function addAttributeTokens(parameters, attributeTokens) {
3792
3792
  }
3793
3793
  }
3794
3794
 
3795
- /*! @azure/msal-common v16.14.0 2026-09-02 */
3795
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
3796
3796
 
3797
3797
  /*
3798
3798
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3914,7 +3914,7 @@ function validateUrl(url, logger, correlationId) {
3914
3914
  }
3915
3915
  }
3916
3916
 
3917
- /*! @azure/msal-common v16.14.0 2026-09-02 */
3917
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
3918
3918
 
3919
3919
  /*
3920
3920
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3962,7 +3962,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
3962
3962
  },
3963
3963
  };
3964
3964
 
3965
- /*! @azure/msal-common v16.14.0 2026-09-02 */
3965
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
3966
3966
 
3967
3967
  /*
3968
3968
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3985,7 +3985,7 @@ const DEFAULT_TOKEN_BINDING_KEY_MANAGER = {
3985
3985
  },
3986
3986
  };
3987
3987
 
3988
- /*! @azure/msal-common v16.14.0 2026-09-02 */
3988
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
3989
3989
  /*
3990
3990
  * Copyright (c) Microsoft Corporation. All rights reserved.
3991
3991
  * Licensed under the MIT License.
@@ -4274,12 +4274,12 @@ class Logger {
4274
4274
  }
4275
4275
  }
4276
4276
 
4277
- /*! @azure/msal-common v16.14.0 2026-09-02 */
4277
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
4278
4278
  /* eslint-disable header/header */
4279
4279
  const name$1 = "@azure/msal-common";
4280
- const version$1 = "16.14.0";
4280
+ const version$1 = "16.14.1";
4281
4281
 
4282
- /*! @azure/msal-common v16.14.0 2026-09-02 */
4282
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
4283
4283
  /*
4284
4284
  * Copyright (c) Microsoft Corporation. All rights reserved.
4285
4285
  * Licensed under the MIT License.
@@ -4287,7 +4287,7 @@ const version$1 = "16.14.0";
4287
4287
  const cacheQuotaExceeded = "cache_quota_exceeded";
4288
4288
  const cacheErrorUnknown = "cache_error_unknown";
4289
4289
 
4290
- /*! @azure/msal-common v16.14.0 2026-09-02 */
4290
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
4291
4291
 
4292
4292
  /*
4293
4293
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4325,7 +4325,7 @@ function createCacheError(e) {
4325
4325
  }
4326
4326
  }
4327
4327
 
4328
- /*! @azure/msal-common v16.14.0 2026-09-02 */
4328
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
4329
4329
 
4330
4330
  /*
4331
4331
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5513,7 +5513,7 @@ class DefaultStorageClass extends CacheManager {
5513
5513
  }
5514
5514
  }
5515
5515
 
5516
- /*! @azure/msal-common v16.14.0 2026-09-02 */
5516
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
5517
5517
  /*
5518
5518
  * Copyright (c) Microsoft Corporation. All rights reserved.
5519
5519
  * Licensed under the MIT License.
@@ -5578,7 +5578,7 @@ const IntFields = new Set([
5578
5578
  "fetchRetryCount",
5579
5579
  ]);
5580
5580
 
5581
- /*! @azure/msal-common v16.14.0 2026-09-02 */
5581
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
5582
5582
 
5583
5583
  /*
5584
5584
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5636,7 +5636,7 @@ class StubPerformanceClient {
5636
5636
  }
5637
5637
  }
5638
5638
 
5639
- /*! @azure/msal-common v16.14.0 2026-09-02 */
5639
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
5640
5640
 
5641
5641
  /*
5642
5642
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5734,7 +5734,7 @@ function isOidcProtocolMode(config) {
5734
5734
  return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
5735
5735
  }
5736
5736
 
5737
- /*! @azure/msal-common v16.14.0 2026-09-02 */
5737
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
5738
5738
  /*
5739
5739
  * Copyright (c) Microsoft Corporation. All rights reserved.
5740
5740
  * Licensed under the MIT License.
@@ -5761,7 +5761,7 @@ function isOidcProtocolMode(config) {
5761
5761
  }
5762
5762
  }
5763
5763
 
5764
- /*! @azure/msal-common v16.14.0 2026-09-02 */
5764
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
5765
5765
 
5766
5766
  /*
5767
5767
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5782,7 +5782,7 @@ function createJoseHeaderError(code, correlationId) {
5782
5782
  return new JoseHeaderError(code, correlationId);
5783
5783
  }
5784
5784
 
5785
- /*! @azure/msal-common v16.14.0 2026-09-02 */
5785
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
5786
5786
  /*
5787
5787
  * Copyright (c) Microsoft Corporation. All rights reserved.
5788
5788
  * Licensed under the MIT License.
@@ -5807,7 +5807,7 @@ function isPlainObject(value) {
5807
5807
  return Object.getPrototypeOf(value) === proto;
5808
5808
  }
5809
5809
 
5810
- /*! @azure/msal-common v16.14.0 2026-09-02 */
5810
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
5811
5811
  /*
5812
5812
  * Copyright (c) Microsoft Corporation. All rights reserved.
5813
5813
  * Licensed under the MIT License.
@@ -5817,7 +5817,7 @@ const missingAlgError = "missing_alg_error";
5817
5817
  const missingJwkError = "missing_jwk_error";
5818
5818
  const invalidJwkError = "invalid_jwk_error";
5819
5819
 
5820
- /*! @azure/msal-common v16.14.0 2026-09-02 */
5820
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
5821
5821
 
5822
5822
  /*
5823
5823
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5883,7 +5883,7 @@ class JoseHeader {
5883
5883
  }
5884
5884
  }
5885
5885
 
5886
- /*! @azure/msal-common v16.14.0 2026-09-02 */
5886
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
5887
5887
 
5888
5888
  /*
5889
5889
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5984,7 +5984,7 @@ class PopTokenGenerator {
5984
5984
  }
5985
5985
  }
5986
5986
 
5987
- /*! @azure/msal-common v16.14.0 2026-09-02 */
5987
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
5988
5988
 
5989
5989
  /*
5990
5990
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6129,7 +6129,7 @@ class DpopProofGenerator {
6129
6129
  }
6130
6130
  }
6131
6131
 
6132
- /*! @azure/msal-common v16.14.0 2026-09-02 */
6132
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
6133
6133
  /*
6134
6134
  * Copyright (c) Microsoft Corporation. All rights reserved.
6135
6135
  * Licensed under the MIT License.
@@ -6193,7 +6193,7 @@ var InteractionRequiredAuthErrorCodes = /*#__PURE__*/Object.freeze({
6193
6193
  uiNotAllowed: uiNotAllowed
6194
6194
  });
6195
6195
 
6196
- /*! @azure/msal-common v16.14.0 2026-09-02 */
6196
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
6197
6197
 
6198
6198
  /*
6199
6199
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6260,7 +6260,7 @@ function createInteractionRequiredAuthError(errorCode, correlationId, errorMessa
6260
6260
  return new InteractionRequiredAuthError(errorCode, correlationId, errorMessage);
6261
6261
  }
6262
6262
 
6263
- /*! @azure/msal-common v16.14.0 2026-09-02 */
6263
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
6264
6264
 
6265
6265
  /*
6266
6266
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6279,7 +6279,7 @@ class ServerError extends AuthError {
6279
6279
  }
6280
6280
  }
6281
6281
 
6282
- /*! @azure/msal-common v16.14.0 2026-09-02 */
6282
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
6283
6283
 
6284
6284
  /*
6285
6285
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6350,7 +6350,7 @@ function parseRequestState(base64Decode, state, correlationId) {
6350
6350
  }
6351
6351
  }
6352
6352
 
6353
- /*! @azure/msal-common v16.14.0 2026-09-02 */
6353
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
6354
6354
 
6355
6355
  /*
6356
6356
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6423,11 +6423,26 @@ class ResponseHandler {
6423
6423
  let idTokenClaims;
6424
6424
  if (serverTokenResponse.id_token) {
6425
6425
  idTokenClaims = extractTokenClaims(serverTokenResponse.id_token || "", this.cryptoObj.base64Decode, request.correlationId);
6426
- // token nonce check (TODO: Add a warning if no nonce is given?)
6427
- if (authCodePayload && authCodePayload.nonce) {
6428
- if (idTokenClaims.nonce !== authCodePayload.nonce) {
6429
- throw createClientAuthError(nonceMismatch, request.correlationId);
6430
- }
6426
+ }
6427
+ /*
6428
+ * Callers opt in to strict nonce-presence validation by including
6429
+ * the nonce property, even when its value is undefined.
6430
+ */
6431
+ if (authCodePayload &&
6432
+ Object.prototype.hasOwnProperty.call(authCodePayload, "nonce")) {
6433
+ const expectedNonce = authCodePayload.nonce;
6434
+ const tokenNonce = idTokenClaims?.nonce;
6435
+ // Warn when the ID Token nonce cannot be bound to the request.
6436
+ if (tokenNonce !== undefined && expectedNonce === undefined) {
6437
+ this.logger.warning("0thba9", request.correlationId);
6438
+ throw createClientAuthError(nonceMismatch, request.correlationId);
6439
+ }
6440
+ // If the request supplies a nonce, the ID Token value must be a matching string.
6441
+ if (expectedNonce !== undefined &&
6442
+ (typeof expectedNonce !== "string" ||
6443
+ typeof tokenNonce !== "string" ||
6444
+ expectedNonce !== tokenNonce)) {
6445
+ throw createClientAuthError(nonceMismatch, request.correlationId);
6431
6446
  }
6432
6447
  }
6433
6448
  // generate homeAccountId
@@ -6763,7 +6778,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
6763
6778
  return baseAccount;
6764
6779
  }
6765
6780
 
6766
- /*! @azure/msal-common v16.14.0 2026-09-02 */
6781
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
6767
6782
  /*
6768
6783
  * Copyright (c) Microsoft Corporation. All rights reserved.
6769
6784
  * Licensed under the MIT License.
@@ -6773,7 +6788,7 @@ const CcsCredentialType = {
6773
6788
  UPN: "UPN",
6774
6789
  };
6775
6790
 
6776
- /*! @azure/msal-common v16.14.0 2026-09-02 */
6791
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
6777
6792
  /*
6778
6793
  * Copyright (c) Microsoft Corporation. All rights reserved.
6779
6794
  * Licensed under the MIT License.
@@ -6792,7 +6807,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint, fmiP
6792
6807
  }
6793
6808
  }
6794
6809
 
6795
- /*! @azure/msal-common v16.14.0 2026-09-02 */
6810
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
6796
6811
 
6797
6812
  /*
6798
6813
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6816,7 +6831,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
6816
6831
  };
6817
6832
  }
6818
6833
 
6819
- /*! @azure/msal-common v16.14.0 2026-09-02 */
6834
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
6820
6835
 
6821
6836
  /*
6822
6837
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6902,7 +6917,7 @@ class ThrottlingUtils {
6902
6917
  }
6903
6918
  }
6904
6919
 
6905
- /*! @azure/msal-common v16.14.0 2026-09-02 */
6920
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
6906
6921
 
6907
6922
  /*
6908
6923
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6933,7 +6948,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
6933
6948
  return new NetworkError(error, httpStatus, responseHeaders);
6934
6949
  }
6935
6950
 
6936
- /*! @azure/msal-common v16.14.0 2026-09-02 */
6951
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
6937
6952
 
6938
6953
  /*
6939
6954
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7066,7 +7081,7 @@ async function sendPostRequest(thumbprint, tokenEndpoint, options, correlationId
7066
7081
  return response;
7067
7082
  }
7068
7083
 
7069
- /*! @azure/msal-common v16.14.0 2026-09-02 */
7084
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
7070
7085
 
7071
7086
  /*
7072
7087
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7330,7 +7345,7 @@ class AuthorizationCodeClient {
7330
7345
  }
7331
7346
  }
7332
7347
 
7333
- /*! @azure/msal-common v16.14.0 2026-09-02 */
7348
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
7334
7349
 
7335
7350
  /*
7336
7351
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7557,7 +7572,7 @@ function extractLoginHint(account) {
7557
7572
  return account.loginHint || account.idTokenClaims?.login_hint || null;
7558
7573
  }
7559
7574
 
7560
- /*! @azure/msal-common v16.14.0 2026-09-02 */
7575
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
7561
7576
 
7562
7577
  /*
7563
7578
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8106,7 +8121,7 @@ class PerformanceClient {
8106
8121
  }
8107
8122
  }
8108
8123
 
8109
- /*! @azure/msal-common v16.14.0 2026-09-02 */
8124
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
8110
8125
 
8111
8126
  /*
8112
8127
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8340,7 +8355,7 @@ class RefreshTokenClient {
8340
8355
  }
8341
8356
  }
8342
8357
 
8343
- /*! @azure/msal-common v16.14.0 2026-09-02 */
8358
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
8344
8359
 
8345
8360
  /*
8346
8361
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8633,7 +8648,7 @@ class StubServerTelemetryManager extends ServerTelemetryManager {
8633
8648
  clearNativeBrokerErrorCode() { }
8634
8649
  }
8635
8650
 
8636
- /*! @azure/msal-common v16.14.0 2026-09-02 */
8651
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
8637
8652
 
8638
8653
  /*
8639
8654
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8760,7 +8775,7 @@ class SilentFlowClient {
8760
8775
  }
8761
8776
  }
8762
8777
 
8763
- /*! @azure/msal-common v16.14.0 2026-09-02 */
8778
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
8764
8779
 
8765
8780
  /*
8766
8781
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8776,7 +8791,7 @@ const StubbedNetworkModule = {
8776
8791
  },
8777
8792
  };
8778
8793
 
8779
- /*! @azure/msal-common v16.14.0 2026-09-02 */
8794
+ /*! @azure/msal-common v16.14.1 2026-09-23 */
8780
8795
 
8781
8796
  /*
8782
8797
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -11397,7 +11412,7 @@ const EventType = {
11397
11412
 
11398
11413
  /* eslint-disable header/header */
11399
11414
  const name = "@azure/msal-browser";
11400
- const version = "5.21.0";
11415
+ const version = "5.23.0";
11401
11416
 
11402
11417
  /*
11403
11418
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -13756,6 +13771,49 @@ class InteractionHandler {
13756
13771
  }
13757
13772
  }
13758
13773
 
13774
+ /*
13775
+ * Copyright (c) Microsoft Corporation. All rights reserved.
13776
+ * Licensed under the MIT License.
13777
+ */
13778
+ /**
13779
+ * Token types supported by the platform broker request contract.
13780
+ */
13781
+ const PlatformAuthTokenType = {
13782
+ DPOP_WITH_PROOF: "dpop+proof",
13783
+ };
13784
+ const PROOF_OF_POSSESSION_TOKEN_TYPES = [
13785
+ AuthenticationScheme$1.POP,
13786
+ AuthenticationScheme$1.DPOP,
13787
+ PlatformAuthTokenType.DPOP_WITH_PROOF,
13788
+ ];
13789
+ /**
13790
+ * Returns whether a platform broker token type requires proof request metadata.
13791
+ */
13792
+ function isProofOfPossessionTokenType(tokenType) {
13793
+ return (tokenType !== undefined &&
13794
+ PROOF_OF_POSSESSION_TOKEN_TYPES.includes(tokenType));
13795
+ }
13796
+ /**
13797
+ * Adds canonical proof request fields to the broker no-cache property bag.
13798
+ */
13799
+ function createPlatformAuthExtraParametersNoCache(extraParametersNoCache, isProofOfPossessionRequest, resourceRequestMethod, resourceRequestUri, dpopNonce) {
13800
+ if (!isProofOfPossessionRequest) {
13801
+ return extraParametersNoCache;
13802
+ }
13803
+ return {
13804
+ ...extraParametersNoCache,
13805
+ ...(resourceRequestMethod && {
13806
+ pop_method: resourceRequestMethod,
13807
+ }),
13808
+ ...(resourceRequestUri && {
13809
+ pop_url: resourceRequestUri,
13810
+ }),
13811
+ ...(dpopNonce && {
13812
+ pop_nonce: dpopNonce,
13813
+ }),
13814
+ };
13815
+ }
13816
+
13759
13817
  /*
13760
13818
  * Copyright (c) Microsoft Corporation. All rights reserved.
13761
13819
  * Licensed under the MIT License.
@@ -14035,6 +14093,7 @@ class PlatformAuthInteractionClient extends BaseInteractionClient {
14035
14093
  scopes: ScopeSet.fromString(request.scope, this.correlationId).asArray(),
14036
14094
  account: cachedAccount,
14037
14095
  forceRefresh: false,
14096
+ resource: request.extraParameters?.resource,
14038
14097
  };
14039
14098
  // Preserve FMI partition semantics for silent cache filtering.
14040
14099
  if (request.attributeTokens) {
@@ -14372,6 +14431,9 @@ class PlatformAuthInteractionClient extends BaseInteractionClient {
14372
14431
  }
14373
14432
  : undefined;
14374
14433
  const cachedAccessToken = createAccessTokenEntity(homeAccountIdentifier, environment, response.access_token, request.clientId, idTokenClaims.tid || tenantId, responseScopes.printScopes(), tokenExpirationSeconds, 0, base64Decode, request.correlationId, undefined, request.tokenType, undefined, request.keyId, additionalCacheKeyComponents);
14434
+ if (request.extraParameters?.resource) {
14435
+ cachedAccessToken.resource = request.extraParameters.resource;
14436
+ }
14375
14437
  // save idtoken credential in configured browser storage
14376
14438
  if (!!cachedIdToken && storeInCache?.idToken !== false) {
14377
14439
  await this.browserStorage.setIdTokenCredential(cachedIdToken, this.correlationId, isKmsi(idTokenClaims));
@@ -14456,7 +14518,7 @@ class PlatformAuthInteractionClient extends BaseInteractionClient {
14456
14518
  * scopes are expected to be received by the native broker as "scope" and will be added to the request below. Other properties that should be dropped from the request to the native broker can be included in the object destructuring here.
14457
14519
  * attributeTokens is destructured out because PlatformAuthRequest represents it as a pre-serialized string, not the caller-provided Array<string>.
14458
14520
  */
14459
- const { scopes, claims } = request;
14521
+ const { scopes, claims, extraParametersNoCache, dpopNonce } = request;
14460
14522
  const scopeSet = new ScopeSet(scopes || [], this.correlationId);
14461
14523
  scopeSet.appendScopes(OIDC_DEFAULT_SCOPES$1);
14462
14524
  const mergedClaims = buildMergedClaims$1(claims, configClaims?.length ? configClaims : undefined);
@@ -14489,6 +14551,7 @@ class PlatformAuthInteractionClient extends BaseInteractionClient {
14489
14551
  resourceRequestUri: request.resourceRequestUri,
14490
14552
  shrClaims: request.shrClaims,
14491
14553
  shrNonce: request.shrNonce,
14554
+ extraParametersNoCache: createPlatformAuthExtraParametersNoCache(extraParametersNoCache, isProofOfPossessionTokenType(request.authenticationScheme), request.resourceRequestMethod, request.resourceRequestUri, dpopNonce),
14492
14555
  };
14493
14556
  if (hasAttributeTokens) {
14494
14557
  validatedRequest.attributeTokens =
@@ -15316,9 +15379,12 @@ class PlatformAuthExtensionHandler {
15316
15379
  async sendMessage(request) {
15317
15380
  this.logger.trace(`0on4p2 ${this.platformAuthType}`, request.correlationId);
15318
15381
  // fall back to native calls
15382
+ const extensionRequest = { ...request };
15383
+ delete extensionRequest.resourceRequestMethod;
15384
+ delete extensionRequest.resourceRequestUri;
15319
15385
  const messageBody = {
15320
15386
  method: NativeExtensionMethod.GetToken,
15321
- request: request,
15387
+ request: extensionRequest,
15322
15388
  };
15323
15389
  const req = {
15324
15390
  channel: PlatformAuthConstants.CHANNEL_ID,
@@ -15609,7 +15675,9 @@ class PlatformAuthDOMHandler {
15609
15675
  }
15610
15676
  initializePlatformDOMRequest(request) {
15611
15677
  this.logger.trace(`15d6yv ${this.platformAuthType}`, request.correlationId);
15612
- const { accountId, clientId, authority, scope, redirectUri, correlationId, state, extraParameters, ...remainingProperties } = request;
15678
+ const { accountId, clientId, authority, scope, redirectUri, correlationId, state, preferBinding, enclave, reqCnf, extraParametersNoCache, extraParameters, ...remainingProperties } = request;
15679
+ delete remainingProperties.resourceRequestMethod;
15680
+ delete remainingProperties.resourceRequestUri;
15613
15681
  const validExtraParameters = this.getDOMExtraParams(remainingProperties, correlationId);
15614
15682
  const platformDOMRequest = {
15615
15683
  accountId: accountId,
@@ -15625,6 +15693,10 @@ class PlatformAuthDOMHandler {
15625
15693
  redirectUri: redirectUri,
15626
15694
  scope: scope,
15627
15695
  state: state,
15696
+ preferBinding: preferBinding,
15697
+ enclave: enclave,
15698
+ requestConfirmation: reqCnf,
15699
+ extraParametersNoCache,
15628
15700
  };
15629
15701
  return platformDOMRequest;
15630
15702
  }
@@ -15658,6 +15730,8 @@ class PlatformAuthDOMHandler {
15658
15730
  }
15659
15731
  convertToPlatformBrokerResponse(response, correlationId) {
15660
15732
  this.logger.trace(`14913t ${this.platformAuthType}`, correlationId);
15733
+ const responseProperties = response.properties || {};
15734
+ const bindingAttested = this.parseDOMBoolean(responseProperties.binding_attested, "binding_attested", correlationId);
15661
15735
  const nativeResponse = {
15662
15736
  access_token: response.accessToken,
15663
15737
  id_token: response.idToken,
@@ -15666,12 +15740,24 @@ class PlatformAuthDOMHandler {
15666
15740
  expires_in: response.expiresIn,
15667
15741
  scope: response.scopes,
15668
15742
  state: response.state || "",
15669
- properties: response.properties || {},
15743
+ properties: responseProperties,
15670
15744
  extendedLifetimeToken: response.extendedLifetimeToken ?? false,
15671
15745
  shr: response.proofOfPossessionPayload,
15746
+ token_type: responseProperties.token_type,
15747
+ DPoP: responseProperties.dpop_proof,
15748
+ binding_attested: bindingAttested,
15672
15749
  };
15673
15750
  return nativeResponse;
15674
15751
  }
15752
+ parseDOMBoolean(value, propertyName, correlationId) {
15753
+ if (value === undefined) {
15754
+ return undefined;
15755
+ }
15756
+ if (value === "true" || value === "false") {
15757
+ return value === "true";
15758
+ }
15759
+ throw createAuthError(unexpectedError, correlationId, `Platform broker returned invalid ${propertyName} value.`);
15760
+ }
15675
15761
  getDOMExtraParams(extraParameters, correlationId) {
15676
15762
  try {
15677
15763
  const stringifiedProperties = {};
@@ -16316,12 +16402,17 @@ class RedirectClient extends StandardInteractionClient {
16316
16402
  async acquireToken(request) {
16317
16403
  const validRequest = await invokeAsync(initializeAuthorizationRequest, StandardInteractionClientInitializeAuthorizationRequest, this.logger, this.performanceClient, this.correlationId)(request, exports.InteractionType.Redirect, this.config, this.browserCrypto, this.browserStorage, this.logger, this.performanceClient, this.correlationId);
16318
16404
  validRequest.platformBroker = isPlatformAuthAllowed(this.config, this.logger, this.correlationId, this.platformAuthProvider, request.authenticationScheme);
16405
+ let rejectBackButtonCancellation;
16406
+ const backButtonCancellation = new Promise((_, reject) => {
16407
+ rejectBackButtonCancellation = reject;
16408
+ });
16319
16409
  const handleBackButton = (event) => {
16320
16410
  // Clear temporary cache if the back button is clicked during the redirect flow.
16321
16411
  if (event.persisted) {
16322
16412
  this.logger.verbose("0udvtt", this.correlationId);
16323
16413
  this.browserStorage.resetRequestCache(this.correlationId);
16324
16414
  this.eventHandler.emitEvent(EventType.RESTORE_FROM_BFCACHE, this.correlationId, exports.InteractionType.Redirect);
16415
+ rejectBackButtonCancellation(createBrowserAuthError(userCancelled, this.correlationId));
16325
16416
  }
16326
16417
  };
16327
16418
  const redirectStartPage = this.getRedirectStartPage(request.redirectStartPage);
@@ -16331,12 +16422,10 @@ class RedirectClient extends StandardInteractionClient {
16331
16422
  // Clear temporary cache if the back button is clicked during the redirect flow.
16332
16423
  window.addEventListener("pageshow", handleBackButton);
16333
16424
  try {
16334
- if (this.config.system.protocolMode === ProtocolMode.EAR) {
16335
- await this.executeEarFlow(validRequest);
16336
- }
16337
- else {
16338
- await this.executeCodeFlow(validRequest);
16339
- }
16425
+ const redirectOperation = this.config.system.protocolMode === ProtocolMode.EAR
16426
+ ? this.executeEarFlow(validRequest)
16427
+ : this.executeCodeFlow(validRequest);
16428
+ await Promise.race([redirectOperation, backButtonCancellation]);
16340
16429
  }
16341
16430
  catch (e) {
16342
16431
  if (e instanceof AuthError) {