@azure/msal-browser 4.24.0 → 5.0.0-alpha.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 (1258) hide show
  1. package/dist/app/IPublicClientApplication.d.ts +2 -9
  2. package/dist/app/IPublicClientApplication.d.ts.map +1 -1
  3. package/dist/app/IPublicClientApplication.mjs +1 -22
  4. package/dist/app/IPublicClientApplication.mjs.map +1 -1
  5. package/dist/app/PublicClientApplication.d.ts +3 -49
  6. package/dist/app/PublicClientApplication.d.ts.map +1 -1
  7. package/dist/app/PublicClientApplication.mjs +8 -65
  8. package/dist/app/PublicClientApplication.mjs.map +1 -1
  9. package/dist/app/PublicClientNext.d.ts +2 -49
  10. package/dist/app/PublicClientNext.d.ts.map +1 -1
  11. package/dist/app/PublicClientNext.mjs +3 -63
  12. package/dist/app/PublicClientNext.mjs.map +1 -1
  13. package/dist/broker/nativeBroker/NativeStatusCodes.mjs +3 -2
  14. package/dist/broker/nativeBroker/NativeStatusCodes.mjs.map +1 -1
  15. package/dist/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -1
  16. package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +13 -15
  17. package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs.map +1 -1
  18. package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +1 -1
  19. package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -1
  20. package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +27 -29
  21. package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs.map +1 -1
  22. package/dist/broker/nativeBroker/PlatformAuthProvider.d.ts +4 -2
  23. package/dist/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
  24. package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +19 -18
  25. package/dist/broker/nativeBroker/PlatformAuthProvider.mjs.map +1 -1
  26. package/dist/cache/AccountManager.d.ts.map +1 -1
  27. package/dist/cache/AccountManager.mjs +25 -20
  28. package/dist/cache/AccountManager.mjs.map +1 -1
  29. package/dist/cache/AsyncMemoryStorage.d.ts +14 -7
  30. package/dist/cache/AsyncMemoryStorage.d.ts.map +1 -1
  31. package/dist/cache/AsyncMemoryStorage.mjs +30 -23
  32. package/dist/cache/AsyncMemoryStorage.mjs.map +1 -1
  33. package/dist/cache/BrowserCacheManager.d.ts +22 -25
  34. package/dist/cache/BrowserCacheManager.d.ts.map +1 -1
  35. package/dist/cache/BrowserCacheManager.mjs +108 -169
  36. package/dist/cache/BrowserCacheManager.mjs.map +1 -1
  37. package/dist/cache/CacheHelpers.mjs +1 -1
  38. package/dist/cache/CacheHelpers.mjs.map +1 -1
  39. package/dist/cache/CacheKeys.mjs +1 -1
  40. package/dist/cache/CacheKeys.mjs.map +1 -1
  41. package/dist/cache/CookieStorage.mjs +1 -1
  42. package/dist/cache/CookieStorage.mjs.map +1 -1
  43. package/dist/cache/DatabaseStorage.mjs +1 -1
  44. package/dist/cache/DatabaseStorage.mjs.map +1 -1
  45. package/dist/cache/EncryptedData.mjs +1 -1
  46. package/dist/cache/IAsyncStorage.d.ts +10 -5
  47. package/dist/cache/IAsyncStorage.d.ts.map +1 -1
  48. package/dist/cache/LocalStorage.d.ts.map +1 -1
  49. package/dist/cache/LocalStorage.mjs +23 -19
  50. package/dist/cache/LocalStorage.mjs.map +1 -1
  51. package/dist/cache/MemoryStorage.mjs +1 -1
  52. package/dist/cache/MemoryStorage.mjs.map +1 -1
  53. package/dist/cache/SessionStorage.mjs +1 -1
  54. package/dist/cache/SessionStorage.mjs.map +1 -1
  55. package/dist/cache/TokenCache.d.ts +8 -68
  56. package/dist/cache/TokenCache.d.ts.map +1 -1
  57. package/dist/cache/TokenCache.mjs +178 -186
  58. package/dist/cache/TokenCache.mjs.map +1 -1
  59. package/dist/config/Configuration.d.ts +6 -55
  60. package/dist/config/Configuration.d.ts.map +1 -1
  61. package/dist/config/Configuration.mjs +16 -30
  62. package/dist/config/Configuration.mjs.map +1 -1
  63. package/dist/controllers/ControllerFactory.d.ts +1 -1
  64. package/dist/controllers/ControllerFactory.d.ts.map +1 -1
  65. package/dist/controllers/ControllerFactory.mjs +13 -7
  66. package/dist/controllers/ControllerFactory.mjs.map +1 -1
  67. package/dist/controllers/IController.d.ts +5 -6
  68. package/dist/controllers/IController.d.ts.map +1 -1
  69. package/dist/controllers/NestedAppAuthController.d.ts +4 -9
  70. package/dist/controllers/NestedAppAuthController.d.ts.map +1 -1
  71. package/dist/controllers/NestedAppAuthController.mjs +48 -64
  72. package/dist/controllers/NestedAppAuthController.mjs.map +1 -1
  73. package/dist/controllers/StandardController.d.ts +9 -30
  74. package/dist/controllers/StandardController.d.ts.map +1 -1
  75. package/dist/controllers/StandardController.mjs +202 -302
  76. package/dist/controllers/StandardController.mjs.map +1 -1
  77. package/dist/controllers/UnknownOperatingContextController.d.ts +4 -8
  78. package/dist/controllers/UnknownOperatingContextController.d.ts.map +1 -1
  79. package/dist/controllers/UnknownOperatingContextController.mjs +3 -16
  80. package/dist/controllers/UnknownOperatingContextController.mjs.map +1 -1
  81. package/dist/crypto/BrowserCrypto.d.ts +1 -2
  82. package/dist/crypto/BrowserCrypto.d.ts.map +1 -1
  83. package/dist/crypto/BrowserCrypto.mjs +2 -4
  84. package/dist/crypto/BrowserCrypto.mjs.map +1 -1
  85. package/dist/crypto/CryptoOps.d.ts +4 -2
  86. package/dist/crypto/CryptoOps.d.ts.map +1 -1
  87. package/dist/crypto/CryptoOps.mjs +17 -14
  88. package/dist/crypto/CryptoOps.mjs.map +1 -1
  89. package/dist/crypto/PkceGenerator.d.ts.map +1 -1
  90. package/dist/crypto/PkceGenerator.mjs +7 -8
  91. package/dist/crypto/PkceGenerator.mjs.map +1 -1
  92. package/dist/crypto/SignedHttpRequest.d.ts +2 -1
  93. package/dist/crypto/SignedHttpRequest.d.ts.map +1 -1
  94. package/dist/crypto/SignedHttpRequest.mjs +6 -18
  95. package/dist/crypto/SignedHttpRequest.mjs.map +1 -1
  96. package/dist/custom-auth-path/app/IPublicClientApplication.d.ts +2 -9
  97. package/dist/custom-auth-path/app/IPublicClientApplication.d.ts.map +1 -1
  98. package/dist/custom-auth-path/app/PublicClientApplication.d.ts +3 -49
  99. package/dist/custom-auth-path/app/PublicClientApplication.d.ts.map +1 -1
  100. package/dist/custom-auth-path/app/PublicClientApplication.mjs +4 -63
  101. package/dist/custom-auth-path/app/PublicClientApplication.mjs.map +1 -1
  102. package/dist/custom-auth-path/app/PublicClientNext.d.ts +2 -49
  103. package/dist/custom-auth-path/app/PublicClientNext.d.ts.map +1 -1
  104. package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs +3 -2
  105. package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs.map +1 -1
  106. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -1
  107. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs +13 -15
  108. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs.map +1 -1
  109. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +1 -1
  110. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -1
  111. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +27 -29
  112. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs.map +1 -1
  113. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.d.ts +4 -2
  114. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
  115. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs +14 -14
  116. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs.map +1 -1
  117. package/dist/custom-auth-path/cache/AccountManager.d.ts.map +1 -1
  118. package/dist/custom-auth-path/cache/AccountManager.mjs +25 -20
  119. package/dist/custom-auth-path/cache/AccountManager.mjs.map +1 -1
  120. package/dist/custom-auth-path/cache/AsyncMemoryStorage.d.ts +14 -7
  121. package/dist/custom-auth-path/cache/AsyncMemoryStorage.d.ts.map +1 -1
  122. package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs +30 -23
  123. package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs.map +1 -1
  124. package/dist/custom-auth-path/cache/BrowserCacheManager.d.ts +22 -25
  125. package/dist/custom-auth-path/cache/BrowserCacheManager.d.ts.map +1 -1
  126. package/dist/custom-auth-path/cache/BrowserCacheManager.mjs +108 -169
  127. package/dist/custom-auth-path/cache/BrowserCacheManager.mjs.map +1 -1
  128. package/dist/custom-auth-path/cache/CacheHelpers.mjs +1 -1
  129. package/dist/custom-auth-path/cache/CacheHelpers.mjs.map +1 -1
  130. package/dist/custom-auth-path/cache/CacheKeys.mjs +1 -1
  131. package/dist/custom-auth-path/cache/CacheKeys.mjs.map +1 -1
  132. package/dist/custom-auth-path/cache/CookieStorage.mjs +1 -1
  133. package/dist/custom-auth-path/cache/CookieStorage.mjs.map +1 -1
  134. package/dist/custom-auth-path/cache/DatabaseStorage.mjs +1 -1
  135. package/dist/custom-auth-path/cache/DatabaseStorage.mjs.map +1 -1
  136. package/dist/custom-auth-path/cache/EncryptedData.mjs +1 -1
  137. package/dist/custom-auth-path/cache/IAsyncStorage.d.ts +10 -5
  138. package/dist/custom-auth-path/cache/IAsyncStorage.d.ts.map +1 -1
  139. package/dist/custom-auth-path/cache/LocalStorage.d.ts.map +1 -1
  140. package/dist/custom-auth-path/cache/LocalStorage.mjs +23 -19
  141. package/dist/custom-auth-path/cache/LocalStorage.mjs.map +1 -1
  142. package/dist/custom-auth-path/cache/MemoryStorage.mjs +1 -1
  143. package/dist/custom-auth-path/cache/MemoryStorage.mjs.map +1 -1
  144. package/dist/custom-auth-path/cache/SessionStorage.mjs +1 -1
  145. package/dist/custom-auth-path/cache/SessionStorage.mjs.map +1 -1
  146. package/dist/custom-auth-path/cache/TokenCache.d.ts +8 -68
  147. package/dist/custom-auth-path/cache/TokenCache.d.ts.map +1 -1
  148. package/dist/custom-auth-path/config/Configuration.d.ts +6 -55
  149. package/dist/custom-auth-path/config/Configuration.d.ts.map +1 -1
  150. package/dist/custom-auth-path/config/Configuration.mjs +16 -30
  151. package/dist/custom-auth-path/config/Configuration.mjs.map +1 -1
  152. package/dist/custom-auth-path/controllers/ControllerFactory.d.ts +1 -1
  153. package/dist/custom-auth-path/controllers/ControllerFactory.d.ts.map +1 -1
  154. package/dist/custom-auth-path/controllers/ControllerFactory.mjs +5 -3
  155. package/dist/custom-auth-path/controllers/ControllerFactory.mjs.map +1 -1
  156. package/dist/custom-auth-path/controllers/IController.d.ts +5 -6
  157. package/dist/custom-auth-path/controllers/IController.d.ts.map +1 -1
  158. package/dist/custom-auth-path/controllers/NestedAppAuthController.d.ts +4 -9
  159. package/dist/custom-auth-path/controllers/NestedAppAuthController.d.ts.map +1 -1
  160. package/dist/custom-auth-path/controllers/StandardController.d.ts +9 -30
  161. package/dist/custom-auth-path/controllers/StandardController.d.ts.map +1 -1
  162. package/dist/custom-auth-path/controllers/StandardController.mjs +202 -302
  163. package/dist/custom-auth-path/controllers/StandardController.mjs.map +1 -1
  164. package/dist/custom-auth-path/controllers/UnknownOperatingContextController.d.ts +4 -8
  165. package/dist/custom-auth-path/controllers/UnknownOperatingContextController.d.ts.map +1 -1
  166. package/dist/custom-auth-path/crypto/BrowserCrypto.d.ts +1 -2
  167. package/dist/custom-auth-path/crypto/BrowserCrypto.d.ts.map +1 -1
  168. package/dist/custom-auth-path/crypto/BrowserCrypto.mjs +2 -4
  169. package/dist/custom-auth-path/crypto/BrowserCrypto.mjs.map +1 -1
  170. package/dist/custom-auth-path/crypto/CryptoOps.d.ts +4 -2
  171. package/dist/custom-auth-path/crypto/CryptoOps.d.ts.map +1 -1
  172. package/dist/custom-auth-path/crypto/CryptoOps.mjs +17 -14
  173. package/dist/custom-auth-path/crypto/CryptoOps.mjs.map +1 -1
  174. package/dist/custom-auth-path/crypto/PkceGenerator.d.ts.map +1 -1
  175. package/dist/custom-auth-path/crypto/PkceGenerator.mjs +7 -8
  176. package/dist/custom-auth-path/crypto/PkceGenerator.mjs.map +1 -1
  177. package/dist/custom-auth-path/crypto/SignedHttpRequest.d.ts +2 -1
  178. package/dist/custom-auth-path/crypto/SignedHttpRequest.d.ts.map +1 -1
  179. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts +2 -3
  180. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts.map +1 -1
  181. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs +1 -2
  182. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs.map +1 -1
  183. package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
  184. package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs.map +1 -1
  185. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  186. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +9 -9
  187. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs.map +1 -1
  188. package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -1
  189. package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs +6 -7
  190. package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs.map +1 -1
  191. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +1 -2
  192. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  193. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +3 -11
  194. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs.map +1 -1
  195. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
  196. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs.map +1 -1
  197. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
  198. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs.map +1 -1
  199. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +0 -5
  200. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -1
  201. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +2 -9
  202. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs.map +1 -1
  203. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
  204. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs.map +1 -1
  205. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
  206. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs.map +1 -1
  207. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
  208. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
  209. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
  210. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs.map +1 -1
  211. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
  212. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs.map +1 -1
  213. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs +1 -1
  214. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs.map +1 -1
  215. package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs +1 -1
  216. package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs.map +1 -1
  217. package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
  218. package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
  219. package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs.map +1 -1
  220. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
  221. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs.map +1 -1
  222. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
  223. package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
  224. package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs.map +1 -1
  225. package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
  226. package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs.map +1 -1
  227. package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
  228. package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs.map +1 -1
  229. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs +1 -1
  230. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs.map +1 -1
  231. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
  232. package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs +1 -1
  233. package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs.map +1 -1
  234. package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
  235. package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs.map +1 -1
  236. package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
  237. package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs.map +1 -1
  238. package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
  239. package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs.map +1 -1
  240. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -1
  241. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +4 -4
  242. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs.map +1 -1
  243. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
  244. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs.map +1 -1
  245. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.d.ts +8 -2
  246. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
  247. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs +29 -6
  248. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs.map +1 -1
  249. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +1 -0
  250. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -1
  251. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +11 -2
  252. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -1
  253. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +9 -2
  254. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs.map +1 -1
  255. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
  256. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs.map +1 -1
  257. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
  258. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs.map +1 -1
  259. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +0 -1
  260. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
  261. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +2 -3
  262. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs.map +1 -1
  263. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
  264. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs.map +1 -1
  265. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
  266. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs.map +1 -1
  267. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +2 -7
  268. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  269. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +3 -14
  270. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs.map +1 -1
  271. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
  272. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs.map +1 -1
  273. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
  274. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +0 -5
  275. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
  276. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +1 -5
  277. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
  278. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +0 -1
  279. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
  280. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +3 -4
  281. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs.map +1 -1
  282. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -1
  283. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +5 -5
  284. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs.map +1 -1
  285. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
  286. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs.map +1 -1
  287. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.d.ts +3 -4
  288. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
  289. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs +5 -4
  290. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs.map +1 -1
  291. package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
  292. package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs.map +1 -1
  293. package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs +1 -1
  294. package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs.map +1 -1
  295. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +4 -4
  296. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs.map +1 -1
  297. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
  298. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs.map +1 -1
  299. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
  300. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs.map +1 -1
  301. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
  302. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs.map +1 -1
  303. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
  304. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs.map +1 -1
  305. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
  306. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
  307. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
  308. package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -1
  309. package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +7 -9
  310. package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs.map +1 -1
  311. package/dist/custom-auth-path/custom_auth/index.mjs +1 -1
  312. package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
  313. package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs.map +1 -1
  314. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
  315. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs.map +1 -1
  316. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
  317. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs.map +1 -1
  318. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
  319. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs.map +1 -1
  320. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
  321. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs.map +1 -1
  322. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
  323. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs.map +1 -1
  324. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +3 -3
  325. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs.map +1 -1
  326. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
  327. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
  328. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +2 -2
  329. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs.map +1 -1
  330. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
  331. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs.map +1 -1
  332. package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -1
  333. package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +7 -6
  334. package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs.map +1 -1
  335. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
  336. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs.map +1 -1
  337. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
  338. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs.map +1 -1
  339. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
  340. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs.map +1 -1
  341. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
  342. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs.map +1 -1
  343. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
  344. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs.map +1 -1
  345. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
  346. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs.map +1 -1
  347. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
  348. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +5 -14
  349. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs.map +1 -1
  350. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
  351. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +2 -2
  352. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs.map +1 -1
  353. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
  354. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +2 -2
  355. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs.map +1 -1
  356. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
  357. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs.map +1 -1
  358. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.d.ts +6 -8
  359. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  360. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +36 -57
  361. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs.map +1 -1
  362. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +0 -6
  363. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
  364. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +2 -9
  365. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs.map +1 -1
  366. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
  367. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs.map +1 -1
  368. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
  369. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs.map +1 -1
  370. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
  371. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs.map +1 -1
  372. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
  373. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs.map +1 -1
  374. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
  375. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs.map +1 -1
  376. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
  377. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs.map +1 -1
  378. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +2 -2
  379. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs.map +1 -1
  380. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +3 -3
  381. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs.map +1 -1
  382. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
  383. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
  384. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +2 -2
  385. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs.map +1 -1
  386. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
  387. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs.map +1 -1
  388. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -1
  389. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs +10 -9
  390. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs.map +1 -1
  391. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
  392. package/dist/custom-auth-path/encode/Base64Decode.mjs +1 -1
  393. package/dist/custom-auth-path/encode/Base64Encode.mjs +1 -1
  394. package/dist/custom-auth-path/error/BrowserAuthError.d.ts +1 -246
  395. package/dist/custom-auth-path/error/BrowserAuthError.d.ts.map +1 -1
  396. package/dist/custom-auth-path/error/BrowserAuthError.mjs +6 -61
  397. package/dist/custom-auth-path/error/BrowserAuthError.mjs.map +1 -1
  398. package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +2 -8
  399. package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs.map +1 -1
  400. package/dist/custom-auth-path/error/BrowserConfigurationAuthError.d.ts +0 -23
  401. package/dist/custom-auth-path/error/BrowserConfigurationAuthError.d.ts.map +1 -1
  402. package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs +4 -9
  403. package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs.map +1 -1
  404. package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs +2 -3
  405. package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs.map +1 -1
  406. package/dist/custom-auth-path/error/NativeAuthError.d.ts +0 -3
  407. package/dist/custom-auth-path/error/NativeAuthError.d.ts.map +1 -1
  408. package/dist/custom-auth-path/error/NativeAuthError.mjs +10 -12
  409. package/dist/custom-auth-path/error/NativeAuthError.mjs.map +1 -1
  410. package/dist/custom-auth-path/error/NativeAuthErrorCodes.d.ts +1 -0
  411. package/dist/custom-auth-path/error/NativeAuthErrorCodes.d.ts.map +1 -1
  412. package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +1 -1
  413. package/dist/custom-auth-path/error/NestedAppAuthError.d.ts +0 -9
  414. package/dist/custom-auth-path/error/NestedAppAuthError.d.ts.map +1 -1
  415. package/dist/custom-auth-path/event/EventHandler.d.ts.map +1 -1
  416. package/dist/custom-auth-path/event/EventHandler.mjs +9 -12
  417. package/dist/custom-auth-path/event/EventHandler.mjs.map +1 -1
  418. package/dist/custom-auth-path/event/EventMessage.d.ts.map +1 -1
  419. package/dist/custom-auth-path/event/EventType.d.ts +3 -10
  420. package/dist/custom-auth-path/event/EventType.d.ts.map +1 -1
  421. package/dist/custom-auth-path/event/EventType.mjs +4 -11
  422. package/dist/custom-auth-path/event/EventType.mjs.map +1 -1
  423. package/dist/custom-auth-path/index.d.ts +34 -6
  424. package/dist/custom-auth-path/index.d.ts.map +1 -1
  425. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.d.ts +50 -32
  426. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.d.ts.map +1 -1
  427. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +116 -97
  428. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs.map +1 -1
  429. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +2 -2
  430. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -1
  431. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +3 -3
  432. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs.map +1 -1
  433. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts +5 -3
  434. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  435. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +71 -84
  436. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
  437. package/dist/custom-auth-path/interaction_client/PopupClient.d.ts +2 -14
  438. package/dist/custom-auth-path/interaction_client/PopupClient.d.ts.map +1 -1
  439. package/dist/custom-auth-path/interaction_client/PopupClient.mjs +64 -153
  440. package/dist/custom-auth-path/interaction_client/PopupClient.mjs.map +1 -1
  441. package/dist/custom-auth-path/interaction_client/RedirectClient.d.ts +8 -9
  442. package/dist/custom-auth-path/interaction_client/RedirectClient.d.ts.map +1 -1
  443. package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +103 -112
  444. package/dist/custom-auth-path/interaction_client/RedirectClient.mjs.map +1 -1
  445. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.d.ts +1 -1
  446. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.d.ts.map +1 -1
  447. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +17 -10
  448. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs.map +1 -1
  449. package/dist/custom-auth-path/interaction_client/SilentCacheClient.d.ts.map +1 -1
  450. package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +11 -10
  451. package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs.map +1 -1
  452. package/dist/custom-auth-path/interaction_client/SilentIframeClient.d.ts +1 -1
  453. package/dist/custom-auth-path/interaction_client/SilentIframeClient.d.ts.map +1 -1
  454. package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +38 -49
  455. package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs.map +1 -1
  456. package/dist/custom-auth-path/interaction_client/SilentRefreshClient.d.ts.map +1 -1
  457. package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +9 -8
  458. package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs.map +1 -1
  459. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.d.ts +17 -7
  460. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.d.ts.map +1 -1
  461. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +55 -63
  462. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs.map +1 -1
  463. package/dist/custom-auth-path/interaction_handler/InteractionHandler.d.ts +2 -3
  464. package/dist/custom-auth-path/interaction_handler/InteractionHandler.d.ts.map +1 -1
  465. package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +8 -10
  466. package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs.map +1 -1
  467. package/dist/custom-auth-path/interaction_handler/SilentHandler.d.ts +3 -4
  468. package/dist/custom-auth-path/interaction_handler/SilentHandler.d.ts.map +1 -1
  469. package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +11 -48
  470. package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs.map +1 -1
  471. package/dist/custom-auth-path/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -1
  472. package/dist/custom-auth-path/navigation/NavigationClient.mjs +1 -1
  473. package/dist/custom-auth-path/navigation/NavigationClient.mjs.map +1 -1
  474. package/dist/custom-auth-path/network/FetchClient.mjs +1 -1
  475. package/dist/custom-auth-path/network/FetchClient.mjs.map +1 -1
  476. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.d.ts +2 -1
  477. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.d.ts.map +1 -1
  478. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +1 -1
  479. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs.map +1 -1
  480. package/dist/custom-auth-path/operatingcontext/NestedAppOperatingContext.d.ts +2 -1
  481. package/dist/custom-auth-path/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -1
  482. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.d.ts +1 -1
  483. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.d.ts.map +1 -1
  484. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +3 -2
  485. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs.map +1 -1
  486. package/dist/custom-auth-path/packageMetadata.d.ts +1 -1
  487. package/dist/custom-auth-path/packageMetadata.d.ts.map +1 -1
  488. package/dist/custom-auth-path/packageMetadata.mjs +2 -2
  489. package/dist/custom-auth-path/protocol/Authorize.d.ts +0 -4
  490. package/dist/custom-auth-path/protocol/Authorize.d.ts.map +1 -1
  491. package/dist/custom-auth-path/protocol/Authorize.mjs +20 -36
  492. package/dist/custom-auth-path/protocol/Authorize.mjs.map +1 -1
  493. package/dist/custom-auth-path/request/AuthorizationCodeRequest.d.ts +1 -1
  494. package/dist/custom-auth-path/request/AuthorizationCodeRequest.d.ts.map +1 -1
  495. package/dist/custom-auth-path/request/PopupRequest.d.ts +1 -1
  496. package/dist/custom-auth-path/request/PopupRequest.d.ts.map +1 -1
  497. package/dist/custom-auth-path/request/RedirectRequest.d.ts +1 -8
  498. package/dist/custom-auth-path/request/RedirectRequest.d.ts.map +1 -1
  499. package/dist/custom-auth-path/request/RequestHelpers.d.ts +6 -12
  500. package/dist/custom-auth-path/request/RequestHelpers.d.ts.map +1 -1
  501. package/dist/custom-auth-path/request/RequestHelpers.mjs +16 -48
  502. package/dist/custom-auth-path/request/RequestHelpers.mjs.map +1 -1
  503. package/dist/custom-auth-path/request/SilentRequest.d.ts +1 -1
  504. package/dist/custom-auth-path/request/SilentRequest.d.ts.map +1 -1
  505. package/dist/custom-auth-path/request/SsoSilentRequest.d.ts +1 -1
  506. package/dist/custom-auth-path/request/SsoSilentRequest.d.ts.map +1 -1
  507. package/dist/custom-auth-path/response/ResponseHandler.d.ts +1 -1
  508. package/dist/custom-auth-path/response/ResponseHandler.d.ts.map +1 -1
  509. package/dist/custom-auth-path/response/ResponseHandler.mjs +5 -5
  510. package/dist/custom-auth-path/response/ResponseHandler.mjs.map +1 -1
  511. package/dist/custom-auth-path/telemetry/BrowserPerformanceClient.d.ts +2 -19
  512. package/dist/custom-auth-path/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
  513. package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.d.ts +131 -0
  514. package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.d.ts.map +1 -0
  515. package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.mjs +126 -0
  516. package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.mjs.map +1 -0
  517. package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.d.ts +35 -0
  518. package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -0
  519. package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.mjs +45 -0
  520. package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.mjs.map +1 -0
  521. package/dist/custom-auth-path/utils/BrowserConstants.d.ts +0 -8
  522. package/dist/custom-auth-path/utils/BrowserConstants.d.ts.map +1 -1
  523. package/dist/custom-auth-path/utils/BrowserConstants.mjs +3 -3
  524. package/dist/custom-auth-path/utils/BrowserConstants.mjs.map +1 -1
  525. package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +1 -1
  526. package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs.map +1 -1
  527. package/dist/custom-auth-path/utils/BrowserUtils.d.ts.map +1 -1
  528. package/dist/custom-auth-path/utils/BrowserUtils.mjs +5 -6
  529. package/dist/custom-auth-path/utils/BrowserUtils.mjs.map +1 -1
  530. package/dist/custom-auth-path/utils/Helpers.mjs +1 -1
  531. package/dist/custom-auth-path/utils/Helpers.mjs.map +1 -1
  532. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.d.ts +1 -1
  533. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.d.ts.map +1 -1
  534. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +3 -3
  535. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs.map +1 -1
  536. package/dist/custom-auth-path/utils/PopupUtils.d.ts +33 -0
  537. package/dist/custom-auth-path/utils/PopupUtils.d.ts.map +1 -0
  538. package/dist/custom-auth-path/utils/PopupUtils.mjs +90 -0
  539. package/dist/custom-auth-path/utils/PopupUtils.mjs.map +1 -0
  540. package/dist/custom_auth/CustomAuthConstants.d.ts +2 -3
  541. package/dist/custom_auth/CustomAuthConstants.d.ts.map +1 -1
  542. package/dist/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  543. package/dist/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -1
  544. package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +1 -2
  545. package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  546. package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +0 -5
  547. package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -1
  548. package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -1
  549. package/dist/custom_auth/core/interaction_client/jit/JitClient.d.ts +8 -2
  550. package/dist/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
  551. package/dist/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +1 -0
  552. package/dist/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -1
  553. package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +11 -2
  554. package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -1
  555. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +0 -1
  556. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
  557. package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +2 -7
  558. package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  559. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +0 -5
  560. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
  561. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +1 -5
  562. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
  563. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +0 -1
  564. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
  565. package/dist/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -1
  566. package/dist/custom_auth/core/telemetry/PublicApiId.d.ts +3 -4
  567. package/dist/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
  568. package/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -1
  569. package/dist/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -1
  570. package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
  571. package/dist/custom_auth/sign_in/interaction_client/SignInClient.d.ts +6 -8
  572. package/dist/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  573. package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +0 -6
  574. package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
  575. package/dist/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -1
  576. package/dist/encode/Base64Decode.mjs +1 -1
  577. package/dist/encode/Base64Encode.mjs +1 -1
  578. package/dist/error/BrowserAuthError.d.ts +1 -246
  579. package/dist/error/BrowserAuthError.d.ts.map +1 -1
  580. package/dist/error/BrowserAuthError.mjs +6 -253
  581. package/dist/error/BrowserAuthError.mjs.map +1 -1
  582. package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
  583. package/dist/error/BrowserConfigurationAuthError.d.ts +0 -23
  584. package/dist/error/BrowserConfigurationAuthError.d.ts.map +1 -1
  585. package/dist/error/BrowserConfigurationAuthError.mjs +4 -29
  586. package/dist/error/BrowserConfigurationAuthError.mjs.map +1 -1
  587. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  588. package/dist/error/NativeAuthError.d.ts +0 -3
  589. package/dist/error/NativeAuthError.d.ts.map +1 -1
  590. package/dist/error/NativeAuthError.mjs +10 -12
  591. package/dist/error/NativeAuthError.mjs.map +1 -1
  592. package/dist/error/NativeAuthErrorCodes.d.ts +1 -0
  593. package/dist/error/NativeAuthErrorCodes.d.ts.map +1 -1
  594. package/dist/error/NativeAuthErrorCodes.mjs +4 -3
  595. package/dist/error/NativeAuthErrorCodes.mjs.map +1 -1
  596. package/dist/error/NestedAppAuthError.d.ts +0 -9
  597. package/dist/error/NestedAppAuthError.d.ts.map +1 -1
  598. package/dist/error/NestedAppAuthError.mjs +4 -12
  599. package/dist/error/NestedAppAuthError.mjs.map +1 -1
  600. package/dist/event/EventHandler.d.ts.map +1 -1
  601. package/dist/event/EventHandler.mjs +9 -12
  602. package/dist/event/EventHandler.mjs.map +1 -1
  603. package/dist/event/EventMessage.d.ts.map +1 -1
  604. package/dist/event/EventMessage.mjs +2 -17
  605. package/dist/event/EventMessage.mjs.map +1 -1
  606. package/dist/event/EventType.d.ts +3 -10
  607. package/dist/event/EventType.d.ts.map +1 -1
  608. package/dist/event/EventType.mjs +4 -11
  609. package/dist/event/EventType.mjs.map +1 -1
  610. package/dist/index.d.ts +34 -6
  611. package/dist/index.d.ts.map +1 -1
  612. package/dist/index.mjs +25 -6
  613. package/dist/index.mjs.map +1 -1
  614. package/dist/interaction_client/BaseInteractionClient.d.ts +50 -32
  615. package/dist/interaction_client/BaseInteractionClient.d.ts.map +1 -1
  616. package/dist/interaction_client/BaseInteractionClient.mjs +116 -97
  617. package/dist/interaction_client/BaseInteractionClient.mjs.map +1 -1
  618. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +2 -2
  619. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -1
  620. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +3 -3
  621. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs.map +1 -1
  622. package/dist/interaction_client/PlatformAuthInteractionClient.d.ts +5 -3
  623. package/dist/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  624. package/dist/interaction_client/PlatformAuthInteractionClient.mjs +71 -84
  625. package/dist/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
  626. package/dist/interaction_client/PopupClient.d.ts +2 -14
  627. package/dist/interaction_client/PopupClient.d.ts.map +1 -1
  628. package/dist/interaction_client/PopupClient.mjs +64 -153
  629. package/dist/interaction_client/PopupClient.mjs.map +1 -1
  630. package/dist/interaction_client/RedirectClient.d.ts +8 -9
  631. package/dist/interaction_client/RedirectClient.d.ts.map +1 -1
  632. package/dist/interaction_client/RedirectClient.mjs +103 -112
  633. package/dist/interaction_client/RedirectClient.mjs.map +1 -1
  634. package/dist/interaction_client/SilentAuthCodeClient.d.ts +1 -1
  635. package/dist/interaction_client/SilentAuthCodeClient.d.ts.map +1 -1
  636. package/dist/interaction_client/SilentAuthCodeClient.mjs +17 -10
  637. package/dist/interaction_client/SilentAuthCodeClient.mjs.map +1 -1
  638. package/dist/interaction_client/SilentCacheClient.d.ts.map +1 -1
  639. package/dist/interaction_client/SilentCacheClient.mjs +11 -10
  640. package/dist/interaction_client/SilentCacheClient.mjs.map +1 -1
  641. package/dist/interaction_client/SilentIframeClient.d.ts +1 -1
  642. package/dist/interaction_client/SilentIframeClient.d.ts.map +1 -1
  643. package/dist/interaction_client/SilentIframeClient.mjs +38 -49
  644. package/dist/interaction_client/SilentIframeClient.mjs.map +1 -1
  645. package/dist/interaction_client/SilentRefreshClient.d.ts.map +1 -1
  646. package/dist/interaction_client/SilentRefreshClient.mjs +9 -8
  647. package/dist/interaction_client/SilentRefreshClient.mjs.map +1 -1
  648. package/dist/interaction_client/StandardInteractionClient.d.ts +17 -7
  649. package/dist/interaction_client/StandardInteractionClient.d.ts.map +1 -1
  650. package/dist/interaction_client/StandardInteractionClient.mjs +55 -63
  651. package/dist/interaction_client/StandardInteractionClient.mjs.map +1 -1
  652. package/dist/interaction_handler/InteractionHandler.d.ts +2 -3
  653. package/dist/interaction_handler/InteractionHandler.d.ts.map +1 -1
  654. package/dist/interaction_handler/InteractionHandler.mjs +8 -10
  655. package/dist/interaction_handler/InteractionHandler.mjs.map +1 -1
  656. package/dist/interaction_handler/SilentHandler.d.ts +3 -4
  657. package/dist/interaction_handler/SilentHandler.d.ts.map +1 -1
  658. package/dist/interaction_handler/SilentHandler.mjs +11 -48
  659. package/dist/interaction_handler/SilentHandler.mjs.map +1 -1
  660. package/dist/naa/BridgeError.mjs +1 -1
  661. package/dist/naa/BridgeProxy.mjs +1 -1
  662. package/dist/naa/BridgeProxy.mjs.map +1 -1
  663. package/dist/naa/BridgeStatusCode.mjs +1 -1
  664. package/dist/naa/BridgeStatusCode.mjs.map +1 -1
  665. package/dist/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -1
  666. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +9 -6
  667. package/dist/naa/mapping/NestedAppAuthAdapter.mjs.map +1 -1
  668. package/dist/navigation/NavigationClient.mjs +1 -1
  669. package/dist/navigation/NavigationClient.mjs.map +1 -1
  670. package/dist/network/FetchClient.mjs +1 -1
  671. package/dist/network/FetchClient.mjs.map +1 -1
  672. package/dist/operatingcontext/BaseOperatingContext.d.ts +2 -1
  673. package/dist/operatingcontext/BaseOperatingContext.d.ts.map +1 -1
  674. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  675. package/dist/operatingcontext/BaseOperatingContext.mjs.map +1 -1
  676. package/dist/operatingcontext/NestedAppOperatingContext.d.ts +2 -1
  677. package/dist/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -1
  678. package/dist/operatingcontext/NestedAppOperatingContext.mjs +5 -4
  679. package/dist/operatingcontext/NestedAppOperatingContext.mjs.map +1 -1
  680. package/dist/operatingcontext/StandardOperatingContext.d.ts +1 -1
  681. package/dist/operatingcontext/StandardOperatingContext.d.ts.map +1 -1
  682. package/dist/operatingcontext/StandardOperatingContext.mjs +3 -2
  683. package/dist/operatingcontext/StandardOperatingContext.mjs.map +1 -1
  684. package/dist/operatingcontext/UnknownOperatingContext.mjs +1 -1
  685. package/dist/operatingcontext/UnknownOperatingContext.mjs.map +1 -1
  686. package/dist/packageMetadata.d.ts +1 -1
  687. package/dist/packageMetadata.d.ts.map +1 -1
  688. package/dist/packageMetadata.mjs +2 -2
  689. package/dist/protocol/Authorize.d.ts +0 -4
  690. package/dist/protocol/Authorize.d.ts.map +1 -1
  691. package/dist/protocol/Authorize.mjs +20 -36
  692. package/dist/protocol/Authorize.mjs.map +1 -1
  693. package/dist/request/AuthorizationCodeRequest.d.ts +1 -1
  694. package/dist/request/AuthorizationCodeRequest.d.ts.map +1 -1
  695. package/dist/request/PopupRequest.d.ts +1 -1
  696. package/dist/request/PopupRequest.d.ts.map +1 -1
  697. package/dist/request/RedirectRequest.d.ts +1 -8
  698. package/dist/request/RedirectRequest.d.ts.map +1 -1
  699. package/dist/request/RequestHelpers.d.ts +6 -12
  700. package/dist/request/RequestHelpers.d.ts.map +1 -1
  701. package/dist/request/RequestHelpers.mjs +16 -48
  702. package/dist/request/RequestHelpers.mjs.map +1 -1
  703. package/dist/request/SilentRequest.d.ts +1 -1
  704. package/dist/request/SilentRequest.d.ts.map +1 -1
  705. package/dist/request/SsoSilentRequest.d.ts +1 -1
  706. package/dist/request/SsoSilentRequest.d.ts.map +1 -1
  707. package/dist/response/ResponseHandler.d.ts +1 -1
  708. package/dist/response/ResponseHandler.d.ts.map +1 -1
  709. package/dist/response/ResponseHandler.mjs +5 -5
  710. package/dist/response/ResponseHandler.mjs.map +1 -1
  711. package/dist/telemetry/BrowserPerformanceClient.d.ts +2 -19
  712. package/dist/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
  713. package/dist/telemetry/BrowserPerformanceClient.mjs +5 -60
  714. package/dist/telemetry/BrowserPerformanceClient.mjs.map +1 -1
  715. package/dist/telemetry/BrowserPerformanceEvents.d.ts +131 -0
  716. package/dist/telemetry/BrowserPerformanceEvents.d.ts.map +1 -0
  717. package/dist/telemetry/BrowserPerformanceEvents.mjs +126 -0
  718. package/dist/telemetry/BrowserPerformanceEvents.mjs.map +1 -0
  719. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  720. package/dist/telemetry/BrowserPerformanceMeasurement.mjs.map +1 -1
  721. package/dist/telemetry/BrowserRootPerformanceEvents.d.ts +35 -0
  722. package/dist/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -0
  723. package/dist/telemetry/BrowserRootPerformanceEvents.mjs +45 -0
  724. package/dist/telemetry/BrowserRootPerformanceEvents.mjs.map +1 -0
  725. package/dist/utils/BrowserConstants.d.ts +0 -8
  726. package/dist/utils/BrowserConstants.d.ts.map +1 -1
  727. package/dist/utils/BrowserConstants.mjs +3 -11
  728. package/dist/utils/BrowserConstants.mjs.map +1 -1
  729. package/dist/utils/BrowserProtocolUtils.mjs +1 -1
  730. package/dist/utils/BrowserProtocolUtils.mjs.map +1 -1
  731. package/dist/utils/BrowserUtils.d.ts.map +1 -1
  732. package/dist/utils/BrowserUtils.mjs +5 -6
  733. package/dist/utils/BrowserUtils.mjs.map +1 -1
  734. package/dist/utils/Helpers.mjs +1 -1
  735. package/dist/utils/Helpers.mjs.map +1 -1
  736. package/dist/utils/MsalFrameStatsUtils.d.ts +1 -1
  737. package/dist/utils/MsalFrameStatsUtils.d.ts.map +1 -1
  738. package/dist/utils/MsalFrameStatsUtils.mjs +3 -3
  739. package/dist/utils/MsalFrameStatsUtils.mjs.map +1 -1
  740. package/dist/utils/PopupUtils.d.ts +33 -0
  741. package/dist/utils/PopupUtils.d.ts.map +1 -0
  742. package/dist/utils/PopupUtils.mjs +90 -0
  743. package/dist/utils/PopupUtils.mjs.map +1 -0
  744. package/lib/custom-auth-path/msal-custom-auth.cjs +2541 -3592
  745. package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
  746. package/lib/custom-auth-path/types/app/IPublicClientApplication.d.ts +2 -9
  747. package/lib/custom-auth-path/types/app/IPublicClientApplication.d.ts.map +1 -1
  748. package/lib/custom-auth-path/types/app/PublicClientApplication.d.ts +3 -49
  749. package/lib/custom-auth-path/types/app/PublicClientApplication.d.ts.map +1 -1
  750. package/lib/custom-auth-path/types/app/PublicClientNext.d.ts +2 -49
  751. package/lib/custom-auth-path/types/app/PublicClientNext.d.ts.map +1 -1
  752. package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -1
  753. package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +1 -1
  754. package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -1
  755. package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthProvider.d.ts +4 -2
  756. package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
  757. package/lib/custom-auth-path/types/cache/AccountManager.d.ts.map +1 -1
  758. package/lib/custom-auth-path/types/cache/AsyncMemoryStorage.d.ts +14 -7
  759. package/lib/custom-auth-path/types/cache/AsyncMemoryStorage.d.ts.map +1 -1
  760. package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts +22 -25
  761. package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts.map +1 -1
  762. package/lib/custom-auth-path/types/cache/IAsyncStorage.d.ts +10 -5
  763. package/lib/custom-auth-path/types/cache/IAsyncStorage.d.ts.map +1 -1
  764. package/lib/custom-auth-path/types/cache/LocalStorage.d.ts.map +1 -1
  765. package/lib/custom-auth-path/types/cache/TokenCache.d.ts +8 -68
  766. package/lib/custom-auth-path/types/cache/TokenCache.d.ts.map +1 -1
  767. package/lib/custom-auth-path/types/config/Configuration.d.ts +6 -55
  768. package/lib/custom-auth-path/types/config/Configuration.d.ts.map +1 -1
  769. package/lib/custom-auth-path/types/controllers/ControllerFactory.d.ts +1 -1
  770. package/lib/custom-auth-path/types/controllers/ControllerFactory.d.ts.map +1 -1
  771. package/lib/custom-auth-path/types/controllers/IController.d.ts +5 -6
  772. package/lib/custom-auth-path/types/controllers/IController.d.ts.map +1 -1
  773. package/lib/custom-auth-path/types/controllers/NestedAppAuthController.d.ts +4 -9
  774. package/lib/custom-auth-path/types/controllers/NestedAppAuthController.d.ts.map +1 -1
  775. package/lib/custom-auth-path/types/controllers/StandardController.d.ts +9 -30
  776. package/lib/custom-auth-path/types/controllers/StandardController.d.ts.map +1 -1
  777. package/lib/custom-auth-path/types/controllers/UnknownOperatingContextController.d.ts +4 -8
  778. package/lib/custom-auth-path/types/controllers/UnknownOperatingContextController.d.ts.map +1 -1
  779. package/lib/custom-auth-path/types/crypto/BrowserCrypto.d.ts +1 -2
  780. package/lib/custom-auth-path/types/crypto/BrowserCrypto.d.ts.map +1 -1
  781. package/lib/custom-auth-path/types/crypto/CryptoOps.d.ts +4 -2
  782. package/lib/custom-auth-path/types/crypto/CryptoOps.d.ts.map +1 -1
  783. package/lib/custom-auth-path/types/crypto/PkceGenerator.d.ts.map +1 -1
  784. package/lib/custom-auth-path/types/crypto/SignedHttpRequest.d.ts +2 -1
  785. package/lib/custom-auth-path/types/crypto/SignedHttpRequest.d.ts.map +1 -1
  786. package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +2 -3
  787. package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts.map +1 -1
  788. package/lib/custom-auth-path/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  789. package/lib/custom-auth-path/types/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -1
  790. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +1 -2
  791. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  792. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +0 -5
  793. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -1
  794. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -1
  795. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/JitClient.d.ts +8 -2
  796. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
  797. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +1 -0
  798. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -1
  799. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +11 -2
  800. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -1
  801. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +0 -1
  802. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
  803. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +2 -7
  804. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  805. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +0 -5
  806. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
  807. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +1 -5
  808. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
  809. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +0 -1
  810. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
  811. package/lib/custom-auth-path/types/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -1
  812. package/lib/custom-auth-path/types/custom_auth/core/telemetry/PublicApiId.d.ts +3 -4
  813. package/lib/custom-auth-path/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
  814. package/lib/custom-auth-path/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -1
  815. package/lib/custom-auth-path/types/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -1
  816. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
  817. package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts +6 -8
  818. package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  819. package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +0 -6
  820. package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
  821. package/lib/custom-auth-path/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -1
  822. package/lib/custom-auth-path/types/error/BrowserAuthError.d.ts +1 -246
  823. package/lib/custom-auth-path/types/error/BrowserAuthError.d.ts.map +1 -1
  824. package/lib/custom-auth-path/types/error/BrowserConfigurationAuthError.d.ts +0 -23
  825. package/lib/custom-auth-path/types/error/BrowserConfigurationAuthError.d.ts.map +1 -1
  826. package/lib/custom-auth-path/types/error/NativeAuthError.d.ts +0 -3
  827. package/lib/custom-auth-path/types/error/NativeAuthError.d.ts.map +1 -1
  828. package/lib/custom-auth-path/types/error/NativeAuthErrorCodes.d.ts +1 -0
  829. package/lib/custom-auth-path/types/error/NativeAuthErrorCodes.d.ts.map +1 -1
  830. package/lib/custom-auth-path/types/error/NestedAppAuthError.d.ts +0 -9
  831. package/lib/custom-auth-path/types/error/NestedAppAuthError.d.ts.map +1 -1
  832. package/lib/custom-auth-path/types/event/EventHandler.d.ts.map +1 -1
  833. package/lib/custom-auth-path/types/event/EventMessage.d.ts.map +1 -1
  834. package/lib/custom-auth-path/types/event/EventType.d.ts +3 -10
  835. package/lib/custom-auth-path/types/event/EventType.d.ts.map +1 -1
  836. package/lib/custom-auth-path/types/index.d.ts +34 -6
  837. package/lib/custom-auth-path/types/index.d.ts.map +1 -1
  838. package/lib/custom-auth-path/types/interaction_client/BaseInteractionClient.d.ts +50 -32
  839. package/lib/custom-auth-path/types/interaction_client/BaseInteractionClient.d.ts.map +1 -1
  840. package/lib/custom-auth-path/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +2 -2
  841. package/lib/custom-auth-path/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -1
  842. package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts +5 -3
  843. package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  844. package/lib/custom-auth-path/types/interaction_client/PopupClient.d.ts +2 -14
  845. package/lib/custom-auth-path/types/interaction_client/PopupClient.d.ts.map +1 -1
  846. package/lib/custom-auth-path/types/interaction_client/RedirectClient.d.ts +8 -9
  847. package/lib/custom-auth-path/types/interaction_client/RedirectClient.d.ts.map +1 -1
  848. package/lib/custom-auth-path/types/interaction_client/SilentAuthCodeClient.d.ts +1 -1
  849. package/lib/custom-auth-path/types/interaction_client/SilentAuthCodeClient.d.ts.map +1 -1
  850. package/lib/custom-auth-path/types/interaction_client/SilentCacheClient.d.ts.map +1 -1
  851. package/lib/custom-auth-path/types/interaction_client/SilentIframeClient.d.ts +1 -1
  852. package/lib/custom-auth-path/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
  853. package/lib/custom-auth-path/types/interaction_client/SilentRefreshClient.d.ts.map +1 -1
  854. package/lib/custom-auth-path/types/interaction_client/StandardInteractionClient.d.ts +17 -7
  855. package/lib/custom-auth-path/types/interaction_client/StandardInteractionClient.d.ts.map +1 -1
  856. package/lib/custom-auth-path/types/interaction_handler/InteractionHandler.d.ts +2 -3
  857. package/lib/custom-auth-path/types/interaction_handler/InteractionHandler.d.ts.map +1 -1
  858. package/lib/custom-auth-path/types/interaction_handler/SilentHandler.d.ts +3 -4
  859. package/lib/custom-auth-path/types/interaction_handler/SilentHandler.d.ts.map +1 -1
  860. package/lib/custom-auth-path/types/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -1
  861. package/lib/custom-auth-path/types/operatingcontext/BaseOperatingContext.d.ts +2 -1
  862. package/lib/custom-auth-path/types/operatingcontext/BaseOperatingContext.d.ts.map +1 -1
  863. package/lib/custom-auth-path/types/operatingcontext/NestedAppOperatingContext.d.ts +2 -1
  864. package/lib/custom-auth-path/types/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -1
  865. package/lib/custom-auth-path/types/operatingcontext/StandardOperatingContext.d.ts +1 -1
  866. package/lib/custom-auth-path/types/operatingcontext/StandardOperatingContext.d.ts.map +1 -1
  867. package/lib/custom-auth-path/types/packageMetadata.d.ts +1 -1
  868. package/lib/custom-auth-path/types/packageMetadata.d.ts.map +1 -1
  869. package/lib/custom-auth-path/types/protocol/Authorize.d.ts +0 -4
  870. package/lib/custom-auth-path/types/protocol/Authorize.d.ts.map +1 -1
  871. package/lib/custom-auth-path/types/request/AuthorizationCodeRequest.d.ts +1 -1
  872. package/lib/custom-auth-path/types/request/AuthorizationCodeRequest.d.ts.map +1 -1
  873. package/lib/custom-auth-path/types/request/PopupRequest.d.ts +1 -1
  874. package/lib/custom-auth-path/types/request/PopupRequest.d.ts.map +1 -1
  875. package/lib/custom-auth-path/types/request/RedirectRequest.d.ts +1 -8
  876. package/lib/custom-auth-path/types/request/RedirectRequest.d.ts.map +1 -1
  877. package/lib/custom-auth-path/types/request/RequestHelpers.d.ts +6 -12
  878. package/lib/custom-auth-path/types/request/RequestHelpers.d.ts.map +1 -1
  879. package/lib/custom-auth-path/types/request/SilentRequest.d.ts +1 -1
  880. package/lib/custom-auth-path/types/request/SilentRequest.d.ts.map +1 -1
  881. package/lib/custom-auth-path/types/request/SsoSilentRequest.d.ts +1 -1
  882. package/lib/custom-auth-path/types/request/SsoSilentRequest.d.ts.map +1 -1
  883. package/lib/custom-auth-path/types/response/ResponseHandler.d.ts +1 -1
  884. package/lib/custom-auth-path/types/response/ResponseHandler.d.ts.map +1 -1
  885. package/lib/custom-auth-path/types/telemetry/BrowserPerformanceClient.d.ts +2 -19
  886. package/lib/custom-auth-path/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
  887. package/lib/custom-auth-path/types/telemetry/BrowserPerformanceEvents.d.ts +131 -0
  888. package/lib/custom-auth-path/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -0
  889. package/lib/custom-auth-path/types/telemetry/BrowserRootPerformanceEvents.d.ts +35 -0
  890. package/lib/custom-auth-path/types/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -0
  891. package/lib/custom-auth-path/types/utils/BrowserConstants.d.ts +0 -8
  892. package/lib/custom-auth-path/types/utils/BrowserConstants.d.ts.map +1 -1
  893. package/lib/custom-auth-path/types/utils/BrowserUtils.d.ts.map +1 -1
  894. package/lib/custom-auth-path/types/utils/MsalFrameStatsUtils.d.ts +1 -1
  895. package/lib/custom-auth-path/types/utils/MsalFrameStatsUtils.d.ts.map +1 -1
  896. package/lib/custom-auth-path/types/utils/PopupUtils.d.ts +33 -0
  897. package/lib/custom-auth-path/types/utils/PopupUtils.d.ts.map +1 -0
  898. package/lib/msal-browser.cjs +2923 -4754
  899. package/lib/msal-browser.cjs.map +1 -1
  900. package/lib/msal-browser.js +2923 -4754
  901. package/lib/msal-browser.js.map +1 -1
  902. package/lib/msal-browser.min.js +74 -67
  903. package/lib/types/app/IPublicClientApplication.d.ts +2 -9
  904. package/lib/types/app/IPublicClientApplication.d.ts.map +1 -1
  905. package/lib/types/app/PublicClientApplication.d.ts +3 -49
  906. package/lib/types/app/PublicClientApplication.d.ts.map +1 -1
  907. package/lib/types/app/PublicClientNext.d.ts +2 -49
  908. package/lib/types/app/PublicClientNext.d.ts.map +1 -1
  909. package/lib/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -1
  910. package/lib/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +1 -1
  911. package/lib/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -1
  912. package/lib/types/broker/nativeBroker/PlatformAuthProvider.d.ts +4 -2
  913. package/lib/types/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
  914. package/lib/types/cache/AccountManager.d.ts.map +1 -1
  915. package/lib/types/cache/AsyncMemoryStorage.d.ts +14 -7
  916. package/lib/types/cache/AsyncMemoryStorage.d.ts.map +1 -1
  917. package/lib/types/cache/BrowserCacheManager.d.ts +22 -25
  918. package/lib/types/cache/BrowserCacheManager.d.ts.map +1 -1
  919. package/lib/types/cache/IAsyncStorage.d.ts +10 -5
  920. package/lib/types/cache/IAsyncStorage.d.ts.map +1 -1
  921. package/lib/types/cache/LocalStorage.d.ts.map +1 -1
  922. package/lib/types/cache/TokenCache.d.ts +8 -68
  923. package/lib/types/cache/TokenCache.d.ts.map +1 -1
  924. package/lib/types/config/Configuration.d.ts +6 -55
  925. package/lib/types/config/Configuration.d.ts.map +1 -1
  926. package/lib/types/controllers/ControllerFactory.d.ts +1 -1
  927. package/lib/types/controllers/ControllerFactory.d.ts.map +1 -1
  928. package/lib/types/controllers/IController.d.ts +5 -6
  929. package/lib/types/controllers/IController.d.ts.map +1 -1
  930. package/lib/types/controllers/NestedAppAuthController.d.ts +4 -9
  931. package/lib/types/controllers/NestedAppAuthController.d.ts.map +1 -1
  932. package/lib/types/controllers/StandardController.d.ts +9 -30
  933. package/lib/types/controllers/StandardController.d.ts.map +1 -1
  934. package/lib/types/controllers/UnknownOperatingContextController.d.ts +4 -8
  935. package/lib/types/controllers/UnknownOperatingContextController.d.ts.map +1 -1
  936. package/lib/types/crypto/BrowserCrypto.d.ts +1 -2
  937. package/lib/types/crypto/BrowserCrypto.d.ts.map +1 -1
  938. package/lib/types/crypto/CryptoOps.d.ts +4 -2
  939. package/lib/types/crypto/CryptoOps.d.ts.map +1 -1
  940. package/lib/types/crypto/PkceGenerator.d.ts.map +1 -1
  941. package/lib/types/crypto/SignedHttpRequest.d.ts +2 -1
  942. package/lib/types/crypto/SignedHttpRequest.d.ts.map +1 -1
  943. package/lib/types/custom_auth/CustomAuthConstants.d.ts +2 -3
  944. package/lib/types/custom_auth/CustomAuthConstants.d.ts.map +1 -1
  945. package/lib/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  946. package/lib/types/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -1
  947. package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +1 -2
  948. package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  949. package/lib/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +0 -5
  950. package/lib/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -1
  951. package/lib/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -1
  952. package/lib/types/custom_auth/core/interaction_client/jit/JitClient.d.ts +8 -2
  953. package/lib/types/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
  954. package/lib/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +1 -0
  955. package/lib/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -1
  956. package/lib/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +11 -2
  957. package/lib/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -1
  958. package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +0 -1
  959. package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
  960. package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +2 -7
  961. package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  962. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +0 -5
  963. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
  964. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +1 -5
  965. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
  966. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +0 -1
  967. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
  968. package/lib/types/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -1
  969. package/lib/types/custom_auth/core/telemetry/PublicApiId.d.ts +3 -4
  970. package/lib/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
  971. package/lib/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -1
  972. package/lib/types/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -1
  973. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
  974. package/lib/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts +6 -8
  975. package/lib/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  976. package/lib/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +0 -6
  977. package/lib/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
  978. package/lib/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -1
  979. package/lib/types/error/BrowserAuthError.d.ts +1 -246
  980. package/lib/types/error/BrowserAuthError.d.ts.map +1 -1
  981. package/lib/types/error/BrowserConfigurationAuthError.d.ts +0 -23
  982. package/lib/types/error/BrowserConfigurationAuthError.d.ts.map +1 -1
  983. package/lib/types/error/NativeAuthError.d.ts +0 -3
  984. package/lib/types/error/NativeAuthError.d.ts.map +1 -1
  985. package/lib/types/error/NativeAuthErrorCodes.d.ts +1 -0
  986. package/lib/types/error/NativeAuthErrorCodes.d.ts.map +1 -1
  987. package/lib/types/error/NestedAppAuthError.d.ts +0 -9
  988. package/lib/types/error/NestedAppAuthError.d.ts.map +1 -1
  989. package/lib/types/event/EventHandler.d.ts.map +1 -1
  990. package/lib/types/event/EventMessage.d.ts.map +1 -1
  991. package/lib/types/event/EventType.d.ts +3 -10
  992. package/lib/types/event/EventType.d.ts.map +1 -1
  993. package/lib/types/index.d.ts +34 -6
  994. package/lib/types/index.d.ts.map +1 -1
  995. package/lib/types/interaction_client/BaseInteractionClient.d.ts +50 -32
  996. package/lib/types/interaction_client/BaseInteractionClient.d.ts.map +1 -1
  997. package/lib/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +2 -2
  998. package/lib/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -1
  999. package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts +5 -3
  1000. package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  1001. package/lib/types/interaction_client/PopupClient.d.ts +2 -14
  1002. package/lib/types/interaction_client/PopupClient.d.ts.map +1 -1
  1003. package/lib/types/interaction_client/RedirectClient.d.ts +8 -9
  1004. package/lib/types/interaction_client/RedirectClient.d.ts.map +1 -1
  1005. package/lib/types/interaction_client/SilentAuthCodeClient.d.ts +1 -1
  1006. package/lib/types/interaction_client/SilentAuthCodeClient.d.ts.map +1 -1
  1007. package/lib/types/interaction_client/SilentCacheClient.d.ts.map +1 -1
  1008. package/lib/types/interaction_client/SilentIframeClient.d.ts +1 -1
  1009. package/lib/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
  1010. package/lib/types/interaction_client/SilentRefreshClient.d.ts.map +1 -1
  1011. package/lib/types/interaction_client/StandardInteractionClient.d.ts +17 -7
  1012. package/lib/types/interaction_client/StandardInteractionClient.d.ts.map +1 -1
  1013. package/lib/types/interaction_handler/InteractionHandler.d.ts +2 -3
  1014. package/lib/types/interaction_handler/InteractionHandler.d.ts.map +1 -1
  1015. package/lib/types/interaction_handler/SilentHandler.d.ts +3 -4
  1016. package/lib/types/interaction_handler/SilentHandler.d.ts.map +1 -1
  1017. package/lib/types/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -1
  1018. package/lib/types/operatingcontext/BaseOperatingContext.d.ts +2 -1
  1019. package/lib/types/operatingcontext/BaseOperatingContext.d.ts.map +1 -1
  1020. package/lib/types/operatingcontext/NestedAppOperatingContext.d.ts +2 -1
  1021. package/lib/types/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -1
  1022. package/lib/types/operatingcontext/StandardOperatingContext.d.ts +1 -1
  1023. package/lib/types/operatingcontext/StandardOperatingContext.d.ts.map +1 -1
  1024. package/lib/types/packageMetadata.d.ts +1 -1
  1025. package/lib/types/packageMetadata.d.ts.map +1 -1
  1026. package/lib/types/protocol/Authorize.d.ts +0 -4
  1027. package/lib/types/protocol/Authorize.d.ts.map +1 -1
  1028. package/lib/types/request/AuthorizationCodeRequest.d.ts +1 -1
  1029. package/lib/types/request/AuthorizationCodeRequest.d.ts.map +1 -1
  1030. package/lib/types/request/PopupRequest.d.ts +1 -1
  1031. package/lib/types/request/PopupRequest.d.ts.map +1 -1
  1032. package/lib/types/request/RedirectRequest.d.ts +1 -8
  1033. package/lib/types/request/RedirectRequest.d.ts.map +1 -1
  1034. package/lib/types/request/RequestHelpers.d.ts +6 -12
  1035. package/lib/types/request/RequestHelpers.d.ts.map +1 -1
  1036. package/lib/types/request/SilentRequest.d.ts +1 -1
  1037. package/lib/types/request/SilentRequest.d.ts.map +1 -1
  1038. package/lib/types/request/SsoSilentRequest.d.ts +1 -1
  1039. package/lib/types/request/SsoSilentRequest.d.ts.map +1 -1
  1040. package/lib/types/response/ResponseHandler.d.ts +1 -1
  1041. package/lib/types/response/ResponseHandler.d.ts.map +1 -1
  1042. package/lib/types/telemetry/BrowserPerformanceClient.d.ts +2 -19
  1043. package/lib/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
  1044. package/lib/types/telemetry/BrowserPerformanceEvents.d.ts +131 -0
  1045. package/lib/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -0
  1046. package/lib/types/telemetry/BrowserRootPerformanceEvents.d.ts +35 -0
  1047. package/lib/types/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -0
  1048. package/lib/types/utils/BrowserConstants.d.ts +0 -8
  1049. package/lib/types/utils/BrowserConstants.d.ts.map +1 -1
  1050. package/lib/types/utils/BrowserUtils.d.ts.map +1 -1
  1051. package/lib/types/utils/MsalFrameStatsUtils.d.ts +1 -1
  1052. package/lib/types/utils/MsalFrameStatsUtils.d.ts.map +1 -1
  1053. package/lib/types/utils/PopupUtils.d.ts +33 -0
  1054. package/lib/types/utils/PopupUtils.d.ts.map +1 -0
  1055. package/package.json +113 -115
  1056. package/src/app/IPublicClientApplication.ts +4 -36
  1057. package/src/app/PublicClientApplication.ts +11 -73
  1058. package/src/app/PublicClientNext.ts +6 -71
  1059. package/src/broker/nativeBroker/PlatformAuthDOMHandler.ts +30 -14
  1060. package/src/broker/nativeBroker/PlatformAuthExtensionHandler.ts +57 -32
  1061. package/src/broker/nativeBroker/PlatformAuthProvider.ts +26 -21
  1062. package/src/cache/AccountManager.ts +47 -19
  1063. package/src/cache/AsyncMemoryStorage.ts +39 -22
  1064. package/src/cache/BrowserCacheManager.ts +234 -213
  1065. package/src/cache/IAsyncStorage.ts +10 -5
  1066. package/src/cache/LocalStorage.ts +31 -18
  1067. package/src/cache/TokenCache.ts +367 -360
  1068. package/src/config/Configuration.ts +23 -86
  1069. package/src/controllers/ControllerFactory.ts +13 -6
  1070. package/src/controllers/IController.ts +8 -10
  1071. package/src/controllers/NestedAppAuthController.ts +75 -108
  1072. package/src/controllers/StandardController.ts +335 -518
  1073. package/src/controllers/UnknownOperatingContextController.ts +3 -20
  1074. package/src/crypto/BrowserCrypto.ts +1 -13
  1075. package/src/crypto/CryptoOps.ts +32 -18
  1076. package/src/crypto/PkceGenerator.ts +6 -14
  1077. package/src/crypto/SignedHttpRequest.ts +14 -21
  1078. package/src/custom_auth/CustomAuthConstants.ts +0 -1
  1079. package/src/custom_auth/controller/CustomAuthStandardController.ts +10 -9
  1080. package/src/custom_auth/core/CustomAuthAuthority.ts +11 -5
  1081. package/src/custom_auth/core/auth_flow/AuthFlowErrorBase.ts +2 -15
  1082. package/src/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.ts +1 -9
  1083. package/src/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.ts +4 -2
  1084. package/src/custom_auth/core/interaction_client/jit/JitClient.ts +63 -3
  1085. package/src/custom_auth/core/interaction_client/jit/parameter/JitParams.ts +2 -0
  1086. package/src/custom_auth/core/interaction_client/jit/result/JitActionResult.ts +22 -2
  1087. package/src/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.ts +0 -1
  1088. package/src/custom_auth/core/network_client/custom_auth_api/SignInApiClient.ts +1 -27
  1089. package/src/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.ts +0 -6
  1090. package/src/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.ts +1 -6
  1091. package/src/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.ts +0 -1
  1092. package/src/custom_auth/core/network_client/http_client/FetchHttpClient.ts +8 -5
  1093. package/src/custom_auth/core/telemetry/PublicApiId.ts +3 -6
  1094. package/src/custom_auth/get_account/auth_flow/CustomAuthAccountData.ts +3 -3
  1095. package/src/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.ts +19 -14
  1096. package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.ts +2 -2
  1097. package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.ts +1 -1
  1098. package/src/custom_auth/reset_password/interaction_client/ResetPasswordClient.ts +30 -5
  1099. package/src/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.ts +13 -23
  1100. package/src/custom_auth/sign_in/auth_flow/state/SignInContinuationState.ts +1 -1
  1101. package/src/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.ts +1 -1
  1102. package/src/custom_auth/sign_in/interaction_client/SignInClient.ts +77 -128
  1103. package/src/custom_auth/sign_in/interaction_client/result/SignInActionResult.ts +0 -15
  1104. package/src/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.ts +1 -1
  1105. package/src/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.ts +2 -2
  1106. package/src/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.ts +1 -1
  1107. package/src/custom_auth/sign_up/interaction_client/SignUpClient.ts +39 -8
  1108. package/src/error/BrowserAuthError.ts +4 -339
  1109. package/src/error/BrowserConfigurationAuthError.ts +2 -37
  1110. package/src/error/NativeAuthError.ts +7 -13
  1111. package/src/error/NativeAuthErrorCodes.ts +1 -0
  1112. package/src/error/NestedAppAuthError.ts +2 -14
  1113. package/src/event/EventHandler.ts +13 -11
  1114. package/src/event/EventMessage.ts +1 -18
  1115. package/src/event/EventType.ts +3 -10
  1116. package/src/index.ts +19 -19
  1117. package/src/interaction_client/BaseInteractionClient.ts +181 -158
  1118. package/src/interaction_client/HybridSpaAuthorizationCodeClient.ts +6 -2
  1119. package/src/interaction_client/PlatformAuthInteractionClient.ts +160 -108
  1120. package/src/interaction_client/PopupClient.ts +217 -308
  1121. package/src/interaction_client/RedirectClient.ts +245 -184
  1122. package/src/interaction_client/SilentAuthCodeClient.ts +41 -16
  1123. package/src/interaction_client/SilentCacheClient.ts +23 -15
  1124. package/src/interaction_client/SilentIframeClient.ts +101 -101
  1125. package/src/interaction_client/SilentRefreshClient.ts +26 -14
  1126. package/src/interaction_client/StandardInteractionClient.ts +112 -107
  1127. package/src/interaction_handler/InteractionHandler.ts +7 -16
  1128. package/src/interaction_handler/SilentHandler.ts +12 -91
  1129. package/src/naa/mapping/NestedAppAuthAdapter.ts +8 -6
  1130. package/src/operatingcontext/BaseOperatingContext.ts +2 -1
  1131. package/src/operatingcontext/NestedAppOperatingContext.ts +8 -3
  1132. package/src/operatingcontext/StandardOperatingContext.ts +2 -1
  1133. package/src/packageMetadata.ts +1 -1
  1134. package/src/protocol/Authorize.ts +30 -86
  1135. package/src/request/AuthorizationCodeRequest.ts +1 -4
  1136. package/src/request/PopupRequest.ts +0 -1
  1137. package/src/request/RedirectRequest.ts +0 -8
  1138. package/src/request/RequestHelpers.ts +18 -75
  1139. package/src/request/SilentRequest.ts +1 -5
  1140. package/src/request/SsoSilentRequest.ts +0 -1
  1141. package/src/response/ResponseHandler.ts +8 -4
  1142. package/src/telemetry/BrowserPerformanceClient.ts +4 -108
  1143. package/src/telemetry/BrowserPerformanceEvents.ts +182 -0
  1144. package/src/telemetry/BrowserRootPerformanceEvents.ts +41 -0
  1145. package/src/utils/BrowserConstants.ts +2 -10
  1146. package/src/utils/BrowserUtils.ts +4 -6
  1147. package/src/utils/MsalFrameStatsUtils.ts +4 -2
  1148. package/src/utils/PopupUtils.ts +117 -0
  1149. package/dist/cache/ITokenCache.d.ts +0 -12
  1150. package/dist/cache/ITokenCache.d.ts.map +0 -1
  1151. package/dist/custom-auth-path/cache/ITokenCache.d.ts +0 -12
  1152. package/dist/custom-auth-path/cache/ITokenCache.d.ts.map +0 -1
  1153. package/dist/custom-auth-path/cache/TokenCache.mjs +0 -207
  1154. package/dist/custom-auth-path/cache/TokenCache.mjs.map +0 -1
  1155. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +0 -22
  1156. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +0 -1
  1157. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +0 -36
  1158. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +0 -1
  1159. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +0 -30
  1160. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +0 -1
  1161. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +0 -7
  1162. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +0 -1
  1163. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +0 -7
  1164. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +0 -1
  1165. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +0 -59
  1166. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +0 -1
  1167. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +0 -19
  1168. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +0 -1
  1169. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +0 -21
  1170. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +0 -1
  1171. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +0 -14
  1172. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +0 -1
  1173. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +0 -23
  1174. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +0 -1
  1175. package/dist/custom-auth-path/request/AuthorizationUrlRequest.d.ts +0 -7
  1176. package/dist/custom-auth-path/request/AuthorizationUrlRequest.d.ts.map +0 -1
  1177. package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +0 -22
  1178. package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +0 -1
  1179. package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +0 -36
  1180. package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +0 -1
  1181. package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +0 -30
  1182. package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +0 -1
  1183. package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +0 -7
  1184. package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +0 -1
  1185. package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +0 -7
  1186. package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +0 -1
  1187. package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +0 -59
  1188. package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +0 -1
  1189. package/dist/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +0 -19
  1190. package/dist/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +0 -1
  1191. package/dist/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +0 -21
  1192. package/dist/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +0 -1
  1193. package/dist/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +0 -14
  1194. package/dist/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +0 -1
  1195. package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +0 -23
  1196. package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +0 -1
  1197. package/dist/request/AuthorizationUrlRequest.d.ts +0 -7
  1198. package/dist/request/AuthorizationUrlRequest.d.ts.map +0 -1
  1199. package/lib/custom-auth-path/types/cache/ITokenCache.d.ts +0 -12
  1200. package/lib/custom-auth-path/types/cache/ITokenCache.d.ts.map +0 -1
  1201. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +0 -22
  1202. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +0 -1
  1203. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +0 -36
  1204. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +0 -1
  1205. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +0 -30
  1206. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +0 -1
  1207. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +0 -7
  1208. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +0 -1
  1209. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +0 -7
  1210. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +0 -1
  1211. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +0 -59
  1212. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +0 -1
  1213. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +0 -19
  1214. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +0 -1
  1215. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +0 -21
  1216. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +0 -1
  1217. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +0 -14
  1218. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +0 -1
  1219. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +0 -23
  1220. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +0 -1
  1221. package/lib/custom-auth-path/types/request/AuthorizationUrlRequest.d.ts +0 -7
  1222. package/lib/custom-auth-path/types/request/AuthorizationUrlRequest.d.ts.map +0 -1
  1223. package/lib/types/cache/ITokenCache.d.ts +0 -12
  1224. package/lib/types/cache/ITokenCache.d.ts.map +0 -1
  1225. package/lib/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +0 -22
  1226. package/lib/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +0 -1
  1227. package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +0 -36
  1228. package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +0 -1
  1229. package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +0 -30
  1230. package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +0 -1
  1231. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +0 -7
  1232. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +0 -1
  1233. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +0 -7
  1234. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +0 -1
  1235. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +0 -59
  1236. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +0 -1
  1237. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +0 -19
  1238. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +0 -1
  1239. package/lib/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +0 -21
  1240. package/lib/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +0 -1
  1241. package/lib/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +0 -14
  1242. package/lib/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +0 -1
  1243. package/lib/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +0 -23
  1244. package/lib/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +0 -1
  1245. package/lib/types/request/AuthorizationUrlRequest.d.ts +0 -7
  1246. package/lib/types/request/AuthorizationUrlRequest.d.ts.map +0 -1
  1247. package/src/cache/ITokenCache.ts +0 -21
  1248. package/src/custom_auth/core/auth_flow/mfa/error_type/MfaError.ts +0 -32
  1249. package/src/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.ts +0 -59
  1250. package/src/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.ts +0 -52
  1251. package/src/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.ts +0 -11
  1252. package/src/custom_auth/core/auth_flow/mfa/state/MfaFailedState.ts +0 -11
  1253. package/src/custom_auth/core/auth_flow/mfa/state/MfaState.ts +0 -188
  1254. package/src/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.ts +0 -28
  1255. package/src/custom_auth/core/interaction_client/mfa/MfaClient.ts +0 -148
  1256. package/src/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.ts +0 -20
  1257. package/src/custom_auth/core/interaction_client/mfa/result/MfaActionResult.ts +0 -48
  1258. package/src/request/AuthorizationUrlRequest.ts +0 -15
@@ -21,6 +21,6 @@ export declare class StandardOperatingContext extends BaseOperatingContext {
21
21
  * Confirms that the code is running a browser rather. This is required.
22
22
  * @returns Promise<boolean> indicating whether this operating context is currently available.
23
23
  */
24
- initialize(): Promise<boolean>;
24
+ initialize(correlationId: string): Promise<boolean>;
25
25
  }
26
26
  //# sourceMappingURL=StandardOperatingContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StandardOperatingContext.d.ts","sourceRoot":"","sources":["../../../src/operatingcontext/StandardOperatingContext.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE,qBAAa,wBAAyB,SAAQ,oBAAoB;IAK9D,MAAM,CAAC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAM;IAEzC;;OAEG;IACH,MAAM,CAAC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAA8B;IAExD;;;;OAIG;IACH,aAAa,IAAI,MAAM;IAIvB;;;OAGG;IACH,KAAK,IAAI,MAAM;IAIf;;;;OAIG;IACG,UAAU,IAAI,OAAO,CAAC,OAAO,CAAC;CAQvC"}
1
+ {"version":3,"file":"StandardOperatingContext.d.ts","sourceRoot":"","sources":["../../../src/operatingcontext/StandardOperatingContext.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE,qBAAa,wBAAyB,SAAQ,oBAAoB;IAK9D,MAAM,CAAC,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAM;IAEzC;;OAEG;IACH,MAAM,CAAC,QAAQ,CAAC,EAAE,EAAE,MAAM,CAA8B;IAExD;;;;OAIG;IACH,aAAa,IAAI,MAAM;IAIvB;;;OAGG;IACH,KAAK,IAAI,MAAM;IAIf;;;;OAIG;IAEG,UAAU,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;CAQ5D"}
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.24.0 2025-09-24 */
1
+ /*! @azure/msal-browser v5.0.0-alpha.0 2025-10-02 */
2
2
  'use strict';
3
3
  import { BaseOperatingContext } from './BaseOperatingContext.mjs';
4
4
 
@@ -27,7 +27,8 @@ class StandardOperatingContext extends BaseOperatingContext {
27
27
  * Confirms that the code is running a browser rather. This is required.
28
28
  * @returns Promise<boolean> indicating whether this operating context is currently available.
29
29
  */
30
- async initialize() {
30
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
31
+ async initialize(correlationId) {
31
32
  this.available = typeof window !== "undefined";
32
33
  return this.available;
33
34
  /*
@@ -1 +1 @@
1
- {"version":3,"file":"StandardOperatingContext.mjs","sources":["../../../../src/operatingcontext/StandardOperatingContext.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAAA;;;AAGG;AAIG,MAAO,wBAAyB,SAAQ,oBAAoB,CAAA;AAY9D;;;;AAIG;IACH,aAAa,GAAA;QACT,OAAO,wBAAwB,CAAC,WAAW,CAAC;KAC/C;AAED;;;AAGG;IACH,KAAK,GAAA;QACD,OAAO,wBAAwB,CAAC,EAAE,CAAC;KACtC;AAED;;;;AAIG;AACH,IAAA,MAAM,UAAU,GAAA;AACZ,QAAA,IAAI,CAAC,SAAS,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC;QAC/C,OAAO,IAAI,CAAC,SAAS,CAAC;AACtB;;;AAGG;KACN;;AAxCD;;;AAGG;AACa,wBAAW,CAAA,WAAA,GAAW,EAAE,CAAC;AAEzC;;AAEG;AACa,wBAAE,CAAA,EAAA,GAAW,0BAA0B;;;;"}
1
+ {"version":3,"file":"StandardOperatingContext.mjs","sources":["../../../../src/operatingcontext/StandardOperatingContext.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;AAAA;;;AAGG;AAIG,MAAO,wBAAyB,SAAQ,oBAAoB,CAAA;AAY9D;;;;AAIG;IACH,aAAa,GAAA;QACT,OAAO,wBAAwB,CAAC,WAAW,CAAC;IAChD,CAAC;AAED;;;AAGG;IACH,KAAK,GAAA;QACD,OAAO,wBAAwB,CAAC,EAAE,CAAC;IACvC,CAAC;AAED;;;;AAIG;;IAEH,MAAM,UAAU,CAAC,aAAqB,EAAA;AAClC,QAAA,IAAI,CAAC,SAAS,GAAG,OAAO,MAAM,KAAK,WAAW,CAAC;QAC/C,OAAO,IAAI,CAAC,SAAS,CAAC;AACtB;;;AAGG;IACP,CAAC;;AAzCD;;;AAGG;AACa,wBAAA,CAAA,WAAW,GAAW,EAAE,CAAC;AAEzC;;AAEG;AACa,wBAAA,CAAA,EAAE,GAAW,0BAA0B;;;;"}
@@ -1,3 +1,3 @@
1
1
  export declare const name = "@azure/msal-browser";
2
- export declare const version = "4.24.0";
2
+ export declare const version = "5.0.0-alpha.0";
3
3
  //# sourceMappingURL=packageMetadata.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"packageMetadata.d.ts","sourceRoot":"","sources":["../../src/packageMetadata.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,IAAI,wBAAwB,CAAC;AAC1C,eAAO,MAAM,OAAO,WAAW,CAAC"}
1
+ {"version":3,"file":"packageMetadata.d.ts","sourceRoot":"","sources":["../../src/packageMetadata.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,IAAI,wBAAwB,CAAC;AAC1C,eAAO,MAAM,OAAO,kBAAkB,CAAC"}
@@ -1,8 +1,8 @@
1
- /*! @azure/msal-browser v4.24.0 2025-09-24 */
1
+ /*! @azure/msal-browser v5.0.0-alpha.0 2025-10-02 */
2
2
  'use strict';
3
3
  /* eslint-disable header/header */
4
4
  const name = "@azure/msal-browser";
5
- const version = "4.24.0";
5
+ const version = "5.0.0-alpha.0";
6
6
 
7
7
  export { name, version };
8
8
  //# sourceMappingURL=packageMetadata.mjs.map
@@ -19,10 +19,6 @@ export declare function getAuthCodeRequestUrl(config: BrowserConfiguration, auth
19
19
  * Gets the form that will be posted to /authorize with request parameters when using EAR
20
20
  */
21
21
  export declare function getEARForm(frame: Document, config: BrowserConfiguration, authority: Authority, request: CommonAuthorizationUrlRequest, logger: Logger, performanceClient: IPerformanceClient): Promise<HTMLFormElement>;
22
- /**
23
- * Gets the form that will be posted to /authorize with request parameters when using POST method
24
- */
25
- export declare function getCodeForm(frame: Document, config: BrowserConfiguration, authority: Authority, request: CommonAuthorizationUrlRequest, logger: Logger, performanceClient: IPerformanceClient): Promise<HTMLFormElement>;
26
22
  /**
27
23
  * Response handler when server returns accountId on the /authorize request
28
24
  * @param request
@@ -1 +1 @@
1
- {"version":3,"file":"Authorize.d.ts","sourceRoot":"","sources":["../../../src/protocol/Authorize.ts"],"names":[],"mappings":"AAKA,OAAO,EAEH,SAAS,EAGT,6BAA6B,EAG7B,kBAAkB,EAClB,MAAM,EAQN,uBAAuB,EAGvB,iBAAiB,EAKpB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,KAAK,EAAoB,MAAM,8BAA8B,CAAC;AAOvE,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAE3E,OAAO,EAAE,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAEtE,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAExD,OAAO,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AAiFtF;;;;;;;;GAQG;AACH,wBAAsB,qBAAqB,CACvC,MAAM,EAAE,oBAAoB,EAC5B,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,6BAA6B,EACtC,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,kBAAkB,GACtC,OAAO,CAAC,MAAM,CAAC,CAiCjB;AAED;;GAEG;AACH,wBAAsB,UAAU,CAC5B,KAAK,EAAE,QAAQ,EACf,MAAM,EAAE,oBAAoB,EAC5B,SAAS,EAAE,SAAS,EACpB,OAAO,EAAE,6BAA6B,EACtC,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,kBAAkB,GACtC,OAAO,CAAC,eAAe,CAAC,CAgC1B;AAED;;GAEG;AACH,wBAAsB,WAAW,CAC7B,KAAK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AE,mBAAmB,EACnC,aAAa,EAAE,mBAAmB,EAClC,YAAY,EAAE,YAAY,EAC1B,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,kBAAkB,EACrC,oBAAoB,CAAC,EAAE,oBAAoB,GAC5C,OAAO,CAAC,oBAAoB,CAAC,CAyC/B;AAED;;;;;;;;;;GAUG;AACH,wBAAsB,kBAAkB,CACpC,OAAO,EAAE,6BAA6B,EACtC,QAAQ,EAAE,iBAAiB,EAC3B,YAAY,EAAE,MAAM,EACpB,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,oBAAoB,EAC5B,UAAU,EAAE,uBAAuB,EACnC,cAAc,EAAE,mBAAmB,EACnC,aAAa,EAAE,mBAAmB,EAClC,YAAY,EAAE,YAAY,EAC1B,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,kBAAkB,EACrC,oBAAoB,CAAC,EAAE,oBAAoB,GAC5C,OAAO,CAAC,oBAAoB,CAAC,CAkD/B;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAsB,iBAAiB,CACnC,OAAO,EAAE,6BAA6B,EACtC,QAAQ,EAAE,iBAAiB,EAC3B,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,oBAAoB,EAC5B,SAAS,EAAE,SAAS,EACpB,cAAc,EAAE,mBAAmB,EACnC,aAAa,EAAE,mBAAmB,EAClC,YAAY,EAAE,YAAY,EAC1B,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,kBAAkB,EACrC,oBAAoB,CAAC,EAAE,oBAAoB,GAC5C,OAAO,CAAC,oBAAoB,CAAC,CA4F/B"}
@@ -1,6 +1,7 @@
1
- /*! @azure/msal-browser v4.24.0 2025-09-24 */
1
+ /*! @azure/msal-browser v5.0.0-alpha.0 2025-10-02 */
2
2
  'use strict';
3
- import { createClientConfigurationError, ClientConfigurationErrorCodes, invokeAsync, PerformanceEvents, RequestParameterBuilder, OAuthResponseType, Constants, AuthorizeProtocol, ThrottlingUtils, ResponseHandler, TimeUtils, ProtocolMode, AuthenticationScheme, PopTokenGenerator, ProtocolUtils } from '@azure/msal-common/browser';
3
+ import { createClientConfigurationError, ClientConfigurationErrorCodes, invokeAsync, RequestParameterBuilder, Constants, AuthorizeProtocol, ThrottlingUtils, ResponseHandler, PerformanceEvents, TimeUtils, ProtocolMode, PopTokenGenerator, ProtocolUtils } from '@azure/msal-common/browser';
4
+ import { GetStandardParams, HandleResponsePlatformBroker, HandleCodeResponse, DecryptEarResponse, NativeInteractionClientAcquireToken } from '../telemetry/BrowserPerformanceEvents.mjs';
4
5
  import { BrowserConstants } from '../utils/BrowserConstants.mjs';
5
6
  import { version } from '../packageMetadata.mjs';
6
7
  import { CryptoOps } from '../crypto/CryptoOps.mjs';
@@ -31,20 +32,16 @@ async function getStandardParameters(config, authority, request, logger, perform
31
32
  os: "",
32
33
  cpu: "",
33
34
  });
34
- if (config.auth.protocolMode !== ProtocolMode.OIDC) {
35
+ if (config.system.protocolMode !== ProtocolMode.OIDC) {
35
36
  RequestParameterBuilder.addApplicationTelemetry(parameters, config.telemetry.application);
36
37
  }
37
38
  if (request.platformBroker) {
38
39
  // signal ests that this is a WAM call
39
40
  RequestParameterBuilder.addNativeBroker(parameters);
40
- // instrument JS-platform bridge specific fields
41
- performanceClient.addFields({
42
- isPlatformAuthorizeRequest: true,
43
- }, request.correlationId);
44
41
  // pass the req_cnf for POP
45
- if (request.authenticationScheme === AuthenticationScheme.POP) {
42
+ if (request.authenticationScheme === Constants.AuthenticationScheme.POP) {
46
43
  const cryptoOps = new CryptoOps(logger, performanceClient);
47
- const popTokenGenerator = new PopTokenGenerator(cryptoOps);
44
+ const popTokenGenerator = new PopTokenGenerator(cryptoOps, performanceClient);
48
45
  // req_cnf is always sent as a string for SPAs
49
46
  let reqCnfData;
50
47
  if (!request.popKid) {
@@ -73,11 +70,11 @@ async function getAuthCodeRequestUrl(config, authority, request, logger, perform
73
70
  if (!request.codeChallenge) {
74
71
  throw createClientConfigurationError(ClientConfigurationErrorCodes.pkceParamsMissing);
75
72
  }
76
- const parameters = await invokeAsync(getStandardParameters, PerformanceEvents.GetStandardParams, logger, performanceClient, request.correlationId)(config, authority, request, logger, performanceClient);
77
- RequestParameterBuilder.addResponseType(parameters, OAuthResponseType.CODE);
73
+ const parameters = await invokeAsync(getStandardParameters, GetStandardParams, logger, performanceClient, request.correlationId)(config, authority, request, logger, performanceClient);
74
+ RequestParameterBuilder.addResponseType(parameters, Constants.OAuthResponseType.CODE);
78
75
  RequestParameterBuilder.addCodeChallengeParams(parameters, request.codeChallenge, Constants.S256_CODE_CHALLENGE_METHOD);
79
76
  RequestParameterBuilder.addExtraQueryParameters(parameters, request.extraQueryParameters || {});
80
- return AuthorizeProtocol.getAuthorizeUrl(authority, parameters, config.auth.encodeExtraQueryParams, request.extraQueryParameters);
77
+ return AuthorizeProtocol.getAuthorizeUrl(authority, parameters);
81
78
  }
82
79
  /**
83
80
  * Gets the form that will be posted to /authorize with request parameters when using EAR
@@ -87,24 +84,11 @@ async function getEARForm(frame, config, authority, request, logger, performance
87
84
  throw createBrowserAuthError(earJwkEmpty);
88
85
  }
89
86
  const parameters = await getStandardParameters(config, authority, request, logger, performanceClient);
90
- RequestParameterBuilder.addResponseType(parameters, OAuthResponseType.IDTOKEN_TOKEN_REFRESHTOKEN);
87
+ RequestParameterBuilder.addResponseType(parameters, Constants.OAuthResponseType.IDTOKEN_TOKEN_REFRESHTOKEN);
91
88
  RequestParameterBuilder.addEARParameters(parameters, request.earJwk);
92
89
  const queryParams = new Map();
93
90
  RequestParameterBuilder.addExtraQueryParameters(queryParams, request.extraQueryParameters || {});
94
- const url = AuthorizeProtocol.getAuthorizeUrl(authority, queryParams, config.auth.encodeExtraQueryParams, request.extraQueryParameters);
95
- return createForm(frame, url, parameters);
96
- }
97
- /**
98
- * Gets the form that will be posted to /authorize with request parameters when using POST method
99
- */
100
- async function getCodeForm(frame, config, authority, request, logger, performanceClient) {
101
- const parameters = await getStandardParameters(config, authority, request, logger, performanceClient);
102
- RequestParameterBuilder.addResponseType(parameters, OAuthResponseType.CODE);
103
- RequestParameterBuilder.addCodeChallengeParams(parameters, request.codeChallenge, request.codeChallengeMethod || Constants.S256_CODE_CHALLENGE_METHOD);
104
- RequestParameterBuilder.addPostBodyParameters(parameters, request.authorizePostBodyParameters || {});
105
- const queryParams = new Map();
106
- RequestParameterBuilder.addExtraQueryParameters(queryParams, request.extraQueryParameters || {});
107
- const url = AuthorizeProtocol.getAuthorizeUrl(authority, queryParams, config.auth.encodeExtraQueryParams, request.extraQueryParameters);
91
+ const url = AuthorizeProtocol.getAuthorizeUrl(authority, queryParams);
108
92
  return createForm(frame, url, parameters);
109
93
  }
110
94
  /**
@@ -143,14 +127,14 @@ function createForm(frame, authorizeUrl, parameters) {
143
127
  * @returns
144
128
  */
145
129
  async function handleResponsePlatformBroker(request, accountId, apiId, config, browserStorage, nativeStorage, eventHandler, logger, performanceClient, platformAuthProvider) {
146
- logger.verbose("Account id found, calling WAM for token");
130
+ logger.verbose("Account id found, calling WAM for token", request.correlationId);
147
131
  if (!platformAuthProvider) {
148
132
  throw createBrowserAuthError(nativeConnectionNotEstablished);
149
133
  }
150
134
  const browserCrypto = new CryptoOps(logger, performanceClient);
151
135
  const nativeInteractionClient = new PlatformAuthInteractionClient(config, browserStorage, browserCrypto, logger, eventHandler, config.system.navigationClient, apiId, performanceClient, platformAuthProvider, accountId, nativeStorage, request.correlationId);
152
136
  const { userRequestState } = ProtocolUtils.parseRequestState(browserCrypto, request.state);
153
- return invokeAsync(nativeInteractionClient.acquireToken.bind(nativeInteractionClient), PerformanceEvents.NativeInteractionClientAcquireToken, logger, performanceClient, request.correlationId)({
137
+ return invokeAsync(nativeInteractionClient.acquireToken.bind(nativeInteractionClient), NativeInteractionClientAcquireToken, logger, performanceClient, request.correlationId)({
154
138
  ...request,
155
139
  state: userRequestState,
156
140
  prompt: undefined, // Server should handle the prompt, ideally native broker can do this part silently
@@ -171,7 +155,7 @@ async function handleResponseCode(request, response, codeVerifier, apiId, config
171
155
  // Remove throttle if it exists
172
156
  ThrottlingUtils.removeThrottle(browserStorage, config.auth.clientId, request);
173
157
  if (response.accountId) {
174
- return invokeAsync(handleResponsePlatformBroker, PerformanceEvents.HandleResponsePlatformBroker, logger, performanceClient, request.correlationId)(request, response.accountId, apiId, config, browserStorage, nativeStorage, eventHandler, logger, performanceClient, platformAuthProvider);
158
+ return invokeAsync(handleResponsePlatformBroker, HandleResponsePlatformBroker, logger, performanceClient, request.correlationId)(request, response.accountId, apiId, config, browserStorage, nativeStorage, eventHandler, logger, performanceClient, platformAuthProvider);
175
159
  }
176
160
  const authCodeRequest = {
177
161
  ...request,
@@ -181,7 +165,7 @@ async function handleResponseCode(request, response, codeVerifier, apiId, config
181
165
  // Create popup interaction handler.
182
166
  const interactionHandler = new InteractionHandler(authClient, browserStorage, authCodeRequest, logger, performanceClient);
183
167
  // Handle response from hash string.
184
- const result = await invokeAsync(interactionHandler.handleCodeResponse.bind(interactionHandler), PerformanceEvents.HandleCodeResponse, logger, performanceClient, request.correlationId)(response, request);
168
+ const result = await invokeAsync(interactionHandler.handleCodeResponse.bind(interactionHandler), HandleCodeResponse, logger, performanceClient, request.correlationId)(response, request);
185
169
  return result;
186
170
  }
187
171
  /**
@@ -210,13 +194,13 @@ async function handleResponseEAR(request, response, apiId, config, authority, br
210
194
  if (!request.earJwk) {
211
195
  throw createBrowserAuthError(earJwkEmpty);
212
196
  }
213
- const decryptedData = JSON.parse(await invokeAsync(decryptEarResponse, PerformanceEvents.DecryptEarResponse, logger, performanceClient, request.correlationId)(request.earJwk, response.ear_jwe));
197
+ const decryptedData = JSON.parse(await invokeAsync(decryptEarResponse, DecryptEarResponse, logger, performanceClient, request.correlationId)(request.earJwk, response.ear_jwe));
214
198
  if (decryptedData.accountId) {
215
- return invokeAsync(handleResponsePlatformBroker, PerformanceEvents.HandleResponsePlatformBroker, logger, performanceClient, request.correlationId)(request, decryptedData.accountId, apiId, config, browserStorage, nativeStorage, eventHandler, logger, performanceClient, platformAuthProvider);
199
+ return invokeAsync(handleResponsePlatformBroker, HandleResponsePlatformBroker, logger, performanceClient, request.correlationId)(request, decryptedData.accountId, apiId, config, browserStorage, nativeStorage, eventHandler, logger, performanceClient, platformAuthProvider);
216
200
  }
217
- const responseHandler = new ResponseHandler(config.auth.clientId, browserStorage, new CryptoOps(logger, performanceClient), logger, null, null, performanceClient);
201
+ const responseHandler = new ResponseHandler(config.auth.clientId, browserStorage, new CryptoOps(logger, performanceClient), logger, performanceClient, null, null);
218
202
  // Validate response. This function throws a server error if an error is returned by the server.
219
- responseHandler.validateTokenResponse(decryptedData);
203
+ responseHandler.validateTokenResponse(decryptedData, request.correlationId);
220
204
  // Temporary until response handler is refactored to be more flow agnostic.
221
205
  const additionalData = {
222
206
  code: "",
@@ -231,5 +215,5 @@ async function handleResponseEAR(request, response, apiId, config, authority, br
231
215
  return (await invokeAsync(responseHandler.handleServerTokenResponse.bind(responseHandler), PerformanceEvents.HandleServerTokenResponse, logger, performanceClient, request.correlationId)(decryptedData, authority, TimeUtils.nowSeconds(), request, additionalData, undefined, undefined, undefined, undefined));
232
216
  }
233
217
 
234
- export { getAuthCodeRequestUrl, getCodeForm, getEARForm, handleResponseCode, handleResponseEAR, handleResponsePlatformBroker };
218
+ export { getAuthCodeRequestUrl, getEARForm, handleResponseCode, handleResponseEAR, handleResponsePlatformBroker };
235
219
  //# sourceMappingURL=Authorize.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"Authorize.mjs","sources":["../../../../src/protocol/Authorize.ts"],"sourcesContent":[null],"names":["BrowserAuthErrorCodes.earJwkEmpty","BrowserAuthErrorCodes.nativeConnectionNotEstablished","BrowserAuthErrorCodes.earJweEmpty"],"mappings":";;;;;;;;;;;;AAAA;;;AAGG;AA4CH;;;;;;;;AAQG;AACH,eAAe,qBAAqB,CAChC,MAA4B,EAC5B,SAAoB,EACpB,OAAsC,EACtC,MAAc,EACd,iBAAqC,EAAA;IAErC,MAAM,UAAU,GAAG,iBAAiB,C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GAA6B;AAC7C,QAAA,IAAI,EAAE,EAAE;QACR,KAAK,EAAE,OAAO,CAAC,KAAK;QACpB,KAAK,EAAE,OAAO,CAAC,KAAK;QACpB,WAAW,EAAE,aAAa,CAAC,WAAW;QACtC,qBAAqB,EAAE,aAAa,CAAC,qBAAqB;QAC1D,wBAAwB,EAAE,aAAa,CAAC,wBAAwB;QAChE,mBAAmB,EAAE,aAAa,CAAC,mBAAmB;QACtD,YAAY,EAAE,aAAa,CAAC,YAAY;KAC3C,CAAC;IAEF,QAAQ,MAAM,WAAW,CACrB,eAAe,CAAC,yBAAyB,CAAC,IAAI,CAAC,eAAe,CAAC,EAC/D,iBAAiB,CAAC,yBAAyB,EAC3C,MAAM,EACN,iBAAiB,EACjB,OAAO,CAAC,aAAa,CACxB,CACG,aAAa,EACb,SAAS,EACT,SAAS,CAAC,UAAU,EAAE,EACtB,OAAO,EACP,cAAc,EACd,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,CACZ,EAA0B;AAC/B;;;;"}
1
+ {"version":3,"file":"Authorize.mjs","sources":["../../../../src/protocol/Authorize.ts"],"sourcesContent":[null],"names":["BrowserPerformanceEvents.GetStandardParams","BrowserAuthErrorCodes.earJwkEmpty","BrowserAuthErrorCodes.nativeConnectionNotEstablished","BrowserPerformanceEvents.NativeInteractionClientAcquireToken","BrowserPerformanceEvents.HandleResponsePlatformBroker","BrowserPerformanceEvents.HandleCodeResponse","BrowserAuthErrorCodes.earJweEmpty","BrowserPerformanceEvents.DecryptEarResponse"],"mappings":";;;;;;;;;;;;;AAAA;;;AAGG;AA2CH;;;;;;;;AAQG;AACH,eAAe,qBAAqB,CAChC,MAA4B,EAC5B,SAAoB,EACpB,OAAsC,EACtC,MAAc,EACd,iBAAqC,EAAA;IAErC,MAAM,UAAU,GAAG,iBAAiB,CAAC,qCAAqC,CACtE,EAAE,GAAG,MAAM,CAAC,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,EACxC,OAAO,EACP,MAAM,EACN,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,CAAC,CAAC;;AAG5E,IAAA,MAAM,cAAc,GAA6B;AAC7C,QAAA,IAAI,EAAE,EAAE;QACR,KAAK,EAAE,OAAO,CAAC,KAAK;QACpB,KAAK,EAAE,OAAO,CAAC,KAAK;QACpB,WAAW,EAAE,aAAa,CAAC,WAAW;QACtC,qBAAqB,EAAE,aAAa,CAAC,qBAAqB;QAC1D,wBAAwB,EAAE,aAAa,CAAC,wBAAwB;QAChE,mBAAmB,EAAE,aAAa,CAAC,mBAAmB;QACtD,YAAY,EAAE,aAAa,CAAC,YAAY;KAC3C,CAAC;IAEF,QAAQ,MAAM,WAAW,CACrB,eAAe,CAAC,yBAAyB,CAAC,IAAI,CAAC,eAAe,CAAC,EAC/D,iBAAiB,CAAC,yBAAyB,EAC3C,MAAM,EACN,iBAAiB,EACjB,OAAO,CAAC,aAAa,CACxB,CACG,aAAa,EACb,SAAS,EACT,SAAS,CAAC,UAAU,EAAE,EACtB,OAAO,EACP,cAAc,EACd,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,CACZ,EAA0B;AAC/B;;;;"}
@@ -1,5 +1,5 @@
1
1
  import { CommonAuthorizationCodeRequest } from "@azure/msal-common/browser";
2
- export type AuthorizationCodeRequest = Partial<Omit<CommonAuthorizationCodeRequest, "code" | "enableSpaAuthorizationCode" | "requestedClaimsHash">> & {
2
+ export type AuthorizationCodeRequest = Partial<Omit<CommonAuthorizationCodeRequest, "code" | "enableSpaAuthorizationCode">> & {
3
3
  code?: string;
4
4
  nativeAccountId?: string;
5
5
  cloudGraphHostName?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"AuthorizationCodeRequest.d.ts","sourceRoot":"","sources":["../../../src/request/AuthorizationCodeRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,8BAA8B,EAAE,MAAM,4BAA4B,CAAC;AAE5E,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAC1C,IAAI,CACA,8BAA8B,EAC9B,MAAM,GAAG,4BAA4B,GAAG,qBAAqB,CAChE,CACJ,GAAG;IACA,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAClC,CAAC"}
1
+ {"version":3,"file":"AuthorizationCodeRequest.d.ts","sourceRoot":"","sources":["../../../src/request/AuthorizationCodeRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,8BAA8B,EAAE,MAAM,4BAA4B,CAAC;AAE5E,MAAM,MAAM,wBAAwB,GAAG,OAAO,CAC1C,IAAI,CAAC,8BAA8B,EAAE,MAAM,GAAG,4BAA4B,CAAC,CAC9E,GAAG;IACA,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAClC,CAAC"}
@@ -28,7 +28,7 @@ import { PopupWindowAttributes } from "./PopupWindowAttributes.js";
28
28
  * - popupWindowAttributes - Optional popup window attributes. popupSize with height and width, and popupPosition with top and left can be set.
29
29
  * - popupWindowParent - Optional window object to use as the parent when opening popup windows. Uses global `window` if not given.
30
30
  */
31
- export type PopupRequest = Partial<Omit<CommonAuthorizationUrlRequest, "responseMode" | "scopes" | "earJwk" | "codeChallenge" | "codeChallengeMethod" | "requestedClaimsHash" | "platformBroker">> & {
31
+ export type PopupRequest = Partial<Omit<CommonAuthorizationUrlRequest, "responseMode" | "scopes" | "earJwk" | "codeChallenge" | "codeChallengeMethod" | "platformBroker">> & {
32
32
  scopes: Array<string>;
33
33
  popupWindowAttributes?: PopupWindowAttributes;
34
34
  popupWindowParent?: Window;
@@ -1 +1 @@
1
- {"version":3,"file":"PopupRequest.d.ts","sourceRoot":"","sources":["../../../src/request/PopupRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,MAAM,MAAM,YAAY,GAAG,OAAO,CAC9B,IAAI,CACA,6BAA6B,EAC3B,cAAc,GACd,QAAQ,GACR,QAAQ,GACR,eAAe,GACf,qBAAqB,GACrB,qBAAqB,GACrB,gBAAgB,CACrB,CACJ,GAAG;IACA,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;IAC9C,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC"}
1
+ {"version":3,"file":"PopupRequest.d.ts","sourceRoot":"","sources":["../../../src/request/PopupRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;AAC3E,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AAEH,MAAM,MAAM,YAAY,GAAG,OAAO,CAC9B,IAAI,CACA,6BAA6B,EAC3B,cAAc,GACd,QAAQ,GACR,QAAQ,GACR,eAAe,GACf,qBAAqB,GACrB,gBAAgB,CACrB,CACJ,GAAG;IACA,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,qBAAqB,CAAC,EAAE,qBAAqB,CAAC;IAC9C,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC"}
@@ -25,16 +25,9 @@ import { CommonAuthorizationUrlRequest } from "@azure/msal-common/browser";
25
25
  * - claims - In cases where Azure AD tenant admin has enabled conditional access policies, and the policy has not been met, exceptions will contain claims that need to be consented to.
26
26
  * - nonce - A value included in the request that is returned in the id token. A randomly generated unique value is typically used to mitigate replay attacks.
27
27
  * - redirectStartPage - The page that should be returned to after loginRedirect or acquireTokenRedirect. This should only be used if this is different from the redirectUri and will default to the page that initiates the request. When the navigateToLoginRequestUrl config option is set to false this parameter will be ignored.
28
- * - onRedirectNavigate - Callback that will be passed the url that MSAL will navigate to. Returning false in the callback will stop navigation.
29
28
  */
30
- export type RedirectRequest = Partial<Omit<CommonAuthorizationUrlRequest, "responseMode" | "scopes" | "earJwk" | "codeChallenge" | "codeChallengeMethod" | "requestedClaimsHash" | "platformBroker">> & {
29
+ export type RedirectRequest = Partial<Omit<CommonAuthorizationUrlRequest, "responseMode" | "scopes" | "earJwk" | "codeChallenge" | "codeChallengeMethod" | "platformBroker">> & {
31
30
  scopes: Array<string>;
32
31
  redirectStartPage?: string;
33
- /**
34
- * @deprecated
35
- * onRedirectNavigate is deprecated and will be removed in the next major version.
36
- * Set onRedirectNavigate in Configuration instead.
37
- */
38
- onRedirectNavigate?: (url: string) => boolean | void;
39
32
  };
40
33
  //# sourceMappingURL=RedirectRequest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RedirectRequest.d.ts","sourceRoot":"","sources":["../../../src/request/RedirectRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;AAE3E;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,CACjC,IAAI,CACA,6BAA6B,EAC3B,cAAc,GACd,QAAQ,GACR,QAAQ,GACR,eAAe,GACf,qBAAqB,GACrB,qBAAqB,GACrB,gBAAgB,CACrB,CACJ,GAAG;IACA,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;;;OAIG;IACH,kBAAkB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,OAAO,GAAG,IAAI,CAAC;CACxD,CAAC"}
1
+ {"version":3,"file":"RedirectRequest.d.ts","sourceRoot":"","sources":["../../../src/request/RedirectRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;AAE3E;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAM,MAAM,eAAe,GAAG,OAAO,CACjC,IAAI,CACA,6BAA6B,EAC3B,cAAc,GACd,QAAQ,GACR,QAAQ,GACR,eAAe,GACf,qBAAqB,GACrB,gBAAgB,CACrB,CACJ,GAAG;IACA,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC9B,CAAC"}
@@ -1,24 +1,18 @@
1
- import { AccountInfo, BaseAuthRequest, CommonSilentFlowRequest, HttpMethod, IPerformanceClient, Logger, ProtocolMode } from "@azure/msal-common/browser";
1
+ import { AccountInfo, BaseAuthRequest, CommonSilentFlowRequest, IPerformanceClient, Logger } from "@azure/msal-common/browser";
2
2
  import { BrowserConfiguration } from "../config/Configuration.js";
3
3
  import { SilentRequest } from "./SilentRequest.js";
4
- import { PopupRequest } from "./PopupRequest.js";
5
- import { RedirectRequest } from "./RedirectRequest.js";
6
4
  /**
7
5
  * Initializer function for all request APIs
8
6
  * @param request
7
+ * @param config
8
+ * @param performanceClient
9
+ * @param logger
10
+ * @param correlationId
9
11
  */
10
12
  export declare function initializeBaseRequest(request: Partial<BaseAuthRequest> & {
11
13
  correlationId: string;
12
- }, config: BrowserConfiguration, performanceClient: IPerformanceClient, logger: Logger): Promise<BaseAuthRequest>;
14
+ }, config: BrowserConfiguration, performanceClient: IPerformanceClient, logger: Logger, correlationId: string): Promise<BaseAuthRequest>;
13
15
  export declare function initializeSilentRequest(request: SilentRequest & {
14
16
  correlationId: string;
15
17
  }, account: AccountInfo, config: BrowserConfiguration, performanceClient: IPerformanceClient, logger: Logger): Promise<CommonSilentFlowRequest>;
16
- /**
17
- * Validates that the combination of request method, protocol mode and authorize body parameters is correct.
18
- * Returns the validated or defaulted HTTP method or throws if the configured combination is invalid.
19
- * @param interactionRequest
20
- * @param protocolMode
21
- * @returns
22
- */
23
- export declare function validateRequestMethod(interactionRequest: BaseAuthRequest | PopupRequest | RedirectRequest, protocolMode: ProtocolMode): HttpMethod;
24
18
  //# sourceMappingURL=RequestHelpers.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"RequestHelpers.d.ts","sourceRoot":"","sources":["../../../src/request/RequestHelpers.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,WAAW,EAEX,eAAe,EAEf,uBAAuB,EACvB,UAAU,EACV,kBAAkB,EAClB,MAAM,EAEN,YAAY,EAIf,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD;;;GAGG;AACH,wBAAsB,qBAAqB,CACvC,OAAO,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG;IAAE,aAAa,EAAE,MAAM,CAAA;CAAE,EAC7D,MAAM,EAAE,oBAAoB,EAC5B,iBAAiB,EAAE,kBAAkB,EACrC,MAAM,EAAE,MAAM,GACf,OAAO,CAAC,eAAe,CAAC,CAqD1B;AAED,wBAAsB,uBAAuB,CACzC,OAAO,EAAE,aAAa,GAAG;IAAE,aAAa,EAAE,MAAM,CAAA;CAAE,EAClD,OAAO,EAAE,WAAW,EACpB,MAAM,EAAE,oBAAoB,EAC5B,iBAAiB,EAAE,kBAAkB,EACrC,MAAM,EAAE,MAAM,GACf,OAAO,CAAC,uBAAuB,CAAC,CAmBlC;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CACjC,kBAAkB,EAAE,eAAe,GAAG,YAAY,GAAG,eAAe,EACpE,YAAY,EAAE,YAAY,GAC3B,UAAU,CA6BZ"}
1
+ {"version":3,"file":"RequestHelpers.d.ts","sourceRoot":"","sources":["../../../src/request/RequestHelpers.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,WAAW,EAEX,eAAe,EAEf,uBAAuB,EACvB,kBAAkB,EAClB,MAAM,EAGT,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAEnD;;;;;;;GAOG;AACH,wBAAsB,qBAAqB,CACvC,OAAO,EAAE,OAAO,CAAC,eAAe,CAAC,GAAG;IAAE,aAAa,EAAE,MAAM,CAAA;CAAE,EAC7D,MAAM,EAAE,oBAAoB,EAC5B,iBAAiB,EAAE,kBAAkB,EACrC,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,MAAM,GACtB,OAAO,CAAC,eAAe,CAAC,CA2C1B;AAED,wBAAsB,uBAAuB,CACzC,OAAO,EAAE,aAAa,GAAG;IAAE,aAAa,EAAE,MAAM,CAAA;CAAE,EAClD,OAAO,EAAE,WAAW,EACpB,MAAM,EAAE,oBAAoB,EAC5B,iBAAiB,EAAE,kBAAkB,EACrC,MAAM,EAAE,MAAM,GACf,OAAO,CAAC,uBAAuB,CAAC,CAclC"}
@@ -1,7 +1,7 @@
1
- /*! @azure/msal-browser v4.24.0 2025-09-24 */
1
+ /*! @azure/msal-browser v5.0.0-alpha.0 2025-10-02 */
2
2
  'use strict';
3
- import { PerformanceEvents, invokeAsync, ProtocolMode, HttpMethod, createClientConfigurationError, ClientConfigurationErrorCodes, AuthenticationScheme, StringUtils } from '@azure/msal-common/browser';
4
- import { hashString } from '../crypto/BrowserCrypto.mjs';
3
+ import { invokeAsync, Constants, createClientConfigurationError, ClientConfigurationErrorCodes } from '@azure/msal-common/browser';
4
+ import { InitializeBaseRequest } from '../telemetry/BrowserPerformanceEvents.mjs';
5
5
 
6
6
  /*
7
7
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -10,9 +10,12 @@ import { hashString } from '../crypto/BrowserCrypto.mjs';
10
10
  /**
11
11
  * Initializer function for all request APIs
12
12
  * @param request
13
+ * @param config
14
+ * @param performanceClient
15
+ * @param logger
16
+ * @param correlationId
13
17
  */
14
- async function initializeBaseRequest(request, config, performanceClient, logger) {
15
- performanceClient.addQueueMeasurement(PerformanceEvents.InitializeBaseRequest, request.correlationId);
18
+ async function initializeBaseRequest(request, config, performanceClient, logger, correlationId) {
16
19
  const authority = request.authority || config.auth.authority;
17
20
  const scopes = [...((request && request.scopes) || [])];
18
21
  const validatedRequest = {
@@ -23,11 +26,13 @@ async function initializeBaseRequest(request, config, performanceClient, logger)
23
26
  };
24
27
  // Set authenticationScheme to BEARER if not explicitly set in the request
25
28
  if (!validatedRequest.authenticationScheme) {
26
- validatedRequest.authenticationScheme = AuthenticationScheme.BEARER;
27
- logger.verbose('Authentication Scheme wasn\'t explicitly set in request, defaulting to "Bearer" request');
29
+ validatedRequest.authenticationScheme =
30
+ Constants.AuthenticationScheme.BEARER;
31
+ logger.verbose('Authentication Scheme was not explicitly set in request, defaulting to "Bearer" request', correlationId);
28
32
  }
29
33
  else {
30
- if (validatedRequest.authenticationScheme === AuthenticationScheme.SSH) {
34
+ if (validatedRequest.authenticationScheme ===
35
+ Constants.AuthenticationScheme.SSH) {
31
36
  if (!request.sshJwk) {
32
37
  throw createClientConfigurationError(ClientConfigurationErrorCodes.missingSshJwk);
33
38
  }
@@ -35,56 +40,19 @@ async function initializeBaseRequest(request, config, performanceClient, logger)
35
40
  throw createClientConfigurationError(ClientConfigurationErrorCodes.missingSshKid);
36
41
  }
37
42
  }
38
- logger.verbose(`Authentication Scheme set to "${validatedRequest.authenticationScheme}" as configured in Auth request`);
39
- }
40
- // Set requested claims hash if claims-based caching is enabled and claims were requested
41
- if (config.cache.claimsBasedCachingEnabled &&
42
- request.claims &&
43
- // Checks for empty stringified object "{}" which doesn't qualify as requested claims
44
- !StringUtils.isEmptyObj(request.claims)) {
45
- validatedRequest.requestedClaimsHash = await hashString(request.claims);
43
+ logger.verbose(`Authentication Scheme set to "'${validatedRequest.authenticationScheme}'" as configured in Auth request`, correlationId);
46
44
  }
47
45
  return validatedRequest;
48
46
  }
49
47
  async function initializeSilentRequest(request, account, config, performanceClient, logger) {
50
- performanceClient.addQueueMeasurement(PerformanceEvents.InitializeSilentRequest, request.correlationId);
51
- const baseRequest = await invokeAsync(initializeBaseRequest, PerformanceEvents.InitializeBaseRequest, logger, performanceClient, request.correlationId)(request, config, performanceClient, logger);
48
+ const baseRequest = await invokeAsync(initializeBaseRequest, InitializeBaseRequest, logger, performanceClient, request.correlationId)(request, config, performanceClient, logger, request.correlationId);
52
49
  return {
53
50
  ...request,
54
51
  ...baseRequest,
55
52
  account: account,
56
53
  forceRefresh: request.forceRefresh || false,
57
54
  };
58
- }
59
- /**
60
- * Validates that the combination of request method, protocol mode and authorize body parameters is correct.
61
- * Returns the validated or defaulted HTTP method or throws if the configured combination is invalid.
62
- * @param interactionRequest
63
- * @param protocolMode
64
- * @returns
65
- */
66
- function validateRequestMethod(interactionRequest, protocolMode) {
67
- let httpMethod;
68
- const requestMethod = interactionRequest.httpMethod;
69
- if (protocolMode === ProtocolMode.EAR) {
70
- // Don't override httpMethod if it is already set, default to POST if not set
71
- httpMethod = requestMethod || HttpMethod.POST;
72
- // Validate that method is not GET if protocol mode is EAR
73
- if (httpMethod !== HttpMethod.POST) {
74
- throw createClientConfigurationError(ClientConfigurationErrorCodes.invalidRequestMethodForEAR);
75
- }
76
- }
77
- else {
78
- // For non-EAR protocol modes, default to GET if httpMethod is not set
79
- httpMethod = requestMethod || HttpMethod.GET;
80
- }
81
- // Regardless of protocolMode, if there are authorizePostBodyParameters, validate the request method is POST
82
- if (interactionRequest.authorizePostBodyParameters &&
83
- httpMethod !== HttpMethod.POST) {
84
- throw createClientConfigurationError(ClientConfigurationErrorCodes.invalidAuthorizePostBodyParameters);
85
- }
86
- return httpMethod;
87
55
  }
88
56
 
89
- export { initializeBaseRequest, initializeSilentRequest, validateRequestMethod };
57
+ export { initializeBaseRequest, initializeSilentRequest };
90
58
  //# sourceMappingURL=RequestHelpers.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"RequestHelpers.mjs","sources":["../../../../src/request/RequestHelpers.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;AAAA;;;AAGG;AAuBH;;;AAGG;AACI,eAAe,qBAAqB,CACvC,OAA6D,EAC7D,MAA4B,EAC5B,iBAAqC,EACrC,MAAc,EAAA;IAEd,iBAAiB,CAAC,mBAAmB,CACjC,iBAAiB,CAAC,qBAAqB,EACvC,OAAO,CAAC,aAAa,CACxB,CAAC;IACF,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,IAAI,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC;AAE7D,IAAA,MAAM,MAAM,GAAG,CAAC,IAAI,CAAC,OAAO,IAAI,OAAO,CAAC,MAAM,KAAK,EAAE,CAAC,CAAC,CAAC;AAExD,IAAA,MAAM,gBAAgB,GAAoB;AACtC,QAAA,GAAG,OAAO;QACV,aAAa,EAAE,OAAO,CAAC,aAAa;QACpC,SAAS;QACT,MAAM;KACT,CAAC;;AAGF,IAAA,IAAI,CAAC,gBAAgB,CAAC,oBAAoB,EAAE;AACxC,QAAA,gBAAgB,CAAC,oBAAoB,GAAG,oBAAoB,CAAC,MAAM,CAAC;AACpE,QAAA,MAAM,CAAC,OAAO,CACV,yFAAyF,CAC5F,CAAC;AACL,KAAA;AAAM,SAAA;AACH,QAAA,IACI,gBAAgB,CAAC,oBAAoB,KAAK,oBAAoB,CAAC,GAAG,EACpE;AACE,YAAA,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE;AACjB,gBAAA,MAAM,8BAA8B,CAChC,6BAA6B,CAAC,aAAa,CAC9C,CAAC;AACL,aAAA;AACD,YAAA,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE;AACjB,gBAAA,MAAM,8BAA8B,CAChC,6BAA6B,CAAC,aAAa,CAC9C,CAAC;AACL,aA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U,CAAC,IAAI,CAAC;;AAE9C,QAAA,IAAI,UAAU,KAAK,UAAU,CAAC,IAAI,EAAE;AAChC,YAAA,MAAM,8BAA8B,CAChC,6BAA6B,CAAC,0BAA0B,CAC3D,CAAC;AACL,SAAA;AACJ,KAAA;AAAM,SAAA;;AAEH,QAAA,UAAU,GAAG,aAAa,IAAI,UAAU,CAAC,GAAG,CAAC;AAChD,KAAA;;IAGD,IACI,kBAAkB,CAAC,2BAA2B;AAC9C,QAAA,UAAU,KAAK,UAAU,CAAC,IAAI,EAChC;AACE,QAAA,MAAM,8BAA8B,CAChC,6BAA6B,CAAC,kCAAkC,CACnE,CAAC;AACL,KAAA;AAED,IAAA,OAAO,UAAU,CAAC;AACtB;;;;"}
1
+ {"version":3,"file":"RequestHelpers.mjs","sources":["../../../../src/request/RequestHelpers.ts"],"sourcesContent":[null],"names":["BrowserPerformanceEvents.InitializeBaseRequest"],"mappings":";;;;;AAAA;;;AAGG;AAiBH;;;;;;;AAOG;AACI,eAAe,qBAAqB,CACvC,OAA6D,EAC7D,MAA4B,EAC5B,iBAAqC,EACrC,MAAc,EACd,aAAqB,EAAA;IAErB,MAAM,SAAS,GAAG,OAAO,CAAC,SAAS,IAAI,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC;AAE7D,IAAA,MAAM,MAAM,GAAG,CAAC,IAAI,CAAC,OAAO,IAAI,OAAO,CAAC,MAAM,KAAK,EAAE,CAAC,CAAC,CAAC;AAExD,IAAA,MAAM,gBAAgB,GAAoB;AACtC,QAAA,GAAG,OAAO;QACV,aAAa,EAAE,OAAO,CAAC,aAAa;QACpC,SAAS;QACT,MAAM;KACT,CAAC;;AAGF,IAAA,IAAI,CAAC,gBAAgB,CAAC,oBAAoB,EAAE;AACxC,QAAA,gBAAgB,CAAC,oBAAoB;AACjC,YAAA,SAAS,CAAC,oBAAoB,CAAC,MAAM,CAAC;AAC1C,QAAA,MAAM,CAAC,OAAO,CACV,yFAAyF,EACzF,aAAa,CAChB,CAAC;AACL,IAAA,CAAA;AAAM,SAAA;QACH,IACI,gBAAgB,CAAC,oBAAoB;AACrC,YAAA,SAAS,CAAC,oBAAoB,CAAC,GAAG,EACpC;AACE,YAAA,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE;AACjB,gBAAA,MAAM,8BAA8B,CAChC,6BAA6B,CAAC,aAAa,CAC9C,CAAC;AACL,YAAA,CAAA;AACD,YAAA,IAAI,CAAC,OAAO,CAAC,MAAM,EAAE;AACjB,gBAAA,MAAM,8BAA8B,CAChC,6BAA6B,CAAC,aAAa,CAC9C,CAAC;AACL,YAAA,CAAA;AACJ,QAAA,CAAA;QACD,MAAM,CAAC,OAAO,CACV,CAAA,+BAAA,EAAkC,gBAAgB,CAAC,oBAAoB,CAAA,gCAAA,CAAkC,EACzG,aAAa,CAChB,CAAC;AACL,IAAA,CAAA;AAED,IAAA,OAAO,gBAAgB,CAAC;AAC5B,CAAC;AAEM,eAAe,uBAAuB,CACzC,OAAkD,EAClD,OAAoB,EACpB,MAA4B,EAC5B,iBAAqC,EACrC,MAAc,EAAA;AAEd,IAAA,MAAM,WAAW,GAAG,MAAM,WAAW,CACjC,qBAAqB,EACrBA,qBAA8C,EAC9C,MAAM,EACN,iBAAiB,EACjB,OAAO,CAAC,aAAa,CACxB,CAAC,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC;IACrE,OAAO;AACH,QAAA,GAAG,OAAO;AACV,QAAA,GAAG,WAAW;AACd,QAAA,OAAO,EAAE,OAAO;AAChB,QAAA,YAAY,EAAE,OAAO,CAAC,YAAY,IAAI,KAAK;KAC9C,CAAC;AACN;;;;"}
@@ -19,7 +19,7 @@ import { CacheLookupPolicy } from "../utils/BrowserConstants.js";
19
19
  * none: will ensure that the user isn't presented with any interactive prompt. if request can't be completed via single-sign on, the endpoint will return an interaction_required error
20
20
  * no_session: will not read existing session token when authenticating the user. Upon user being successfully authenticated, EVO won’t create a new session for the user. FOR INTERNAL USE ONLY.
21
21
  */
22
- export type SilentRequest = Omit<CommonSilentFlowRequest, "authority" | "correlationId" | "forceRefresh" | "account" | "requestedClaimsHash"> & {
22
+ export type SilentRequest = Omit<CommonSilentFlowRequest, "authority" | "correlationId" | "forceRefresh" | "account"> & {
23
23
  redirectUri?: string;
24
24
  extraQueryParameters?: StringDict;
25
25
  authority?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"SilentRequest.d.ts","sourceRoot":"","sources":["../../../src/request/SilentRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,WAAW,EACX,uBAAuB,EACvB,UAAU,EACb,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEjE;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,MAAM,aAAa,GAAG,IAAI,CAC5B,uBAAuB,EACrB,WAAW,GACX,eAAe,GACf,cAAc,GACd,SAAS,GACT,qBAAqB,CAC1B,GAAG;IACA,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,UAAU,CAAC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
1
+ {"version":3,"file":"SilentRequest.d.ts","sourceRoot":"","sources":["../../../src/request/SilentRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,WAAW,EACX,uBAAuB,EACvB,UAAU,EACb,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEjE;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAM,MAAM,aAAa,GAAG,IAAI,CAC5B,uBAAuB,EACvB,WAAW,GAAG,eAAe,GAAG,cAAc,GAAG,SAAS,CAC7D,GAAG;IACA,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB,CAAC,EAAE,UAAU,CAAC;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,iBAAiB,CAAC,EAAE,iBAAiB,CAAC;IACtC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
@@ -24,5 +24,5 @@ import { CommonAuthorizationUrlRequest } from "@azure/msal-common/browser";
24
24
  * - tokenQueryParameters - String to string map of custom query parameters added to the /token call
25
25
  * - nonce - A value included in the request that is returned in the id token. A randomly generated unique value is typically used to mitigate replay attacks.
26
26
  */
27
- export type SsoSilentRequest = Partial<Omit<CommonAuthorizationUrlRequest, "responseMode" | "earJwk" | "codeChallenge" | "codeChallengeMethod" | "requestedClaimsHash" | "platformBroker">>;
27
+ export type SsoSilentRequest = Partial<Omit<CommonAuthorizationUrlRequest, "responseMode" | "earJwk" | "codeChallenge" | "codeChallengeMethod" | "platformBroker">>;
28
28
  //# sourceMappingURL=SsoSilentRequest.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SsoSilentRequest.d.ts","sourceRoot":"","sources":["../../../src/request/SsoSilentRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;AAE3E;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAClC,IAAI,CACA,6BAA6B,EAC3B,cAAc,GACd,QAAQ,GACR,eAAe,GACf,qBAAqB,GACrB,qBAAqB,GACrB,gBAAgB,CACrB,CACJ,CAAC"}
1
+ {"version":3,"file":"SsoSilentRequest.d.ts","sourceRoot":"","sources":["../../../src/request/SsoSilentRequest.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;AAE3E;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAClC,IAAI,CACA,6BAA6B,EAC3B,cAAc,GACd,QAAQ,GACR,eAAe,GACf,qBAAqB,GACrB,gBAAgB,CACrB,CACJ,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { ICrypto, Logger, AuthorizeResponse } from "@azure/msal-common/browser";
2
2
  import { InteractionType } from "../utils/BrowserConstants.js";
3
- export declare function deserializeResponse(responseString: string, responseLocation: string, logger: Logger): AuthorizeResponse;
3
+ export declare function deserializeResponse(responseString: string, responseLocation: string, logger: Logger, correlationId: string): AuthorizeResponse;
4
4
  /**
5
5
  * Returns the interaction type that the response object belongs to
6
6
  */
@@ -1 +1 @@
1
- {"version":3,"file":"ResponseHandler.d.ts","sourceRoot":"","sources":["../../../src/response/ResponseHandler.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,OAAO,EACP,MAAM,EACN,iBAAiB,EAEpB,MAAM,4BAA4B,CAAC;AAMpC,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D,wBAAgB,mBAAmB,CAC/B,cAAc,EAAE,MAAM,EACtB,gBAAgB,EAAE,MAAM,EACxB,MAAM,EAAE,MAAM,GACf,iBAAiB,CAuBnB;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CACnC,QAAQ,EAAE,iBAAiB,EAC3B,aAAa,EAAE,OAAO,EACtB,eAAe,EAAE,eAAe,GACjC,IAAI,CAkBN"}
1
+ {"version":3,"file":"ResponseHandler.d.ts","sourceRoot":"","sources":["../../../src/response/ResponseHandler.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,OAAO,EACP,MAAM,EACN,iBAAiB,EAEpB,MAAM,4BAA4B,CAAC;AAMpC,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAE/D,wBAAgB,mBAAmB,CAC/B,cAAc,EAAE,MAAM,EACtB,gBAAgB,EAAE,MAAM,EACxB,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,MAAM,GACtB,iBAAiB,CA0BnB;AAED;;GAEG;AACH,wBAAgB,uBAAuB,CACnC,QAAQ,EAAE,iBAAiB,EAC3B,aAAa,EAAE,OAAO,EACtB,eAAe,EAAE,eAAe,GACjC,IAAI,CAkBN"}
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.24.0 2025-09-24 */
1
+ /*! @azure/msal-browser v5.0.0-alpha.0 2025-10-02 */
2
2
  'use strict';
3
3
  import { UrlUtils } from '@azure/msal-common/browser';
4
4
  import { createBrowserAuthError } from '../error/BrowserAuthError.mjs';
@@ -9,18 +9,18 @@ import { hashEmptyError, hashDoesNotContainKnownProperties, noStateInHash, unabl
9
9
  * Copyright (c) Microsoft Corporation. All rights reserved.
10
10
  * Licensed under the MIT License.
11
11
  */
12
- function deserializeResponse(responseString, responseLocation, logger) {
12
+ function deserializeResponse(responseString, responseLocation, logger, correlationId) {
13
13
  // Deserialize hash fragment response parameters.
14
14
  const serverParams = UrlUtils.getDeserializedResponse(responseString);
15
15
  if (!serverParams) {
16
16
  if (!UrlUtils.stripLeadingHashOrQuery(responseString)) {
17
17
  // Hash or Query string is empty
18
- logger.error(`The request has returned to the redirectUri but a ${responseLocation} is not present. It's likely that the ${responseLocation} has been removed or the page has been redirected by code running on the redirectUri page.`);
18
+ logger.error(`The request has returned to the redirectUri but a '${responseLocation}' is not present. It's likely that the '${responseLocation}' has been removed or the page has been redirected by code running on the redirectUri page.`, correlationId);
19
19
  throw createBrowserAuthError(hashEmptyError);
20
20
  }
21
21
  else {
22
- logger.error(`A ${responseLocation} is present in the iframe but it does not contain known properties. It's likely that the ${responseLocation} has been replaced by code running on the redirectUri page.`);
23
- logger.errorPii(`The ${responseLocation} detected is: ${responseString}`);
22
+ logger.error(`A '${responseLocation}' is present in the iframe but it does not contain known properties. It's likely that the '${responseLocation}' has been replaced by code running on the redirectUri page.`, correlationId);
23
+ logger.errorPii(`The '${responseLocation}' detected is: '${responseString}'`, correlationId);
24
24
  throw createBrowserAuthError(hashDoesNotContainKnownProperties);
25
25
  }
26
26
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ResponseHandler.mjs","sources":["../../../../src/response/ResponseHandler.ts"],"sourcesContent":[null],"names":["BrowserAuthErrorCodes.hashEmptyError","BrowserAuthErrorCodes.hashDoesNotContainKnownProperties","BrowserAuthErrorCodes.noStateInHash","BrowserAuthErrorCodes.unableToParseState","BrowserAuthErrorCodes.stateInteractionTypeMismatch"],"mappings":";;;;;;;AAAA;;;AAGG;SAea,mBAAmB,CAC/B,cAAsB,EACtB,gBAAwB,EACxB,MAAc,EAAA;;IAGd,MAAM,YAAY,GAAG,QAAQ,CAAC,uBAAuB,CAAC,cAAc,CAAC,CAAC;IACtE,IAAI,CAAC,YAAY,EAAE;AACf,QAAA,IAAI,CAAC,QAAQ,CAAC,uBAAuB,CAAC,cAAc,CAAC,EAAE;;YAEnD,MAAM,CAAC,KAAK,CACR,CAAA,kDAAA,EAAqD,gBAAgB,CAAyC,sCAAA,EAAA,gBAAgB,CAA4F,0FAAA,CAAA,CAC7N,CAAC;AACF,YAAA,MAAM,sBAAsB,CAACA,cAAoC,CAAC,CAAC;AACtE,SAAA;AAAM,aAAA;YACH,MAAM,CAAC,KAAK,CACR,CAAA,EAAA,EAAK,gBAAgB,CAA4F,yFAAA,EAAA,gBAAgB,CAA6D,2DAAA,CAAA,CACjM,CAAC;YACF,MAAM,CAAC,QAAQ,CACX,CAAA,IAAA,EAAO,gBAAgB,CAAiB,cAAA,EAAA,cAAc,CAAE,CAAA,CAC3D,CAAC;AACF,YAAA,MAAM,sBAAsB,CACxBC,iCAAuD,CAC1D,CAAC;AACL,SAAA;AACJ,KAAA;AACD,IAAA,OAAO,YAAY,CAAC;AACxB,CAAC;AAED;;AAEG;SACa,uBAAuB,CACnC,QAA2B,EAC3B,aAAsB,EACtB,eAAgC,EAAA;AAEhC,IAAA,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE;AACjB,QAAA,MAAM,sBAAsB,CAACC,aAAmC,CAAC,CAAC;AACrE,KAAA;IAED,MAAM,gBAAgB,GAAG,0BAA0B,CAC/C,aAAa,EACb,QAAQ,CAAC,KAAK,CACjB,CAAC;IACF,IAAI,CAAC,gBAAgB,EAAE;AACnB,QAAA,MAAM,sBAAsB,CAACC,kBAAwC,CAAC,CAAC;AAC1E,KAAA;AAED,IAAA,IAAI,gBAAgB,CAAC,eAAe,KAAK,eAAe,EAAE;AACtD,QAAA,MAAM,sBAAsB,CACxBC,4BAAkD,CACrD,CAAC;AACL,KAAA;AACL;;;;"}
1
+ {"version":3,"file":"ResponseHandler.mjs","sources":["../../../../src/response/ResponseHandler.ts"],"sourcesContent":[null],"names":["BrowserAuthErrorCodes.hashEmptyError","BrowserAuthErrorCodes.hashDoesNotContainKnownProperties","BrowserAuthErrorCodes.noStateInHash","BrowserAuthErrorCodes.unableToParseState","BrowserAuthErrorCodes.stateInteractionTypeMismatch"],"mappings":";;;;;;;AAAA;;;AAGG;AAeG,SAAU,mBAAmB,CAC/B,cAAsB,EACtB,gBAAwB,EACxB,MAAc,EACd,aAAqB,EAAA;;IAGrB,MAAM,YAAY,GAAG,QAAQ,CAAC,uBAAuB,CAAC,cAAc,CAAC,CAAC;IACtE,IAAI,CAAC,YAAY,EAAE;AACf,QAAA,IAAI,CAAC,QAAQ,CAAC,uBAAuB,CAAC,cAAc,CAAC,EAAE;;YAEnD,MAAM,CAAC,KAAK,CACR,CAAA,mDAAA,EAAsD,gBAAgB,CAAA,wCAAA,EAA2C,gBAAgB,CAAA,2FAAA,CAA6F,EAC9N,aAAa,CAChB,CAAC;AACF,YAAA,MAAM,sBAAsB,CAACA,cAAoC,CAAC,CAAC;AACtE,QAAA,CAAA;AAAM,aAAA;YACH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