@azure/msal-browser 4.24.1 → 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 (1259) 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 -303
  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 -303
  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 -13
  409. package/dist/custom-auth-path/error/NativeAuthError.mjs.map +1 -1
  410. package/dist/custom-auth-path/error/NativeAuthErrorCodes.d.ts +1 -1
  411. package/dist/custom-auth-path/error/NativeAuthErrorCodes.d.ts.map +1 -1
  412. package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +2 -3
  413. package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs.map +1 -1
  414. package/dist/custom-auth-path/error/NestedAppAuthError.d.ts +0 -9
  415. package/dist/custom-auth-path/error/NestedAppAuthError.d.ts.map +1 -1
  416. package/dist/custom-auth-path/event/EventHandler.d.ts.map +1 -1
  417. package/dist/custom-auth-path/event/EventHandler.mjs +9 -12
  418. package/dist/custom-auth-path/event/EventHandler.mjs.map +1 -1
  419. package/dist/custom-auth-path/event/EventMessage.d.ts.map +1 -1
  420. package/dist/custom-auth-path/event/EventType.d.ts +3 -10
  421. package/dist/custom-auth-path/event/EventType.d.ts.map +1 -1
  422. package/dist/custom-auth-path/event/EventType.mjs +4 -11
  423. package/dist/custom-auth-path/event/EventType.mjs.map +1 -1
  424. package/dist/custom-auth-path/index.d.ts +34 -6
  425. package/dist/custom-auth-path/index.d.ts.map +1 -1
  426. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.d.ts +50 -32
  427. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.d.ts.map +1 -1
  428. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +116 -97
  429. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs.map +1 -1
  430. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +2 -2
  431. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -1
  432. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +3 -3
  433. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs.map +1 -1
  434. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts +5 -3
  435. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  436. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +71 -85
  437. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
  438. package/dist/custom-auth-path/interaction_client/PopupClient.d.ts +2 -14
  439. package/dist/custom-auth-path/interaction_client/PopupClient.d.ts.map +1 -1
  440. package/dist/custom-auth-path/interaction_client/PopupClient.mjs +64 -153
  441. package/dist/custom-auth-path/interaction_client/PopupClient.mjs.map +1 -1
  442. package/dist/custom-auth-path/interaction_client/RedirectClient.d.ts +8 -9
  443. package/dist/custom-auth-path/interaction_client/RedirectClient.d.ts.map +1 -1
  444. package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +103 -112
  445. package/dist/custom-auth-path/interaction_client/RedirectClient.mjs.map +1 -1
  446. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.d.ts +1 -1
  447. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.d.ts.map +1 -1
  448. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +17 -10
  449. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs.map +1 -1
  450. package/dist/custom-auth-path/interaction_client/SilentCacheClient.d.ts.map +1 -1
  451. package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +11 -10
  452. package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs.map +1 -1
  453. package/dist/custom-auth-path/interaction_client/SilentIframeClient.d.ts +1 -1
  454. package/dist/custom-auth-path/interaction_client/SilentIframeClient.d.ts.map +1 -1
  455. package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +38 -49
  456. package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs.map +1 -1
  457. package/dist/custom-auth-path/interaction_client/SilentRefreshClient.d.ts.map +1 -1
  458. package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +9 -8
  459. package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs.map +1 -1
  460. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.d.ts +17 -7
  461. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.d.ts.map +1 -1
  462. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +55 -63
  463. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs.map +1 -1
  464. package/dist/custom-auth-path/interaction_handler/InteractionHandler.d.ts +2 -3
  465. package/dist/custom-auth-path/interaction_handler/InteractionHandler.d.ts.map +1 -1
  466. package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +8 -10
  467. package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs.map +1 -1
  468. package/dist/custom-auth-path/interaction_handler/SilentHandler.d.ts +3 -4
  469. package/dist/custom-auth-path/interaction_handler/SilentHandler.d.ts.map +1 -1
  470. package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +11 -48
  471. package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs.map +1 -1
  472. package/dist/custom-auth-path/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -1
  473. package/dist/custom-auth-path/navigation/NavigationClient.mjs +1 -1
  474. package/dist/custom-auth-path/navigation/NavigationClient.mjs.map +1 -1
  475. package/dist/custom-auth-path/network/FetchClient.mjs +1 -1
  476. package/dist/custom-auth-path/network/FetchClient.mjs.map +1 -1
  477. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.d.ts +2 -1
  478. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.d.ts.map +1 -1
  479. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +1 -1
  480. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs.map +1 -1
  481. package/dist/custom-auth-path/operatingcontext/NestedAppOperatingContext.d.ts +2 -1
  482. package/dist/custom-auth-path/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -1
  483. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.d.ts +1 -1
  484. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.d.ts.map +1 -1
  485. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +3 -2
  486. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs.map +1 -1
  487. package/dist/custom-auth-path/packageMetadata.d.ts +1 -1
  488. package/dist/custom-auth-path/packageMetadata.d.ts.map +1 -1
  489. package/dist/custom-auth-path/packageMetadata.mjs +2 -2
  490. package/dist/custom-auth-path/protocol/Authorize.d.ts +0 -4
  491. package/dist/custom-auth-path/protocol/Authorize.d.ts.map +1 -1
  492. package/dist/custom-auth-path/protocol/Authorize.mjs +20 -36
  493. package/dist/custom-auth-path/protocol/Authorize.mjs.map +1 -1
  494. package/dist/custom-auth-path/request/AuthorizationCodeRequest.d.ts +1 -1
  495. package/dist/custom-auth-path/request/AuthorizationCodeRequest.d.ts.map +1 -1
  496. package/dist/custom-auth-path/request/PopupRequest.d.ts +1 -1
  497. package/dist/custom-auth-path/request/PopupRequest.d.ts.map +1 -1
  498. package/dist/custom-auth-path/request/RedirectRequest.d.ts +1 -8
  499. package/dist/custom-auth-path/request/RedirectRequest.d.ts.map +1 -1
  500. package/dist/custom-auth-path/request/RequestHelpers.d.ts +6 -12
  501. package/dist/custom-auth-path/request/RequestHelpers.d.ts.map +1 -1
  502. package/dist/custom-auth-path/request/RequestHelpers.mjs +16 -48
  503. package/dist/custom-auth-path/request/RequestHelpers.mjs.map +1 -1
  504. package/dist/custom-auth-path/request/SilentRequest.d.ts +1 -1
  505. package/dist/custom-auth-path/request/SilentRequest.d.ts.map +1 -1
  506. package/dist/custom-auth-path/request/SsoSilentRequest.d.ts +1 -1
  507. package/dist/custom-auth-path/request/SsoSilentRequest.d.ts.map +1 -1
  508. package/dist/custom-auth-path/response/ResponseHandler.d.ts +1 -1
  509. package/dist/custom-auth-path/response/ResponseHandler.d.ts.map +1 -1
  510. package/dist/custom-auth-path/response/ResponseHandler.mjs +5 -5
  511. package/dist/custom-auth-path/response/ResponseHandler.mjs.map +1 -1
  512. package/dist/custom-auth-path/telemetry/BrowserPerformanceClient.d.ts +2 -19
  513. package/dist/custom-auth-path/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
  514. package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.d.ts +131 -0
  515. package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.d.ts.map +1 -0
  516. package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.mjs +126 -0
  517. package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.mjs.map +1 -0
  518. package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.d.ts +35 -0
  519. package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -0
  520. package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.mjs +45 -0
  521. package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.mjs.map +1 -0
  522. package/dist/custom-auth-path/utils/BrowserConstants.d.ts +0 -8
  523. package/dist/custom-auth-path/utils/BrowserConstants.d.ts.map +1 -1
  524. package/dist/custom-auth-path/utils/BrowserConstants.mjs +3 -3
  525. package/dist/custom-auth-path/utils/BrowserConstants.mjs.map +1 -1
  526. package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +1 -1
  527. package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs.map +1 -1
  528. package/dist/custom-auth-path/utils/BrowserUtils.d.ts.map +1 -1
  529. package/dist/custom-auth-path/utils/BrowserUtils.mjs +5 -6
  530. package/dist/custom-auth-path/utils/BrowserUtils.mjs.map +1 -1
  531. package/dist/custom-auth-path/utils/Helpers.mjs +1 -1
  532. package/dist/custom-auth-path/utils/Helpers.mjs.map +1 -1
  533. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.d.ts +1 -1
  534. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.d.ts.map +1 -1
  535. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +3 -3
  536. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs.map +1 -1
  537. package/dist/custom-auth-path/utils/PopupUtils.d.ts +33 -0
  538. package/dist/custom-auth-path/utils/PopupUtils.d.ts.map +1 -0
  539. package/dist/custom-auth-path/utils/PopupUtils.mjs +90 -0
  540. package/dist/custom-auth-path/utils/PopupUtils.mjs.map +1 -0
  541. package/dist/custom_auth/CustomAuthConstants.d.ts +2 -3
  542. package/dist/custom_auth/CustomAuthConstants.d.ts.map +1 -1
  543. package/dist/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  544. package/dist/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -1
  545. package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +1 -2
  546. package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  547. package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +0 -5
  548. package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -1
  549. package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -1
  550. package/dist/custom_auth/core/interaction_client/jit/JitClient.d.ts +8 -2
  551. package/dist/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
  552. package/dist/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +1 -0
  553. package/dist/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -1
  554. package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +11 -2
  555. package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -1
  556. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +0 -1
  557. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
  558. package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +2 -7
  559. package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  560. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +0 -5
  561. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
  562. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +1 -5
  563. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
  564. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +0 -1
  565. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
  566. package/dist/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -1
  567. package/dist/custom_auth/core/telemetry/PublicApiId.d.ts +3 -4
  568. package/dist/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
  569. package/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -1
  570. package/dist/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -1
  571. package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
  572. package/dist/custom_auth/sign_in/interaction_client/SignInClient.d.ts +6 -8
  573. package/dist/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  574. package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +0 -6
  575. package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
  576. package/dist/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -1
  577. package/dist/encode/Base64Decode.mjs +1 -1
  578. package/dist/encode/Base64Encode.mjs +1 -1
  579. package/dist/error/BrowserAuthError.d.ts +1 -246
  580. package/dist/error/BrowserAuthError.d.ts.map +1 -1
  581. package/dist/error/BrowserAuthError.mjs +6 -253
  582. package/dist/error/BrowserAuthError.mjs.map +1 -1
  583. package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
  584. package/dist/error/BrowserConfigurationAuthError.d.ts +0 -23
  585. package/dist/error/BrowserConfigurationAuthError.d.ts.map +1 -1
  586. package/dist/error/BrowserConfigurationAuthError.mjs +4 -29
  587. package/dist/error/BrowserConfigurationAuthError.mjs.map +1 -1
  588. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  589. package/dist/error/NativeAuthError.d.ts +0 -3
  590. package/dist/error/NativeAuthError.d.ts.map +1 -1
  591. package/dist/error/NativeAuthError.mjs +10 -13
  592. package/dist/error/NativeAuthError.mjs.map +1 -1
  593. package/dist/error/NativeAuthErrorCodes.d.ts +1 -1
  594. package/dist/error/NativeAuthErrorCodes.d.ts.map +1 -1
  595. package/dist/error/NativeAuthErrorCodes.mjs +4 -4
  596. package/dist/error/NativeAuthErrorCodes.mjs.map +1 -1
  597. package/dist/error/NestedAppAuthError.d.ts +0 -9
  598. package/dist/error/NestedAppAuthError.d.ts.map +1 -1
  599. package/dist/error/NestedAppAuthError.mjs +4 -12
  600. package/dist/error/NestedAppAuthError.mjs.map +1 -1
  601. package/dist/event/EventHandler.d.ts.map +1 -1
  602. package/dist/event/EventHandler.mjs +9 -12
  603. package/dist/event/EventHandler.mjs.map +1 -1
  604. package/dist/event/EventMessage.d.ts.map +1 -1
  605. package/dist/event/EventMessage.mjs +2 -17
  606. package/dist/event/EventMessage.mjs.map +1 -1
  607. package/dist/event/EventType.d.ts +3 -10
  608. package/dist/event/EventType.d.ts.map +1 -1
  609. package/dist/event/EventType.mjs +4 -11
  610. package/dist/event/EventType.mjs.map +1 -1
  611. package/dist/index.d.ts +34 -6
  612. package/dist/index.d.ts.map +1 -1
  613. package/dist/index.mjs +25 -6
  614. package/dist/index.mjs.map +1 -1
  615. package/dist/interaction_client/BaseInteractionClient.d.ts +50 -32
  616. package/dist/interaction_client/BaseInteractionClient.d.ts.map +1 -1
  617. package/dist/interaction_client/BaseInteractionClient.mjs +116 -97
  618. package/dist/interaction_client/BaseInteractionClient.mjs.map +1 -1
  619. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +2 -2
  620. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -1
  621. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +3 -3
  622. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs.map +1 -1
  623. package/dist/interaction_client/PlatformAuthInteractionClient.d.ts +5 -3
  624. package/dist/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  625. package/dist/interaction_client/PlatformAuthInteractionClient.mjs +71 -85
  626. package/dist/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
  627. package/dist/interaction_client/PopupClient.d.ts +2 -14
  628. package/dist/interaction_client/PopupClient.d.ts.map +1 -1
  629. package/dist/interaction_client/PopupClient.mjs +64 -153
  630. package/dist/interaction_client/PopupClient.mjs.map +1 -1
  631. package/dist/interaction_client/RedirectClient.d.ts +8 -9
  632. package/dist/interaction_client/RedirectClient.d.ts.map +1 -1
  633. package/dist/interaction_client/RedirectClient.mjs +103 -112
  634. package/dist/interaction_client/RedirectClient.mjs.map +1 -1
  635. package/dist/interaction_client/SilentAuthCodeClient.d.ts +1 -1
  636. package/dist/interaction_client/SilentAuthCodeClient.d.ts.map +1 -1
  637. package/dist/interaction_client/SilentAuthCodeClient.mjs +17 -10
  638. package/dist/interaction_client/SilentAuthCodeClient.mjs.map +1 -1
  639. package/dist/interaction_client/SilentCacheClient.d.ts.map +1 -1
  640. package/dist/interaction_client/SilentCacheClient.mjs +11 -10
  641. package/dist/interaction_client/SilentCacheClient.mjs.map +1 -1
  642. package/dist/interaction_client/SilentIframeClient.d.ts +1 -1
  643. package/dist/interaction_client/SilentIframeClient.d.ts.map +1 -1
  644. package/dist/interaction_client/SilentIframeClient.mjs +38 -49
  645. package/dist/interaction_client/SilentIframeClient.mjs.map +1 -1
  646. package/dist/interaction_client/SilentRefreshClient.d.ts.map +1 -1
  647. package/dist/interaction_client/SilentRefreshClient.mjs +9 -8
  648. package/dist/interaction_client/SilentRefreshClient.mjs.map +1 -1
  649. package/dist/interaction_client/StandardInteractionClient.d.ts +17 -7
  650. package/dist/interaction_client/StandardInteractionClient.d.ts.map +1 -1
  651. package/dist/interaction_client/StandardInteractionClient.mjs +55 -63
  652. package/dist/interaction_client/StandardInteractionClient.mjs.map +1 -1
  653. package/dist/interaction_handler/InteractionHandler.d.ts +2 -3
  654. package/dist/interaction_handler/InteractionHandler.d.ts.map +1 -1
  655. package/dist/interaction_handler/InteractionHandler.mjs +8 -10
  656. package/dist/interaction_handler/InteractionHandler.mjs.map +1 -1
  657. package/dist/interaction_handler/SilentHandler.d.ts +3 -4
  658. package/dist/interaction_handler/SilentHandler.d.ts.map +1 -1
  659. package/dist/interaction_handler/SilentHandler.mjs +11 -48
  660. package/dist/interaction_handler/SilentHandler.mjs.map +1 -1
  661. package/dist/naa/BridgeError.mjs +1 -1
  662. package/dist/naa/BridgeProxy.mjs +1 -1
  663. package/dist/naa/BridgeProxy.mjs.map +1 -1
  664. package/dist/naa/BridgeStatusCode.mjs +1 -1
  665. package/dist/naa/BridgeStatusCode.mjs.map +1 -1
  666. package/dist/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -1
  667. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +9 -6
  668. package/dist/naa/mapping/NestedAppAuthAdapter.mjs.map +1 -1
  669. package/dist/navigation/NavigationClient.mjs +1 -1
  670. package/dist/navigation/NavigationClient.mjs.map +1 -1
  671. package/dist/network/FetchClient.mjs +1 -1
  672. package/dist/network/FetchClient.mjs.map +1 -1
  673. package/dist/operatingcontext/BaseOperatingContext.d.ts +2 -1
  674. package/dist/operatingcontext/BaseOperatingContext.d.ts.map +1 -1
  675. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  676. package/dist/operatingcontext/BaseOperatingContext.mjs.map +1 -1
  677. package/dist/operatingcontext/NestedAppOperatingContext.d.ts +2 -1
  678. package/dist/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -1
  679. package/dist/operatingcontext/NestedAppOperatingContext.mjs +5 -4
  680. package/dist/operatingcontext/NestedAppOperatingContext.mjs.map +1 -1
  681. package/dist/operatingcontext/StandardOperatingContext.d.ts +1 -1
  682. package/dist/operatingcontext/StandardOperatingContext.d.ts.map +1 -1
  683. package/dist/operatingcontext/StandardOperatingContext.mjs +3 -2
  684. package/dist/operatingcontext/StandardOperatingContext.mjs.map +1 -1
  685. package/dist/operatingcontext/UnknownOperatingContext.mjs +1 -1
  686. package/dist/operatingcontext/UnknownOperatingContext.mjs.map +1 -1
  687. package/dist/packageMetadata.d.ts +1 -1
  688. package/dist/packageMetadata.d.ts.map +1 -1
  689. package/dist/packageMetadata.mjs +2 -2
  690. package/dist/protocol/Authorize.d.ts +0 -4
  691. package/dist/protocol/Authorize.d.ts.map +1 -1
  692. package/dist/protocol/Authorize.mjs +20 -36
  693. package/dist/protocol/Authorize.mjs.map +1 -1
  694. package/dist/request/AuthorizationCodeRequest.d.ts +1 -1
  695. package/dist/request/AuthorizationCodeRequest.d.ts.map +1 -1
  696. package/dist/request/PopupRequest.d.ts +1 -1
  697. package/dist/request/PopupRequest.d.ts.map +1 -1
  698. package/dist/request/RedirectRequest.d.ts +1 -8
  699. package/dist/request/RedirectRequest.d.ts.map +1 -1
  700. package/dist/request/RequestHelpers.d.ts +6 -12
  701. package/dist/request/RequestHelpers.d.ts.map +1 -1
  702. package/dist/request/RequestHelpers.mjs +16 -48
  703. package/dist/request/RequestHelpers.mjs.map +1 -1
  704. package/dist/request/SilentRequest.d.ts +1 -1
  705. package/dist/request/SilentRequest.d.ts.map +1 -1
  706. package/dist/request/SsoSilentRequest.d.ts +1 -1
  707. package/dist/request/SsoSilentRequest.d.ts.map +1 -1
  708. package/dist/response/ResponseHandler.d.ts +1 -1
  709. package/dist/response/ResponseHandler.d.ts.map +1 -1
  710. package/dist/response/ResponseHandler.mjs +5 -5
  711. package/dist/response/ResponseHandler.mjs.map +1 -1
  712. package/dist/telemetry/BrowserPerformanceClient.d.ts +2 -19
  713. package/dist/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
  714. package/dist/telemetry/BrowserPerformanceClient.mjs +5 -60
  715. package/dist/telemetry/BrowserPerformanceClient.mjs.map +1 -1
  716. package/dist/telemetry/BrowserPerformanceEvents.d.ts +131 -0
  717. package/dist/telemetry/BrowserPerformanceEvents.d.ts.map +1 -0
  718. package/dist/telemetry/BrowserPerformanceEvents.mjs +126 -0
  719. package/dist/telemetry/BrowserPerformanceEvents.mjs.map +1 -0
  720. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  721. package/dist/telemetry/BrowserPerformanceMeasurement.mjs.map +1 -1
  722. package/dist/telemetry/BrowserRootPerformanceEvents.d.ts +35 -0
  723. package/dist/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -0
  724. package/dist/telemetry/BrowserRootPerformanceEvents.mjs +45 -0
  725. package/dist/telemetry/BrowserRootPerformanceEvents.mjs.map +1 -0
  726. package/dist/utils/BrowserConstants.d.ts +0 -8
  727. package/dist/utils/BrowserConstants.d.ts.map +1 -1
  728. package/dist/utils/BrowserConstants.mjs +3 -11
  729. package/dist/utils/BrowserConstants.mjs.map +1 -1
  730. package/dist/utils/BrowserProtocolUtils.mjs +1 -1
  731. package/dist/utils/BrowserProtocolUtils.mjs.map +1 -1
  732. package/dist/utils/BrowserUtils.d.ts.map +1 -1
  733. package/dist/utils/BrowserUtils.mjs +5 -6
  734. package/dist/utils/BrowserUtils.mjs.map +1 -1
  735. package/dist/utils/Helpers.mjs +1 -1
  736. package/dist/utils/Helpers.mjs.map +1 -1
  737. package/dist/utils/MsalFrameStatsUtils.d.ts +1 -1
  738. package/dist/utils/MsalFrameStatsUtils.d.ts.map +1 -1
  739. package/dist/utils/MsalFrameStatsUtils.mjs +3 -3
  740. package/dist/utils/MsalFrameStatsUtils.mjs.map +1 -1
  741. package/dist/utils/PopupUtils.d.ts +33 -0
  742. package/dist/utils/PopupUtils.d.ts.map +1 -0
  743. package/dist/utils/PopupUtils.mjs +90 -0
  744. package/dist/utils/PopupUtils.mjs.map +1 -0
  745. package/lib/custom-auth-path/msal-custom-auth.cjs +2541 -3596
  746. package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
  747. package/lib/custom-auth-path/types/app/IPublicClientApplication.d.ts +2 -9
  748. package/lib/custom-auth-path/types/app/IPublicClientApplication.d.ts.map +1 -1
  749. package/lib/custom-auth-path/types/app/PublicClientApplication.d.ts +3 -49
  750. package/lib/custom-auth-path/types/app/PublicClientApplication.d.ts.map +1 -1
  751. package/lib/custom-auth-path/types/app/PublicClientNext.d.ts +2 -49
  752. package/lib/custom-auth-path/types/app/PublicClientNext.d.ts.map +1 -1
  753. package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -1
  754. package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +1 -1
  755. package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -1
  756. package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthProvider.d.ts +4 -2
  757. package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
  758. package/lib/custom-auth-path/types/cache/AccountManager.d.ts.map +1 -1
  759. package/lib/custom-auth-path/types/cache/AsyncMemoryStorage.d.ts +14 -7
  760. package/lib/custom-auth-path/types/cache/AsyncMemoryStorage.d.ts.map +1 -1
  761. package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts +22 -25
  762. package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts.map +1 -1
  763. package/lib/custom-auth-path/types/cache/IAsyncStorage.d.ts +10 -5
  764. package/lib/custom-auth-path/types/cache/IAsyncStorage.d.ts.map +1 -1
  765. package/lib/custom-auth-path/types/cache/LocalStorage.d.ts.map +1 -1
  766. package/lib/custom-auth-path/types/cache/TokenCache.d.ts +8 -68
  767. package/lib/custom-auth-path/types/cache/TokenCache.d.ts.map +1 -1
  768. package/lib/custom-auth-path/types/config/Configuration.d.ts +6 -55
  769. package/lib/custom-auth-path/types/config/Configuration.d.ts.map +1 -1
  770. package/lib/custom-auth-path/types/controllers/ControllerFactory.d.ts +1 -1
  771. package/lib/custom-auth-path/types/controllers/ControllerFactory.d.ts.map +1 -1
  772. package/lib/custom-auth-path/types/controllers/IController.d.ts +5 -6
  773. package/lib/custom-auth-path/types/controllers/IController.d.ts.map +1 -1
  774. package/lib/custom-auth-path/types/controllers/NestedAppAuthController.d.ts +4 -9
  775. package/lib/custom-auth-path/types/controllers/NestedAppAuthController.d.ts.map +1 -1
  776. package/lib/custom-auth-path/types/controllers/StandardController.d.ts +9 -30
  777. package/lib/custom-auth-path/types/controllers/StandardController.d.ts.map +1 -1
  778. package/lib/custom-auth-path/types/controllers/UnknownOperatingContextController.d.ts +4 -8
  779. package/lib/custom-auth-path/types/controllers/UnknownOperatingContextController.d.ts.map +1 -1
  780. package/lib/custom-auth-path/types/crypto/BrowserCrypto.d.ts +1 -2
  781. package/lib/custom-auth-path/types/crypto/BrowserCrypto.d.ts.map +1 -1
  782. package/lib/custom-auth-path/types/crypto/CryptoOps.d.ts +4 -2
  783. package/lib/custom-auth-path/types/crypto/CryptoOps.d.ts.map +1 -1
  784. package/lib/custom-auth-path/types/crypto/PkceGenerator.d.ts.map +1 -1
  785. package/lib/custom-auth-path/types/crypto/SignedHttpRequest.d.ts +2 -1
  786. package/lib/custom-auth-path/types/crypto/SignedHttpRequest.d.ts.map +1 -1
  787. package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +2 -3
  788. package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts.map +1 -1
  789. package/lib/custom-auth-path/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  790. package/lib/custom-auth-path/types/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -1
  791. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +1 -2
  792. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  793. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +0 -5
  794. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -1
  795. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -1
  796. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/JitClient.d.ts +8 -2
  797. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
  798. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +1 -0
  799. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -1
  800. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +11 -2
  801. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -1
  802. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +0 -1
  803. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
  804. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +2 -7
  805. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  806. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +0 -5
  807. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
  808. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +1 -5
  809. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
  810. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +0 -1
  811. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
  812. package/lib/custom-auth-path/types/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -1
  813. package/lib/custom-auth-path/types/custom_auth/core/telemetry/PublicApiId.d.ts +3 -4
  814. package/lib/custom-auth-path/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
  815. package/lib/custom-auth-path/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -1
  816. package/lib/custom-auth-path/types/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -1
  817. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
  818. package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts +6 -8
  819. package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  820. package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +0 -6
  821. package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
  822. package/lib/custom-auth-path/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -1
  823. package/lib/custom-auth-path/types/error/BrowserAuthError.d.ts +1 -246
  824. package/lib/custom-auth-path/types/error/BrowserAuthError.d.ts.map +1 -1
  825. package/lib/custom-auth-path/types/error/BrowserConfigurationAuthError.d.ts +0 -23
  826. package/lib/custom-auth-path/types/error/BrowserConfigurationAuthError.d.ts.map +1 -1
  827. package/lib/custom-auth-path/types/error/NativeAuthError.d.ts +0 -3
  828. package/lib/custom-auth-path/types/error/NativeAuthError.d.ts.map +1 -1
  829. package/lib/custom-auth-path/types/error/NativeAuthErrorCodes.d.ts +1 -1
  830. package/lib/custom-auth-path/types/error/NativeAuthErrorCodes.d.ts.map +1 -1
  831. package/lib/custom-auth-path/types/error/NestedAppAuthError.d.ts +0 -9
  832. package/lib/custom-auth-path/types/error/NestedAppAuthError.d.ts.map +1 -1
  833. package/lib/custom-auth-path/types/event/EventHandler.d.ts.map +1 -1
  834. package/lib/custom-auth-path/types/event/EventMessage.d.ts.map +1 -1
  835. package/lib/custom-auth-path/types/event/EventType.d.ts +3 -10
  836. package/lib/custom-auth-path/types/event/EventType.d.ts.map +1 -1
  837. package/lib/custom-auth-path/types/index.d.ts +34 -6
  838. package/lib/custom-auth-path/types/index.d.ts.map +1 -1
  839. package/lib/custom-auth-path/types/interaction_client/BaseInteractionClient.d.ts +50 -32
  840. package/lib/custom-auth-path/types/interaction_client/BaseInteractionClient.d.ts.map +1 -1
  841. package/lib/custom-auth-path/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +2 -2
  842. package/lib/custom-auth-path/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -1
  843. package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts +5 -3
  844. package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  845. package/lib/custom-auth-path/types/interaction_client/PopupClient.d.ts +2 -14
  846. package/lib/custom-auth-path/types/interaction_client/PopupClient.d.ts.map +1 -1
  847. package/lib/custom-auth-path/types/interaction_client/RedirectClient.d.ts +8 -9
  848. package/lib/custom-auth-path/types/interaction_client/RedirectClient.d.ts.map +1 -1
  849. package/lib/custom-auth-path/types/interaction_client/SilentAuthCodeClient.d.ts +1 -1
  850. package/lib/custom-auth-path/types/interaction_client/SilentAuthCodeClient.d.ts.map +1 -1
  851. package/lib/custom-auth-path/types/interaction_client/SilentCacheClient.d.ts.map +1 -1
  852. package/lib/custom-auth-path/types/interaction_client/SilentIframeClient.d.ts +1 -1
  853. package/lib/custom-auth-path/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
  854. package/lib/custom-auth-path/types/interaction_client/SilentRefreshClient.d.ts.map +1 -1
  855. package/lib/custom-auth-path/types/interaction_client/StandardInteractionClient.d.ts +17 -7
  856. package/lib/custom-auth-path/types/interaction_client/StandardInteractionClient.d.ts.map +1 -1
  857. package/lib/custom-auth-path/types/interaction_handler/InteractionHandler.d.ts +2 -3
  858. package/lib/custom-auth-path/types/interaction_handler/InteractionHandler.d.ts.map +1 -1
  859. package/lib/custom-auth-path/types/interaction_handler/SilentHandler.d.ts +3 -4
  860. package/lib/custom-auth-path/types/interaction_handler/SilentHandler.d.ts.map +1 -1
  861. package/lib/custom-auth-path/types/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -1
  862. package/lib/custom-auth-path/types/operatingcontext/BaseOperatingContext.d.ts +2 -1
  863. package/lib/custom-auth-path/types/operatingcontext/BaseOperatingContext.d.ts.map +1 -1
  864. package/lib/custom-auth-path/types/operatingcontext/NestedAppOperatingContext.d.ts +2 -1
  865. package/lib/custom-auth-path/types/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -1
  866. package/lib/custom-auth-path/types/operatingcontext/StandardOperatingContext.d.ts +1 -1
  867. package/lib/custom-auth-path/types/operatingcontext/StandardOperatingContext.d.ts.map +1 -1
  868. package/lib/custom-auth-path/types/packageMetadata.d.ts +1 -1
  869. package/lib/custom-auth-path/types/packageMetadata.d.ts.map +1 -1
  870. package/lib/custom-auth-path/types/protocol/Authorize.d.ts +0 -4
  871. package/lib/custom-auth-path/types/protocol/Authorize.d.ts.map +1 -1
  872. package/lib/custom-auth-path/types/request/AuthorizationCodeRequest.d.ts +1 -1
  873. package/lib/custom-auth-path/types/request/AuthorizationCodeRequest.d.ts.map +1 -1
  874. package/lib/custom-auth-path/types/request/PopupRequest.d.ts +1 -1
  875. package/lib/custom-auth-path/types/request/PopupRequest.d.ts.map +1 -1
  876. package/lib/custom-auth-path/types/request/RedirectRequest.d.ts +1 -8
  877. package/lib/custom-auth-path/types/request/RedirectRequest.d.ts.map +1 -1
  878. package/lib/custom-auth-path/types/request/RequestHelpers.d.ts +6 -12
  879. package/lib/custom-auth-path/types/request/RequestHelpers.d.ts.map +1 -1
  880. package/lib/custom-auth-path/types/request/SilentRequest.d.ts +1 -1
  881. package/lib/custom-auth-path/types/request/SilentRequest.d.ts.map +1 -1
  882. package/lib/custom-auth-path/types/request/SsoSilentRequest.d.ts +1 -1
  883. package/lib/custom-auth-path/types/request/SsoSilentRequest.d.ts.map +1 -1
  884. package/lib/custom-auth-path/types/response/ResponseHandler.d.ts +1 -1
  885. package/lib/custom-auth-path/types/response/ResponseHandler.d.ts.map +1 -1
  886. package/lib/custom-auth-path/types/telemetry/BrowserPerformanceClient.d.ts +2 -19
  887. package/lib/custom-auth-path/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
  888. package/lib/custom-auth-path/types/telemetry/BrowserPerformanceEvents.d.ts +131 -0
  889. package/lib/custom-auth-path/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -0
  890. package/lib/custom-auth-path/types/telemetry/BrowserRootPerformanceEvents.d.ts +35 -0
  891. package/lib/custom-auth-path/types/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -0
  892. package/lib/custom-auth-path/types/utils/BrowserConstants.d.ts +0 -8
  893. package/lib/custom-auth-path/types/utils/BrowserConstants.d.ts.map +1 -1
  894. package/lib/custom-auth-path/types/utils/BrowserUtils.d.ts.map +1 -1
  895. package/lib/custom-auth-path/types/utils/MsalFrameStatsUtils.d.ts +1 -1
  896. package/lib/custom-auth-path/types/utils/MsalFrameStatsUtils.d.ts.map +1 -1
  897. package/lib/custom-auth-path/types/utils/PopupUtils.d.ts +33 -0
  898. package/lib/custom-auth-path/types/utils/PopupUtils.d.ts.map +1 -0
  899. package/lib/msal-browser.cjs +2923 -4758
  900. package/lib/msal-browser.cjs.map +1 -1
  901. package/lib/msal-browser.js +2923 -4758
  902. package/lib/msal-browser.js.map +1 -1
  903. package/lib/msal-browser.min.js +74 -67
  904. package/lib/types/app/IPublicClientApplication.d.ts +2 -9
  905. package/lib/types/app/IPublicClientApplication.d.ts.map +1 -1
  906. package/lib/types/app/PublicClientApplication.d.ts +3 -49
  907. package/lib/types/app/PublicClientApplication.d.ts.map +1 -1
  908. package/lib/types/app/PublicClientNext.d.ts +2 -49
  909. package/lib/types/app/PublicClientNext.d.ts.map +1 -1
  910. package/lib/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -1
  911. package/lib/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +1 -1
  912. package/lib/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -1
  913. package/lib/types/broker/nativeBroker/PlatformAuthProvider.d.ts +4 -2
  914. package/lib/types/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
  915. package/lib/types/cache/AccountManager.d.ts.map +1 -1
  916. package/lib/types/cache/AsyncMemoryStorage.d.ts +14 -7
  917. package/lib/types/cache/AsyncMemoryStorage.d.ts.map +1 -1
  918. package/lib/types/cache/BrowserCacheManager.d.ts +22 -25
  919. package/lib/types/cache/BrowserCacheManager.d.ts.map +1 -1
  920. package/lib/types/cache/IAsyncStorage.d.ts +10 -5
  921. package/lib/types/cache/IAsyncStorage.d.ts.map +1 -1
  922. package/lib/types/cache/LocalStorage.d.ts.map +1 -1
  923. package/lib/types/cache/TokenCache.d.ts +8 -68
  924. package/lib/types/cache/TokenCache.d.ts.map +1 -1
  925. package/lib/types/config/Configuration.d.ts +6 -55
  926. package/lib/types/config/Configuration.d.ts.map +1 -1
  927. package/lib/types/controllers/ControllerFactory.d.ts +1 -1
  928. package/lib/types/controllers/ControllerFactory.d.ts.map +1 -1
  929. package/lib/types/controllers/IController.d.ts +5 -6
  930. package/lib/types/controllers/IController.d.ts.map +1 -1
  931. package/lib/types/controllers/NestedAppAuthController.d.ts +4 -9
  932. package/lib/types/controllers/NestedAppAuthController.d.ts.map +1 -1
  933. package/lib/types/controllers/StandardController.d.ts +9 -30
  934. package/lib/types/controllers/StandardController.d.ts.map +1 -1
  935. package/lib/types/controllers/UnknownOperatingContextController.d.ts +4 -8
  936. package/lib/types/controllers/UnknownOperatingContextController.d.ts.map +1 -1
  937. package/lib/types/crypto/BrowserCrypto.d.ts +1 -2
  938. package/lib/types/crypto/BrowserCrypto.d.ts.map +1 -1
  939. package/lib/types/crypto/CryptoOps.d.ts +4 -2
  940. package/lib/types/crypto/CryptoOps.d.ts.map +1 -1
  941. package/lib/types/crypto/PkceGenerator.d.ts.map +1 -1
  942. package/lib/types/crypto/SignedHttpRequest.d.ts +2 -1
  943. package/lib/types/crypto/SignedHttpRequest.d.ts.map +1 -1
  944. package/lib/types/custom_auth/CustomAuthConstants.d.ts +2 -3
  945. package/lib/types/custom_auth/CustomAuthConstants.d.ts.map +1 -1
  946. package/lib/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  947. package/lib/types/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -1
  948. package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +1 -2
  949. package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  950. package/lib/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +0 -5
  951. package/lib/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -1
  952. package/lib/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -1
  953. package/lib/types/custom_auth/core/interaction_client/jit/JitClient.d.ts +8 -2
  954. package/lib/types/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
  955. package/lib/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +1 -0
  956. package/lib/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -1
  957. package/lib/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +11 -2
  958. package/lib/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -1
  959. package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +0 -1
  960. package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
  961. package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +2 -7
  962. package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  963. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +0 -5
  964. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
  965. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +1 -5
  966. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
  967. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +0 -1
  968. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
  969. package/lib/types/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -1
  970. package/lib/types/custom_auth/core/telemetry/PublicApiId.d.ts +3 -4
  971. package/lib/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
  972. package/lib/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -1
  973. package/lib/types/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -1
  974. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
  975. package/lib/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts +6 -8
  976. package/lib/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  977. package/lib/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +0 -6
  978. package/lib/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
  979. package/lib/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -1
  980. package/lib/types/error/BrowserAuthError.d.ts +1 -246
  981. package/lib/types/error/BrowserAuthError.d.ts.map +1 -1
  982. package/lib/types/error/BrowserConfigurationAuthError.d.ts +0 -23
  983. package/lib/types/error/BrowserConfigurationAuthError.d.ts.map +1 -1
  984. package/lib/types/error/NativeAuthError.d.ts +0 -3
  985. package/lib/types/error/NativeAuthError.d.ts.map +1 -1
  986. package/lib/types/error/NativeAuthErrorCodes.d.ts +1 -1
  987. package/lib/types/error/NativeAuthErrorCodes.d.ts.map +1 -1
  988. package/lib/types/error/NestedAppAuthError.d.ts +0 -9
  989. package/lib/types/error/NestedAppAuthError.d.ts.map +1 -1
  990. package/lib/types/event/EventHandler.d.ts.map +1 -1
  991. package/lib/types/event/EventMessage.d.ts.map +1 -1
  992. package/lib/types/event/EventType.d.ts +3 -10
  993. package/lib/types/event/EventType.d.ts.map +1 -1
  994. package/lib/types/index.d.ts +34 -6
  995. package/lib/types/index.d.ts.map +1 -1
  996. package/lib/types/interaction_client/BaseInteractionClient.d.ts +50 -32
  997. package/lib/types/interaction_client/BaseInteractionClient.d.ts.map +1 -1
  998. package/lib/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +2 -2
  999. package/lib/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -1
  1000. package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts +5 -3
  1001. package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  1002. package/lib/types/interaction_client/PopupClient.d.ts +2 -14
  1003. package/lib/types/interaction_client/PopupClient.d.ts.map +1 -1
  1004. package/lib/types/interaction_client/RedirectClient.d.ts +8 -9
  1005. package/lib/types/interaction_client/RedirectClient.d.ts.map +1 -1
  1006. package/lib/types/interaction_client/SilentAuthCodeClient.d.ts +1 -1
  1007. package/lib/types/interaction_client/SilentAuthCodeClient.d.ts.map +1 -1
  1008. package/lib/types/interaction_client/SilentCacheClient.d.ts.map +1 -1
  1009. package/lib/types/interaction_client/SilentIframeClient.d.ts +1 -1
  1010. package/lib/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
  1011. package/lib/types/interaction_client/SilentRefreshClient.d.ts.map +1 -1
  1012. package/lib/types/interaction_client/StandardInteractionClient.d.ts +17 -7
  1013. package/lib/types/interaction_client/StandardInteractionClient.d.ts.map +1 -1
  1014. package/lib/types/interaction_handler/InteractionHandler.d.ts +2 -3
  1015. package/lib/types/interaction_handler/InteractionHandler.d.ts.map +1 -1
  1016. package/lib/types/interaction_handler/SilentHandler.d.ts +3 -4
  1017. package/lib/types/interaction_handler/SilentHandler.d.ts.map +1 -1
  1018. package/lib/types/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -1
  1019. package/lib/types/operatingcontext/BaseOperatingContext.d.ts +2 -1
  1020. package/lib/types/operatingcontext/BaseOperatingContext.d.ts.map +1 -1
  1021. package/lib/types/operatingcontext/NestedAppOperatingContext.d.ts +2 -1
  1022. package/lib/types/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -1
  1023. package/lib/types/operatingcontext/StandardOperatingContext.d.ts +1 -1
  1024. package/lib/types/operatingcontext/StandardOperatingContext.d.ts.map +1 -1
  1025. package/lib/types/packageMetadata.d.ts +1 -1
  1026. package/lib/types/packageMetadata.d.ts.map +1 -1
  1027. package/lib/types/protocol/Authorize.d.ts +0 -4
  1028. package/lib/types/protocol/Authorize.d.ts.map +1 -1
  1029. package/lib/types/request/AuthorizationCodeRequest.d.ts +1 -1
  1030. package/lib/types/request/AuthorizationCodeRequest.d.ts.map +1 -1
  1031. package/lib/types/request/PopupRequest.d.ts +1 -1
  1032. package/lib/types/request/PopupRequest.d.ts.map +1 -1
  1033. package/lib/types/request/RedirectRequest.d.ts +1 -8
  1034. package/lib/types/request/RedirectRequest.d.ts.map +1 -1
  1035. package/lib/types/request/RequestHelpers.d.ts +6 -12
  1036. package/lib/types/request/RequestHelpers.d.ts.map +1 -1
  1037. package/lib/types/request/SilentRequest.d.ts +1 -1
  1038. package/lib/types/request/SilentRequest.d.ts.map +1 -1
  1039. package/lib/types/request/SsoSilentRequest.d.ts +1 -1
  1040. package/lib/types/request/SsoSilentRequest.d.ts.map +1 -1
  1041. package/lib/types/response/ResponseHandler.d.ts +1 -1
  1042. package/lib/types/response/ResponseHandler.d.ts.map +1 -1
  1043. package/lib/types/telemetry/BrowserPerformanceClient.d.ts +2 -19
  1044. package/lib/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
  1045. package/lib/types/telemetry/BrowserPerformanceEvents.d.ts +131 -0
  1046. package/lib/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -0
  1047. package/lib/types/telemetry/BrowserRootPerformanceEvents.d.ts +35 -0
  1048. package/lib/types/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -0
  1049. package/lib/types/utils/BrowserConstants.d.ts +0 -8
  1050. package/lib/types/utils/BrowserConstants.d.ts.map +1 -1
  1051. package/lib/types/utils/BrowserUtils.d.ts.map +1 -1
  1052. package/lib/types/utils/MsalFrameStatsUtils.d.ts +1 -1
  1053. package/lib/types/utils/MsalFrameStatsUtils.d.ts.map +1 -1
  1054. package/lib/types/utils/PopupUtils.d.ts +33 -0
  1055. package/lib/types/utils/PopupUtils.d.ts.map +1 -0
  1056. package/package.json +113 -115
  1057. package/src/app/IPublicClientApplication.ts +4 -36
  1058. package/src/app/PublicClientApplication.ts +11 -73
  1059. package/src/app/PublicClientNext.ts +6 -71
  1060. package/src/broker/nativeBroker/PlatformAuthDOMHandler.ts +30 -14
  1061. package/src/broker/nativeBroker/PlatformAuthExtensionHandler.ts +57 -32
  1062. package/src/broker/nativeBroker/PlatformAuthProvider.ts +26 -21
  1063. package/src/cache/AccountManager.ts +47 -19
  1064. package/src/cache/AsyncMemoryStorage.ts +39 -22
  1065. package/src/cache/BrowserCacheManager.ts +234 -213
  1066. package/src/cache/IAsyncStorage.ts +10 -5
  1067. package/src/cache/LocalStorage.ts +31 -18
  1068. package/src/cache/TokenCache.ts +367 -360
  1069. package/src/config/Configuration.ts +23 -86
  1070. package/src/controllers/ControllerFactory.ts +13 -6
  1071. package/src/controllers/IController.ts +8 -10
  1072. package/src/controllers/NestedAppAuthController.ts +75 -108
  1073. package/src/controllers/StandardController.ts +335 -519
  1074. package/src/controllers/UnknownOperatingContextController.ts +3 -20
  1075. package/src/crypto/BrowserCrypto.ts +1 -13
  1076. package/src/crypto/CryptoOps.ts +32 -18
  1077. package/src/crypto/PkceGenerator.ts +6 -14
  1078. package/src/crypto/SignedHttpRequest.ts +14 -21
  1079. package/src/custom_auth/CustomAuthConstants.ts +0 -1
  1080. package/src/custom_auth/controller/CustomAuthStandardController.ts +10 -9
  1081. package/src/custom_auth/core/CustomAuthAuthority.ts +11 -5
  1082. package/src/custom_auth/core/auth_flow/AuthFlowErrorBase.ts +2 -15
  1083. package/src/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.ts +1 -9
  1084. package/src/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.ts +4 -2
  1085. package/src/custom_auth/core/interaction_client/jit/JitClient.ts +63 -3
  1086. package/src/custom_auth/core/interaction_client/jit/parameter/JitParams.ts +2 -0
  1087. package/src/custom_auth/core/interaction_client/jit/result/JitActionResult.ts +22 -2
  1088. package/src/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.ts +0 -1
  1089. package/src/custom_auth/core/network_client/custom_auth_api/SignInApiClient.ts +1 -27
  1090. package/src/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.ts +0 -6
  1091. package/src/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.ts +1 -6
  1092. package/src/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.ts +0 -1
  1093. package/src/custom_auth/core/network_client/http_client/FetchHttpClient.ts +8 -5
  1094. package/src/custom_auth/core/telemetry/PublicApiId.ts +3 -6
  1095. package/src/custom_auth/get_account/auth_flow/CustomAuthAccountData.ts +3 -3
  1096. package/src/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.ts +19 -14
  1097. package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.ts +2 -2
  1098. package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.ts +1 -1
  1099. package/src/custom_auth/reset_password/interaction_client/ResetPasswordClient.ts +30 -5
  1100. package/src/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.ts +13 -23
  1101. package/src/custom_auth/sign_in/auth_flow/state/SignInContinuationState.ts +1 -1
  1102. package/src/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.ts +1 -1
  1103. package/src/custom_auth/sign_in/interaction_client/SignInClient.ts +77 -128
  1104. package/src/custom_auth/sign_in/interaction_client/result/SignInActionResult.ts +0 -15
  1105. package/src/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.ts +1 -1
  1106. package/src/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.ts +2 -2
  1107. package/src/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.ts +1 -1
  1108. package/src/custom_auth/sign_up/interaction_client/SignUpClient.ts +39 -8
  1109. package/src/error/BrowserAuthError.ts +4 -339
  1110. package/src/error/BrowserConfigurationAuthError.ts +2 -37
  1111. package/src/error/NativeAuthError.ts +7 -14
  1112. package/src/error/NativeAuthErrorCodes.ts +1 -1
  1113. package/src/error/NestedAppAuthError.ts +2 -14
  1114. package/src/event/EventHandler.ts +13 -11
  1115. package/src/event/EventMessage.ts +1 -18
  1116. package/src/event/EventType.ts +3 -10
  1117. package/src/index.ts +19 -19
  1118. package/src/interaction_client/BaseInteractionClient.ts +181 -158
  1119. package/src/interaction_client/HybridSpaAuthorizationCodeClient.ts +6 -2
  1120. package/src/interaction_client/PlatformAuthInteractionClient.ts +160 -109
  1121. package/src/interaction_client/PopupClient.ts +217 -308
  1122. package/src/interaction_client/RedirectClient.ts +245 -184
  1123. package/src/interaction_client/SilentAuthCodeClient.ts +41 -16
  1124. package/src/interaction_client/SilentCacheClient.ts +23 -15
  1125. package/src/interaction_client/SilentIframeClient.ts +101 -101
  1126. package/src/interaction_client/SilentRefreshClient.ts +26 -14
  1127. package/src/interaction_client/StandardInteractionClient.ts +112 -107
  1128. package/src/interaction_handler/InteractionHandler.ts +7 -16
  1129. package/src/interaction_handler/SilentHandler.ts +12 -91
  1130. package/src/naa/mapping/NestedAppAuthAdapter.ts +8 -6
  1131. package/src/operatingcontext/BaseOperatingContext.ts +2 -1
  1132. package/src/operatingcontext/NestedAppOperatingContext.ts +8 -3
  1133. package/src/operatingcontext/StandardOperatingContext.ts +2 -1
  1134. package/src/packageMetadata.ts +1 -1
  1135. package/src/protocol/Authorize.ts +30 -86
  1136. package/src/request/AuthorizationCodeRequest.ts +1 -4
  1137. package/src/request/PopupRequest.ts +0 -1
  1138. package/src/request/RedirectRequest.ts +0 -8
  1139. package/src/request/RequestHelpers.ts +18 -75
  1140. package/src/request/SilentRequest.ts +1 -5
  1141. package/src/request/SsoSilentRequest.ts +0 -1
  1142. package/src/response/ResponseHandler.ts +8 -4
  1143. package/src/telemetry/BrowserPerformanceClient.ts +4 -108
  1144. package/src/telemetry/BrowserPerformanceEvents.ts +182 -0
  1145. package/src/telemetry/BrowserRootPerformanceEvents.ts +41 -0
  1146. package/src/utils/BrowserConstants.ts +2 -10
  1147. package/src/utils/BrowserUtils.ts +4 -6
  1148. package/src/utils/MsalFrameStatsUtils.ts +4 -2
  1149. package/src/utils/PopupUtils.ts +117 -0
  1150. package/dist/cache/ITokenCache.d.ts +0 -12
  1151. package/dist/cache/ITokenCache.d.ts.map +0 -1
  1152. package/dist/custom-auth-path/cache/ITokenCache.d.ts +0 -12
  1153. package/dist/custom-auth-path/cache/ITokenCache.d.ts.map +0 -1
  1154. package/dist/custom-auth-path/cache/TokenCache.mjs +0 -207
  1155. package/dist/custom-auth-path/cache/TokenCache.mjs.map +0 -1
  1156. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +0 -22
  1157. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +0 -1
  1158. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +0 -36
  1159. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +0 -1
  1160. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +0 -30
  1161. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +0 -1
  1162. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +0 -7
  1163. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +0 -1
  1164. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +0 -7
  1165. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +0 -1
  1166. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +0 -59
  1167. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +0 -1
  1168. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +0 -19
  1169. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +0 -1
  1170. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +0 -21
  1171. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +0 -1
  1172. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +0 -14
  1173. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +0 -1
  1174. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +0 -23
  1175. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +0 -1
  1176. package/dist/custom-auth-path/request/AuthorizationUrlRequest.d.ts +0 -7
  1177. package/dist/custom-auth-path/request/AuthorizationUrlRequest.d.ts.map +0 -1
  1178. package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +0 -22
  1179. package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +0 -1
  1180. package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +0 -36
  1181. package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +0 -1
  1182. package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +0 -30
  1183. package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +0 -1
  1184. package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +0 -7
  1185. package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +0 -1
  1186. package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +0 -7
  1187. package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +0 -1
  1188. package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +0 -59
  1189. package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +0 -1
  1190. package/dist/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +0 -19
  1191. package/dist/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +0 -1
  1192. package/dist/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +0 -21
  1193. package/dist/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +0 -1
  1194. package/dist/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +0 -14
  1195. package/dist/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +0 -1
  1196. package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +0 -23
  1197. package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +0 -1
  1198. package/dist/request/AuthorizationUrlRequest.d.ts +0 -7
  1199. package/dist/request/AuthorizationUrlRequest.d.ts.map +0 -1
  1200. package/lib/custom-auth-path/types/cache/ITokenCache.d.ts +0 -12
  1201. package/lib/custom-auth-path/types/cache/ITokenCache.d.ts.map +0 -1
  1202. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +0 -22
  1203. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +0 -1
  1204. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +0 -36
  1205. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +0 -1
  1206. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +0 -30
  1207. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +0 -1
  1208. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +0 -7
  1209. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +0 -1
  1210. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +0 -7
  1211. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +0 -1
  1212. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +0 -59
  1213. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +0 -1
  1214. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +0 -19
  1215. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +0 -1
  1216. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +0 -21
  1217. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +0 -1
  1218. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +0 -14
  1219. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +0 -1
  1220. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +0 -23
  1221. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +0 -1
  1222. package/lib/custom-auth-path/types/request/AuthorizationUrlRequest.d.ts +0 -7
  1223. package/lib/custom-auth-path/types/request/AuthorizationUrlRequest.d.ts.map +0 -1
  1224. package/lib/types/cache/ITokenCache.d.ts +0 -12
  1225. package/lib/types/cache/ITokenCache.d.ts.map +0 -1
  1226. package/lib/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +0 -22
  1227. package/lib/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +0 -1
  1228. package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +0 -36
  1229. package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +0 -1
  1230. package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +0 -30
  1231. package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +0 -1
  1232. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +0 -7
  1233. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +0 -1
  1234. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +0 -7
  1235. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +0 -1
  1236. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +0 -59
  1237. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +0 -1
  1238. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +0 -19
  1239. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +0 -1
  1240. package/lib/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +0 -21
  1241. package/lib/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +0 -1
  1242. package/lib/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +0 -14
  1243. package/lib/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +0 -1
  1244. package/lib/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +0 -23
  1245. package/lib/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +0 -1
  1246. package/lib/types/request/AuthorizationUrlRequest.d.ts +0 -7
  1247. package/lib/types/request/AuthorizationUrlRequest.d.ts.map +0 -1
  1248. package/src/cache/ITokenCache.ts +0 -21
  1249. package/src/custom_auth/core/auth_flow/mfa/error_type/MfaError.ts +0 -32
  1250. package/src/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.ts +0 -59
  1251. package/src/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.ts +0 -52
  1252. package/src/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.ts +0 -11
  1253. package/src/custom_auth/core/auth_flow/mfa/state/MfaFailedState.ts +0 -11
  1254. package/src/custom_auth/core/auth_flow/mfa/state/MfaState.ts +0 -188
  1255. package/src/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.ts +0 -28
  1256. package/src/custom_auth/core/interaction_client/mfa/MfaClient.ts +0 -148
  1257. package/src/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.ts +0 -20
  1258. package/src/custom_auth/core/interaction_client/mfa/result/MfaActionResult.ts +0 -48
  1259. package/src/request/AuthorizationUrlRequest.ts +0 -15
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.24.1 2025-09-30 */
1
+ /*! @azure/msal-browser v5.0.0-alpha.0 2025-10-02 */
2
2
  'use strict';
3
3
  /*
4
4
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8,9 +8,10 @@
8
8
  const USER_INTERACTION_REQUIRED = "USER_INTERACTION_REQUIRED";
9
9
  const USER_CANCEL = "USER_CANCEL";
10
10
  const NO_NETWORK = "NO_NETWORK";
11
+ const PERSISTENT_ERROR = "PERSISTENT_ERROR";
11
12
  const DISABLED = "DISABLED";
12
13
  const ACCOUNT_UNAVAILABLE = "ACCOUNT_UNAVAILABLE";
13
14
  const UX_NOT_ALLOWED = "UX_NOT_ALLOWED";
14
15
 
15
- export { ACCOUNT_UNAVAILABLE, DISABLED, NO_NETWORK, USER_CANCEL, USER_INTERACTION_REQUIRED, UX_NOT_ALLOWED };
16
+ export { ACCOUNT_UNAVAILABLE, DISABLED, NO_NETWORK, PERSISTENT_ERROR, USER_CANCEL, USER_INTERACTION_REQUIRED, UX_NOT_ALLOWED };
16
17
  //# sourceMappingURL=NativeStatusCodes.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"NativeStatusCodes.mjs","sources":["../../../src/broker/nativeBroker/NativeStatusCodes.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAEH;AACO,MAAM,yBAAyB,GAAG,4BAA4B;AAC9D,MAAM,WAAW,GAAG,cAAc;AAClC,MAAM,UAAU,GAAG,aAAa;AAGhC,MAAM,QAAQ,GAAG,WAAW;AAC5B,MAAM,mBAAmB,GAAG,sBAAsB;AAClD,MAAM,cAAc,GAAG;;;;"}
1
+ {"version":3,"file":"NativeStatusCodes.mjs","sources":["../../../src/broker/nativeBroker/NativeStatusCodes.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAAA;;;AAGG;AAEH;AACO,MAAM,yBAAyB,GAAG,4BAA4B;AAC9D,MAAM,WAAW,GAAG,cAAc;AAClC,MAAM,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B;CAiB5B"}
1
+ {"version":3,"file":"PlatformAuthDOMHandler.d.ts","sourceRoot":"","sources":["../../../src/broker/nativeBroker/PlatformAuthDOMHandler.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,MAAM,EAGN,kBAAkB,EAErB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAEH,mBAAmB,EAEtB,MAAM,0BAA0B,CAAC;AAElC,OAAO,EACH,oBAAoB,EAEvB,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEjE,qBAAa,sBAAuB,YAAW,oBAAoB;IAC/D,SAAS,CAAC,MAAM,EAAE,MAAM,CAAC;IACzB,SAAS,CAAC,iBAAiB,EAAE,kBAAkB,CAAC;IAChD,SAAS,CAAC,aAAa,EAAE,MAAM,CAAC;IAChC,gBAAgB,EAAE,MAAM,CAAC;gBAGrB,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,kBAAkB,EACrC,aAAa,EAAE,MAAM;WAQZ,cAAc,CACvB,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,kBAAkB,EACrC,aAAa,EAAE,MAAM,GACtB,OAAO,CAAC,sBAAsB,GAAG,SAAS,CAAC;IAgC9C;;;OAGG;IACH,cAAc,IAAI,MAAM;IAIxB,mBAAmB,IAAI,MAAM,GAAG,SAAS;IAIzC,gBAAgB,IAAI,MAAM,GAAG,SAAS;IAItC;;;;OAIG;IACG,WAAW,CACb,OAAO,EAAE,mBAAmB,GAC7B,OAAO,CAAC,oBAAoB,CAAC;IA2BhC,OAAO,CAAC,4BAA4B;IA2CpC,OAAO,CAAC,8BAA8B;IAmDtC,OAAO,CAAC,+BAA+B;IAwBvC,OAAO,CAAC,iBAAiB;CAiB5B"}
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.24.1 2025-09-30 */
1
+ /*! @azure/msal-browser v5.0.0-alpha.0 2025-10-02 */
2
2
  'use strict';
3
3
  import { createAuthError, AuthErrorCodes } from '@azure/msal-common/browser';
4
4
  import { PlatformAuthConstants } from '../../utils/BrowserConstants.mjs';
@@ -16,14 +16,14 @@ class PlatformAuthDOMHandler {
16
16
  this.platformAuthType = PlatformAuthConstants.PLATFORM_DOM_PROVIDER;
17
17
  }
18
18
  static async createProvider(logger, performanceClient, correlationId) {
19
- logger.trace("PlatformAuthDOMHandler: createProvider called");
19
+ logger.trace("PlatformAuthDOMHandler: createProvider called", correlationId);
20
20
  // @ts-ignore
21
21
  if (window.navigator?.platformAuthentication) {
22
22
  const supportedContracts =
23
23
  // @ts-ignore
24
24
  await window.navigator.platformAuthentication.getSupportedContracts(PlatformAuthConstants.MICROSOFT_ENTRA_BROKERID);
25
25
  if (supportedContracts?.includes(PlatformAuthConstants.PLATFORM_DOM_APIS)) {
26
- logger.trace("Platform auth api available in DOM");
26
+ logger.trace("Platform auth api available in DOM", correlationId);
27
27
  return new PlatformAuthDOMHandler(logger, performanceClient, correlationId);
28
28
  }
29
29
  }
@@ -48,21 +48,21 @@ class PlatformAuthDOMHandler {
48
48
  * @returns
49
49
  */
50
50
  async sendMessage(request) {
51
- this.logger.trace(this.platformAuthType + " - Sending request to browser DOM API");
51
+ this.logger.trace(`'${this.platformAuthType}' - Sending request to browser DOM API`, request.correlationId);
52
52
  try {
53
53
  const platformDOMRequest = this.initializePlatformDOMRequest(request);
54
54
  const response =
55
55
  // @ts-ignore
56
56
  await window.navigator.platformAuthentication.executeGetToken(platformDOMRequest);
57
- return this.validatePlatformBrokerResponse(response);
57
+ return this.validatePlatformBrokerResponse(response, request.correlationId);
58
58
  }
59
59
  catch (e) {
60
- this.logger.error(this.platformAuthType + " - executeGetToken DOM API error");
60
+ this.logger.error(`'${this.platformAuthType}' - executeGetToken DOM API error`, request.correlationId);
61
61
  throw e;
62
62
  }
63
63
  }
64
64
  initializePlatformDOMRequest(request) {
65
- this.logger.trace(this.platformAuthType + " - initializeNativeDOMRequest called");
65
+ this.logger.trace(`'${this.platformAuthType}' - initializeNativeDOMRequest called`, request.correlationId);
66
66
  const { accountId, clientId, authority, scope, redirectUri, correlationId, state, storeInCache, embeddedClientId, extraParameters, ...remainingProperties } = request;
67
67
  const validExtraParameters = this.getDOMExtraParams(remainingProperties);
68
68
  const platformDOMRequest = {
@@ -81,7 +81,7 @@ class PlatformAuthDOMHandler {
81
81
  };
82
82
  return platformDOMRequest;
83
83
  }
84
- validatePlatformBrokerResponse(response) {
84
+ validatePlatformBrokerResponse(response, correlationId) {
85
85
  if (response.hasOwnProperty("isSuccess")) {
86
86
  if (response.hasOwnProperty("accessToken") &&
87
87
  response.hasOwnProperty("idToken") &&
@@ -89,17 +89,15 @@ class PlatformAuthDOMHandler {
89
89
  response.hasOwnProperty("account") &&
90
90
  response.hasOwnProperty("scopes") &&
91
91
  response.hasOwnProperty("expiresIn")) {
92
- this.logger.trace(this.platformAuthType +
93
- " - platform broker returned successful and valid response");
94
- return this.convertToPlatformBrokerResponse(response);
92
+ this.logger.trace(`'${this.platformAuthType}' - platform broker returned successful and valid response`, correlationId);
93
+ return this.convertToPlatformBrokerResponse(response, correlationId);
95
94
  }
96
95
  else if (response.hasOwnProperty("error")) {
97
96
  const errorResponse = response;
98
97
  if (errorResponse.isSuccess === false &&
99
98
  errorResponse.error &&
100
99
  errorResponse.error.code) {
101
- this.logger.trace(this.platformAuthType +
102
- " - platform broker returned error response");
100
+ this.logger.trace(`'${this.platformAuthType}' - platform broker returned error response`, correlationId);
103
101
  throw createNativeAuthError(errorResponse.error.code, errorResponse.error.description, {
104
102
  error: parseInt(errorResponse.error.errorCode),
105
103
  protocol_error: errorResponse.error.protocolError,
@@ -111,8 +109,8 @@ class PlatformAuthDOMHandler {
111
109
  }
112
110
  throw createAuthError(AuthErrorCodes.unexpectedError, "Response missing expected properties.");
113
111
  }
114
- convertToPlatformBrokerResponse(response) {
115
- this.logger.trace(this.platformAuthType + " - convertToNativeResponse called");
112
+ convertToPlatformBrokerResponse(response, correlationId) {
113
+ this.logger.trace(`'${this.platformAuthType}' - convertToNativeResponse called`, correlationId);
116
114
  const nativeResponse = {
117
115
  access_token: response.accessToken,
118
116
  id_token: response.idToken,
@@ -1 +1 @@
1
- {"version":3,"file":"PlatformAuthDOMHandler.mjs","sources":["../../../src/broker/nativeBroker/PlatformAuthDOMHandler.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;AAAA;;;AAGG;MAsBU,sBAAsB,CAAA;AAM/B,IAAA,WAAA,CACI,MAAc,EACd,iBAAqC,EACrC,aAAqB,EAAA;AAErB,QAAA,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;AACrB,QAAA,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;AAC3C,QAAA,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;AACnC,QAAA,IAAI,CAAC,gBAAgB,GAAG,qBAAqB,CAAC,qBAAqB,CAAC;KACvE;IAED,aAAa,cAAc,CACvB,MAAc,EACd,iBAAqC,EACrC,aAAqB,EAAA;AAErB,QAAA,MAAM,CAAC,KAAK,CAAC,+CAA+C,CAAC,CAAC;;AAG9D,QAAA,IAAI,MAAM,CAAC,SAAS,EAAE,sBAAsB,EAAE;AAC1C,YAAA,MAAM,kBAAkB;;AAEpB,YAAA,MAAM,MAAM,CAAC,SAAS,CAAC,sBAAsB,CAAC,qBAAqB,CAC/D,qBAAqB,CAAC,wBAAwB,CACjD,CAAC;YACN,IACI,kBAAkB,EAAE,QAAQ,CACxB,qBAAqB,CAAC,iBAAiB,CAC1C,EACH;AACE,gBAAA,MAAM,CAAC,KAAK,CAAC,oCAAoC,CAAC,CAAC;gBACnD,OAAO,IAAI,sBAAsB,CAC7B,MAAM,EACN,iBAAiB,EACjB,aAAa,CAChB,CAAC;AACL,aAAA;AACJ,SAAA;AACD,QAAA,OAAO,SAAS,CAAC;KACpB;AAED;;;AAGG;IACH,cAAc,GAAA;QACV,OAAO,qBAAqB,CAAC,wBAAwB,CAAC;KACzD;IAED,mBAAmB,GAAA;AACf,QAAA,OAAO,EAAE,CA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C,eAAe,CAAC,CAAC,MAAM,CAC5D,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,KAAI;YACrB,MAAM,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;AAC5B,YAAA,OAAO,MAAM,CAAC;SACjB,EACD,EAAgB,CACnB,CAAC;AAEF,QAAA,MAAM,gBAAgB,GAAuB;AACzC,YAAA,GAAG,iBAAiB;SACvB,CAAC;AAEF,QAAA,OAAO,gBAAgB,CAAC;KAC3B;AACJ;;;;"}
1
+ {"version":3,"file":"PlatformAuthDOMHandler.mjs","sources":["../../../src/broker/nativeBroker/PlatformAuthDOMHandler.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;AAAA;;;AAGG;MAsBU,sBAAsB,CAAA;AAM/B,IAAA,WAAA,CACI,MAAc,EACd,iBAAqC,EACrC,aAAqB,EAAA;AAErB,QAAA,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;AACrB,QAAA,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;AAC3C,QAAA,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;AACnC,QAAA,IAAI,CAAC,gBAAgB,GAAG,qBAAqB,CAAC,qBAAqB,CAAC;IACxE,CAAC;IAED,aAAa,cAAc,CACvB,MAAc,EACd,iBAAqC,EACrC,aAAqB,EAAA;AAErB,QAAA,MAAM,CAAC,KAAK,CACR,+CAA+C,EAC/C,aAAa,CAChB,CAAC;;AAGF,QAAA,IAAI,MAAM,CAAC,SAAS,EAAE,sBAAsB,EAAE;AAC1C,YAAA,MAAM,kBAAkB;;AAEpB,YAAA,MAAM,MAAM,CAAC,SAAS,CAAC,sBAAsB,CAAC,qBAAqB,CAC/D,qBAAqB,CAAC,wBAAwB,CACjD,CAAC;YACN,IACI,kBAAkB,EAAE,QAAQ,CACxB,qBAAqB,CAAC,iBAAiB,CAC1C,EACH;AACE,gBAAA,MAAM,CAAC,KAAK,CACR,oCAAoC,EACpC,a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AAa,CAChB,CAAC;AACF,QAAA,MAAM,cAAc,GAAyB;YACzC,YAAY,EAAE,QAAQ,CAAC,WAAW;YAClC,QAAQ,EAAE,QAAQ,CAAC,OAAO;YAC1B,WAAW,EAAE,QAAQ,CAAC,UAAU;YAChC,OAAO,EAAE,QAAQ,CAAC,OAAO;YACzB,UAAU,EAAE,QAAQ,CAAC,SAAS;YAC9B,KAAK,EAAE,QAAQ,CAAC,MAAM;AACtB,YAAA,KAAK,EAAE,QAAQ,CAAC,KAAK,IAAI,EAAE;AAC3B,YAAA,UAAU,EAAE,QAAQ,CAAC,UAAU,IAAI,EAAE;AACrC,YAAA,qBAAqB,EAAE,QAAQ,CAAC,qBAAqB,IAAI,KAAK;YAC9D,GAAG,EAAE,QAAQ,CAAC,wBAAwB;SACzC,CAAC;AAEF,QAAA,OAAO,cAAc,CAAC;IAC1B,CAAC;AAEO,IAAA,iBAAiB,CACrB,eAAwC,EAAA;QAExC,MAAM,iBAAiB,GAAG,MAAM,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,MAAM,CAC5D,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,KAAI;YACrB,MAAM,CAAC,GAAG,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,CAAC;AAC5B,YAAA,OAAO,MAAM,CAAC;QAClB,CAAC,EACD,EAAgB,CACnB,CAAC;AAEF,QAAA,MAAM,gBAAgB,GAAuB;AACzC,YAAA,GAAG,iBAAiB;SACvB,CAAC;AAEF,QAAA,OAAO,gBAAgB,CAAC;IAC5B,CAAC;AACJ;;;;"}
@@ -28,7 +28,7 @@ export declare class PlatformAuthExtensionHandler implements IPlatformAuthHandle
28
28
  * @param {IPerformanceClient} performanceClient
29
29
  * @param {ICrypto} crypto
30
30
  */
31
- static createProvider(logger: Logger, handshakeTimeoutMs: number, performanceClient: IPerformanceClient): Promise<PlatformAuthExtensionHandler>;
31
+ static createProvider(logger: Logger, handshakeTimeoutMs: number, performanceClient: IPerformanceClient, correlationId: string): Promise<PlatformAuthExtensionHandler>;
32
32
  /**
33
33
  * Send handshake request helper.
34
34
  */
@@ -1 +1 @@
1
- {"version":3,"file":"PlatformAuthExtensionHandler.d.ts","sourceRoot":"","sources":["../../../src/broker/nativeBroker/PlatformAuthExtensionHandler.ts"],"names":[],"mappings":"AASA,OAAO,EACH,MAAM,EAMN,kBAAkB,EACrB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAGH,mBAAmB,EACtB,MAAM,0BAA0B,CAAC;AAOlC,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AASjE,qBAAa,4BAA6B,YAAW,oBAAoB;IACrE,OAAO,CAAC,WAAW,CAAqB;IACxC,OAAO,CAAC,gBAAgB,CAAqB;IAC7C,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAS;IAC5C,OAAO,CAAC,SAAS,CAAqB;IACtC,OAAO,CAAC,SAAS,CAAyC;IAC1D,OAAO,CAAC,kBAAkB,CAAuC;IACjE,OAAO,CAAC,cAAc,CAAiB;IACvC,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAgC;IAC/D,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAqB;IACvD,OAAO,CAAC,QAAQ,CAAC,cAAc,CAA6B;IAC5D,gBAAgB,EAAE,MAAM,CAAC;gBAGrB,MAAM,EAAE,MAAM,EACd,kBAAkB,EAAE,MAAM,EAC1B,iBAAiB,EAAE,kBAAkB,EACrC,WAAW,CAAC,EAAE,MAAM;IAiBxB;;;OAGG;IACG,WAAW,CACb,OAAO,EAAE,mBAAmB,GAC7B,OAAO,CAAC,oBAAoB,CAAC;IAqChC;;;;;;OAMG;WACU,cAAc,CACvB,MAAM,EAAE,MAAM,EACd,kBAAkB,EAAE,MAAM,EAC1B,iBAAiB,EAAE,kBAAkB,GACtC,OAAO,CAAC,4BAA4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AE,MAAM;IAiBxB;;;OAGG;IACG,WAAW,CACb,OAAO,EAAE,mBAAmB,GAC7B,OAAO,CAAC,oBAAoB,CAAC;IA2ChC;;;;;;OAMG;WACU,cAAc,CACvB,MAAM,EAAE,MAAM,EACd,kBAAkB,EAAE,MAAM,EAC1B,iBAAiB,EAAE,kBAAkB,EACrC,aAAa,EAAE,MAAM,GACtB,OAAO,CAAC,4BAA4B,CAAC;IA2BxC;;OAEG;YACW,oBAAoB;IAuDlC;;;OAGG;IACH,OAAO,CAAC,eAAe;IA+DvB;;;OAGG;IACH,OAAO,CAAC,gBAAgB;IA+GxB;;;OAGG;IACH,OAAO,CAAC,8BAA8B;IAoBtC;;;OAGG;IACH,cAAc,IAAI,MAAM,GAAG,SAAS;IAIpC;;;OAGG;IACH,mBAAmB,IAAI,MAAM,GAAG,SAAS;IAIzC,gBAAgB,IAAI,MAAM,GAAG,SAAS;CAQzC"}
@@ -1,10 +1,12 @@
1
- /*! @azure/msal-browser v4.24.1 2025-09-30 */
1
+ /*! @azure/msal-browser v5.0.0-alpha.0 2025-10-02 */
2
2
  'use strict';
3
3
  import { PlatformAuthConstants, NativeExtensionMethod } from '../../utils/BrowserConstants.mjs';
4
- import { PerformanceEvents, createAuthError, AuthErrorCodes } from '@azure/msal-common/browser';
4
+ import { createAuthError, AuthErrorCodes } from '@azure/msal-common/browser';
5
+ import { NativeMessageHandlerHandshake } from '../../telemetry/BrowserPerformanceEvents.mjs';
5
6
  import { createNativeAuthError } from '../../error/NativeAuthError.mjs';
6
7
  import { createBrowserAuthError } from '../../error/BrowserAuthError.mjs';
7
8
  import { createNewGuid } from '../../crypto/BrowserCrypto.mjs';
9
+ import { createGuid } from '../../utils/BrowserUtils.mjs';
8
10
  import { nativeHandshakeTimeout, nativeExtensionNotInstalled } from '../../error/BrowserAuthErrorCodes.mjs';
9
11
 
10
12
  /*
@@ -21,7 +23,7 @@ class PlatformAuthExtensionHandler {
21
23
  this.messageChannel = new MessageChannel();
22
24
  this.windowListener = this.onWindowMessage.bind(this); // Window event callback doesn't have access to 'this' unless it's bound
23
25
  this.performanceClient = performanceClient;
24
- this.handshakeEvent = performanceClient.startMeasurement(PerformanceEvents.NativeMessageHandlerHandshake);
26
+ this.handshakeEvent = performanceClient.startMeasurement(NativeMessageHandlerHandshake);
25
27
  this.platformAuthType =
26
28
  PlatformAuthConstants.PLATFORM_EXTENSION_PROVIDER;
27
29
  }
@@ -30,7 +32,7 @@ class PlatformAuthExtensionHandler {
30
32
  * @param request
31
33
  */
32
34
  async sendMessage(request) {
33
- this.logger.trace(this.platformAuthType + " - sendMessage called.");
35
+ this.logger.trace(`'${this.platformAuthType}' - sendMessage called.`, request.correlationId);
34
36
  // fall back to native calls
35
37
  const messageBody = {
36
38
  method: NativeExtensionMethod.GetToken,
@@ -42,9 +44,8 @@ class PlatformAuthExtensionHandler {
42
44
  responseId: createNewGuid(),
43
45
  body: messageBody,
44
46
  };
45
- this.logger.trace(this.platformAuthType + " - Sending request to browser extension");
46
- this.logger.tracePii(this.platformAuthType +
47
- ` - Sending request to browser extension: ${JSON.stringify(req)}`);
47
+ this.logger.trace(`'${this.platformAuthType}' - Sending request to browser extension`, request.correlationId);
48
+ this.logger.tracePii(`'${this.platformAuthType}' - Sending request to browser extension: '${JSON.stringify(req)}'`, request.correlationId);
48
49
  this.messageChannel.port1.postMessage(req);
49
50
  const response = await new Promise((resolve, reject) => {
50
51
  this.resolvers.set(req.responseId, { resolve, reject });
@@ -59,25 +60,25 @@ class PlatformAuthExtensionHandler {
59
60
  * @param {IPerformanceClient} performanceClient
60
61
  * @param {ICrypto} crypto
61
62
  */
62
- static async createProvider(logger, handshakeTimeoutMs, performanceClient) {
63
- logger.trace("PlatformAuthExtensionHandler - createProvider called.");
63
+ static async createProvider(logger, handshakeTimeoutMs, performanceClient, correlationId) {
64
+ logger.trace("PlatformAuthExtensionHandler - createProvider called.", correlationId);
64
65
  try {
65
66
  const preferredProvider = new PlatformAuthExtensionHandler(logger, handshakeTimeoutMs, performanceClient, PlatformAuthConstants.PREFERRED_EXTENSION_ID);
66
- await preferredProvider.sendHandshakeRequest();
67
+ await preferredProvider.sendHandshakeRequest(correlationId);
67
68
  return preferredProvider;
68
69
  }
69
70
  catch (e) {
70
71
  // If preferred extension fails for whatever reason, fallback to using any installed extension
71
72
  const backupProvider = new PlatformAuthExtensionHandler(logger, handshakeTimeoutMs, performanceClient);
72
- await backupProvider.sendHandshakeRequest();
73
+ await backupProvider.sendHandshakeRequest(correlationId);
73
74
  return backupProvider;
74
75
  }
75
76
  }
76
77
  /**
77
78
  * Send handshake request helper.
78
79
  */
79
- async sendHandshakeRequest() {
80
- this.logger.trace(this.platformAuthType + " - sendHandshakeRequest called.");
80
+ async sendHandshakeRequest(correlationId) {
81
+ this.logger.trace(`'${this.platformAuthType}' - sendHandshakeRequest called.`, correlationId);
81
82
  // Register this event listener before sending handshake
82
83
  window.addEventListener("message", this.windowListener, false); // false is important, because content script message processing should work first
83
84
  const req = {
@@ -120,7 +121,8 @@ class PlatformAuthExtensionHandler {
120
121
  * @param event
121
122
  */
122
123
  onWindowMessage(event) {
123
- this.logger.trace(this.platformAuthType + " - onWindowMessage called");
124
+ const correlationId = createGuid();
125
+ this.logger.trace(`'${this.platformAuthType}' - onWindowMessage called`, correlationId);
124
126
  // We only accept messages from ourselves
125
127
  if (event.source !== window) {
126
128
  return;
@@ -140,14 +142,13 @@ class PlatformAuthExtensionHandler {
140
142
  * the proper response.
141
143
  */
142
144
  if (!handshakeResolver) {
143
- this.logger.trace(this.platformAuthType +
144
- `.onWindowMessage - resolver can't be found for request ${request.responseId}`);
145
+ this.logger.trace(`'${this.platformAuthType}'.onWindowMessage - resolver can't be found for request '${request.responseId}'`, correlationId);
145
146
  return;
146
147
  }
147
148
  // If we receive this message back it means no extension intercepted the request, meaning no extension supporting handshake protocol is installed
148
149
  this.logger.verbose(request.extensionId
149
150
  ? `Extension with id: ${request.extensionId} not installed`
150
- : "No extension installed");
151
+ : "No extension installed", correlationId);
151
152
  clearTimeout(this.timeoutId);
152
153
  this.messageChannel.port1.close();
153
154
  this.messageChannel.port2.close();
@@ -164,7 +165,8 @@ class PlatformAuthExtensionHandler {
164
165
  * @param event
165
166
  */
166
167
  onChannelMessage(event) {
167
- this.logger.trace(this.platformAuthType + " - onChannelMessage called.");
168
+ const correlationId = createGuid();
169
+ this.logger.trace(`'${this.platformAuthType}' - onChannelMessage called.`, correlationId);
168
170
  const request = event.data;
169
171
  const resolver = this.resolvers.get(request.responseId);
170
172
  const handshakeResolver = this.handshakeResolvers.get(request.responseId);
@@ -175,10 +177,8 @@ class PlatformAuthExtensionHandler {
175
177
  return;
176
178
  }
177
179
  const response = request.body.response;
178
- this.logger.trace(this.platformAuthType +
179
- " - Received response from browser extension");
180
- this.logger.tracePii(this.platformAuthType +
181
- ` - Received response from browser extension: ${JSON.stringify(response)}`);
180
+ this.logger.trace(`'${this.platformAuthType}' - Received response from browser extension`, correlationId);
181
+ this.logger.tracePii(`'${this.platformAuthType}' - Received response from browser extension: '${JSON.stringify(response)}'`, correlationId);
182
182
  if (response.status !== "Success") {
183
183
  resolver.reject(createNativeAuthError(response.code, response.description, response.ext));
184
184
  }
@@ -198,16 +198,14 @@ class PlatformAuthExtensionHandler {
198
198
  }
199
199
  else if (method === NativeExtensionMethod.HandshakeResponse) {
200
200
  if (!handshakeResolver) {
201
- this.logger.trace(this.platformAuthType +
202
- `.onChannelMessage - resolver can't be found for request ${request.responseId}`);
201
+ this.logger.trace(`'${this.platformAuthType}'.onChannelMessage - resolver can't be found for request '${request.responseId}'`, correlationId);
203
202
  return;
204
203
  }
205
204
  clearTimeout(this.timeoutId); // Clear setTimeout
206
205
  window.removeEventListener("message", this.windowListener, false); // Remove 'No extension' listener
207
206
  this.extensionId = request.extensionId;
208
207
  this.extensionVersion = request.body.version;
209
- this.logger.verbose(this.platformAuthType +
210
- ` - Received HandshakeResponse from extension: ${this.extensionId}`);
208
+ this.logger.verbose(`'${this.platformAuthType}' - Received HandshakeResponse from extension: '${this.extensionId}'`, correlationId);
211
209
  this.handshakeEvent.end({
212
210
  extensionInstalled: true,
213
211
  success: true,
@@ -218,9 +216,9 @@ class PlatformAuthExtensionHandler {
218
216
  // Do nothing if method is not Response or HandshakeResponse
219
217
  }
220
218
  catch (err) {
221
- this.logger.error("Error parsing response from WAM Extension");
222
- this.logger.errorPii(`Error parsing response from WAM Extension: ${err}`);
223
- this.logger.errorPii(`Unable to parse ${event}`);
219
+ this.logger.error("Error parsing response from WAM Extension", correlationId);
220
+ this.logger.errorPii(`Error parsing response from WAM Extension: '${err}'`, correlationId);
221
+ this.logger.errorPii(`Unable to parse '${event}'`, correlationId);
224
222
  if (resolver) {
225
223
  resolver.reject(err);
226
224
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PlatformAuthExtensionHandler.mjs","sources":["../../../src/broker/nativeBroker/PlatformAuthExtensionHandler.ts"],"sourcesContent":[null],"names":["BrowserAuthErrorCodes.nativeHandshakeTimeout","BrowserAuthErrorCodes.nativeExtensionNotInstalled"],"mappings":";;;;;;;;;AAAA;;;AAGG;MAoCU,4BAA4B,CAAA;AAcrC,IAAA,WAAA,CACI,MAAc,EACd,kBAA0B,EAC1B,iBAAqC,EACrC,WAAoB,EAAA;AAEpB,QAAA,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;AACrB,QAAA,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;AAC7C,QAAA,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,SAAS,GAAG,IAAI,GAAG,EAAE,CAAC;QAC3B,IAAI,CAAC,kBAAkB,GAAG,IAAI,GAAG,EAAE,CAAC;AACpC,QAAA,IAAI,CAAC,cAAc,GAAG,IAAI,cAAc,EAAE,CAAC;AAC3C,QAAA,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;AACtD,QAAA,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CA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,CAAC,OAAO,CAAC;AAChC,YAAA,QAAQ,CAAC,cAAc,CAAC,YAAY,CAAC,EACvC;AACE,YAAA,OAAO,QAAgC,CAAC;AAC3C,SAAA;AAAM,aAAA;YACH,MAAM,eAAe,CACjB,cAAc,CAAC,eAAe,EAC9B,uCAAuC,CAC1C,CAAC;AACL,SAAA;KACJ;AAED;;;AAGG;IACH,cAAc,GAAA;QACV,OAAO,IAAI,CAAC,WAAW,CAAC;KAC3B;AAED;;;AAGG;IACH,mBAAmB,GAAA;QACf,OAAO,IAAI,CAAC,gBAAgB,CAAC;KAChC;IAED,gBAAgB,GAAA;QACZ,OAAO,IAAI,CAAC,cAAc,EAAE;AACxB,YAAA,qBAAqB,CAAC,sBAAsB;AAC5C,cAAE,QAAQ;AACV,cAAE,IAAI,CAAC,cAAc,EAAE,EAAE,MAAM;AAC/B,kBAAE,SAAS;kBACT,SAAS,CAAC;KACnB;AACJ;;;;"}
1
+ {"version":3,"file":"PlatformAuthExtensionHandler.mjs","sources":["../../../src/broker/nativeBroker/PlatformAuthExtensionHandler.ts"],"sourcesContent":[null],"names":["BrowserPerformanceEvents.NativeMessageHandlerHandshake","BrowserAuthErrorCodes.nativeHandshakeTimeout","BrowserAuthErrorCodes.nativeExtensionNotInstalled"],"mappings":";;;;;;;;;;;AAAA;;;AAGG;MAqCU,4BAA4B,CAAA;AAcrC,IAAA,WAAA,CACI,MAAc,EACd,kBAA0B,EAC1B,iBAAqC,EACrC,WAAoB,EAAA;AAEpB,QAAA,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;AACrB,QAAA,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;AAC7C,QAAA,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,SAAS,GAAG,IAAI,GAAG,EAAE,CAAC;QAC3B,IAAI,CAAC,kBAAkB,GAAG,IAAI,GAAG,EAAE,CAAC;AACpC,QAAA,IAAI,CAAC,cAAc,GAAG,IAAI,cAAc,E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AAC,cAAc,EAAE;AACxB,YAAA,qBAAqB,CAAC,sBAAsB;AAC5C,cAAE,QAAQ;AACV,cAAE,IAAI,CAAC,cAAc,EAAE,EAAE,MAAM;AAC/B,kBAAE,SAAS;kBACT,SAAS,CAAC;IACpB,CAAC;AACJ;;;;"}
@@ -1,10 +1,11 @@
1
- import { LoggerOptions, IPerformanceClient, Logger, AuthenticationScheme } from "@azure/msal-common/browser";
1
+ import { LoggerOptions, IPerformanceClient, Logger, Constants } from "@azure/msal-common/browser";
2
2
  import { BrowserConfiguration } from "../../config/Configuration.js";
3
3
  import { IPlatformAuthHandler } from "./IPlatformAuthHandler.js";
4
4
  /**
5
5
  * Checks if the platform broker is available in the current environment.
6
6
  * @param loggerOptions
7
7
  * @param perfClient
8
+ * @param correlationId
8
9
  * @returns
9
10
  */
10
11
  export declare function isPlatformBrokerAvailable(loggerOptions?: LoggerOptions, perfClient?: IPerformanceClient, correlationId?: string): Promise<boolean>;
@@ -19,8 +20,9 @@ export declare function isDomEnabledForPlatformAuth(): boolean;
19
20
  * Returns boolean indicating whether or not the request should attempt to use native broker
20
21
  * @param logger
21
22
  * @param config
23
+ * @param correlationId
22
24
  * @param platformAuthProvider
23
25
  * @param authenticationScheme
24
26
  */
25
- export declare function isPlatformAuthAllowed(config: BrowserConfiguration, logger: Logger, platformAuthProvider?: IPlatformAuthHandler, authenticationScheme?: AuthenticationScheme): boolean;
27
+ export declare function isPlatformAuthAllowed(config: BrowserConfiguration, logger: Logger, correlationId: string, platformAuthProvider?: IPlatformAuthHandler, authenticationScheme?: Constants.AuthenticationScheme): boolean;
26
28
  //# sourceMappingURL=PlatformAuthProvider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlatformAuthProvider.d.ts","sourceRoot":"","sources":["../../../src/broker/nativeBroker/PlatformAuthProvider.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,aAAa,EACb,kBAAkB,EAClB,MAAM,EACN,oBAAoB,EAEvB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACH,oBAAoB,EAEvB,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAMjE;;;;;GAKG;AACH,wBAAsB,yBAAyB,CAC3C,aAAa,CAAC,EAAE,aAAa,EAC7B,UAAU,CAAC,EAAE,kBAAkB,EAC/B,aAAa,CAAC,EAAE,MAAM,GACvB,OAAO,CAAC,OAAO,CAAC,CAiBlB;AAED,wBAAsB,uBAAuB,CACzC,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,kBAAkB,EACrC,aAAa,EAAE,MAAM,EACrB,4BAA4B,CAAC,EAAE,MAAM,GACtC,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAuC3C;AAED;;;;GAIG;AACH,wBAAgB,2BAA2B,IAAI,OAAO,CASrD;AAED;;;;;;GAMG;AACH,wBAAgB,qBAAqB,CACjC,MAAM,EAAE,oBAAoB,EAC5B,MAAM,EAAE,MAAM,EACd,oBAAoB,CAAC,EAAE,oBAAoB,EAC3C,oBAAoB,CAAC,EAAE,oBAAoB,GAC5C,OAAO,CAkCT"}
1
+ {"version":3,"file":"PlatformAuthProvider.d.ts","sourceRoot":"","sources":["../../../src/broker/nativeBroker/PlatformAuthProvider.ts"],"names":[],"mappings":"AAKA,OAAO,EACH,aAAa,EACb,kBAAkB,EAClB,MAAM,EACN,SAAS,EAEZ,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACH,oBAAoB,EAEvB,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAKjE;;;;;;GAMG;AACH,wBAAsB,yBAAyB,CAC3C,aAAa,CAAC,EAAE,aAAa,EAC7B,UAAU,CAAC,EAAE,kBAAkB,EAC/B,aAAa,CAAC,EAAE,MAAM,GACvB,OAAO,CAAC,OAAO,CAAC,CAclB;AAED,wBAAsB,uBAAuB,CACzC,MAAM,EAAE,MAAM,EACd,iBAAiB,EAAE,kBAAkB,EACrC,aAAa,EAAE,MAAM,EACrB,4BAA4B,CAAC,EAAE,MAAM,GACtC,OAAO,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAyC3C;AAED;;;;GAIG;AACH,wBAAgB,2BAA2B,IAAI,OAAO,CASrD;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACjC,MAAM,EAAE,oBAAoB,EAC5B,MAAM,EAAE,MAAM,EACd,aAAa,EAAE,MAAM,EACrB,oBAAoB,CAAC,EAAE,oBAAoB,EAC3C,oBAAoB,CAAC,EAAE,SAAS,CAAC,oBAAoB,GACtD,OAAO,CAsCT"}
@@ -1,11 +1,10 @@
1
- /*! @azure/msal-browser v4.24.1 2025-09-30 */
1
+ /*! @azure/msal-browser v5.0.0-alpha.0 2025-10-02 */
2
2
  'use strict';
3
- import { Logger, StubPerformanceClient, AuthenticationScheme } from '@azure/msal-common/browser';
3
+ import { Logger, StubPerformanceClient, Constants } from '@azure/msal-common/browser';
4
4
  import { name, version } from '../../packageMetadata.mjs';
5
5
  import { DEFAULT_NATIVE_BROKER_HANDSHAKE_TIMEOUT_MS } from '../../config/Configuration.mjs';
6
6
  import { PlatformAuthExtensionHandler } from './PlatformAuthExtensionHandler.mjs';
7
7
  import { PlatformAuthDOMHandler } from './PlatformAuthDOMHandler.mjs';
8
- import { createNewGuid } from '../../crypto/BrowserCrypto.mjs';
9
8
  import { BrowserCacheLocation } from '../../utils/BrowserConstants.mjs';
10
9
  import { PLATFORM_AUTH_DOM_SUPPORT } from '../../cache/CacheKeys.mjs';
11
10
 
@@ -17,23 +16,24 @@ import { PLATFORM_AUTH_DOM_SUPPORT } from '../../cache/CacheKeys.mjs';
17
16
  * Checks if the platform broker is available in the current environment.
18
17
  * @param loggerOptions
19
18
  * @param perfClient
19
+ * @param correlationId
20
20
  * @returns
21
21
  */
22
22
  async function isPlatformBrokerAvailable(loggerOptions, perfClient, correlationId) {
23
23
  const logger = new Logger(loggerOptions || {}, name, version);
24
- logger.trace("isPlatformBrokerAvailable called");
24
+ const cid = correlationId || "";
25
+ logger.trace("isPlatformBrokerAvailable called", cid);
25
26
  const performanceClient = perfClient || new StubPerformanceClient();
26
27
  if (typeof window === "undefined") {
27
- logger.trace("Non-browser environment detected, returning false");
28
+ logger.trace("Non-browser environment detected, returning false", cid);
28
29
  return false;
29
30
  }
30
- return !!(await getPlatformAuthProvider(logger, performanceClient, correlationId || createNewGuid()));
31
+ return !!(await getPlatformAuthProvider(logger, performanceClient, cid));
31
32
  }
32
33
  async function getPlatformAuthProvider(logger, performanceClient, correlationId, nativeBrokerHandshakeTimeout) {
33
34
  logger.trace("getPlatformAuthProvider called", correlationId);
34
35
  const enablePlatformBrokerDOMSupport = isDomEnabledForPlatformAuth();
35
- logger.trace("Has client allowed platform auth via DOM API: " +
36
- enablePlatformBrokerDOMSupport);
36
+ logger.trace(`Has client allowed platform auth via DOM API: '${enablePlatformBrokerDOMSupport}'`, correlationId);
37
37
  let platformAuthProvider;
38
38
  try {
39
39
  if (enablePlatformBrokerDOMSupport) {
@@ -41,14 +41,14 @@ async function getPlatformAuthProvider(logger, performanceClient, correlationId,
41
41
  platformAuthProvider = await PlatformAuthDOMHandler.createProvider(logger, performanceClient, correlationId);
42
42
  }
43
43
  if (!platformAuthProvider) {
44
- logger.trace("Platform auth via DOM API not available, checking for extension");
44
+ logger.trace("Platform auth via DOM API not available, checking for extension", correlationId);
45
45
  /*
46
46
  * If DOM APIs are not available, check if browser extension is available.
47
47
  * Platform authentication via DOM APIs is preferred over extension APIs.
48
48
  */
49
49
  platformAuthProvider =
50
50
  await PlatformAuthExtensionHandler.createProvider(logger, nativeBrokerHandshakeTimeout ||
51
- DEFAULT_NATIVE_BROKER_HANDSHAKE_TIMEOUT_MS, performanceClient);
51
+ DEFAULT_NATIVE_BROKER_HANDSHAKE_TIMEOUT_MS, performanceClient, correlationId);
52
52
  }
53
53
  }
54
54
  catch (e) {
@@ -76,29 +76,30 @@ function isDomEnabledForPlatformAuth() {
76
76
  * Returns boolean indicating whether or not the request should attempt to use native broker
77
77
  * @param logger
78
78
  * @param config
79
+ * @param correlationId
79
80
  * @param platformAuthProvider
80
81
  * @param authenticationScheme
81
82
  */
82
- function isPlatformAuthAllowed(config, logger, platformAuthProvider, authenticationScheme) {
83
- logger.trace("isPlatformAuthAllowed called");
83
+ function isPlatformAuthAllowed(config, logger, correlationId, platformAuthProvider, authenticationScheme) {
84
+ logger.trace("isPlatformAuthAllowed called", correlationId);
84
85
  if (!config.system.allowPlatformBroker) {
85
- logger.trace("isPlatformAuthAllowed: allowPlatformBroker is not enabled, returning false");
86
+ logger.trace("isPlatformAuthAllowed: allowPlatformBroker is not enabled, returning false", correlationId);
86
87
  // Developer disabled WAM
87
88
  return false;
88
89
  }
89
90
  if (!platformAuthProvider) {
90
- logger.trace("isPlatformAuthAllowed: Platform auth provider is not initialized, returning false");
91
+ logger.trace("isPlatformAuthAllowed: Platform auth provider is not initialized, returning false", correlationId);
91
92
  // Platform broker auth providers are not available
92
93
  return false;
93
94
  }
94
95
  if (authenticationScheme) {
95
96
  switch (authenticationScheme) {
96
- case AuthenticationScheme.BEARER:
97
- case AuthenticationScheme.POP:
98
- logger.trace("isPlatformAuthAllowed: authenticationScheme is supported, returning true");
97
+ case Constants.AuthenticationScheme.BEARER:
98
+ case Constants.AuthenticationScheme.POP:
99
+ logger.trace("isPlatformAuthAllowed: authenticationScheme is supported, returning true", correlationId);
99
100
  return true;
100
101
  default:
101
- logger.trace("isPlatformAuthAllowed: authenticationScheme is not supported, returning false");
102
+ logger.trace("isPlatformAuthAllowed: authenticationScheme is not supported, returning false", correlationId);
102
103
  return false;
103
104
  }
104
105
  }
@@ -1 +1 @@
1
- {"version":3,"file":"PlatformAuthProvider.mjs","sources":["../../../src/broker/nativeBroker/PlatformAuthProvider.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;;AAAA;;;AAGG;AAqBH;;;;;AAKG;AACI,eAAe,yBAAyB,CAC3C,aAA6B,EAC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AO,KAAK,CAAC;AACpB,SAAA;AACJ,KAAA;AACD,IAAA,OAAO,IAAI,CAAC;AAChB;;;;"}
1
+ {"version":3,"file":"PlatformAuthProvider.mjs","sources":["../../../src/broker/nativeBroker/PlatformAuthProvider.ts"],"sourcesContent":[null],"names":[],"mappings":";;;;;;;;;;AAAA;;;AAGG;AAoBH;;;;;;AAMG;AACI,eAAe,yBAAyB,CAC3C,aAA6B,EAC7B,UAA+B,EAC/B,aAAsB,EAAA;AAEtB,IAAA,MAAM,MAAM,GAAG,IAAI,MAAM,CAAC,aAAa,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,CAAC,CAAC;AAC9D,IAAA,MAAM,GAAG,GAAG,aAAa,IAAI,EAAE,CAAC;AAEhC,IAAA,MAAM,CAAC,KAAK,CAAC,kCAAkC,EAAE,GAAG,CAAC,CAAC;AAEtD,IAAA,MAAM,iBAAiB,GAAG,UAAU,IAAI,IAAI,qBAAqB,EAAE,CAAC;AAEpE,IAAA,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE;AAC/B,QAAA,MAAM,CAAC,KAAK,CAAC,mDAAmD,EAAE,GAAG,CAAC,CAAC;AACvE,QAAA,OAAO,KAAK,CAAC;AAChB,IAAA,CAAA;AAED,IAAA,OAAO,CAAC,EAAE,MAAM,uBAAuB,CAAC,MAAM,EAAE,iBAAiB,EAAE,GAAG,CAAC,CAAC,CAAC;AAC7E,CAAC;AAEM,eAAe,uBAAuB,CACzC,MAAc,EACd,iBAAqC,EACrC,aAAqB,EACrB,4BAAqC,EAAA;AAErC,IAAA,MAAM,CAAC,KAAK,CAAC,gCAAgC,EAAE,aAAa,CAAC,CAAC;AAE9D,IAAA,MAAM,8BAA8B,GAAG,2BAA2B,EAAE,CAAC;IAErE,MAAM,CAAC,KAAK,CACR,CAAA,+CAAA,EAAkD,8BAA8B,CAAA,CAAA,CAAG,EACnF,aAAa,CAChB,CAAC;AACF,IAAA,IAAI,oBAAsD,CAAC;IAC3D,IAAI;AACA,QA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EF,QAAA,OAAO,KAAK,CAAC;AAChB,IAAA,CAAA;IAED,IAAI,CAAC,oBAAoB,EAAE;AACvB,QAAA,MAAM,CAAC,KAAK,CACR,mFAAmF,EACnF,aAAa,CAChB,CAAC;;AAEF,QAAA,OAAO,KAAK,CAAC;AAChB,IAAA,CAAA;AAED,IAAA,IAAI,oBAAoB,EAAE;AACtB,QAAA,QAAQ,oBAAoB;AACxB,YAAA,KAAK,SAAS,CAAC,oBAAoB,CAAC,MAAM,CAAC;AAC3C,YAAA,KAAK,SAAS,CAAC,oBAAoB,CAAC,GAAG;AACnC,gBAAA,MAAM,CAAC,KAAK,CACR,0EAA0E,EAC1E,aAAa,CAChB,CAAC;AACF,gBAAA,OAAO,IAAI,CAAC;AAChB,YAAA;AACI,gBAAA,MAAM,CAAC,KAAK,CACR,+EAA+E,EAC/E,aAAa,CAChB,CAAC;AACF,gBAAA,OAAO,KAAK,CAAC;AACpB,SAAA;AACJ,IAAA,CAAA;AACD,IAAA,OAAO,IAAI,CAAC;AAChB;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"AccountManager.d.ts","sourceRoot":"","sources":["../../src/cache/AccountManager.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,WAAW,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,4BAA4B,CAAC;AAChF,OAAO,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAE/D;;;;GAIG;AACH,wBAAgB,cAAc,CAC1B,MAAM,EAAE,MAAM,EACd,cAAc,EAAE,mBAAmB,EACnC,WAAW,EAAE,OAAO,EACpB,aAAa,EAAE,MAAM,EACrB,aAAa,CAAC,EAAE,aAAa,GAC9B,WAAW,EAAE,CAKf;AAED;;;;GAIG;AACH,wBAAgB,UAAU,CACtB,aAAa,EAAE,aAAa,EAC5B,MAAM,EAAE,MAAM,EACd,cAAc,EAAE,mBAAmB,EACnC,aAAa,EAAE,MAAM,GACtB,WAAW,GAAG,IAAI,CAepB;AAED;;;;;;;GAO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