@azure/msal-browser 4.16.0 → 4.18.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 (340) hide show
  1. package/dist/app/IPublicClientApplication.mjs +1 -1
  2. package/dist/app/PublicClientApplication.mjs +1 -1
  3. package/dist/app/PublicClientNext.mjs +1 -1
  4. package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
  5. package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
  6. package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
  7. package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
  8. package/dist/cache/AccountManager.mjs +1 -1
  9. package/dist/cache/AsyncMemoryStorage.mjs +1 -1
  10. package/dist/cache/BrowserCacheManager.mjs +1 -1
  11. package/dist/cache/CacheHelpers.mjs +1 -1
  12. package/dist/cache/CookieStorage.mjs +1 -1
  13. package/dist/cache/DatabaseStorage.mjs +1 -1
  14. package/dist/cache/LocalStorage.mjs +1 -1
  15. package/dist/cache/MemoryStorage.mjs +1 -1
  16. package/dist/cache/SessionStorage.mjs +1 -1
  17. package/dist/cache/TokenCache.mjs +1 -1
  18. package/dist/config/Configuration.mjs +1 -1
  19. package/dist/controllers/ControllerFactory.mjs +1 -1
  20. package/dist/controllers/NestedAppAuthController.mjs +1 -1
  21. package/dist/controllers/StandardController.mjs +1 -1
  22. package/dist/controllers/UnknownOperatingContextController.mjs +1 -1
  23. package/dist/crypto/BrowserCrypto.mjs +1 -1
  24. package/dist/crypto/CryptoOps.mjs +1 -1
  25. package/dist/crypto/PkceGenerator.mjs +1 -1
  26. package/dist/crypto/SignedHttpRequest.mjs +1 -1
  27. package/dist/custom-auth-path/app/PublicClientApplication.mjs +1 -1
  28. package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
  29. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
  30. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
  31. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
  32. package/dist/custom-auth-path/cache/AccountManager.mjs +1 -1
  33. package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs +1 -1
  34. package/dist/custom-auth-path/cache/BrowserCacheManager.mjs +1 -1
  35. package/dist/custom-auth-path/cache/CacheHelpers.mjs +1 -1
  36. package/dist/custom-auth-path/cache/CookieStorage.mjs +1 -1
  37. package/dist/custom-auth-path/cache/DatabaseStorage.mjs +1 -1
  38. package/dist/custom-auth-path/cache/LocalStorage.mjs +1 -1
  39. package/dist/custom-auth-path/cache/MemoryStorage.mjs +1 -1
  40. package/dist/custom-auth-path/cache/SessionStorage.mjs +1 -1
  41. package/dist/custom-auth-path/cache/TokenCache.mjs +1 -1
  42. package/dist/custom-auth-path/config/Configuration.mjs +1 -1
  43. package/dist/custom-auth-path/controllers/ControllerFactory.mjs +1 -1
  44. package/dist/custom-auth-path/controllers/StandardController.mjs +1 -1
  45. package/dist/custom-auth-path/crypto/BrowserCrypto.mjs +1 -1
  46. package/dist/custom-auth-path/crypto/CryptoOps.mjs +1 -1
  47. package/dist/custom-auth-path/crypto/PkceGenerator.mjs +1 -1
  48. package/dist/custom-auth-path/custom_auth/CustomAuthActionInputs.d.ts +3 -0
  49. package/dist/custom-auth-path/custom_auth/CustomAuthActionInputs.d.ts.map +1 -1
  50. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts +1 -1
  51. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs +1 -1
  52. package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
  53. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  54. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +8 -2
  55. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs.map +1 -1
  56. package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs +1 -1
  57. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +5 -0
  58. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  59. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +10 -1
  60. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs.map +1 -1
  61. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
  62. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
  63. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
  64. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs +1 -1
  65. package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs +1 -1
  66. package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
  67. package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
  68. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
  69. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
  70. package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
  71. package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
  72. package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
  73. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs +1 -1
  74. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
  75. package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs +1 -1
  76. package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
  77. package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
  78. package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
  79. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
  80. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
  81. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
  82. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
  83. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
  84. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
  85. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  86. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +4 -1
  87. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs.map +1 -1
  88. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
  89. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
  90. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +1 -0
  91. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
  92. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
  93. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
  94. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
  95. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs +1 -1
  96. package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.d.ts +1 -0
  97. package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -1
  98. package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs +18 -2
  99. package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs.map +1 -1
  100. package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs +1 -1
  101. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts.map +1 -1
  102. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +8 -4
  103. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs.map +1 -1
  104. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
  105. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
  106. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
  107. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
  108. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
  109. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
  110. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
  111. package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
  112. package/dist/custom-auth-path/custom_auth/index.mjs +1 -1
  113. package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
  114. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
  115. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
  116. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
  117. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
  118. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
  119. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
  120. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
  121. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
  122. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
  123. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
  124. package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
  125. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
  126. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +5 -0
  127. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -1
  128. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +8 -1
  129. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs.map +1 -1
  130. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
  131. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
  132. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
  133. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.mjs +1 -1
  134. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
  135. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
  136. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +2 -1
  137. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs.map +1 -1
  138. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
  139. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -1
  140. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +6 -1
  141. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs.map +1 -1
  142. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
  143. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -1
  144. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +2 -1
  145. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs.map +1 -1
  146. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
  147. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +1 -0
  148. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -1
  149. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  150. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +10 -1
  151. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs.map +1 -1
  152. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts +3 -0
  153. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts.map +1 -1
  154. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
  155. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
  156. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
  157. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
  158. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
  159. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
  160. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
  161. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
  162. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
  163. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
  164. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
  165. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
  166. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
  167. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
  168. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
  169. package/dist/custom-auth-path/encode/Base64Decode.mjs +1 -1
  170. package/dist/custom-auth-path/encode/Base64Encode.mjs +1 -1
  171. package/dist/custom-auth-path/error/BrowserAuthError.mjs +1 -1
  172. package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +1 -1
  173. package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs +1 -1
  174. package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  175. package/dist/custom-auth-path/error/NativeAuthError.mjs +1 -1
  176. package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +1 -1
  177. package/dist/custom-auth-path/event/EventHandler.mjs +1 -1
  178. package/dist/custom-auth-path/event/EventType.mjs +1 -1
  179. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +1 -1
  180. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  181. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
  182. package/dist/custom-auth-path/interaction_client/PopupClient.mjs +1 -1
  183. package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +1 -1
  184. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +1 -1
  185. package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +1 -1
  186. package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +1 -1
  187. package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +1 -1
  188. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +1 -1
  189. package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +1 -1
  190. package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +1 -1
  191. package/dist/custom-auth-path/navigation/NavigationClient.mjs +1 -1
  192. package/dist/custom-auth-path/network/FetchClient.mjs +1 -1
  193. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +1 -1
  194. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +1 -1
  195. package/dist/custom-auth-path/packageMetadata.d.ts +1 -1
  196. package/dist/custom-auth-path/packageMetadata.mjs +2 -2
  197. package/dist/custom-auth-path/protocol/Authorize.mjs +1 -1
  198. package/dist/custom-auth-path/request/RequestHelpers.mjs +1 -1
  199. package/dist/custom-auth-path/response/ResponseHandler.mjs +1 -1
  200. package/dist/custom-auth-path/utils/BrowserConstants.mjs +1 -1
  201. package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +1 -1
  202. package/dist/custom-auth-path/utils/BrowserUtils.mjs +1 -1
  203. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +1 -1
  204. package/dist/custom_auth/CustomAuthActionInputs.d.ts +3 -0
  205. package/dist/custom_auth/CustomAuthActionInputs.d.ts.map +1 -1
  206. package/dist/custom_auth/CustomAuthConstants.d.ts +1 -1
  207. package/dist/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  208. package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +5 -0
  209. package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  210. package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  211. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +1 -0
  212. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
  213. package/dist/custom_auth/core/utils/ArgumentValidator.d.ts +1 -0
  214. package/dist/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -1
  215. package/dist/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts.map +1 -1
  216. package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +5 -0
  217. package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -1
  218. package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
  219. package/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -1
  220. package/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -1
  221. package/dist/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +1 -0
  222. package/dist/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -1
  223. package/dist/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  224. package/dist/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts +3 -0
  225. package/dist/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts.map +1 -1
  226. package/dist/encode/Base64Decode.mjs +1 -1
  227. package/dist/encode/Base64Encode.mjs +1 -1
  228. package/dist/error/BrowserAuthError.mjs +1 -1
  229. package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
  230. package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
  231. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  232. package/dist/error/NativeAuthError.mjs +1 -1
  233. package/dist/error/NativeAuthErrorCodes.mjs +1 -1
  234. package/dist/error/NestedAppAuthError.mjs +1 -1
  235. package/dist/event/EventHandler.mjs +1 -1
  236. package/dist/event/EventMessage.mjs +1 -1
  237. package/dist/event/EventType.mjs +1 -1
  238. package/dist/index.mjs +1 -1
  239. package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
  240. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  241. package/dist/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
  242. package/dist/interaction_client/PopupClient.mjs +1 -1
  243. package/dist/interaction_client/RedirectClient.mjs +1 -1
  244. package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
  245. package/dist/interaction_client/SilentCacheClient.mjs +1 -1
  246. package/dist/interaction_client/SilentIframeClient.mjs +1 -1
  247. package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
  248. package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
  249. package/dist/interaction_handler/InteractionHandler.mjs +1 -1
  250. package/dist/interaction_handler/SilentHandler.mjs +1 -1
  251. package/dist/naa/BridgeError.mjs +1 -1
  252. package/dist/naa/BridgeProxy.mjs +1 -1
  253. package/dist/naa/BridgeStatusCode.mjs +1 -1
  254. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
  255. package/dist/navigation/NavigationClient.mjs +1 -1
  256. package/dist/network/FetchClient.mjs +1 -1
  257. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  258. package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
  259. package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
  260. package/dist/operatingcontext/UnknownOperatingContext.mjs +1 -1
  261. package/dist/packageMetadata.d.ts +1 -1
  262. package/dist/packageMetadata.mjs +2 -2
  263. package/dist/protocol/Authorize.mjs +1 -1
  264. package/dist/request/RequestHelpers.mjs +1 -1
  265. package/dist/response/ResponseHandler.mjs +1 -1
  266. package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
  267. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  268. package/dist/utils/BrowserConstants.mjs +1 -1
  269. package/dist/utils/BrowserProtocolUtils.mjs +1 -1
  270. package/dist/utils/BrowserUtils.mjs +1 -1
  271. package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
  272. package/lib/custom-auth-path/msal-custom-auth.cjs +126 -66
  273. package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
  274. package/lib/custom-auth-path/types/custom_auth/CustomAuthActionInputs.d.ts +3 -0
  275. package/lib/custom-auth-path/types/custom_auth/CustomAuthActionInputs.d.ts.map +1 -1
  276. package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  277. package/lib/custom-auth-path/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  278. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +5 -0
  279. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  280. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  281. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +1 -0
  282. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
  283. package/lib/custom-auth-path/types/custom_auth/core/utils/ArgumentValidator.d.ts +1 -0
  284. package/lib/custom-auth-path/types/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -1
  285. package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts.map +1 -1
  286. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +5 -0
  287. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -1
  288. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
  289. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -1
  290. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -1
  291. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +1 -0
  292. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -1
  293. package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  294. package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts +3 -0
  295. package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts.map +1 -1
  296. package/lib/custom-auth-path/types/packageMetadata.d.ts +1 -1
  297. package/lib/msal-browser.cjs +66 -66
  298. package/lib/msal-browser.cjs.map +1 -1
  299. package/lib/msal-browser.js +66 -66
  300. package/lib/msal-browser.js.map +1 -1
  301. package/lib/msal-browser.min.js +61 -61
  302. package/lib/types/custom_auth/CustomAuthActionInputs.d.ts +3 -0
  303. package/lib/types/custom_auth/CustomAuthActionInputs.d.ts.map +1 -1
  304. package/lib/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  305. package/lib/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  306. package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +5 -0
  307. package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  308. package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  309. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +1 -0
  310. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
  311. package/lib/types/custom_auth/core/utils/ArgumentValidator.d.ts +1 -0
  312. package/lib/types/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -1
  313. package/lib/types/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts.map +1 -1
  314. package/lib/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +5 -0
  315. package/lib/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -1
  316. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
  317. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -1
  318. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -1
  319. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +1 -0
  320. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -1
  321. package/lib/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  322. package/lib/types/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts +3 -0
  323. package/lib/types/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts.map +1 -1
  324. package/lib/types/packageMetadata.d.ts +1 -1
  325. package/package.json +1 -1
  326. package/src/custom_auth/CustomAuthActionInputs.ts +3 -0
  327. package/src/custom_auth/controller/CustomAuthStandardController.ts +18 -10
  328. package/src/custom_auth/core/auth_flow/AuthFlowErrorBase.ts +12 -0
  329. package/src/custom_auth/core/network_client/custom_auth_api/SignInApiClient.ts +3 -0
  330. package/src/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.ts +1 -0
  331. package/src/custom_auth/core/utils/ArgumentValidator.ts +22 -0
  332. package/src/custom_auth/get_account/auth_flow/CustomAuthAccountData.ts +24 -9
  333. package/src/custom_auth/sign_in/auth_flow/error_type/SignInError.ts +8 -0
  334. package/src/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.ts +1 -0
  335. package/src/custom_auth/sign_in/auth_flow/state/SignInContinuationState.ts +10 -0
  336. package/src/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.ts +1 -0
  337. package/src/custom_auth/sign_in/auth_flow/state/SignInStateParameters.ts +1 -0
  338. package/src/custom_auth/sign_in/interaction_client/SignInClient.ts +9 -0
  339. package/src/custom_auth/sign_in/interaction_client/parameter/SignInParams.ts +3 -0
  340. package/src/packageMetadata.ts +1 -1
@@ -1,8 +1,8 @@
1
- /*! @azure/msal-browser v4.16.0 2025-07-23 */
1
+ /*! @azure/msal-browser v4.18.0 2025-07-30 */
2
2
  'use strict';
3
3
  'use strict';
4
4
 
5
- /*! @azure/msal-common v15.9.0 2025-07-23 */
5
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
6
6
  /*
7
7
  * Copyright (c) Microsoft Corporation. All rights reserved.
8
8
  * Licensed under the MIT License.
@@ -278,7 +278,7 @@ const JsonWebTokenTypes = {
278
278
  // Token renewal offset default in seconds
279
279
  const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
280
280
 
281
- /*! @azure/msal-common v15.9.0 2025-07-23 */
281
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
282
282
  /*
283
283
  * Copyright (c) Microsoft Corporation. All rights reserved.
284
284
  * Licensed under the MIT License.
@@ -289,7 +289,7 @@ const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
289
289
  const unexpectedError = "unexpected_error";
290
290
  const postRequestFailed$1 = "post_request_failed";
291
291
 
292
- /*! @azure/msal-common v15.9.0 2025-07-23 */
292
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
293
293
 
294
294
  /*
295
295
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -324,7 +324,7 @@ function createAuthError(code, additionalMessage) {
324
324
  : AuthErrorMessages[code]);
325
325
  }
326
326
 
327
- /*! @azure/msal-common v15.9.0 2025-07-23 */
327
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
328
328
  /*
329
329
  * Copyright (c) Microsoft Corporation. All rights reserved.
330
330
  * Licensed under the MIT License.
@@ -374,7 +374,7 @@ const missingTenantIdError = "missing_tenant_id_error";
374
374
  const methodNotImplemented = "method_not_implemented";
375
375
  const nestedAppAuthBridgeDisabled = "nested_app_auth_bridge_disabled";
376
376
 
377
- /*! @azure/msal-common v15.9.0 2025-07-23 */
377
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
378
378
 
379
379
  /*
380
380
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -448,7 +448,7 @@ function createClientAuthError(errorCode, additionalMessage) {
448
448
  return new ClientAuthError(errorCode, additionalMessage);
449
449
  }
450
450
 
451
- /*! @azure/msal-common v15.9.0 2025-07-23 */
451
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
452
452
 
453
453
  /*
454
454
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -487,7 +487,7 @@ const DEFAULT_CRYPTO_IMPLEMENTATION = {
487
487
  },
488
488
  };
489
489
 
490
- /*! @azure/msal-common v15.9.0 2025-07-23 */
490
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
491
491
 
492
492
  /*
493
493
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -678,12 +678,12 @@ class Logger {
678
678
  }
679
679
  }
680
680
 
681
- /*! @azure/msal-common v15.9.0 2025-07-23 */
681
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
682
682
  /* eslint-disable header/header */
683
683
  const name$1 = "@azure/msal-common";
684
684
  const version$1 = "15.9.0";
685
685
 
686
- /*! @azure/msal-common v15.9.0 2025-07-23 */
686
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
687
687
  /*
688
688
  * Copyright (c) Microsoft Corporation. All rights reserved.
689
689
  * Licensed under the MIT License.
@@ -692,7 +692,7 @@ const AzureCloudInstance = {
692
692
  // AzureCloudInstance is not specified.
693
693
  None: "none"};
694
694
 
695
- /*! @azure/msal-common v15.9.0 2025-07-23 */
695
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
696
696
 
697
697
  /*
698
698
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -753,7 +753,7 @@ function checkMaxAge(authTime, maxAge) {
753
753
  }
754
754
  }
755
755
 
756
- /*! @azure/msal-common v15.9.0 2025-07-23 */
756
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
757
757
  /*
758
758
  * Copyright (c) Microsoft Corporation. All rights reserved.
759
759
  * Licensed under the MIT License.
@@ -808,7 +808,7 @@ function wasClockTurnedBack(cachedAt) {
808
808
  return cachedAtSec > nowSeconds();
809
809
  }
810
810
 
811
- /*! @azure/msal-common v15.9.0 2025-07-23 */
811
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
812
812
 
813
813
  /*
814
814
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1135,7 +1135,7 @@ function isAuthorityMetadataExpired(metadata) {
1135
1135
  return metadata.expiresAt <= nowSeconds();
1136
1136
  }
1137
1137
 
1138
- /*! @azure/msal-common v15.9.0 2025-07-23 */
1138
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
1139
1139
  /*
1140
1140
  * Copyright (c) Microsoft Corporation. All rights reserved.
1141
1141
  * Licensed under the MIT License.
@@ -1164,7 +1164,7 @@ const authorityMismatch = "authority_mismatch";
1164
1164
  const invalidRequestMethodForEAR = "invalid_request_method_for_EAR";
1165
1165
  const invalidAuthorizePostBodyParameters = "invalid_authorize_post_body_parameters";
1166
1166
 
1167
- /*! @azure/msal-common v15.9.0 2025-07-23 */
1167
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
1168
1168
 
1169
1169
  /*
1170
1170
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1209,7 +1209,7 @@ function createClientConfigurationError(errorCode) {
1209
1209
  return new ClientConfigurationError(errorCode);
1210
1210
  }
1211
1211
 
1212
- /*! @azure/msal-common v15.9.0 2025-07-23 */
1212
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
1213
1213
  /*
1214
1214
  * Copyright (c) Microsoft Corporation. All rights reserved.
1215
1215
  * Licensed under the MIT License.
@@ -1306,7 +1306,7 @@ class StringUtils {
1306
1306
  }
1307
1307
  }
1308
1308
 
1309
- /*! @azure/msal-common v15.9.0 2025-07-23 */
1309
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
1310
1310
 
1311
1311
  /*
1312
1312
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1497,7 +1497,7 @@ class ScopeSet {
1497
1497
  }
1498
1498
  }
1499
1499
 
1500
- /*! @azure/msal-common v15.9.0 2025-07-23 */
1500
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
1501
1501
 
1502
1502
  /*
1503
1503
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1537,7 +1537,7 @@ function buildClientInfoFromHomeAccountId(homeAccountId) {
1537
1537
  };
1538
1538
  }
1539
1539
 
1540
- /*! @azure/msal-common v15.9.0 2025-07-23 */
1540
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
1541
1541
  /*
1542
1542
  * Copyright (c) Microsoft Corporation. All rights reserved.
1543
1543
  * Licensed under the MIT License.
@@ -1616,7 +1616,7 @@ function updateAccountTenantProfileData(baseAccountInfo, tenantProfile, idTokenC
1616
1616
  return updatedAccountInfo;
1617
1617
  }
1618
1618
 
1619
- /*! @azure/msal-common v15.9.0 2025-07-23 */
1619
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
1620
1620
  /*
1621
1621
  * Copyright (c) Microsoft Corporation. All rights reserved.
1622
1622
  * Licensed under the MIT License.
@@ -1631,7 +1631,7 @@ const AuthorityType = {
1631
1631
  Ciam: 3,
1632
1632
  };
1633
1633
 
1634
- /*! @azure/msal-common v15.9.0 2025-07-23 */
1634
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
1635
1635
  /*
1636
1636
  * Copyright (c) Microsoft Corporation. All rights reserved.
1637
1637
  * Licensed under the MIT License.
@@ -1653,7 +1653,7 @@ function getTenantIdFromIdTokenClaims(idTokenClaims) {
1653
1653
  return null;
1654
1654
  }
1655
1655
 
1656
- /*! @azure/msal-common v15.9.0 2025-07-23 */
1656
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
1657
1657
  /*
1658
1658
  * Copyright (c) Microsoft Corporation. All rights reserved.
1659
1659
  * Licensed under the MIT License.
@@ -1677,7 +1677,7 @@ const ProtocolMode = {
1677
1677
  EAR: "EAR",
1678
1678
  };
1679
1679
 
1680
- /*! @azure/msal-common v15.9.0 2025-07-23 */
1680
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
1681
1681
 
1682
1682
  /*
1683
1683
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1920,7 +1920,7 @@ class AccountEntity {
1920
1920
  }
1921
1921
  }
1922
1922
 
1923
- /*! @azure/msal-common v15.9.0 2025-07-23 */
1923
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
1924
1924
 
1925
1925
  /*
1926
1926
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1985,7 +1985,7 @@ function mapToQueryString(parameters, encodeExtraParams = true, extraQueryParame
1985
1985
  return queryParameterArray.join("&");
1986
1986
  }
1987
1987
 
1988
- /*! @azure/msal-common v15.9.0 2025-07-23 */
1988
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
1989
1989
 
1990
1990
  /*
1991
1991
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2149,7 +2149,7 @@ class UrlString {
2149
2149
  }
2150
2150
  }
2151
2151
 
2152
- /*! @azure/msal-common v15.9.0 2025-07-23 */
2152
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
2153
2153
 
2154
2154
  /*
2155
2155
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2288,7 +2288,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
2288
2288
  return null;
2289
2289
  }
2290
2290
 
2291
- /*! @azure/msal-common v15.9.0 2025-07-23 */
2291
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
2292
2292
  /*
2293
2293
  * Copyright (c) Microsoft Corporation. All rights reserved.
2294
2294
  * Licensed under the MIT License.
@@ -2296,7 +2296,7 @@ function getCloudDiscoveryMetadataFromNetworkResponse(response, authorityHost) {
2296
2296
  const cacheQuotaExceeded = "cache_quota_exceeded";
2297
2297
  const cacheErrorUnknown = "cache_error_unknown";
2298
2298
 
2299
- /*! @azure/msal-common v15.9.0 2025-07-23 */
2299
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
2300
2300
 
2301
2301
  /*
2302
2302
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2341,7 +2341,7 @@ function createCacheError(e) {
2341
2341
  }
2342
2342
  }
2343
2343
 
2344
- /*! @azure/msal-common v15.9.0 2025-07-23 */
2344
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
2345
2345
 
2346
2346
  /*
2347
2347
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3507,7 +3507,7 @@ class DefaultStorageClass extends CacheManager {
3507
3507
  }
3508
3508
  }
3509
3509
 
3510
- /*! @azure/msal-common v15.9.0 2025-07-23 */
3510
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
3511
3511
  /*
3512
3512
  * Copyright (c) Microsoft Corporation. All rights reserved.
3513
3513
  * Licensed under the MIT License.
@@ -3774,7 +3774,7 @@ const PerformanceEvents = {
3774
3774
  const PerformanceEventStatus = {
3775
3775
  InProgress: 1};
3776
3776
 
3777
- /*! @azure/msal-common v15.9.0 2025-07-23 */
3777
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
3778
3778
 
3779
3779
  /*
3780
3780
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3853,7 +3853,7 @@ class StubPerformanceClient {
3853
3853
  }
3854
3854
  }
3855
3855
 
3856
- /*! @azure/msal-common v15.9.0 2025-07-23 */
3856
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
3857
3857
 
3858
3858
  /*
3859
3859
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3953,7 +3953,7 @@ function isOidcProtocolMode(config) {
3953
3953
  return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
3954
3954
  }
3955
3955
 
3956
- /*! @azure/msal-common v15.9.0 2025-07-23 */
3956
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
3957
3957
  /*
3958
3958
  * Copyright (c) Microsoft Corporation. All rights reserved.
3959
3959
  * Licensed under the MIT License.
@@ -3963,7 +3963,7 @@ const CcsCredentialType = {
3963
3963
  UPN: "UPN",
3964
3964
  };
3965
3965
 
3966
- /*! @azure/msal-common v15.9.0 2025-07-23 */
3966
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
3967
3967
  /*
3968
3968
  * Copyright (c) Microsoft Corporation. All rights reserved.
3969
3969
  * Licensed under the MIT License.
@@ -4013,7 +4013,7 @@ const INSTANCE_AWARE = "instance_aware";
4013
4013
  const EAR_JWK = "ear_jwk";
4014
4014
  const EAR_JWE_CRYPTO = "ear_jwe_crypto";
4015
4015
 
4016
- /*! @azure/msal-common v15.9.0 2025-07-23 */
4016
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
4017
4017
 
4018
4018
  /*
4019
4019
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4393,7 +4393,7 @@ function addPostBodyParameters(parameters, bodyParameters) {
4393
4393
  });
4394
4394
  }
4395
4395
 
4396
- /*! @azure/msal-common v15.9.0 2025-07-23 */
4396
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
4397
4397
  /*
4398
4398
  * Copyright (c) Microsoft Corporation. All rights reserved.
4399
4399
  * Licensed under the MIT License.
@@ -4405,7 +4405,7 @@ function isOpenIdConfigResponse(response) {
4405
4405
  response.hasOwnProperty("jwks_uri"));
4406
4406
  }
4407
4407
 
4408
- /*! @azure/msal-common v15.9.0 2025-07-23 */
4408
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
4409
4409
  /*
4410
4410
  * Copyright (c) Microsoft Corporation. All rights reserved.
4411
4411
  * Licensed under the MIT License.
@@ -4415,7 +4415,7 @@ function isCloudInstanceDiscoveryResponse(response) {
4415
4415
  response.hasOwnProperty("metadata"));
4416
4416
  }
4417
4417
 
4418
- /*! @azure/msal-common v15.9.0 2025-07-23 */
4418
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
4419
4419
  /*
4420
4420
  * Copyright (c) Microsoft Corporation. All rights reserved.
4421
4421
  * Licensed under the MIT License.
@@ -4425,7 +4425,7 @@ function isCloudInstanceDiscoveryErrorResponse(response) {
4425
4425
  response.hasOwnProperty("error_description"));
4426
4426
  }
4427
4427
 
4428
- /*! @azure/msal-common v15.9.0 2025-07-23 */
4428
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
4429
4429
  /*
4430
4430
  * Copyright (c) Microsoft Corporation. All rights reserved.
4431
4431
  * Licensed under the MIT License.
@@ -4521,7 +4521,7 @@ const invokeAsync = (callback, eventName, logger, telemetryClient, correlationId
4521
4521
  };
4522
4522
  };
4523
4523
 
4524
- /*! @azure/msal-common v15.9.0 2025-07-23 */
4524
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
4525
4525
 
4526
4526
  /*
4527
4527
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4627,7 +4627,7 @@ RegionDiscovery.IMDS_OPTIONS = {
4627
4627
  },
4628
4628
  };
4629
4629
 
4630
- /*! @azure/msal-common v15.9.0 2025-07-23 */
4630
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
4631
4631
 
4632
4632
  /*
4633
4633
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5466,7 +5466,7 @@ function buildStaticAuthorityOptions(authOptions) {
5466
5466
  };
5467
5467
  }
5468
5468
 
5469
- /*! @azure/msal-common v15.9.0 2025-07-23 */
5469
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
5470
5470
 
5471
5471
  /*
5472
5472
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5497,7 +5497,7 @@ async function createDiscoveredInstance(authorityUri, networkClient, cacheManage
5497
5497
  }
5498
5498
  }
5499
5499
 
5500
- /*! @azure/msal-common v15.9.0 2025-07-23 */
5500
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
5501
5501
 
5502
5502
  /*
5503
5503
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5516,7 +5516,7 @@ class ServerError extends AuthError {
5516
5516
  }
5517
5517
  }
5518
5518
 
5519
- /*! @azure/msal-common v15.9.0 2025-07-23 */
5519
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
5520
5520
  /*
5521
5521
  * Copyright (c) Microsoft Corporation. All rights reserved.
5522
5522
  * Licensed under the MIT License.
@@ -5537,7 +5537,7 @@ function getRequestThumbprint(clientId, request, homeAccountId) {
5537
5537
  };
5538
5538
  }
5539
5539
 
5540
- /*! @azure/msal-common v15.9.0 2025-07-23 */
5540
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
5541
5541
 
5542
5542
  /*
5543
5543
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5624,7 +5624,7 @@ class ThrottlingUtils {
5624
5624
  }
5625
5625
  }
5626
5626
 
5627
- /*! @azure/msal-common v15.9.0 2025-07-23 */
5627
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
5628
5628
 
5629
5629
  /*
5630
5630
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5655,7 +5655,7 @@ function createNetworkError(error, httpStatus, responseHeaders, additionalError)
5655
5655
  return new NetworkError(error, httpStatus, responseHeaders);
5656
5656
  }
5657
5657
 
5658
- /*! @azure/msal-common v15.9.0 2025-07-23 */
5658
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
5659
5659
 
5660
5660
  /*
5661
5661
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5803,7 +5803,7 @@ class BaseClient {
5803
5803
  }
5804
5804
  }
5805
5805
 
5806
- /*! @azure/msal-common v15.9.0 2025-07-23 */
5806
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
5807
5807
  /*
5808
5808
  * Copyright (c) Microsoft Corporation. All rights reserved.
5809
5809
  * Licensed under the MIT License.
@@ -5819,7 +5819,7 @@ const consentRequired = "consent_required";
5819
5819
  const loginRequired = "login_required";
5820
5820
  const badToken = "bad_token";
5821
5821
 
5822
- /*! @azure/msal-common v15.9.0 2025-07-23 */
5822
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
5823
5823
 
5824
5824
  /*
5825
5825
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5891,7 +5891,7 @@ function createInteractionRequiredAuthError(errorCode) {
5891
5891
  return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
5892
5892
  }
5893
5893
 
5894
- /*! @azure/msal-common v15.9.0 2025-07-23 */
5894
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
5895
5895
 
5896
5896
  /*
5897
5897
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5963,7 +5963,7 @@ class ProtocolUtils {
5963
5963
  }
5964
5964
  }
5965
5965
 
5966
- /*! @azure/msal-common v15.9.0 2025-07-23 */
5966
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
5967
5967
 
5968
5968
  /*
5969
5969
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6045,7 +6045,7 @@ class PopTokenGenerator {
6045
6045
  }
6046
6046
  }
6047
6047
 
6048
- /*! @azure/msal-common v15.9.0 2025-07-23 */
6048
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
6049
6049
  /*
6050
6050
  * Copyright (c) Microsoft Corporation. All rights reserved.
6051
6051
  * Licensed under the MIT License.
@@ -6072,7 +6072,7 @@ class PopTokenGenerator {
6072
6072
  }
6073
6073
  }
6074
6074
 
6075
- /*! @azure/msal-common v15.9.0 2025-07-23 */
6075
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
6076
6076
 
6077
6077
  /*
6078
6078
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6403,7 +6403,7 @@ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decod
6403
6403
  return baseAccount;
6404
6404
  }
6405
6405
 
6406
- /*! @azure/msal-common v15.9.0 2025-07-23 */
6406
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
6407
6407
  /*
6408
6408
  * Copyright (c) Microsoft Corporation. All rights reserved.
6409
6409
  * Licensed under the MIT License.
@@ -6421,7 +6421,7 @@ async function getClientAssertion(clientAssertion, clientId, tokenEndpoint) {
6421
6421
  }
6422
6422
  }
6423
6423
 
6424
- /*! @azure/msal-common v15.9.0 2025-07-23 */
6424
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
6425
6425
 
6426
6426
  /*
6427
6427
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6656,7 +6656,7 @@ class AuthorizationCodeClient extends BaseClient {
6656
6656
  }
6657
6657
  }
6658
6658
 
6659
- /*! @azure/msal-common v15.9.0 2025-07-23 */
6659
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
6660
6660
 
6661
6661
  /*
6662
6662
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6865,7 +6865,7 @@ class RefreshTokenClient extends BaseClient {
6865
6865
  }
6866
6866
  }
6867
6867
 
6868
- /*! @azure/msal-common v15.9.0 2025-07-23 */
6868
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
6869
6869
 
6870
6870
  /*
6871
6871
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6963,7 +6963,7 @@ class SilentFlowClient extends BaseClient {
6963
6963
  }
6964
6964
  }
6965
6965
 
6966
- /*! @azure/msal-common v15.9.0 2025-07-23 */
6966
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
6967
6967
 
6968
6968
  /*
6969
6969
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6978,7 +6978,7 @@ const StubbedNetworkModule = {
6978
6978
  },
6979
6979
  };
6980
6980
 
6981
- /*! @azure/msal-common v15.9.0 2025-07-23 */
6981
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
6982
6982
 
6983
6983
  /*
6984
6984
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7202,7 +7202,7 @@ function extractLoginHint(account) {
7202
7202
  return account.idTokenClaims?.login_hint || null;
7203
7203
  }
7204
7204
 
7205
- /*! @azure/msal-common v15.9.0 2025-07-23 */
7205
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
7206
7206
 
7207
7207
  /*
7208
7208
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7465,7 +7465,7 @@ class ServerTelemetryManager {
7465
7465
  }
7466
7466
  }
7467
7467
 
7468
- /*! @azure/msal-common v15.9.0 2025-07-23 */
7468
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
7469
7469
  /*
7470
7470
  * Copyright (c) Microsoft Corporation. All rights reserved.
7471
7471
  * Licensed under the MIT License.
@@ -7473,7 +7473,7 @@ class ServerTelemetryManager {
7473
7473
  const missingKidError = "missing_kid_error";
7474
7474
  const missingAlgError = "missing_alg_error";
7475
7475
 
7476
- /*! @azure/msal-common v15.9.0 2025-07-23 */
7476
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
7477
7477
 
7478
7478
  /*
7479
7479
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7498,7 +7498,7 @@ function createJoseHeaderError(code) {
7498
7498
  return new JoseHeaderError(code, JoseHeaderErrorMessages[code]);
7499
7499
  }
7500
7500
 
7501
- /*! @azure/msal-common v15.9.0 2025-07-23 */
7501
+ /*! @azure/msal-common v15.9.0 2025-07-30 */
7502
7502
 
7503
7503
  /*
7504
7504
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7802,6 +7802,15 @@ class AuthFlowErrorBase {
7802
7802
  return (this.errorData instanceof CustomAuthApiError &&
7803
7803
  this.errorData.error === EXPIRED_TOKEN);
7804
7804
  }
7805
+ /**
7806
+ * @todo verify the password change required error can be detected once the MFA is in place.
7807
+ * This error will be raised during signin and refresh tokens when calling /token endpoint.
7808
+ */
7809
+ isPasswordResetRequiredError() {
7810
+ return (this.errorData instanceof CustomAuthApiError &&
7811
+ this.errorData.error === INVALID_REQUEST &&
7812
+ this.errorData.errorCodes?.includes(50142) === true);
7813
+ }
7805
7814
  }
7806
7815
  class AuthActionErrorBase extends AuthFlowErrorBase {
7807
7816
  /**
@@ -7867,11 +7876,27 @@ function ensureArgumentIsNotEmptyString(argName, argValue, correlationId) {
7867
7876
  if (!argValue || argValue.trim() === "") {
7868
7877
  throw new InvalidArgumentError(argName, correlationId);
7869
7878
  }
7879
+ }
7880
+ function ensureArgumentIsJSONString(argName, argValue, correlationId) {
7881
+ try {
7882
+ const parsed = JSON.parse(argValue);
7883
+ if (typeof parsed !== "object" ||
7884
+ parsed === null ||
7885
+ Array.isArray(parsed)) {
7886
+ throw new InvalidArgumentError(argName, correlationId);
7887
+ }
7888
+ }
7889
+ catch (e) {
7890
+ if (e instanceof SyntaxError) {
7891
+ throw new InvalidArgumentError(argName, correlationId);
7892
+ }
7893
+ throw e; // Rethrow unexpected errors
7894
+ }
7870
7895
  }
7871
7896
 
7872
7897
  /* eslint-disable header/header */
7873
7898
  const name = "@azure/msal-browser";
7874
- const version = "4.16.0";
7899
+ const version = "4.18.0";
7875
7900
 
7876
7901
  /*
7877
7902
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8030,6 +8055,13 @@ class SignInError extends AuthActionErrorBase {
8030
8055
  isPasswordIncorrect() {
8031
8056
  return this.isPasswordIncorrectError();
8032
8057
  }
8058
+ /**
8059
+ * Checks if the error is due to password reset being required.
8060
+ * @returns true if the error is due to password reset being required, false otherwise.
8061
+ */
8062
+ isPasswordResetRequired() {
8063
+ return this.isPasswordResetRequiredError();
8064
+ }
8033
8065
  /**
8034
8066
  * Checks if the error is due to the provided challenge type is not supported.
8035
8067
  * @returns {boolean} True if the error is due to the provided challenge type is not supported, false otherwise.
@@ -8253,6 +8285,9 @@ class CustomAuthAccountData {
8253
8285
  async getAccessToken(accessTokenRetrievalInputs) {
8254
8286
  try {
8255
8287
  ensureArgumentIsNotNullOrUndefined("accessTokenRetrievalInputs", accessTokenRetrievalInputs, this.correlationId);
8288
+ if (accessTokenRetrievalInputs.claims) {
8289
+ ensureArgumentIsJSONString("accessTokenRetrievalInputs.claims", accessTokenRetrievalInputs.claims, this.correlationId);
8290
+ }
8256
8291
  this.logger.verbose("Getting current account.", this.correlationId);
8257
8292
  const currentAccount = this.cacheClient.getCurrentAccount(this.account.username);
8258
8293
  if (!currentAccount) {
@@ -8263,7 +8298,7 @@ class CustomAuthAccountData {
8263
8298
  accessTokenRetrievalInputs.scopes.length > 0
8264
8299
  ? accessTokenRetrievalInputs.scopes
8265
8300
  : [...DefaultScopes];
8266
- const commonSilentFlowRequest = this.createCommonSilentFlowRequest(currentAccount, accessTokenRetrievalInputs.forceRefresh, newScopes);
8301
+ const commonSilentFlowRequest = this.createCommonSilentFlowRequest(currentAccount, accessTokenRetrievalInputs.forceRefresh, newScopes, accessTokenRetrievalInputs.claims);
8267
8302
  const result = await this.cacheClient.acquireToken(commonSilentFlowRequest);
8268
8303
  this.logger.verbose("Successfully got access token from cache.", this.correlationId);
8269
8304
  return new GetAccessTokenResult(result);
@@ -8273,7 +8308,7 @@ class CustomAuthAccountData {
8273
8308
  return GetAccessTokenResult.createWithError(error);
8274
8309
  }
8275
8310
  }
8276
- createCommonSilentFlowRequest(accountInfo, forceRefresh = false, requestScopes) {
8311
+ createCommonSilentFlowRequest(accountInfo, forceRefresh = false, requestScopes, claims) {
8277
8312
  const silentRequest = {
8278
8313
  authority: this.config.auth.authority,
8279
8314
  correlationId: this.correlationId,
@@ -8285,6 +8320,7 @@ class CustomAuthAccountData {
8285
8320
  accessToken: true,
8286
8321
  refreshToken: true,
8287
8322
  },
8323
+ ...(claims && { claims: claims }),
8288
8324
  };
8289
8325
  return {
8290
8326
  ...silentRequest,
@@ -8448,6 +8484,7 @@ class SignInCodeRequiredState extends SignInState {
8448
8484
  continuationToken: this.stateParameters.continuationToken ?? "",
8449
8485
  code: code,
8450
8486
  username: this.stateParameters.username,
8487
+ claims: this.stateParameters.claims,
8451
8488
  };
8452
8489
  this.stateParameters.logger.verbose("Submitting code for sign-in.", this.stateParameters.correlationId);
8453
8490
  const completedResult = await this.stateParameters.signInClient.submitCode(submitCodeParams);
@@ -8559,6 +8596,7 @@ class SignInPasswordRequiredState extends SignInState {
8559
8596
  continuationToken: this.stateParameters.continuationToken ?? "",
8560
8597
  password: password,
8561
8598
  username: this.stateParameters.username,
8599
+ claims: this.stateParameters.claims,
8562
8600
  };
8563
8601
  this.stateParameters.logger.verbose("Submitting password for sign-in.", this.stateParameters.correlationId);
8564
8602
  const completedResult = await this.stateParameters.signInClient.submitPassword(submitPasswordParams);
@@ -8799,6 +8837,9 @@ class SignInContinuationState extends SignInState {
8799
8837
  */
8800
8838
  async signIn(signInWithContinuationTokenInputs) {
8801
8839
  try {
8840
+ if (signInWithContinuationTokenInputs?.claims) {
8841
+ ensureArgumentIsJSONString("signInWithContinuationTokenInputs.claims", signInWithContinuationTokenInputs.claims, this.stateParameters.correlationId);
8842
+ }
8802
8843
  const continuationTokenParams = {
8803
8844
  clientId: this.stateParameters.config.auth.clientId,
8804
8845
  correlationId: this.stateParameters.correlationId,
@@ -8807,6 +8848,7 @@ class SignInContinuationState extends SignInState {
8807
8848
  continuationToken: this.stateParameters.continuationToken ?? "",
8808
8849
  username: this.stateParameters.username,
8809
8850
  signInScenario: this.stateParameters.signInScenario,
8851
+ claims: signInWithContinuationTokenInputs?.claims,
8810
8852
  };
8811
8853
  this.stateParameters.logger.verbose("Signing in with continuation token.", this.stateParameters.correlationId);
8812
8854
  const completedResult = await this.stateParameters.signInClient.signInWithContinuationToken(continuationTokenParams);
@@ -10818,6 +10860,9 @@ class SignInClient extends CustomAuthInteractionClientBase {
10818
10860
  scope: scopes.join(" "),
10819
10861
  correlationId: parameters.correlationId,
10820
10862
  telemetryManager: telemetryManager,
10863
+ ...(parameters.claims && {
10864
+ claims: parameters.claims,
10865
+ }),
10821
10866
  };
10822
10867
  return this.performTokenRequest(() => this.customAuthApiClient.signInApi.requestTokensWithOob(request), scopes);
10823
10868
  }
@@ -10837,6 +10882,9 @@ class SignInClient extends CustomAuthInteractionClientBase {
10837
10882
  scope: scopes.join(" "),
10838
10883
  correlationId: parameters.correlationId,
10839
10884
  telemetryManager: telemetryManager,
10885
+ ...(parameters.claims && {
10886
+ claims: parameters.claims,
10887
+ }),
10840
10888
  };
10841
10889
  return this.performTokenRequest(() => this.customAuthApiClient.signInApi.requestTokensWithPassword(request), scopes);
10842
10890
  }
@@ -10856,6 +10904,9 @@ class SignInClient extends CustomAuthInteractionClientBase {
10856
10904
  correlationId: parameters.correlationId,
10857
10905
  telemetryManager: telemetryManager,
10858
10906
  scope: scopes.join(" "),
10907
+ ...(parameters.claims && {
10908
+ claims: parameters.claims,
10909
+ }),
10859
10910
  };
10860
10911
  // Call token endpoint.
10861
10912
  return this.performTokenRequest(() => this.customAuthApiClient.signInApi.requestTokenWithContinuationToken(request), scopes);
@@ -11960,6 +12011,7 @@ class SignInApiClient extends BaseApiClient {
11960
12011
  grant_type: GrantType.PASSWORD,
11961
12012
  scope: params.scope,
11962
12013
  password: params.password,
12014
+ ...(params.claims && { claims: params.claims }),
11963
12015
  }, params.telemetryManager, params.correlationId);
11964
12016
  }
11965
12017
  async requestTokensWithOob(params) {
@@ -11968,6 +12020,7 @@ class SignInApiClient extends BaseApiClient {
11968
12020
  scope: params.scope,
11969
12021
  oob: params.oob,
11970
12022
  grant_type: GrantType.OOB,
12023
+ ...(params.claims && { claims: params.claims }),
11971
12024
  }, params.telemetryManager, params.correlationId);
11972
12025
  }
11973
12026
  async requestTokenWithContinuationToken(params) {
@@ -11977,6 +12030,7 @@ class SignInApiClient extends BaseApiClient {
11977
12030
  scope: params.scope,
11978
12031
  grant_type: GrantType.CONTINUATION_TOKEN,
11979
12032
  client_info: true,
12033
+ ...(params.claims && { claims: params.claims }),
11980
12034
  }, params.telemetryManager, params.correlationId);
11981
12035
  }
11982
12036
  async requestTokens(requestData, telemetryManager, correlationId) {
@@ -19576,6 +19630,9 @@ class CustomAuthStandardController extends StandardController {
19576
19630
  ensureArgumentIsNotNullOrUndefined("signInInputs", signInInputs, correlationId);
19577
19631
  ensureArgumentIsNotEmptyString("signInInputs.username", signInInputs.username, correlationId);
19578
19632
  this.ensureUserNotSignedIn(correlationId);
19633
+ if (signInInputs.claims) {
19634
+ ensureArgumentIsJSONString("signInInputs.claims", signInInputs.claims, correlationId);
19635
+ }
19579
19636
  // start the signin flow
19580
19637
  const signInStartParams = {
19581
19638
  clientId: this.customAuthConfig.auth.clientId,
@@ -19600,6 +19657,7 @@ class CustomAuthStandardController extends StandardController {
19600
19657
  username: signInInputs.username,
19601
19658
  codeLength: startResult.codeLength,
19602
19659
  scopes: signInInputs.scopes ?? [],
19660
+ claims: signInInputs.claims,
19603
19661
  }));
19604
19662
  }
19605
19663
  else if (startResult.type === SIGN_IN_PASSWORD_REQUIRED_RESULT_TYPE) {
@@ -19616,6 +19674,7 @@ class CustomAuthStandardController extends StandardController {
19616
19674
  cacheClient: this.cacheClient,
19617
19675
  username: signInInputs.username,
19618
19676
  scopes: signInInputs.scopes ?? [],
19677
+ claims: signInInputs.claims,
19619
19678
  }));
19620
19679
  }
19621
19680
  this.logger.verbose("Submitting password for sign-in.", correlationId);
@@ -19628,6 +19687,7 @@ class CustomAuthStandardController extends StandardController {
19628
19687
  continuationToken: startResult.continuationToken,
19629
19688
  password: signInInputs.password,
19630
19689
  username: signInInputs.username,
19690
+ claims: signInInputs.claims,
19631
19691
  };
19632
19692
  const completedResult = await this.signInClient.submitPassword(submitPasswordParams);
19633
19693
  this.logger.verbose("Sign-in flow completed.", correlationId);