@azure/msal-browser 4.21.0 → 4.21.1

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 (349) 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/CacheKeys.mjs +1 -1
  13. package/dist/cache/CookieStorage.mjs +1 -1
  14. package/dist/cache/DatabaseStorage.mjs +1 -1
  15. package/dist/cache/EncryptedData.mjs +1 -1
  16. package/dist/cache/LocalStorage.mjs +1 -1
  17. package/dist/cache/MemoryStorage.mjs +1 -1
  18. package/dist/cache/SessionStorage.mjs +1 -1
  19. package/dist/cache/TokenCache.mjs +1 -1
  20. package/dist/config/Configuration.mjs +1 -1
  21. package/dist/controllers/ControllerFactory.mjs +1 -1
  22. package/dist/controllers/NestedAppAuthController.mjs +1 -1
  23. package/dist/controllers/StandardController.mjs +1 -1
  24. package/dist/controllers/UnknownOperatingContextController.mjs +1 -1
  25. package/dist/crypto/BrowserCrypto.mjs +1 -1
  26. package/dist/crypto/CryptoOps.mjs +1 -1
  27. package/dist/crypto/PkceGenerator.mjs +1 -1
  28. package/dist/crypto/SignedHttpRequest.mjs +1 -1
  29. package/dist/custom-auth-path/app/PublicClientApplication.mjs +1 -1
  30. package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
  31. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
  32. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
  33. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
  34. package/dist/custom-auth-path/cache/AccountManager.mjs +1 -1
  35. package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs +1 -1
  36. package/dist/custom-auth-path/cache/BrowserCacheManager.mjs +1 -1
  37. package/dist/custom-auth-path/cache/CacheHelpers.mjs +1 -1
  38. package/dist/custom-auth-path/cache/CacheKeys.mjs +1 -1
  39. package/dist/custom-auth-path/cache/CookieStorage.mjs +1 -1
  40. package/dist/custom-auth-path/cache/DatabaseStorage.mjs +1 -1
  41. package/dist/custom-auth-path/cache/EncryptedData.mjs +1 -1
  42. package/dist/custom-auth-path/cache/LocalStorage.mjs +1 -1
  43. package/dist/custom-auth-path/cache/MemoryStorage.mjs +1 -1
  44. package/dist/custom-auth-path/cache/SessionStorage.mjs +1 -1
  45. package/dist/custom-auth-path/cache/TokenCache.mjs +1 -1
  46. package/dist/custom-auth-path/config/Configuration.mjs +1 -1
  47. package/dist/custom-auth-path/controllers/ControllerFactory.mjs +1 -1
  48. package/dist/custom-auth-path/controllers/StandardController.mjs +1 -1
  49. package/dist/custom-auth-path/crypto/BrowserCrypto.mjs +1 -1
  50. package/dist/custom-auth-path/crypto/CryptoOps.mjs +1 -1
  51. package/dist/custom-auth-path/crypto/PkceGenerator.mjs +1 -1
  52. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts +1 -1
  53. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs +1 -1
  54. package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
  55. package/dist/custom-auth-path/custom_auth/configuration/CustomAuthConfiguration.d.ts +1 -0
  56. package/dist/custom-auth-path/custom_auth/configuration/CustomAuthConfiguration.d.ts.map +1 -1
  57. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  58. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +2 -2
  59. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs.map +1 -1
  60. package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs +1 -1
  61. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +5 -0
  62. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  63. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +8 -1
  64. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs.map +1 -1
  65. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
  66. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
  67. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.d.ts +2 -1
  68. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -1
  69. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs +5 -3
  70. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs.map +1 -1
  71. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs +1 -1
  72. package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs +1 -1
  73. package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
  74. package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
  75. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
  76. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
  77. package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
  78. package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
  79. package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
  80. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs +1 -1
  81. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
  82. package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs +1 -1
  83. package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
  84. package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
  85. package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
  86. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
  87. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
  88. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts.map +1 -1
  89. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +2 -2
  90. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs.map +1 -1
  91. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +1 -1
  92. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -1
  93. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +5 -5
  94. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs.map +1 -1
  95. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
  96. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts +3 -0
  97. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map +1 -1
  98. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +8 -1
  99. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs.map +1 -1
  100. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +3 -0
  101. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  102. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +8 -1
  103. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs.map +1 -1
  104. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts +3 -0
  105. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts.map +1 -1
  106. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +8 -1
  107. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs.map +1 -1
  108. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
  109. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
  110. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
  111. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
  112. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs +1 -1
  113. package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
  114. package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs +1 -1
  115. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
  116. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
  117. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
  118. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
  119. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
  120. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
  121. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
  122. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
  123. package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
  124. package/dist/custom-auth-path/custom_auth/index.mjs +1 -1
  125. package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
  126. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts +0 -15
  127. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts.map +1 -1
  128. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -22
  129. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs.map +1 -1
  130. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
  131. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
  132. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
  133. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
  134. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
  135. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
  136. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
  137. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
  138. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
  139. package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
  140. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
  141. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +0 -10
  142. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -1
  143. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -15
  144. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs.map +1 -1
  145. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
  146. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
  147. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
  148. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.mjs +1 -1
  149. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
  150. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +1 -1
  151. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
  152. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
  153. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
  154. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
  155. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
  156. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +1 -1
  157. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
  158. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts +0 -25
  159. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts.map +1 -1
  160. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -36
  161. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs.map +1 -1
  162. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
  163. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
  164. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
  165. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
  166. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
  167. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
  168. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
  169. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
  170. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
  171. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
  172. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
  173. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
  174. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
  175. package/dist/custom-auth-path/encode/Base64Decode.mjs +1 -1
  176. package/dist/custom-auth-path/encode/Base64Encode.mjs +1 -1
  177. package/dist/custom-auth-path/error/BrowserAuthError.mjs +1 -1
  178. package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +1 -1
  179. package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs +1 -1
  180. package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  181. package/dist/custom-auth-path/error/NativeAuthError.mjs +1 -1
  182. package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +1 -1
  183. package/dist/custom-auth-path/event/EventHandler.mjs +1 -1
  184. package/dist/custom-auth-path/event/EventType.mjs +1 -1
  185. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +1 -1
  186. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  187. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
  188. package/dist/custom-auth-path/interaction_client/PopupClient.mjs +1 -1
  189. package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +1 -1
  190. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +1 -1
  191. package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +1 -1
  192. package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +1 -1
  193. package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +1 -1
  194. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +1 -1
  195. package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +1 -1
  196. package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +1 -1
  197. package/dist/custom-auth-path/navigation/NavigationClient.mjs +1 -1
  198. package/dist/custom-auth-path/network/FetchClient.mjs +1 -1
  199. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +1 -1
  200. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +1 -1
  201. package/dist/custom-auth-path/packageMetadata.d.ts +1 -1
  202. package/dist/custom-auth-path/packageMetadata.mjs +2 -2
  203. package/dist/custom-auth-path/protocol/Authorize.mjs +1 -1
  204. package/dist/custom-auth-path/request/RequestHelpers.mjs +1 -1
  205. package/dist/custom-auth-path/response/ResponseHandler.mjs +1 -1
  206. package/dist/custom-auth-path/utils/BrowserConstants.mjs +1 -1
  207. package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +1 -1
  208. package/dist/custom-auth-path/utils/BrowserUtils.mjs +1 -1
  209. package/dist/custom-auth-path/utils/Helpers.mjs +1 -1
  210. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +1 -1
  211. package/dist/custom_auth/CustomAuthConstants.d.ts +1 -1
  212. package/dist/custom_auth/configuration/CustomAuthConfiguration.d.ts +1 -0
  213. package/dist/custom_auth/configuration/CustomAuthConfiguration.d.ts.map +1 -1
  214. package/dist/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  215. package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +5 -0
  216. package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  217. package/dist/custom_auth/core/error/CustomAuthApiError.d.ts +2 -1
  218. package/dist/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -1
  219. package/dist/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts.map +1 -1
  220. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +1 -1
  221. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -1
  222. package/dist/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts +3 -0
  223. package/dist/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map +1 -1
  224. package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +3 -0
  225. package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  226. package/dist/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts +3 -0
  227. package/dist/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts.map +1 -1
  228. package/dist/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts +0 -15
  229. package/dist/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts.map +1 -1
  230. package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +0 -10
  231. package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -1
  232. package/dist/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts +0 -25
  233. package/dist/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts.map +1 -1
  234. package/dist/encode/Base64Decode.mjs +1 -1
  235. package/dist/encode/Base64Encode.mjs +1 -1
  236. package/dist/error/BrowserAuthError.mjs +1 -1
  237. package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
  238. package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
  239. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  240. package/dist/error/NativeAuthError.mjs +1 -1
  241. package/dist/error/NativeAuthErrorCodes.mjs +1 -1
  242. package/dist/error/NestedAppAuthError.mjs +1 -1
  243. package/dist/event/EventHandler.mjs +1 -1
  244. package/dist/event/EventMessage.mjs +1 -1
  245. package/dist/event/EventType.mjs +1 -1
  246. package/dist/index.mjs +1 -1
  247. package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
  248. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  249. package/dist/interaction_client/PlatformAuthInteractionClient.mjs +1 -1
  250. package/dist/interaction_client/PopupClient.mjs +1 -1
  251. package/dist/interaction_client/RedirectClient.mjs +1 -1
  252. package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
  253. package/dist/interaction_client/SilentCacheClient.mjs +1 -1
  254. package/dist/interaction_client/SilentIframeClient.mjs +1 -1
  255. package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
  256. package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
  257. package/dist/interaction_handler/InteractionHandler.mjs +1 -1
  258. package/dist/interaction_handler/SilentHandler.mjs +1 -1
  259. package/dist/naa/BridgeError.mjs +1 -1
  260. package/dist/naa/BridgeProxy.mjs +1 -1
  261. package/dist/naa/BridgeStatusCode.mjs +1 -1
  262. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
  263. package/dist/navigation/NavigationClient.mjs +1 -1
  264. package/dist/network/FetchClient.mjs +1 -1
  265. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  266. package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
  267. package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
  268. package/dist/operatingcontext/UnknownOperatingContext.mjs +1 -1
  269. package/dist/packageMetadata.d.ts +1 -1
  270. package/dist/packageMetadata.mjs +2 -2
  271. package/dist/protocol/Authorize.mjs +1 -1
  272. package/dist/request/RequestHelpers.mjs +1 -1
  273. package/dist/response/ResponseHandler.mjs +1 -1
  274. package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
  275. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  276. package/dist/utils/BrowserConstants.mjs +1 -1
  277. package/dist/utils/BrowserProtocolUtils.mjs +1 -1
  278. package/dist/utils/BrowserUtils.mjs +1 -1
  279. package/dist/utils/Helpers.mjs +1 -1
  280. package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
  281. package/lib/custom-auth-path/msal-custom-auth.cjs +102 -142
  282. package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
  283. package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  284. package/lib/custom-auth-path/types/custom_auth/configuration/CustomAuthConfiguration.d.ts +1 -0
  285. package/lib/custom-auth-path/types/custom_auth/configuration/CustomAuthConfiguration.d.ts.map +1 -1
  286. package/lib/custom-auth-path/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  287. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +5 -0
  288. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  289. package/lib/custom-auth-path/types/custom_auth/core/error/CustomAuthApiError.d.ts +2 -1
  290. package/lib/custom-auth-path/types/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -1
  291. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts.map +1 -1
  292. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +1 -1
  293. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -1
  294. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts +3 -0
  295. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map +1 -1
  296. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +3 -0
  297. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  298. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts +3 -0
  299. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts.map +1 -1
  300. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts +0 -15
  301. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts.map +1 -1
  302. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +0 -10
  303. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -1
  304. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts +0 -25
  305. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts.map +1 -1
  306. package/lib/custom-auth-path/types/packageMetadata.d.ts +1 -1
  307. package/lib/msal-browser.cjs +66 -66
  308. package/lib/msal-browser.cjs.map +1 -1
  309. package/lib/msal-browser.js +66 -66
  310. package/lib/msal-browser.js.map +1 -1
  311. package/lib/msal-browser.min.js +60 -60
  312. package/lib/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  313. package/lib/types/custom_auth/configuration/CustomAuthConfiguration.d.ts +1 -0
  314. package/lib/types/custom_auth/configuration/CustomAuthConfiguration.d.ts.map +1 -1
  315. package/lib/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  316. package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +5 -0
  317. package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  318. package/lib/types/custom_auth/core/error/CustomAuthApiError.d.ts +2 -1
  319. package/lib/types/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -1
  320. package/lib/types/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts.map +1 -1
  321. package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +1 -1
  322. package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -1
  323. package/lib/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts +3 -0
  324. package/lib/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map +1 -1
  325. package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +3 -0
  326. package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  327. package/lib/types/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts +3 -0
  328. package/lib/types/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts.map +1 -1
  329. package/lib/types/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts +0 -15
  330. package/lib/types/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts.map +1 -1
  331. package/lib/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +0 -10
  332. package/lib/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -1
  333. package/lib/types/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts +0 -25
  334. package/lib/types/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts.map +1 -1
  335. package/lib/types/packageMetadata.d.ts +1 -1
  336. package/package.json +1 -1
  337. package/src/custom_auth/configuration/CustomAuthConfiguration.ts +1 -0
  338. package/src/custom_auth/controller/CustomAuthStandardController.ts +2 -1
  339. package/src/custom_auth/core/auth_flow/AuthFlowErrorBase.ts +8 -0
  340. package/src/custom_auth/core/error/CustomAuthApiError.ts +3 -2
  341. package/src/custom_auth/core/network_client/custom_auth_api/BaseApiClient.ts +4 -1
  342. package/src/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.ts +8 -4
  343. package/src/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.ts +16 -0
  344. package/src/custom_auth/core/network_client/custom_auth_api/SignInApiClient.ts +16 -0
  345. package/src/custom_auth/core/network_client/custom_auth_api/SignupApiClient.ts +16 -0
  346. package/src/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.ts +1 -25
  347. package/src/custom_auth/sign_in/auth_flow/error_type/SignInError.ts +1 -17
  348. package/src/custom_auth/sign_up/auth_flow/error_type/SignUpError.ts +1 -41
  349. package/src/packageMetadata.ts +1 -1
@@ -17,7 +17,7 @@ export declare const HttpHeaderKeys: {
17
17
  };
18
18
  export declare const DefaultPackageInfo: {
19
19
  readonly SKU: "msal.browser";
20
- readonly VERSION: "4.21.0";
20
+ readonly VERSION: "4.21.1";
21
21
  readonly OS: "";
22
22
  readonly CPU: "";
23
23
  };
@@ -2,6 +2,7 @@ import { BrowserConfiguration, Configuration } from "../../config/Configuration.
2
2
  export type CustomAuthOptions = {
3
3
  challengeTypes?: Array<string>;
4
4
  authApiProxyUrl: string;
5
+ capabilities?: Array<string>;
5
6
  };
6
7
  export type CustomAuthConfiguration = Configuration & {
7
8
  customAuth: CustomAuthOptions;
@@ -1 +1 @@
1
- {"version":3,"file":"CustomAuthConfiguration.d.ts","sourceRoot":"","sources":["../../../../src/custom_auth/configuration/CustomAuthConfiguration.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,oBAAoB,EACpB,aAAa,EAChB,MAAM,+BAA+B,CAAC;AAEvC,MAAM,MAAM,iBAAiB,GAAG;IAC5B,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B,eAAe,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,aAAa,GAAG;IAClD,UAAU,EAAE,iBAAiB,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG,oBAAoB,GAAG;IAChE,UAAU,EAAE,iBAAiB,CAAC;CACjC,CAAC"}
1
+ {"version":3,"file":"CustomAuthConfiguration.d.ts","sourceRoot":"","sources":["../../../../src/custom_auth/configuration/CustomAuthConfiguration.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,oBAAoB,EACpB,aAAa,EAChB,MAAM,+BAA+B,CAAC;AAEvC,MAAM,MAAM,iBAAiB,GAAG;IAC5B,cAAc,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B,eAAe,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,aAAa,GAAG;IAClD,UAAU,EAAE,iBAAiB,CAAC;CACjC,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG,oBAAoB,GAAG;IAChE,UAAU,EAAE,iBAAiB,CAAC;CACjC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"CustomAuthStandardController.d.ts","sourceRoot":"","sources":["../../../../src/custom_auth/controller/CustomAuthStandardController.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAM3E,OAAO,EACH,sBAAsB,EACtB,YAAY,EACZ,YAAY,EACZ,mBAAmB,EAEtB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,0BAA0B,EAAE,MAAM,oDAAoD,CAAC;AAChG,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAGnF,OAAO,EAAE,wBAAwB,EAAE,MAAM,gEAAgE,CAAC;AAa1G,OAAO,EAAE,oBAAoB,EAAE,MAAM,gEAAgE,CAAC;AAetG,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAK7E,qBAAa,4BACT,SAAQ,kBACR,YAAW,6BAA6B;IAExC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAe;IAC5C,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAe;IAC5C,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAAsB;IAC1D,OAAO,CAAC,QAAQ,CAAC,WAAW,CAA8B;IAC1D,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAiC;IAClE,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAsB;gBAQ5C,gBAAgB,EAAE,0BAA0B,EAC5C,mBAAmB,CAAC,EAAE,oBAAoB;IAyD9C,iBAAiB,CACb,sBAAsB,CAAC,EAAE,sBAAsB,GAChD,gBAAgB;IAqCb,MAAM,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;IAiKzD,MAAM,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;IA8GzD,aAAa,CACf,mBAAmB,EAAE,mBAAmB,GACzC,OAAO,CAAC,wBAAwB,CAAC;IAoDpC,OAAO,CAAC,gBAAgB;IAQxB,OAAO,CAAC,qBAAqB;CAWhC"}
1
+ {"version":3,"file":"CustomAuthStandardController.d.ts","sourceRoot":"","sources":["../../../../src/custom_auth/controller/CustomAuthStandardController.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qDAAqD,CAAC;AACvF,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,6CAA6C,CAAC;AAM3E,OAAO,EACH,sBAAsB,EACtB,YAAY,EACZ,YAAY,EACZ,mBAAmB,EAEtB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EAAE,0BAA0B,EAAE,MAAM,oDAAoD,CAAC;AAChG,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AAGnF,OAAO,EAAE,wBAAwB,EAAE,MAAM,gEAAgE,CAAC;AAa1G,OAAO,EAAE,oBAAoB,EAAE,MAAM,gEAAgE,CAAC;AAetG,OAAO,EAAE,kBAAkB,EAAE,MAAM,yCAAyC,CAAC;AAK7E,qBAAa,4BACT,SAAQ,kBACR,YAAW,6BAA6B;IAExC,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAe;IAC5C,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAe;IAC5C,OAAO,CAAC,QAAQ,CAAC,mBAAmB,CAAsB;IAC1D,OAAO,CAAC,QAAQ,CAAC,WAAW,CAA8B;IAC1D,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAAiC;IAClE,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAsB;gBAQ5C,gBAAgB,EAAE,0BAA0B,EAC5C,mBAAmB,CAAC,EAAE,oBAAoB;IA0D9C,iBAAiB,CACb,sBAAsB,CAAC,EAAE,sBAAsB,GAChD,gBAAgB;IAqCb,MAAM,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;IAiKzD,MAAM,CAAC,YAAY,EAAE,YAAY,GAAG,OAAO,CAAC,YAAY,CAAC;IA8GzD,aAAa,CACf,mBAAmB,EAAE,mBAAmB,GACzC,OAAO,CAAC,wBAAwB,CAAC;IAoDpC,OAAO,CAAC,gBAAgB;IAQxB,OAAO,CAAC,qBAAqB;CAWhC"}
@@ -29,5 +29,10 @@ export declare abstract class AuthActionErrorBase extends AuthFlowErrorBase {
29
29
  * @returns {boolean} True if the error is due to the expired continuation token, false otherwise.
30
30
  */
31
31
  isTokenExpired(): boolean;
32
+ /**
33
+ * Check if client app supports the challenge type configured in Entra.
34
+ * @returns {boolean} True if client app doesn't support the challenge type configured in Entra, "loginPopup" function is required to continue the operation.
35
+ */
36
+ isRedirectRequired(): boolean;
32
37
  }
33
38
  //# sourceMappingURL=AuthFlowErrorBase.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"AuthFlowErrorBase.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/auth_flow/AuthFlowErrorBase.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAK9D;;GAEG;AACH,8BAAsB,iBAAiB;IAChB,SAAS,EAAE,eAAe;gBAA1B,SAAS,EAAE,eAAe;IAE7C,SAAS,CAAC,mBAAmB,IAAI,OAAO;IAIxC,SAAS,CAAC,kBAAkB,IAAI,OAAO;IAYvC,SAAS,CAAC,+BAA+B,IAAI,OAAO;IAYpD,SAAS,CAAC,wBAAwB,IAAI,OAAO;IAa7C,SAAS,CAAC,kBAAkB,IAAI,OAAO;IAWvC,SAAS,CAAC,eAAe,IAAI,OAAO;IAIpC,SAAS,CAAC,yBAAyB,IAAI,OAAO;IAiB9C,SAAS,CAAC,wBAAwB,IAAI,OAAO;IAO7C,SAAS,CAAC,wBAAwB,IAAI,OAAO;IAO7C,SAAS,CAAC,gCAAgC,IAAI,OAAO;IAYrD,SAAS,CAAC,2BAA2B,IAAI,OAAO;IAIhD,SAAS,CAAC,mBAAmB,IAAI,OAAO;IAOxC;;;OAGG;IACH,SAAS,CAAC,4BAA4B,IAAI,OAAO;CAOpD;AAED,8BAAsB,mBAAoB,SAAQ,iBAAiB;IAC/D;;;OAGG;IACH,cAAc,IAAI,OAAO;CAG5B"}
1
+ {"version":3,"file":"AuthFlowErrorBase.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/auth_flow/AuthFlowErrorBase.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAK9D;;GAEG;AACH,8BAAsB,iBAAiB;IAChB,SAAS,EAAE,eAAe;gBAA1B,SAAS,EAAE,eAAe;IAE7C,SAAS,CAAC,mBAAmB,IAAI,OAAO;IAIxC,SAAS,CAAC,kBAAkB,IAAI,OAAO;IAYvC,SAAS,CAAC,+BAA+B,IAAI,OAAO;IAYpD,SAAS,CAAC,wBAAwB,IAAI,OAAO;IAa7C,SAAS,CAAC,kBAAkB,IAAI,OAAO;IAWvC,SAAS,CAAC,eAAe,IAAI,OAAO;IAIpC,SAAS,CAAC,yBAAyB,IAAI,OAAO;IAiB9C,SAAS,CAAC,wBAAwB,IAAI,OAAO;IAO7C,SAAS,CAAC,wBAAwB,IAAI,OAAO;IAO7C,SAAS,CAAC,gCAAgC,IAAI,OAAO;IAYrD,SAAS,CAAC,2BAA2B,IAAI,OAAO;IAIhD,SAAS,CAAC,mBAAmB,IAAI,OAAO;IAOxC;;;OAGG;IACH,SAAS,CAAC,4BAA4B,IAAI,OAAO;CAOpD;AAED,8BAAsB,mBAAoB,SAAQ,iBAAiB;IAC/D;;;OAGG;IACH,cAAc,IAAI,OAAO;IAIzB;;;OAGG;IACH,kBAAkB,IAAI,OAAO;CAGhC"}
@@ -4,7 +4,8 @@ import { CustomAuthError } from "./CustomAuthError.js";
4
4
  * Error when no required authentication method by Microsoft Entra is supported
5
5
  */
6
6
  export declare class RedirectError extends CustomAuthError {
7
- constructor(correlationId?: string);
7
+ redirectReason?: string | undefined;
8
+ constructor(correlationId?: string, redirectReason?: string | undefined);
8
9
  }
9
10
  /**
10
11
  * Custom Auth API error.
@@ -1 +1 @@
1
- {"version":3,"file":"CustomAuthApiError.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/error/CustomAuthApiError.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,kEAAkE,CAAC;AACjG,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD;;GAEG;AACH,qBAAa,aAAc,SAAQ,eAAe;gBAClC,aAAa,CAAC,EAAE,MAAM;CAQrC;AAED;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,eAAe;IAOxC,UAAU,CAAC;IACX,iBAAiB,CAAC;IAClB,OAAO,CAAC;IACR,SAAS,CAAC;gBARjB,KAAK,EAAE,MAAM,EACb,gBAAgB,EAAE,MAAM,EACxB,aAAa,CAAC,EAAE,MAAM,EACtB,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,EAC1B,QAAQ,CAAC,EAAE,MAAM,EACV,UAAU,CAAC,6BAAsB,EACjC,iBAAiB,CAAC,oBAAQ,EAC1B,OAAO,CAAC,oBAAQ,EAChB,SAAS,CAAC,oBAAQ;CAKhC"}
1
+ {"version":3,"file":"CustomAuthApiError.d.ts","sourceRoot":"","sources":["../../../../../src/custom_auth/core/error/CustomAuthApiError.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,aAAa,EAAE,MAAM,kEAAkE,CAAC;AACjG,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD;;GAEG;AACH,qBAAa,aAAc,SAAQ,eAAe;IACH,cAAc,CAAC;gBAA9C,aAAa,CAAC,EAAE,MAAM,EAAS,cAAc,CAAC,oBAAQ;CASrE;AAED;;GAEG;AACH,qBAAa,kBAAmB,SAAQ,eAAe;IAOxC,UAAU,CAAC;IACX,iBAAiB,CAAC;IAClB,OAAO,CAAC;IACR,SAAS,CAAC;gBARjB,KAAK,EAAE,MAAM,EACb,gBAAgB,EAAE,MAAM,EACxB,aAAa,CAAC,EAAE,MAAM,EACtB,UAAU,CAAC,EAAE,KAAK,CAAC,MAAM,CAAC,EAC1B,QAAQ,CAAC,EAAE,MAAM,EACV,UAAU,CAAC,6BAAsB,EACjC,iBAAiB,CAAC,oBAAQ,EAC1B,OAAO,CAAC,oBAAQ,EAChB,SAAS,CAAC,oBAAQ;CAKhC"}
@@ -1 +1 @@
1
- {"version":3,"file":"BaseApiClient.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/network_client/custom_auth_api/BaseApiClient.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAO5D,OAAO,EAEH,sBAAsB,EACzB,MAAM,4BAA4B,CAAC;AAGpC,8BAAsB,aAAa;IAK3B,OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,UAAU;IALtB,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAM;gBAGjC,OAAO,EAAE,MAAM,EACE,QAAQ,EAAE,MAAM,EACzB,UAAU,EAAE,WAAW;cAOnB,OAAO,CAAC,CAAC,EACrB,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,EACtC,gBAAgB,EAAE,sBAAsB,EACxC,aAAa,EAAE,MAAM,GACtB,OAAO,CAAC,CAAC,CAAC;IAuBb,SAAS,CAAC,8BAA8B,CACpC,iBAAiB,EAAE,MAAM,GAAG,SAAS,EACrC,aAAa,EAAE,MAAM,GACtB,IAAI;IAUP,OAAO,CAAC,yBAAyB;IAUjC,OAAO,CAAC,gBAAgB;YAkBV,iBAAiB;CA8DlC"}
1
+ {"version":3,"file":"BaseApiClient.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/network_client/custom_auth_api/BaseApiClient.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAO5D,OAAO,EAEH,sBAAsB,EACzB,MAAM,4BAA4B,CAAC;AAGpC,8BAAsB,aAAa;IAK3B,OAAO,CAAC,QAAQ,CAAC,QAAQ;IACzB,OAAO,CAAC,UAAU;IALtB,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAM;gBAGjC,OAAO,EAAE,MAAM,EACE,QAAQ,EAAE,MAAM,EACzB,UAAU,EAAE,WAAW;cAOnB,OAAO,CAAC,CAAC,EACrB,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,EACtC,gBAAgB,EAAE,sBAAsB,EACxC,aAAa,EAAE,MAAM,GACtB,OAAO,CAAC,CAAC,CAAC;IAuBb,SAAS,CAAC,8BAA8B,CACpC,iBAAiB,EAAE,MAAM,GAAG,SAAS,EACrC,aAAa,EAAE,MAAM,GACtB,IAAI;IAUP,OAAO,CAAC,yBAAyB;IAUjC,OAAO,CAAC,gBAAgB;YAkBV,iBAAiB;CAiElC"}
@@ -7,6 +7,6 @@ export declare class CustomAuthApiClient implements ICustomAuthApiClient {
7
7
  signInApi: SignInApiClient;
8
8
  signUpApi: SignupApiClient;
9
9
  resetPasswordApi: ResetPasswordApiClient;
10
- constructor(customAuthApiBaseUrl: string, clientId: string, httpClient: IHttpClient);
10
+ constructor(customAuthApiBaseUrl: string, clientId: string, httpClient: IHttpClient, capabilities?: string);
11
11
  }
12
12
  //# sourceMappingURL=CustomAuthApiClient.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CustomAuthApiClient.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAE5D,qBAAa,mBAAoB,YAAW,oBAAoB;IAC5D,SAAS,EAAE,eAAe,CAAC;IAC3B,SAAS,EAAE,eAAe,CAAC;IAC3B,gBAAgB,EAAE,sBAAsB,CAAC;gBAGrC,oBAAoB,EAAE,MAAM,EAC5B,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,WAAW;CAkB9B"}
1
+ {"version":3,"file":"CustomAuthApiClient.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAE5D,qBAAa,mBAAoB,YAAW,oBAAoB;IAC5D,SAAS,EAAE,eAAe,CAAC;IAC3B,SAAS,EAAE,eAAe,CAAC;IAC3B,gBAAgB,EAAE,sBAAsB,CAAC;gBAGrC,oBAAoB,EAAE,MAAM,EAC5B,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,WAAW,EACvB,YAAY,CAAC,EAAE,MAAM;CAqB5B"}
@@ -1,7 +1,10 @@
1
1
  import { BaseApiClient } from "./BaseApiClient.js";
2
+ import { IHttpClient } from "../http_client/IHttpClient.js";
2
3
  import { ResetPasswordChallengeRequest, ResetPasswordContinueRequest, ResetPasswordPollCompletionRequest, ResetPasswordStartRequest, ResetPasswordSubmitRequest } from "./types/ApiRequestTypes.js";
3
4
  import { ResetPasswordChallengeResponse, ResetPasswordContinueResponse, ResetPasswordPollCompletionResponse, ResetPasswordStartResponse, ResetPasswordSubmitResponse } from "./types/ApiResponseTypes.js";
4
5
  export declare class ResetPasswordApiClient extends BaseApiClient {
6
+ private readonly capabilities?;
7
+ constructor(customAuthApiBaseUrl: string, clientId: string, httpClient: IHttpClient, capabilities?: string);
5
8
  /**
6
9
  * Start the password reset flow
7
10
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ResetPasswordApiClient.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAGnD,OAAO,EACH,6BAA6B,EAC7B,4BAA4B,EAC5B,kCAAkC,EAClC,yBAAyB,EACzB,0BAA0B,EAC7B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,8BAA8B,EAC9B,6BAA6B,EAC7B,mCAAmC,EACnC,0BAA0B,EAC1B,2BAA2B,EAC9B,MAAM,6BAA6B,CAAC;AAErC,qBAAa,sBAAuB,SAAQ,aAAa;IACrD;;OAEG;IACG,KAAK,CACP,MAAM,EAAE,yBAAyB,GAClC,OAAO,CAAC,0BAA0B,CAAC;IAmBtC;;;OAGG;IACG,gBAAgB,CAClB,MAAM,EAAE,6BAA6B,GACtC,OAAO,CAAC,8BAA8B,CAAC;IAmB1C;;;OAGG;IACG,gBAAgB,CAClB,MAAM,EAAE,4BAA4B,GACrC,OAAO,CAAC,6BAA6B,CAAC;IAoBzC;;;OAGG;IACG,iBAAiB,CACnB,MAAM,EAAE,0BAA0B,GACnC,OAAO,CAAC,2BAA2B,CAAC;IAuBvC;;;OAGG;IACG,cAAc,CAChB,MAAM,EAAE,kCAAkC,GAC3C,OAAO,CAAC,mCAAmC,CAAC;IAe/C,SAAS,CAAC,uBAAuB,CAC7B,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,MAAM,GACtB,IAAI;CAcV"}
1
+ {"version":3,"file":"ResetPasswordApiClient.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.ts"],"names":[],"mappings":"AAUA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAG5D,OAAO,EACH,6BAA6B,EAC7B,4BAA4B,EAC5B,kCAAkC,EAClC,yBAAyB,EACzB,0BAA0B,EAC7B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,8BAA8B,EAC9B,6BAA6B,EAC7B,mCAAmC,EACnC,0BAA0B,EAC1B,2BAA2B,EAC9B,MAAM,6BAA6B,CAAC;AAErC,qBAAa,sBAAuB,SAAQ,aAAa;IACrD,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAS;gBAGnC,oBAAoB,EAAE,MAAM,EAC5B,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,WAAW,EACvB,YAAY,CAAC,EAAE,MAAM;IAMzB;;OAEG;IACG,KAAK,CACP,MAAM,EAAE,yBAAyB,GAClC,OAAO,CAAC,0BAA0B,CAAC;IAsBtC;;;OAGG;IACG,gBAAgB,CAClB,MAAM,EAAE,6BAA6B,GACtC,OAAO,CAAC,8BAA8B,CAAC;IAmB1C;;;OAGG;IACG,gBAAgB,CAClB,MAAM,EAAE,4BAA4B,GACrC,OAAO,CAAC,6BAA6B,CAAC;IAoBzC;;;OAGG;IACG,iBAAiB,CACnB,MAAM,EAAE,0BAA0B,GACnC,OAAO,CAAC,2BAA2B,CAAC;IAuBvC;;;OAGG;IACG,cAAc,CAChB,MAAM,EAAE,kCAAkC,GAC3C,OAAO,CAAC,mCAAmC,CAAC;IAe/C,SAAS,CAAC,uBAAuB,CAC7B,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,MAAM,GACtB,IAAI;CAcV"}
@@ -1,7 +1,10 @@
1
1
  import { BaseApiClient } from "./BaseApiClient.js";
2
+ import { IHttpClient } from "../http_client/IHttpClient.js";
2
3
  import { SignInChallengeRequest, SignInContinuationTokenRequest, SignInInitiateRequest, SignInOobTokenRequest, SignInPasswordTokenRequest } from "./types/ApiRequestTypes.js";
3
4
  import { SignInChallengeResponse, SignInInitiateResponse, SignInTokenResponse } from "./types/ApiResponseTypes.js";
4
5
  export declare class SignInApiClient extends BaseApiClient {
6
+ private readonly capabilities?;
7
+ constructor(customAuthApiBaseUrl: string, clientId: string, httpClient: IHttpClient, capabilities?: string);
5
8
  /**
6
9
  * Initiates the sign-in flow
7
10
  * @param username User's email
@@ -1 +1 @@
1
- {"version":3,"file":"SignInApiClient.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/network_client/custom_auth_api/SignInApiClient.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAGnD,OAAO,EACH,sBAAsB,EACtB,8BAA8B,EAC9B,qBAAqB,EACrB,qBAAqB,EACrB,0BAA0B,EAC7B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,uBAAuB,EACvB,sBAAsB,EACtB,mBAAmB,EACtB,MAAM,6BAA6B,CAAC;AAErC,qBAAa,eAAgB,SAAQ,aAAa;IAC9C;;;;OAIG;IACG,QAAQ,CACV,MAAM,EAAE,qBAAqB,GAC9B,OAAO,CAAC,sBAAsB,CAAC;IAmBlC;;;;OAIG;IACG,gBAAgB,CAClB,MAAM,EAAE,sBAAsB,GAC/B,OAAO,CAAC,uBAAuB,CAAC;IAmBnC;;;;;OAKG;IACG,yBAAyB,CAC3B,MAAM,EAAE,0BAA0B,GACnC,OAAO,CAAC,mBAAmB,CAAC;IAczB,oBAAoB,CACtB,MAAM,EAAE,qBAAqB,GAC9B,OAAO,CAAC,mBAAmB,CAAC;IAczB,iCAAiC,CACnC,MAAM,EAAE,8BAA8B,GACvC,OAAO,CAAC,mBAAmB,CAAC;YAejB,aAAa;IAoB3B,OAAO,CAAC,MAAM,CAAC,0BAA0B;CAoC5C"}
1
+ {"version":3,"file":"SignInApiClient.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/network_client/custom_auth_api/SignInApiClient.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAG5D,OAAO,EACH,sBAAsB,EACtB,8BAA8B,EAC9B,qBAAqB,EACrB,qBAAqB,EACrB,0BAA0B,EAC7B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,uBAAuB,EACvB,sBAAsB,EACtB,mBAAmB,EACtB,MAAM,6BAA6B,CAAC;AAErC,qBAAa,eAAgB,SAAQ,aAAa;IAC9C,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAS;gBAGnC,oBAAoB,EAAE,MAAM,EAC5B,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,WAAW,EACvB,YAAY,CAAC,EAAE,MAAM;IAMzB;;;;OAIG;IACG,QAAQ,CACV,MAAM,EAAE,qBAAqB,GAC9B,OAAO,CAAC,sBAAsB,CAAC;IAsBlC;;;;OAIG;IACG,gBAAgB,CAClB,MAAM,EAAE,sBAAsB,GAC/B,OAAO,CAAC,uBAAuB,CAAC;IAmBnC;;;;;OAKG;IACG,yBAAyB,CAC3B,MAAM,EAAE,0BAA0B,GACnC,OAAO,CAAC,mBAAmB,CAAC;IAczB,oBAAoB,CACtB,MAAM,EAAE,qBAAqB,GAC9B,OAAO,CAAC,mBAAmB,CAAC;IAczB,iCAAiC,CACnC,MAAM,EAAE,8BAA8B,GACvC,OAAO,CAAC,mBAAmB,CAAC;YAejB,aAAa;IAoB3B,OAAO,CAAC,MAAM,CAAC,0BAA0B;CAoC5C"}
@@ -1,7 +1,10 @@
1
1
  import { BaseApiClient } from "./BaseApiClient.js";
2
+ import { IHttpClient } from "../http_client/IHttpClient.js";
2
3
  import { SignUpChallengeRequest, SignUpContinueWithAttributesRequest, SignUpContinueWithOobRequest, SignUpContinueWithPasswordRequest, SignUpStartRequest } from "./types/ApiRequestTypes.js";
3
4
  import { SignUpChallengeResponse, SignUpContinueResponse, SignUpStartResponse } from "./types/ApiResponseTypes.js";
4
5
  export declare class SignupApiClient extends BaseApiClient {
6
+ private readonly capabilities?;
7
+ constructor(customAuthApiBaseUrl: string, clientId: string, httpClient: IHttpClient, capabilities?: string);
5
8
  /**
6
9
  * Start the sign-up flow
7
10
  */
@@ -1 +1 @@
1
- {"version":3,"file":"SignupApiClient.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/network_client/custom_auth_api/SignupApiClient.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,OAAO,EACH,sBAAsB,EACtB,mCAAmC,EACnC,4BAA4B,EAC5B,iCAAiC,EACjC,kBAAkB,EACrB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,uBAAuB,EACvB,sBAAsB,EACtB,mBAAmB,EACtB,MAAM,6BAA6B,CAAC;AAErC,qBAAa,eAAgB,SAAQ,aAAa;IAC9C;;OAEG;IACG,KAAK,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,mBAAmB,CAAC;IAuBrE;;OAEG;IACG,gBAAgB,CAClB,MAAM,EAAE,sBAAsB,GAC/B,OAAO,CAAC,uBAAuB,CAAC;IAmBnC;;OAEG;IACG,gBAAgB,CAClB,MAAM,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;IAoB5B,oBAAoB,CACtB,MAAM,EAAE,iCAAiC,GAC1C,OAAO,CAAC,sBAAsB,CAAC;IAoB5B,sBAAsB,CACxB,MAAM,EAAE,mCAAmC,GAC5C,OAAO,CAAC,sBAAsB,CAAC;CAmBrC"}
1
+ {"version":3,"file":"SignupApiClient.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/core/network_client/custom_auth_api/SignupApiClient.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,+BAA+B,CAAC;AAE5D,OAAO,EACH,sBAAsB,EACtB,mCAAmC,EACnC,4BAA4B,EAC5B,iCAAiC,EACjC,kBAAkB,EACrB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACH,uBAAuB,EACvB,sBAAsB,EACtB,mBAAmB,EACtB,MAAM,6BAA6B,CAAC;AAErC,qBAAa,eAAgB,SAAQ,aAAa;IAC9C,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAS;gBAGnC,oBAAoB,EAAE,MAAM,EAC5B,QAAQ,EAAE,MAAM,EAChB,UAAU,EAAE,WAAW,EACvB,YAAY,CAAC,EAAE,MAAM;IAMzB;;OAEG;IACG,KAAK,CAAC,MAAM,EAAE,kBAAkB,GAAG,OAAO,CAAC,mBAAmB,CAAC;IA0BrE;;OAEG;IACG,gBAAgB,CAClB,MAAM,EAAE,sBAAsB,GAC/B,OAAO,CAAC,uBAAuB,CAAC;IAmBnC;;OAEG;IACG,gBAAgB,CAClB,MAAM,EAAE,4BAA4B,GACrC,OAAO,CAAC,sBAAsB,CAAC;IAoB5B,oBAAoB,CACtB,MAAM,EAAE,iCAAiC,GAC1C,OAAO,CAAC,sBAAsB,CAAC;IAoB5B,sBAAsB,CACxB,MAAM,EAAE,mCAAmC,GAC5C,OAAO,CAAC,sBAAsB,CAAC;CAmBrC"}
@@ -15,11 +15,6 @@ export declare class ResetPasswordError extends AuthActionErrorBase {
15
15
  * @returns {boolean} True if the error is due to the provided challenge type is not supported, false otherwise.
16
16
  */
17
17
  isUnsupportedChallengeType(): boolean;
18
- /**
19
- * Check if client app supports the challenge type configured in Entra.
20
- * @returns {boolean} True if client app doesn't support the challenge type configured in Entra, "loginPopup" function is required to continue the operation.
21
- */
22
- isRedirectRequired(): boolean;
23
18
  }
24
19
  export declare class ResetPasswordSubmitPasswordError extends AuthActionErrorBase {
25
20
  /**
@@ -39,17 +34,7 @@ export declare class ResetPasswordSubmitCodeError extends AuthActionErrorBase {
39
34
  * @returns {boolean} True if the provided code is invalid, false otherwise.
40
35
  */
41
36
  isInvalidCode(): boolean;
42
- /**
43
- * Check if client app supports the challenge type configured in Entra.
44
- * @returns {boolean} True if client app doesn't support the challenge type configured in Entra, "loginPopup" function is required to continue the operation.
45
- */
46
- isRedirectRequired(): boolean;
47
37
  }
48
38
  export declare class ResetPasswordResendCodeError extends AuthActionErrorBase {
49
- /**
50
- * Check if client app supports the challenge type configured in Entra.
51
- * @returns {boolean} True if client app doesn't support the challenge type configured in Entra, "loginPopup" function is required to continue the operation.
52
- */
53
- isRedirectRequired(): boolean;
54
39
  }
55
40
  //# sourceMappingURL=ResetPasswordError.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ResetPasswordError.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAInF,qBAAa,kBAAmB,SAAQ,mBAAmB;IACvD;;;OAGG;IACH,cAAc,IAAI,OAAO;IAIzB;;;OAGG;IACH,iBAAiB,IAAI,OAAO;IAI5B;;;OAGG;IACH,0BAA0B,IAAI,OAAO;IAIrC;;;OAGG;IACH,kBAAkB,IAAI,OAAO;CAGhC;AAED,qBAAa,gCAAiC,SAAQ,mBAAmB;IACrE;;;OAGG;IACH,iBAAiB,IAAI,OAAO;IAM5B;;;OAGG;IACH,qBAAqB,IAAI,OAAO;CASnC;AAED,qBAAa,4BAA6B,SAAQ,mBAAmB;IACjE;;;OAGG;IACH,aAAa,IAAI,OAAO;IAIxB;;;OAGG;IACH,kBAAkB,IAAI,OAAO;CAGhC;AAED,qBAAa,4BAA6B,SAAQ,mBAAmB;IACjE;;;OAGG;IACH,kBAAkB,IAAI,OAAO;CAGhC"}
1
+ {"version":3,"file":"ResetPasswordError.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAInF,qBAAa,kBAAmB,SAAQ,mBAAmB;IACvD;;;OAGG;IACH,cAAc,IAAI,OAAO;IAIzB;;;OAGG;IACH,iBAAiB,IAAI,OAAO;IAI5B;;;OAGG;IACH,0BAA0B,IAAI,OAAO;CAGxC;AAED,qBAAa,gCAAiC,SAAQ,mBAAmB;IACrE;;;OAGG;IACH,iBAAiB,IAAI,OAAO;IAM5B;;;OAGG;IACH,qBAAqB,IAAI,OAAO;CASnC;AAED,qBAAa,4BAA6B,SAAQ,mBAAmB;IACjE;;;OAGG;IACH,aAAa,IAAI,OAAO;CAG3B;AAED,qBAAa,4BAA6B,SAAQ,mBAAmB;CAAG"}
@@ -25,11 +25,6 @@ export declare class SignInError extends AuthActionErrorBase {
25
25
  * @returns {boolean} True if the error is due to the provided challenge type is not supported, false otherwise.
26
26
  */
27
27
  isUnsupportedChallengeType(): boolean;
28
- /**
29
- * Check if client app supports the challenge type configured in Entra.
30
- * @returns {boolean} True if "loginPopup" function is required to continue sthe operation.
31
- */
32
- isRedirectRequired(): boolean;
33
28
  }
34
29
  export declare class SignInSubmitPasswordError extends AuthActionErrorBase {
35
30
  /**
@@ -46,10 +41,5 @@ export declare class SignInSubmitCodeError extends AuthActionErrorBase {
46
41
  isInvalidCode(): boolean;
47
42
  }
48
43
  export declare class SignInResendCodeError extends AuthActionErrorBase {
49
- /**
50
- * Check if client app supports the challenge type configured in Entra.
51
- * @returns {boolean} True if "loginPopup" function is required to continue sthe operation.
52
- */
53
- isRedirectRequired(): boolean;
54
44
  }
55
45
  //# sourceMappingURL=SignInError.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SignInError.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_in/auth_flow/error_type/SignInError.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAGnF,qBAAa,WAAY,SAAQ,mBAAmB;IAChD;;;OAGG;IACH,cAAc,IAAI,OAAO;IAIzB;;;OAGG;IACH,iBAAiB,IAAI,OAAO;IAI5B;;;OAGG;IACH,mBAAmB,IAAI,OAAO;IAI9B;;;OAGG;IACH,uBAAuB,IAAI,OAAO;IAIlC;;;OAGG;IACH,0BAA0B,IAAI,OAAO;IAIrC;;;OAGG;IACH,kBAAkB,IAAI,OAAO;CAGhC;AAED,qBAAa,yBAA0B,SAAQ,mBAAmB;IAC9D;;;OAGG;IACH,iBAAiB,IAAI,OAAO;CAG/B;AAED,qBAAa,qBAAsB,SAAQ,mBAAmB;IAC1D;;;OAGG;IACH,aAAa,IAAI,OAAO;CAG3B;AAED,qBAAa,qBAAsB,SAAQ,mBAAmB;IAC1D;;;OAGG;IACH,kBAAkB,IAAI,OAAO;CAGhC"}
1
+ {"version":3,"file":"SignInError.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_in/auth_flow/error_type/SignInError.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAGnF,qBAAa,WAAY,SAAQ,mBAAmB;IAChD;;;OAGG;IACH,cAAc,IAAI,OAAO;IAIzB;;;OAGG;IACH,iBAAiB,IAAI,OAAO;IAI5B;;;OAGG;IACH,mBAAmB,IAAI,OAAO;IAI9B;;;OAGG;IACH,uBAAuB,IAAI,OAAO;IAIlC;;;OAGG;IACH,0BAA0B,IAAI,OAAO;CAGxC;AAED,qBAAa,yBAA0B,SAAQ,mBAAmB;IAC9D;;;OAGG;IACH,iBAAiB,IAAI,OAAO;CAG/B;AAED,qBAAa,qBAAsB,SAAQ,mBAAmB;IAC1D;;;OAGG;IACH,aAAa,IAAI,OAAO;CAG3B;AAED,qBAAa,qBAAsB,SAAQ,mBAAmB;CAAG"}
@@ -30,11 +30,6 @@ export declare class SignUpError extends AuthActionErrorBase {
30
30
  * @returns {boolean} True if the error is due to the provided challenge type is not supported, false otherwise.
31
31
  */
32
32
  isUnsupportedChallengeType(): boolean;
33
- /**
34
- * Check if client app supports the challenge type configured in Entra.
35
- * @returns {boolean} True if "loginPopup" function is required to continue sthe operation.
36
- */
37
- isRedirectRequired(): boolean;
38
33
  }
39
34
  export declare class SignUpSubmitPasswordError extends AuthActionErrorBase {
40
35
  /**
@@ -42,11 +37,6 @@ export declare class SignUpSubmitPasswordError extends AuthActionErrorBase {
42
37
  * @returns {boolean} True if the error is due to the password being invalid, false otherwise.
43
38
  */
44
39
  isInvalidPassword(): boolean;
45
- /**
46
- * Check if client app supports the challenge type configured in Entra.
47
- * @returns {boolean} True if "loginPopup" function is required to continue sthe operation.
48
- */
49
- isRedirectRequired(): boolean;
50
40
  }
51
41
  export declare class SignUpSubmitCodeError extends AuthActionErrorBase {
52
42
  /**
@@ -54,11 +44,6 @@ export declare class SignUpSubmitCodeError extends AuthActionErrorBase {
54
44
  * @returns {boolean} True if the provided code is invalid, false otherwise.
55
45
  */
56
46
  isInvalidCode(): boolean;
57
- /**
58
- * Check if client app supports the challenge type configured in Entra.
59
- * @returns {boolean} True if "loginPopup" function is required to continue sthe operation.
60
- */
61
- isRedirectRequired(): boolean;
62
47
  }
63
48
  export declare class SignUpSubmitAttributesError extends AuthActionErrorBase {
64
49
  /**
@@ -71,17 +56,7 @@ export declare class SignUpSubmitAttributesError extends AuthActionErrorBase {
71
56
  * @returns {boolean} True if the error is due to the attributes validation failed, false otherwise.
72
57
  */
73
58
  isAttributesValidationFailed(): boolean;
74
- /**
75
- * Check if client app supports the challenge type configured in Entra.
76
- * @returns {boolean} True if "loginPopup" function is required to continue sthe operation.
77
- */
78
- isRedirectRequired(): boolean;
79
59
  }
80
60
  export declare class SignUpResendCodeError extends AuthActionErrorBase {
81
- /**
82
- * Check if client app supports the challenge type configured in Entra.
83
- * @returns {boolean} True if "loginPopup" function is required to continue sthe operation.
84
- */
85
- isRedirectRequired(): boolean;
86
61
  }
87
62
  //# sourceMappingURL=SignUpError.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SignUpError.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_up/auth_flow/error_type/SignUpError.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAEnF,qBAAa,WAAY,SAAQ,mBAAmB;IAChD;;;OAGG;IACH,mBAAmB,IAAI,OAAO;IAI9B;;;OAGG;IACH,iBAAiB,IAAI,OAAO;IAI5B;;;OAGG;IACH,iBAAiB,IAAI,OAAO;IAI5B;;;OAGG;IACH,2BAA2B,IAAI,OAAO;IAItC;;;OAGG;IACH,4BAA4B,IAAI,OAAO;IAIvC;;;OAGG;IACH,0BAA0B,IAAI,OAAO;IAIrC;;;OAGG;IACH,kBAAkB,IAAI,OAAO;CAGhC;AAED,qBAAa,yBAA0B,SAAQ,mBAAmB;IAC9D;;;OAGG;IACH,iBAAiB,IAAI,OAAO;IAM5B;;;OAGG;IACH,kBAAkB,IAAI,OAAO;CAGhC;AAED,qBAAa,qBAAsB,SAAQ,mBAAmB;IAC1D;;;OAGG;IACH,aAAa,IAAI,OAAO;IAIxB;;;OAGG;IACH,kBAAkB,IAAI,OAAO;CAGhC;AAED,qBAAa,2BAA4B,SAAQ,mBAAmB;IAChE;;;OAGG;IACH,2BAA2B,IAAI,OAAO;IAItC;;;OAGG;IACH,4BAA4B,IAAI,OAAO;IAIvC;;;OAGG;IACH,kBAAkB,IAAI,OAAO;CAGhC;AAED,qBAAa,qBAAsB,SAAQ,mBAAmB;IAC1D;;;OAGG;IACH,kBAAkB,IAAI,OAAO;CAGhC"}
1
+ {"version":3,"file":"SignUpError.d.ts","sourceRoot":"","sources":["../../../../../../src/custom_auth/sign_up/auth_flow/error_type/SignUpError.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,mBAAmB,EAAE,MAAM,8CAA8C,CAAC;AAEnF,qBAAa,WAAY,SAAQ,mBAAmB;IAChD;;;OAGG;IACH,mBAAmB,IAAI,OAAO;IAI9B;;;OAGG;IACH,iBAAiB,IAAI,OAAO;IAI5B;;;OAGG;IACH,iBAAiB,IAAI,OAAO;IAI5B;;;OAGG;IACH,2BAA2B,IAAI,OAAO;IAItC;;;OAGG;IACH,4BAA4B,IAAI,OAAO;IAIvC;;;OAGG;IACH,0BAA0B,IAAI,OAAO;CAGxC;AAED,qBAAa,yBAA0B,SAAQ,mBAAmB;IAC9D;;;OAGG;IACH,iBAAiB,IAAI,OAAO;CAK/B;AAED,qBAAa,qBAAsB,SAAQ,mBAAmB;IAC1D;;;OAGG;IACH,aAAa,IAAI,OAAO;CAG3B;AAED,qBAAa,2BAA4B,SAAQ,mBAAmB;IAChE;;;OAGG;IACH,2BAA2B,IAAI,OAAO;IAItC;;;OAGG;IACH,4BAA4B,IAAI,OAAO;CAG1C;AAED,qBAAa,qBAAsB,SAAQ,mBAAmB;CAAG"}
@@ -1,3 +1,3 @@
1
1
  export declare const name = "@azure/msal-browser";
2
- export declare const version = "4.21.0";
2
+ export declare const version = "4.21.1";
3
3
  //# sourceMappingURL=packageMetadata.d.ts.map
package/package.json CHANGED
@@ -10,7 +10,7 @@
10
10
  "type": "git",
11
11
  "url": "https://github.com/AzureAD/microsoft-authentication-library-for-js.git"
12
12
  },
13
- "version": "4.21.0",
13
+ "version": "4.21.1",
14
14
  "description": "Microsoft Authentication Library for js",
15
15
  "keywords": [
16
16
  "implicit",
@@ -11,6 +11,7 @@ import {
11
11
  export type CustomAuthOptions = {
12
12
  challengeTypes?: Array<string>;
13
13
  authApiProxyUrl: string;
14
+ capabilities?: Array<string>;
14
15
  };
15
16
 
16
17
  export type CustomAuthConfiguration = Configuration & {
@@ -112,7 +112,8 @@ export class CustomAuthStandardController
112
112
  new CustomAuthApiClient(
113
113
  this.authority.getCustomAuthApiDomain(),
114
114
  this.customAuthConfig.auth.clientId,
115
- new FetchHttpClient(this.logger)
115
+ new FetchHttpClient(this.logger),
116
+ this.customAuthConfig.customAuth?.capabilities?.join(" ")
116
117
  ),
117
118
  this.authority
118
119
  );
@@ -149,4 +149,12 @@ export abstract class AuthActionErrorBase extends AuthFlowErrorBase {
149
149
  isTokenExpired(): boolean {
150
150
  return this.isTokenExpiredError();
151
151
  }
152
+
153
+ /**
154
+ * Check if client app supports the challenge type configured in Entra.
155
+ * @returns {boolean} True if client app doesn't support the challenge type configured in Entra, "loginPopup" function is required to continue the operation.
156
+ */
157
+ isRedirectRequired(): boolean {
158
+ return this.isRedirectError();
159
+ }
152
160
  }
@@ -10,10 +10,11 @@ import { CustomAuthError } from "./CustomAuthError.js";
10
10
  * Error when no required authentication method by Microsoft Entra is supported
11
11
  */
12
12
  export class RedirectError extends CustomAuthError {
13
- constructor(correlationId?: string) {
13
+ constructor(correlationId?: string, public redirectReason?: string) {
14
14
  super(
15
15
  "redirect",
16
- "No required authentication method by Microsoft Entra is supported, a fallback to the web-based authentication flow is needed.",
16
+ redirectReason ||
17
+ "Redirect Error, a fallback to the browser-delegated authentication is needed. Use loginPopup instead.",
17
18
  correlationId
18
19
  );
19
20
  Object.setPrototypeOf(this, RedirectError.prototype);
@@ -128,7 +128,10 @@ export abstract class BaseApiClient {
128
128
  typeof responseData === "object" &&
129
129
  responseData.challenge_type === ChallengeType.REDIRECT
130
130
  ) {
131
- throw new RedirectError(correlationId);
131
+ throw new RedirectError(
132
+ correlationId,
133
+ responseData.redirect_reason
134
+ );
132
135
  }
133
136
 
134
137
  return {
@@ -17,22 +17,26 @@ export class CustomAuthApiClient implements ICustomAuthApiClient {
17
17
  constructor(
18
18
  customAuthApiBaseUrl: string,
19
19
  clientId: string,
20
- httpClient: IHttpClient
20
+ httpClient: IHttpClient,
21
+ capabilities?: string
21
22
  ) {
22
23
  this.signInApi = new SignInApiClient(
23
24
  customAuthApiBaseUrl,
24
25
  clientId,
25
- httpClient
26
+ httpClient,
27
+ capabilities
26
28
  );
27
29
  this.signUpApi = new SignupApiClient(
28
30
  customAuthApiBaseUrl,
29
31
  clientId,
30
- httpClient
32
+ httpClient,
33
+ capabilities
31
34
  );
32
35
  this.resetPasswordApi = new ResetPasswordApiClient(
33
36
  customAuthApiBaseUrl,
34
37
  clientId,
35
- httpClient
38
+ httpClient,
39
+ capabilities
36
40
  );
37
41
  }
38
42
  }
@@ -9,6 +9,7 @@ import {
9
9
  } from "../../../CustomAuthConstants.js";
10
10
  import { CustomAuthApiError } from "../../error/CustomAuthApiError.js";
11
11
  import { BaseApiClient } from "./BaseApiClient.js";
12
+ import { IHttpClient } from "../http_client/IHttpClient.js";
12
13
  import * as CustomAuthApiEndpoint from "./CustomAuthApiEndpoint.js";
13
14
  import * as CustomAuthApiErrorCode from "./types/ApiErrorCodes.js";
14
15
  import {
@@ -27,6 +28,18 @@ import {
27
28
  } from "./types/ApiResponseTypes.js";
28
29
 
29
30
  export class ResetPasswordApiClient extends BaseApiClient {
31
+ private readonly capabilities?: string;
32
+
33
+ constructor(
34
+ customAuthApiBaseUrl: string,
35
+ clientId: string,
36
+ httpClient: IHttpClient,
37
+ capabilities?: string
38
+ ) {
39
+ super(customAuthApiBaseUrl, clientId, httpClient);
40
+ this.capabilities = capabilities;
41
+ }
42
+
30
43
  /**
31
44
  * Start the password reset flow
32
45
  */
@@ -38,6 +51,9 @@ export class ResetPasswordApiClient extends BaseApiClient {
38
51
  {
39
52
  challenge_type: params.challenge_type,
40
53
  username: params.username,
54
+ ...(this.capabilities && {
55
+ capabilities: this.capabilities,
56
+ }),
41
57
  },
42
58
  params.telemetryManager,
43
59
  params.correlationId
@@ -7,6 +7,7 @@ import { ServerTelemetryManager } from "@azure/msal-common/browser";
7
7
  import { GrantType } from "../../../CustomAuthConstants.js";
8
8
  import { CustomAuthApiError } from "../../error/CustomAuthApiError.js";
9
9
  import { BaseApiClient } from "./BaseApiClient.js";
10
+ import { IHttpClient } from "../http_client/IHttpClient.js";
10
11
  import * as CustomAuthApiEndpoint from "./CustomAuthApiEndpoint.js";
11
12
  import * as CustomAuthApiErrorCode from "./types/ApiErrorCodes.js";
12
13
  import {
@@ -23,6 +24,18 @@ import {
23
24
  } from "./types/ApiResponseTypes.js";
24
25
 
25
26
  export class SignInApiClient extends BaseApiClient {
27
+ private readonly capabilities?: string;
28
+
29
+ constructor(
30
+ customAuthApiBaseUrl: string,
31
+ clientId: string,
32
+ httpClient: IHttpClient,
33
+ capabilities?: string
34
+ ) {
35
+ super(customAuthApiBaseUrl, clientId, httpClient);
36
+ this.capabilities = capabilities;
37
+ }
38
+
26
39
  /**
27
40
  * Initiates the sign-in flow
28
41
  * @param username User's email
@@ -36,6 +49,9 @@ export class SignInApiClient extends BaseApiClient {
36
49
  {
37
50
  username: params.username,
38
51
  challenge_type: params.challenge_type,
52
+ ...(this.capabilities && {
53
+ capabilities: this.capabilities,
54
+ }),
39
55
  },
40
56
  params.telemetryManager,
41
57
  params.correlationId
@@ -5,6 +5,7 @@
5
5
 
6
6
  import { GrantType } from "../../../CustomAuthConstants.js";
7
7
  import { BaseApiClient } from "./BaseApiClient.js";
8
+ import { IHttpClient } from "../http_client/IHttpClient.js";
8
9
  import * as CustomAuthApiEndpoint from "./CustomAuthApiEndpoint.js";
9
10
  import {
10
11
  SignUpChallengeRequest,
@@ -20,6 +21,18 @@ import {
20
21
  } from "./types/ApiResponseTypes.js";
21
22
 
22
23
  export class SignupApiClient extends BaseApiClient {
24
+ private readonly capabilities?: string;
25
+
26
+ constructor(
27
+ customAuthApiBaseUrl: string,
28
+ clientId: string,
29
+ httpClient: IHttpClient,
30
+ capabilities?: string
31
+ ) {
32
+ super(customAuthApiBaseUrl, clientId, httpClient);
33
+ this.capabilities = capabilities;
34
+ }
35
+
23
36
  /**
24
37
  * Start the sign-up flow
25
38
  */
@@ -33,6 +46,9 @@ export class SignupApiClient extends BaseApiClient {
33
46
  attributes: JSON.stringify(params.attributes),
34
47
  }),
35
48
  challenge_type: params.challenge_type,
49
+ ...(this.capabilities && {
50
+ capabilities: this.capabilities,
51
+ }),
36
52
  },
37
53
  params.telemetryManager,
38
54
  params.correlationId
@@ -31,14 +31,6 @@ export class ResetPasswordError extends AuthActionErrorBase {
31
31
  isUnsupportedChallengeType(): boolean {
32
32
  return this.isUnsupportedChallengeTypeError();
33
33
  }
34
-
35
- /**
36
- * Check if client app supports the challenge type configured in Entra.
37
- * @returns {boolean} True if client app doesn't support the challenge type configured in Entra, "loginPopup" function is required to continue the operation.
38
- */
39
- isRedirectRequired(): boolean {
40
- return this.isRedirectError();
41
- }
42
34
  }
43
35
 
44
36
  export class ResetPasswordSubmitPasswordError extends AuthActionErrorBase {
@@ -75,22 +67,6 @@ export class ResetPasswordSubmitCodeError extends AuthActionErrorBase {
75
67
  isInvalidCode(): boolean {
76
68
  return this.isInvalidCodeError();
77
69
  }
78
-
79
- /**
80
- * Check if client app supports the challenge type configured in Entra.
81
- * @returns {boolean} True if client app doesn't support the challenge type configured in Entra, "loginPopup" function is required to continue the operation.
82
- */
83
- isRedirectRequired(): boolean {
84
- return this.isRedirectError();
85
- }
86
70
  }
87
71
 
88
- export class ResetPasswordResendCodeError extends AuthActionErrorBase {
89
- /**
90
- * Check if client app supports the challenge type configured in Entra.
91
- * @returns {boolean} True if client app doesn't support the challenge type configured in Entra, "loginPopup" function is required to continue the operation.
92
- */
93
- isRedirectRequired(): boolean {
94
- return this.isRedirectError();
95
- }
96
- }
72
+ export class ResetPasswordResendCodeError extends AuthActionErrorBase {}
@@ -46,14 +46,6 @@ export class SignInError extends AuthActionErrorBase {
46
46
  isUnsupportedChallengeType(): boolean {
47
47
  return this.isUnsupportedChallengeTypeError();
48
48
  }
49
-
50
- /**
51
- * Check if client app supports the challenge type configured in Entra.
52
- * @returns {boolean} True if "loginPopup" function is required to continue sthe operation.
53
- */
54
- isRedirectRequired(): boolean {
55
- return this.isRedirectError();
56
- }
57
49
  }
58
50
 
59
51
  export class SignInSubmitPasswordError extends AuthActionErrorBase {
@@ -76,12 +68,4 @@ export class SignInSubmitCodeError extends AuthActionErrorBase {
76
68
  }
77
69
  }
78
70
 
79
- export class SignInResendCodeError extends AuthActionErrorBase {
80
- /**
81
- * Check if client app supports the challenge type configured in Entra.
82
- * @returns {boolean} True if "loginPopup" function is required to continue sthe operation.
83
- */
84
- isRedirectRequired(): boolean {
85
- return this.isRedirectError();
86
- }
87
- }
71
+ export class SignInResendCodeError extends AuthActionErrorBase {}