@azure/msal-browser 4.27.0 → 5.0.0-beta.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 (1624) hide show
  1. package/README.md +24 -32
  2. package/dist/app/IPublicClientApplication.d.ts +3 -10
  3. package/dist/app/IPublicClientApplication.d.ts.map +1 -1
  4. package/dist/app/IPublicClientApplication.mjs +1 -22
  5. package/dist/app/IPublicClientApplication.mjs.map +1 -1
  6. package/dist/app/PublicClientApplication.d.ts +6 -56
  7. package/dist/app/PublicClientApplication.d.ts.map +1 -1
  8. package/dist/app/PublicClientApplication.mjs +15 -80
  9. package/dist/app/PublicClientApplication.mjs.map +1 -1
  10. package/dist/broker/nativeBroker/NativeStatusCodes.mjs +3 -2
  11. package/dist/broker/nativeBroker/NativeStatusCodes.mjs.map +1 -1
  12. package/dist/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -1
  13. package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +13 -15
  14. package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs.map +1 -1
  15. package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +1 -1
  16. package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -1
  17. package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +28 -30
  18. package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs.map +1 -1
  19. package/dist/broker/nativeBroker/PlatformAuthProvider.d.ts +12 -4
  20. package/dist/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
  21. package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +43 -28
  22. package/dist/broker/nativeBroker/PlatformAuthProvider.mjs.map +1 -1
  23. package/dist/cache/AccountManager.d.ts +0 -25
  24. package/dist/cache/AccountManager.d.ts.map +1 -1
  25. package/dist/cache/AccountManager.mjs +10 -84
  26. package/dist/cache/AccountManager.mjs.map +1 -1
  27. package/dist/cache/AsyncMemoryStorage.d.ts +14 -7
  28. package/dist/cache/AsyncMemoryStorage.d.ts.map +1 -1
  29. package/dist/cache/AsyncMemoryStorage.mjs +30 -23
  30. package/dist/cache/AsyncMemoryStorage.mjs.map +1 -1
  31. package/dist/cache/BrowserCacheManager.d.ts +24 -27
  32. package/dist/cache/BrowserCacheManager.d.ts.map +1 -1
  33. package/dist/cache/BrowserCacheManager.mjs +134 -188
  34. package/dist/cache/BrowserCacheManager.mjs.map +1 -1
  35. package/dist/cache/CacheHelpers.mjs +1 -1
  36. package/dist/cache/CacheKeys.mjs +3 -2
  37. package/dist/cache/CacheKeys.mjs.map +1 -1
  38. package/dist/cache/CookieStorage.mjs +1 -1
  39. package/dist/cache/DatabaseStorage.mjs +1 -1
  40. package/dist/cache/EncryptedData.mjs +1 -1
  41. package/dist/cache/IAsyncStorage.d.ts +10 -5
  42. package/dist/cache/IAsyncStorage.d.ts.map +1 -1
  43. package/dist/cache/LocalStorage.d.ts.map +1 -1
  44. package/dist/cache/LocalStorage.mjs +23 -19
  45. package/dist/cache/LocalStorage.mjs.map +1 -1
  46. package/dist/cache/MemoryStorage.mjs +1 -1
  47. package/dist/cache/SessionStorage.mjs +1 -1
  48. package/dist/cache/TokenCache.d.ts +8 -68
  49. package/dist/cache/TokenCache.d.ts.map +1 -1
  50. package/dist/cache/TokenCache.mjs +179 -187
  51. package/dist/cache/TokenCache.mjs.map +1 -1
  52. package/dist/config/Configuration.d.ts +8 -69
  53. package/dist/config/Configuration.d.ts.map +1 -1
  54. package/dist/config/Configuration.mjs +22 -39
  55. package/dist/config/Configuration.mjs.map +1 -1
  56. package/dist/controllers/IController.d.ts +2 -58
  57. package/dist/controllers/IController.d.ts.map +1 -1
  58. package/dist/controllers/NestedAppAuthController.d.ts +5 -49
  59. package/dist/controllers/NestedAppAuthController.d.ts.map +1 -1
  60. package/dist/controllers/NestedAppAuthController.mjs +32 -100
  61. package/dist/controllers/NestedAppAuthController.mjs.map +1 -1
  62. package/dist/controllers/StandardController.d.ts +10 -55
  63. package/dist/controllers/StandardController.d.ts.map +1 -1
  64. package/dist/controllers/StandardController.mjs +179 -335
  65. package/dist/controllers/StandardController.mjs.map +1 -1
  66. package/dist/controllers/UnknownOperatingContextController.d.ts +5 -18
  67. package/dist/controllers/UnknownOperatingContextController.d.ts.map +1 -1
  68. package/dist/crypto/BrowserCrypto.d.ts +1 -2
  69. package/dist/crypto/BrowserCrypto.d.ts.map +1 -1
  70. package/dist/crypto/BrowserCrypto.mjs +2 -4
  71. package/dist/crypto/BrowserCrypto.mjs.map +1 -1
  72. package/dist/crypto/CryptoOps.d.ts +4 -2
  73. package/dist/crypto/CryptoOps.d.ts.map +1 -1
  74. package/dist/crypto/CryptoOps.mjs +17 -14
  75. package/dist/crypto/CryptoOps.mjs.map +1 -1
  76. package/dist/crypto/PkceGenerator.d.ts.map +1 -1
  77. package/dist/crypto/PkceGenerator.mjs +7 -8
  78. package/dist/crypto/PkceGenerator.mjs.map +1 -1
  79. package/dist/crypto/SignedHttpRequest.d.ts +2 -1
  80. package/dist/crypto/SignedHttpRequest.d.ts.map +1 -1
  81. package/dist/crypto/SignedHttpRequest.mjs +6 -18
  82. package/dist/crypto/SignedHttpRequest.mjs.map +1 -1
  83. package/dist/custom-auth-path/app/IPublicClientApplication.d.ts +3 -10
  84. package/dist/custom-auth-path/app/IPublicClientApplication.d.ts.map +1 -1
  85. package/dist/custom-auth-path/app/PublicClientApplication.d.ts +6 -56
  86. package/dist/custom-auth-path/app/PublicClientApplication.d.ts.map +1 -1
  87. package/dist/custom-auth-path/app/PublicClientApplication.mjs +5 -76
  88. package/dist/custom-auth-path/app/PublicClientApplication.mjs.map +1 -1
  89. package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs +3 -2
  90. package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs.map +1 -1
  91. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -1
  92. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs +13 -15
  93. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs.map +1 -1
  94. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +1 -1
  95. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -1
  96. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +28 -30
  97. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs.map +1 -1
  98. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.d.ts +12 -4
  99. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
  100. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs +37 -23
  101. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs.map +1 -1
  102. package/dist/custom-auth-path/cache/AccountManager.d.ts +0 -25
  103. package/dist/custom-auth-path/cache/AccountManager.d.ts.map +1 -1
  104. package/dist/custom-auth-path/cache/AccountManager.mjs +10 -84
  105. package/dist/custom-auth-path/cache/AccountManager.mjs.map +1 -1
  106. package/dist/custom-auth-path/cache/AsyncMemoryStorage.d.ts +14 -7
  107. package/dist/custom-auth-path/cache/AsyncMemoryStorage.d.ts.map +1 -1
  108. package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs +30 -23
  109. package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs.map +1 -1
  110. package/dist/custom-auth-path/cache/BrowserCacheManager.d.ts +24 -27
  111. package/dist/custom-auth-path/cache/BrowserCacheManager.d.ts.map +1 -1
  112. package/dist/custom-auth-path/cache/BrowserCacheManager.mjs +134 -188
  113. package/dist/custom-auth-path/cache/BrowserCacheManager.mjs.map +1 -1
  114. package/dist/custom-auth-path/cache/CacheHelpers.mjs +1 -1
  115. package/dist/custom-auth-path/cache/CacheKeys.mjs +3 -2
  116. package/dist/custom-auth-path/cache/CacheKeys.mjs.map +1 -1
  117. package/dist/custom-auth-path/cache/CookieStorage.mjs +1 -1
  118. package/dist/custom-auth-path/cache/DatabaseStorage.mjs +1 -1
  119. package/dist/custom-auth-path/cache/EncryptedData.mjs +1 -1
  120. package/dist/custom-auth-path/cache/IAsyncStorage.d.ts +10 -5
  121. package/dist/custom-auth-path/cache/IAsyncStorage.d.ts.map +1 -1
  122. package/dist/custom-auth-path/cache/LocalStorage.d.ts.map +1 -1
  123. package/dist/custom-auth-path/cache/LocalStorage.mjs +23 -19
  124. package/dist/custom-auth-path/cache/LocalStorage.mjs.map +1 -1
  125. package/dist/custom-auth-path/cache/MemoryStorage.mjs +1 -1
  126. package/dist/custom-auth-path/cache/SessionStorage.mjs +1 -1
  127. package/dist/custom-auth-path/cache/TokenCache.d.ts +8 -68
  128. package/dist/custom-auth-path/cache/TokenCache.d.ts.map +1 -1
  129. package/dist/custom-auth-path/config/Configuration.d.ts +8 -69
  130. package/dist/custom-auth-path/config/Configuration.d.ts.map +1 -1
  131. package/dist/custom-auth-path/config/Configuration.mjs +22 -39
  132. package/dist/custom-auth-path/config/Configuration.mjs.map +1 -1
  133. package/dist/custom-auth-path/controllers/IController.d.ts +2 -58
  134. package/dist/custom-auth-path/controllers/IController.d.ts.map +1 -1
  135. package/dist/custom-auth-path/controllers/NestedAppAuthController.d.ts +5 -49
  136. package/dist/custom-auth-path/controllers/NestedAppAuthController.d.ts.map +1 -1
  137. package/dist/custom-auth-path/controllers/StandardController.d.ts +10 -55
  138. package/dist/custom-auth-path/controllers/StandardController.d.ts.map +1 -1
  139. package/dist/custom-auth-path/controllers/StandardController.mjs +179 -335
  140. package/dist/custom-auth-path/controllers/StandardController.mjs.map +1 -1
  141. package/dist/custom-auth-path/controllers/UnknownOperatingContextController.d.ts +5 -18
  142. package/dist/custom-auth-path/controllers/UnknownOperatingContextController.d.ts.map +1 -1
  143. package/dist/custom-auth-path/crypto/BrowserCrypto.d.ts +1 -2
  144. package/dist/custom-auth-path/crypto/BrowserCrypto.d.ts.map +1 -1
  145. package/dist/custom-auth-path/crypto/BrowserCrypto.mjs +2 -4
  146. package/dist/custom-auth-path/crypto/BrowserCrypto.mjs.map +1 -1
  147. package/dist/custom-auth-path/crypto/CryptoOps.d.ts +4 -2
  148. package/dist/custom-auth-path/crypto/CryptoOps.d.ts.map +1 -1
  149. package/dist/custom-auth-path/crypto/CryptoOps.mjs +17 -14
  150. package/dist/custom-auth-path/crypto/CryptoOps.mjs.map +1 -1
  151. package/dist/custom-auth-path/crypto/PkceGenerator.d.ts.map +1 -1
  152. package/dist/custom-auth-path/crypto/PkceGenerator.mjs +7 -8
  153. package/dist/custom-auth-path/crypto/PkceGenerator.mjs.map +1 -1
  154. package/dist/custom-auth-path/crypto/SignedHttpRequest.d.ts +2 -1
  155. package/dist/custom-auth-path/crypto/SignedHttpRequest.d.ts.map +1 -1
  156. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts +2 -2
  157. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts.map +1 -1
  158. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs +1 -1
  159. package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
  160. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  161. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +27 -31
  162. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs.map +1 -1
  163. package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.d.ts +2 -2
  164. package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -1
  165. package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs +6 -7
  166. package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs.map +1 -1
  167. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +1 -1
  168. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
  169. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs +3 -3
  170. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs.map +1 -1
  171. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +1 -1
  172. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +1 -1
  173. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +3 -0
  174. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -1
  175. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +4 -1
  176. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs.map +1 -1
  177. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +2 -0
  178. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -1
  179. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +3 -1
  180. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs.map +1 -1
  181. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
  182. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
  183. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +7 -0
  184. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -1
  185. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +17 -10
  186. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs.map +1 -1
  187. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +1 -1
  188. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +2 -0
  189. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -1
  190. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +3 -1
  191. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs.map +1 -1
  192. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +2 -0
  193. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -1
  194. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +3 -1
  195. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs.map +1 -1
  196. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
  197. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
  198. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +6 -0
  199. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -1
  200. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +13 -7
  201. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.mjs.map +1 -1
  202. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
  203. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs +1 -1
  204. package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs +1 -1
  205. package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
  206. package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
  207. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
  208. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
  209. package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
  210. package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
  211. package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
  212. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs +1 -1
  213. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
  214. package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs +1 -1
  215. package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
  216. package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
  217. package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
  218. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -1
  219. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +4 -4
  220. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs.map +1 -1
  221. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
  222. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
  223. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs +20 -15
  224. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs.map +1 -1
  225. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +1 -1
  226. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -1
  227. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.mjs +17 -14
  228. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.mjs.map +1 -1
  229. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +1 -1
  230. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
  231. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
  232. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
  233. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
  234. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
  235. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +1 -1
  236. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
  237. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
  238. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
  239. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -1
  240. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +5 -5
  241. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs.map +1 -1
  242. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
  243. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs +1 -1
  244. package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
  245. package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs +1 -1
  246. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +10 -10
  247. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs.map +1 -1
  248. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
  249. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
  250. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
  251. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
  252. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
  253. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
  254. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
  255. package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -1
  256. package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +17 -19
  257. package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs.map +1 -1
  258. package/dist/custom-auth-path/custom_auth/index.mjs +1 -1
  259. package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
  260. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
  261. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
  262. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
  263. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
  264. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
  265. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +7 -7
  266. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs.map +1 -1
  267. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
  268. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
  269. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +4 -4
  270. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs.map +1 -1
  271. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
  272. package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -1
  273. package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +30 -28
  274. package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs.map +1 -1
  275. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
  276. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
  277. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
  278. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +2 -0
  279. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -1
  280. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +3 -1
  281. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs.map +1 -1
  282. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +2 -0
  283. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -1
  284. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +3 -1
  285. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs.map +1 -1
  286. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +2 -0
  287. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -1
  288. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +3 -1
  289. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs.map +1 -1
  290. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +6 -6
  291. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs.map +1 -1
  292. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
  293. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +4 -4
  294. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs.map +1 -1
  295. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
  296. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +4 -4
  297. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs.map +1 -1
  298. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs +4 -4
  299. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs.map +1 -1
  300. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  301. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +53 -47
  302. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs.map +1 -1
  303. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
  304. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
  305. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
  306. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
  307. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
  308. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
  309. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
  310. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +6 -6
  311. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs.map +1 -1
  312. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +10 -10
  313. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs.map +1 -1
  314. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
  315. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
  316. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +6 -6
  317. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs.map +1 -1
  318. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
  319. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +4 -4
  320. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -1
  321. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs +56 -50
  322. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs.map +1 -1
  323. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
  324. package/dist/custom-auth-path/encode/Base64Decode.mjs +1 -1
  325. package/dist/custom-auth-path/encode/Base64Encode.mjs +1 -1
  326. package/dist/custom-auth-path/error/BrowserAuthError.d.ts +1 -246
  327. package/dist/custom-auth-path/error/BrowserAuthError.d.ts.map +1 -1
  328. package/dist/custom-auth-path/error/BrowserAuthError.mjs +6 -61
  329. package/dist/custom-auth-path/error/BrowserAuthError.mjs.map +1 -1
  330. package/dist/custom-auth-path/error/BrowserAuthErrorCodes.d.ts +3 -2
  331. package/dist/custom-auth-path/error/BrowserAuthErrorCodes.d.ts.map +1 -1
  332. package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +6 -10
  333. package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs.map +1 -1
  334. package/dist/custom-auth-path/error/BrowserConfigurationAuthError.d.ts +0 -23
  335. package/dist/custom-auth-path/error/BrowserConfigurationAuthError.d.ts.map +1 -1
  336. package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs +4 -9
  337. package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs.map +1 -1
  338. package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs +2 -3
  339. package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs.map +1 -1
  340. package/dist/custom-auth-path/error/NativeAuthError.d.ts +0 -3
  341. package/dist/custom-auth-path/error/NativeAuthError.d.ts.map +1 -1
  342. package/dist/custom-auth-path/error/NativeAuthError.mjs +10 -12
  343. package/dist/custom-auth-path/error/NativeAuthError.mjs.map +1 -1
  344. package/dist/custom-auth-path/error/NativeAuthErrorCodes.d.ts +1 -0
  345. package/dist/custom-auth-path/error/NativeAuthErrorCodes.d.ts.map +1 -1
  346. package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +1 -1
  347. package/dist/custom-auth-path/error/NestedAppAuthError.d.ts +0 -9
  348. package/dist/custom-auth-path/error/NestedAppAuthError.d.ts.map +1 -1
  349. package/dist/custom-auth-path/event/EventHandler.d.ts.map +1 -1
  350. package/dist/custom-auth-path/event/EventHandler.mjs +9 -12
  351. package/dist/custom-auth-path/event/EventHandler.mjs.map +1 -1
  352. package/dist/custom-auth-path/event/EventMessage.d.ts.map +1 -1
  353. package/dist/custom-auth-path/event/EventType.d.ts +3 -10
  354. package/dist/custom-auth-path/event/EventType.d.ts.map +1 -1
  355. package/dist/custom-auth-path/event/EventType.mjs +4 -11
  356. package/dist/custom-auth-path/event/EventType.mjs.map +1 -1
  357. package/dist/custom-auth-path/index.d.ts +34 -6
  358. package/dist/custom-auth-path/index.d.ts.map +1 -1
  359. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.d.ts +50 -32
  360. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.d.ts.map +1 -1
  361. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +116 -97
  362. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs.map +1 -1
  363. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +2 -2
  364. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -1
  365. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +3 -3
  366. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs.map +1 -1
  367. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts +5 -3
  368. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  369. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +72 -87
  370. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
  371. package/dist/custom-auth-path/interaction_client/PopupClient.d.ts +1 -16
  372. package/dist/custom-auth-path/interaction_client/PopupClient.d.ts.map +1 -1
  373. package/dist/custom-auth-path/interaction_client/PopupClient.mjs +66 -145
  374. package/dist/custom-auth-path/interaction_client/PopupClient.mjs.map +1 -1
  375. package/dist/custom-auth-path/interaction_client/RedirectClient.d.ts +8 -4
  376. package/dist/custom-auth-path/interaction_client/RedirectClient.d.ts.map +1 -1
  377. package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +78 -85
  378. package/dist/custom-auth-path/interaction_client/RedirectClient.mjs.map +1 -1
  379. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.d.ts +1 -1
  380. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.d.ts.map +1 -1
  381. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +17 -10
  382. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs.map +1 -1
  383. package/dist/custom-auth-path/interaction_client/SilentCacheClient.d.ts.map +1 -1
  384. package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +11 -10
  385. package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs.map +1 -1
  386. package/dist/custom-auth-path/interaction_client/SilentIframeClient.d.ts +1 -1
  387. package/dist/custom-auth-path/interaction_client/SilentIframeClient.d.ts.map +1 -1
  388. package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +43 -50
  389. package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs.map +1 -1
  390. package/dist/custom-auth-path/interaction_client/SilentRefreshClient.d.ts.map +1 -1
  391. package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +9 -8
  392. package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs.map +1 -1
  393. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.d.ts +17 -7
  394. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.d.ts.map +1 -1
  395. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +63 -67
  396. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs.map +1 -1
  397. package/dist/custom-auth-path/interaction_handler/InteractionHandler.d.ts +2 -3
  398. package/dist/custom-auth-path/interaction_handler/InteractionHandler.d.ts.map +1 -1
  399. package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +7 -13
  400. package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs.map +1 -1
  401. package/dist/custom-auth-path/interaction_handler/SilentHandler.d.ts +2 -8
  402. package/dist/custom-auth-path/interaction_handler/SilentHandler.d.ts.map +1 -1
  403. package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +8 -97
  404. package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs.map +1 -1
  405. package/dist/custom-auth-path/log-strings-mapping.json +1703 -0
  406. package/dist/custom-auth-path/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -1
  407. package/dist/custom-auth-path/navigation/NavigationClient.mjs +1 -1
  408. package/dist/custom-auth-path/network/FetchClient.mjs +1 -1
  409. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.d.ts +2 -1
  410. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.d.ts.map +1 -1
  411. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +1 -1
  412. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs.map +1 -1
  413. package/dist/custom-auth-path/operatingcontext/NestedAppOperatingContext.d.ts +2 -1
  414. package/dist/custom-auth-path/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -1
  415. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.d.ts +1 -1
  416. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.d.ts.map +1 -1
  417. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +3 -2
  418. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs.map +1 -1
  419. package/dist/custom-auth-path/packageMetadata.d.ts +1 -1
  420. package/dist/custom-auth-path/packageMetadata.d.ts.map +1 -1
  421. package/dist/custom-auth-path/packageMetadata.mjs +2 -2
  422. package/dist/custom-auth-path/protocol/Authorize.d.ts.map +1 -1
  423. package/dist/custom-auth-path/protocol/Authorize.mjs +37 -29
  424. package/dist/custom-auth-path/protocol/Authorize.mjs.map +1 -1
  425. package/dist/custom-auth-path/redirect_bridge/index.d.ts +16 -0
  426. package/dist/custom-auth-path/redirect_bridge/index.d.ts.map +1 -0
  427. package/dist/custom-auth-path/request/AuthorizationCodeRequest.d.ts +1 -1
  428. package/dist/custom-auth-path/request/AuthorizationCodeRequest.d.ts.map +1 -1
  429. package/dist/custom-auth-path/request/EndSessionPopupRequest.d.ts +1 -1
  430. package/dist/custom-auth-path/request/EndSessionPopupRequest.d.ts.map +1 -1
  431. package/dist/custom-auth-path/request/EndSessionRequest.d.ts +1 -3
  432. package/dist/custom-auth-path/request/EndSessionRequest.d.ts.map +1 -1
  433. package/dist/custom-auth-path/request/HandleRedirectPromiseOptions.d.ts +5 -0
  434. package/dist/custom-auth-path/request/HandleRedirectPromiseOptions.d.ts.map +1 -0
  435. package/dist/custom-auth-path/request/PopupRequest.d.ts +5 -4
  436. package/dist/custom-auth-path/request/PopupRequest.d.ts.map +1 -1
  437. package/dist/custom-auth-path/request/RedirectRequest.d.ts +3 -11
  438. package/dist/custom-auth-path/request/RedirectRequest.d.ts.map +1 -1
  439. package/dist/custom-auth-path/request/RequestHelpers.d.ts +7 -3
  440. package/dist/custom-auth-path/request/RequestHelpers.d.ts.map +1 -1
  441. package/dist/custom-auth-path/request/RequestHelpers.mjs +21 -28
  442. package/dist/custom-auth-path/request/RequestHelpers.mjs.map +1 -1
  443. package/dist/custom-auth-path/request/SilentRequest.d.ts +3 -4
  444. package/dist/custom-auth-path/request/SilentRequest.d.ts.map +1 -1
  445. package/dist/custom-auth-path/request/SsoSilentRequest.d.ts +3 -4
  446. package/dist/custom-auth-path/request/SsoSilentRequest.d.ts.map +1 -1
  447. package/dist/custom-auth-path/response/ResponseHandler.d.ts +1 -1
  448. package/dist/custom-auth-path/response/ResponseHandler.d.ts.map +1 -1
  449. package/dist/custom-auth-path/response/ResponseHandler.mjs +5 -5
  450. package/dist/custom-auth-path/response/ResponseHandler.mjs.map +1 -1
  451. package/dist/custom-auth-path/telemetry/BrowserPerformanceClient.d.ts +2 -19
  452. package/dist/custom-auth-path/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
  453. package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.d.ts +130 -0
  454. package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.d.ts.map +1 -0
  455. package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.mjs +124 -0
  456. package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.mjs.map +1 -0
  457. package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.d.ts +35 -0
  458. package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -0
  459. package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.mjs +45 -0
  460. package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.mjs.map +1 -0
  461. package/dist/custom-auth-path/utils/BrowserConstants.d.ts +0 -12
  462. package/dist/custom-auth-path/utils/BrowserConstants.d.ts.map +1 -1
  463. package/dist/custom-auth-path/utils/BrowserConstants.mjs +3 -7
  464. package/dist/custom-auth-path/utils/BrowserConstants.mjs.map +1 -1
  465. package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +2 -2
  466. package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs.map +1 -1
  467. package/dist/custom-auth-path/utils/BrowserUtils.d.ts +36 -2
  468. package/dist/custom-auth-path/utils/BrowserUtils.d.ts.map +1 -1
  469. package/dist/custom-auth-path/utils/BrowserUtils.mjs +155 -14
  470. package/dist/custom-auth-path/utils/BrowserUtils.mjs.map +1 -1
  471. package/dist/custom-auth-path/utils/Helpers.mjs +1 -1
  472. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.d.ts +1 -1
  473. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.d.ts.map +1 -1
  474. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +3 -3
  475. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs.map +1 -1
  476. package/dist/custom_auth/CustomAuthConstants.d.ts +2 -2
  477. package/dist/custom_auth/CustomAuthConstants.d.ts.map +1 -1
  478. package/dist/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  479. package/dist/custom_auth/core/CustomAuthAuthority.d.ts +2 -2
  480. package/dist/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -1
  481. package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +3 -0
  482. package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -1
  483. package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +2 -0
  484. package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -1
  485. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +7 -0
  486. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -1
  487. package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +2 -0
  488. package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -1
  489. package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +2 -0
  490. package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -1
  491. package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +6 -0
  492. package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -1
  493. package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -1
  494. package/dist/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
  495. package/dist/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -1
  496. package/dist/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -1
  497. package/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -1
  498. package/dist/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -1
  499. package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +2 -0
  500. package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -1
  501. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +2 -0
  502. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -1
  503. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +2 -0
  504. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -1
  505. package/dist/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  506. package/dist/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +4 -4
  507. package/dist/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -1
  508. package/dist/encode/Base64Decode.mjs +1 -1
  509. package/dist/encode/Base64Encode.mjs +1 -1
  510. package/dist/error/BrowserAuthError.d.ts +1 -246
  511. package/dist/error/BrowserAuthError.d.ts.map +1 -1
  512. package/dist/error/BrowserAuthError.mjs +6 -253
  513. package/dist/error/BrowserAuthError.mjs.map +1 -1
  514. package/dist/error/BrowserAuthErrorCodes.d.ts +3 -2
  515. package/dist/error/BrowserAuthErrorCodes.d.ts.map +1 -1
  516. package/dist/error/BrowserAuthErrorCodes.mjs +6 -5
  517. package/dist/error/BrowserAuthErrorCodes.mjs.map +1 -1
  518. package/dist/error/BrowserConfigurationAuthError.d.ts +0 -23
  519. package/dist/error/BrowserConfigurationAuthError.d.ts.map +1 -1
  520. package/dist/error/BrowserConfigurationAuthError.mjs +4 -29
  521. package/dist/error/BrowserConfigurationAuthError.mjs.map +1 -1
  522. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  523. package/dist/error/NativeAuthError.d.ts +0 -3
  524. package/dist/error/NativeAuthError.d.ts.map +1 -1
  525. package/dist/error/NativeAuthError.mjs +10 -12
  526. package/dist/error/NativeAuthError.mjs.map +1 -1
  527. package/dist/error/NativeAuthErrorCodes.d.ts +1 -0
  528. package/dist/error/NativeAuthErrorCodes.d.ts.map +1 -1
  529. package/dist/error/NativeAuthErrorCodes.mjs +4 -3
  530. package/dist/error/NativeAuthErrorCodes.mjs.map +1 -1
  531. package/dist/error/NestedAppAuthError.d.ts +0 -9
  532. package/dist/error/NestedAppAuthError.d.ts.map +1 -1
  533. package/dist/error/NestedAppAuthError.mjs +4 -12
  534. package/dist/error/NestedAppAuthError.mjs.map +1 -1
  535. package/dist/event/EventHandler.d.ts.map +1 -1
  536. package/dist/event/EventHandler.mjs +9 -12
  537. package/dist/event/EventHandler.mjs.map +1 -1
  538. package/dist/event/EventMessage.d.ts.map +1 -1
  539. package/dist/event/EventMessage.mjs +2 -17
  540. package/dist/event/EventMessage.mjs.map +1 -1
  541. package/dist/event/EventType.d.ts +3 -10
  542. package/dist/event/EventType.d.ts.map +1 -1
  543. package/dist/event/EventType.mjs +4 -11
  544. package/dist/event/EventType.mjs.map +1 -1
  545. package/dist/index.d.ts +34 -6
  546. package/dist/index.d.ts.map +1 -1
  547. package/dist/index.mjs +25 -5
  548. package/dist/index.mjs.map +1 -1
  549. package/dist/interaction_client/BaseInteractionClient.d.ts +50 -32
  550. package/dist/interaction_client/BaseInteractionClient.d.ts.map +1 -1
  551. package/dist/interaction_client/BaseInteractionClient.mjs +116 -97
  552. package/dist/interaction_client/BaseInteractionClient.mjs.map +1 -1
  553. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +2 -2
  554. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -1
  555. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +3 -3
  556. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs.map +1 -1
  557. package/dist/interaction_client/PlatformAuthInteractionClient.d.ts +5 -3
  558. package/dist/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  559. package/dist/interaction_client/PlatformAuthInteractionClient.mjs +72 -87
  560. package/dist/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
  561. package/dist/interaction_client/PopupClient.d.ts +1 -16
  562. package/dist/interaction_client/PopupClient.d.ts.map +1 -1
  563. package/dist/interaction_client/PopupClient.mjs +66 -145
  564. package/dist/interaction_client/PopupClient.mjs.map +1 -1
  565. package/dist/interaction_client/RedirectClient.d.ts +8 -4
  566. package/dist/interaction_client/RedirectClient.d.ts.map +1 -1
  567. package/dist/interaction_client/RedirectClient.mjs +78 -85
  568. package/dist/interaction_client/RedirectClient.mjs.map +1 -1
  569. package/dist/interaction_client/SilentAuthCodeClient.d.ts +1 -1
  570. package/dist/interaction_client/SilentAuthCodeClient.d.ts.map +1 -1
  571. package/dist/interaction_client/SilentAuthCodeClient.mjs +17 -10
  572. package/dist/interaction_client/SilentAuthCodeClient.mjs.map +1 -1
  573. package/dist/interaction_client/SilentCacheClient.d.ts.map +1 -1
  574. package/dist/interaction_client/SilentCacheClient.mjs +11 -10
  575. package/dist/interaction_client/SilentCacheClient.mjs.map +1 -1
  576. package/dist/interaction_client/SilentIframeClient.d.ts +1 -1
  577. package/dist/interaction_client/SilentIframeClient.d.ts.map +1 -1
  578. package/dist/interaction_client/SilentIframeClient.mjs +43 -50
  579. package/dist/interaction_client/SilentIframeClient.mjs.map +1 -1
  580. package/dist/interaction_client/SilentRefreshClient.d.ts.map +1 -1
  581. package/dist/interaction_client/SilentRefreshClient.mjs +9 -8
  582. package/dist/interaction_client/SilentRefreshClient.mjs.map +1 -1
  583. package/dist/interaction_client/StandardInteractionClient.d.ts +17 -7
  584. package/dist/interaction_client/StandardInteractionClient.d.ts.map +1 -1
  585. package/dist/interaction_client/StandardInteractionClient.mjs +63 -67
  586. package/dist/interaction_client/StandardInteractionClient.mjs.map +1 -1
  587. package/dist/interaction_handler/InteractionHandler.d.ts +2 -3
  588. package/dist/interaction_handler/InteractionHandler.d.ts.map +1 -1
  589. package/dist/interaction_handler/InteractionHandler.mjs +7 -13
  590. package/dist/interaction_handler/InteractionHandler.mjs.map +1 -1
  591. package/dist/interaction_handler/SilentHandler.d.ts +2 -8
  592. package/dist/interaction_handler/SilentHandler.d.ts.map +1 -1
  593. package/dist/interaction_handler/SilentHandler.mjs +8 -97
  594. package/dist/interaction_handler/SilentHandler.mjs.map +1 -1
  595. package/dist/log-strings-mapping.json +1135 -0
  596. package/dist/naa/BridgeError.mjs +1 -1
  597. package/dist/naa/BridgeProxy.mjs +1 -1
  598. package/dist/naa/BridgeStatusCode.mjs +1 -1
  599. package/dist/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -1
  600. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +9 -6
  601. package/dist/naa/mapping/NestedAppAuthAdapter.mjs.map +1 -1
  602. package/dist/navigation/NavigationClient.mjs +1 -1
  603. package/dist/network/FetchClient.mjs +1 -1
  604. package/dist/operatingcontext/BaseOperatingContext.d.ts +2 -1
  605. package/dist/operatingcontext/BaseOperatingContext.d.ts.map +1 -1
  606. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  607. package/dist/operatingcontext/BaseOperatingContext.mjs.map +1 -1
  608. package/dist/operatingcontext/NestedAppOperatingContext.d.ts +2 -1
  609. package/dist/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -1
  610. package/dist/operatingcontext/NestedAppOperatingContext.mjs +5 -4
  611. package/dist/operatingcontext/NestedAppOperatingContext.mjs.map +1 -1
  612. package/dist/operatingcontext/StandardOperatingContext.d.ts +1 -1
  613. package/dist/operatingcontext/StandardOperatingContext.d.ts.map +1 -1
  614. package/dist/operatingcontext/StandardOperatingContext.mjs +3 -2
  615. package/dist/operatingcontext/StandardOperatingContext.mjs.map +1 -1
  616. package/dist/packageMetadata.d.ts +1 -1
  617. package/dist/packageMetadata.d.ts.map +1 -1
  618. package/dist/packageMetadata.mjs +2 -2
  619. package/dist/protocol/Authorize.d.ts.map +1 -1
  620. package/dist/protocol/Authorize.mjs +37 -29
  621. package/dist/protocol/Authorize.mjs.map +1 -1
  622. package/dist/redirect-bridge/app/IPublicClientApplication.d.ts +48 -0
  623. package/dist/redirect-bridge/app/IPublicClientApplication.d.ts.map +1 -0
  624. package/dist/{app/PublicClientNext.d.ts → redirect-bridge/app/PublicClientApplication.d.ts} +35 -66
  625. package/dist/redirect-bridge/app/PublicClientApplication.d.ts.map +1 -0
  626. package/dist/redirect-bridge/broker/nativeBroker/IPlatformAuthHandler.d.ts +12 -0
  627. package/dist/redirect-bridge/broker/nativeBroker/IPlatformAuthHandler.d.ts.map +1 -0
  628. package/dist/redirect-bridge/broker/nativeBroker/NativeStatusCodes.d.ts +9 -0
  629. package/dist/redirect-bridge/broker/nativeBroker/NativeStatusCodes.d.ts.map +1 -0
  630. package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthDOMHandler.d.ts +30 -0
  631. package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -0
  632. package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +63 -0
  633. package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -0
  634. package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthProvider.d.ts +28 -0
  635. package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -0
  636. package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthRequest.d.ts +78 -0
  637. package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthRequest.d.ts.map +1 -0
  638. package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthResponse.d.ts +71 -0
  639. package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthResponse.d.ts.map +1 -0
  640. package/dist/redirect-bridge/cache/AccountManager.d.ts +24 -0
  641. package/dist/redirect-bridge/cache/AccountManager.d.ts.map +1 -0
  642. package/dist/redirect-bridge/cache/AsyncMemoryStorage.d.ts +58 -0
  643. package/dist/redirect-bridge/cache/AsyncMemoryStorage.d.ts.map +1 -0
  644. package/dist/redirect-bridge/cache/BrowserCacheManager.d.ts +366 -0
  645. package/dist/redirect-bridge/cache/BrowserCacheManager.d.ts.map +1 -0
  646. package/dist/redirect-bridge/cache/CacheHelpers.d.ts +16 -0
  647. package/dist/redirect-bridge/cache/CacheHelpers.d.ts.map +1 -0
  648. package/dist/redirect-bridge/cache/CacheKeys.d.ts +14 -0
  649. package/dist/redirect-bridge/cache/CacheKeys.d.ts.map +1 -0
  650. package/dist/redirect-bridge/cache/CacheKeys.mjs +10 -0
  651. package/dist/redirect-bridge/cache/CacheKeys.mjs.map +1 -0
  652. package/dist/redirect-bridge/cache/CookieStorage.d.ts +23 -0
  653. package/dist/redirect-bridge/cache/CookieStorage.d.ts.map +1 -0
  654. package/dist/redirect-bridge/cache/DatabaseStorage.d.ts +57 -0
  655. package/dist/redirect-bridge/cache/DatabaseStorage.d.ts.map +1 -0
  656. package/dist/redirect-bridge/cache/EncryptedData.d.ts +8 -0
  657. package/dist/redirect-bridge/cache/EncryptedData.d.ts.map +1 -0
  658. package/dist/redirect-bridge/cache/IAsyncStorage.d.ts +33 -0
  659. package/dist/redirect-bridge/cache/IAsyncStorage.d.ts.map +1 -0
  660. package/dist/redirect-bridge/cache/IWindowStorage.d.ts +42 -0
  661. package/dist/redirect-bridge/cache/IWindowStorage.d.ts.map +1 -0
  662. package/dist/redirect-bridge/cache/LocalStorage.d.ts +51 -0
  663. package/dist/redirect-bridge/cache/LocalStorage.d.ts.map +1 -0
  664. package/dist/redirect-bridge/cache/MemoryStorage.d.ts +16 -0
  665. package/dist/redirect-bridge/cache/MemoryStorage.d.ts.map +1 -0
  666. package/dist/redirect-bridge/cache/SessionStorage.d.ts +14 -0
  667. package/dist/redirect-bridge/cache/SessionStorage.d.ts.map +1 -0
  668. package/dist/redirect-bridge/cache/TokenCache.d.ts +18 -0
  669. package/dist/redirect-bridge/cache/TokenCache.d.ts.map +1 -0
  670. package/dist/redirect-bridge/config/Configuration.d.ts +175 -0
  671. package/dist/redirect-bridge/config/Configuration.d.ts.map +1 -0
  672. package/dist/redirect-bridge/config/Configuration.mjs +10 -0
  673. package/dist/redirect-bridge/config/Configuration.mjs.map +1 -0
  674. package/dist/redirect-bridge/controllers/IController.d.ts +3 -0
  675. package/dist/redirect-bridge/controllers/IController.d.ts.map +1 -0
  676. package/dist/redirect-bridge/controllers/NestedAppAuthController.d.ts +159 -0
  677. package/dist/redirect-bridge/controllers/NestedAppAuthController.d.ts.map +1 -0
  678. package/{lib/custom-auth-path/types/app/PublicClientNext.d.ts → dist/redirect-bridge/controllers/StandardController.d.ts} +253 -151
  679. package/dist/redirect-bridge/controllers/StandardController.d.ts.map +1 -0
  680. package/dist/redirect-bridge/controllers/UnknownOperatingContextController.d.ts +73 -0
  681. package/dist/redirect-bridge/controllers/UnknownOperatingContextController.d.ts.map +1 -0
  682. package/dist/redirect-bridge/crypto/BrowserCrypto.d.ts +96 -0
  683. package/dist/redirect-bridge/crypto/BrowserCrypto.d.ts.map +1 -0
  684. package/dist/redirect-bridge/crypto/CryptoOps.d.ts +77 -0
  685. package/dist/redirect-bridge/crypto/CryptoOps.d.ts.map +1 -0
  686. package/dist/redirect-bridge/crypto/PkceGenerator.d.ts +9 -0
  687. package/dist/redirect-bridge/crypto/PkceGenerator.d.ts.map +1 -0
  688. package/dist/redirect-bridge/crypto/SignedHttpRequest.d.ts +32 -0
  689. package/dist/redirect-bridge/crypto/SignedHttpRequest.d.ts.map +1 -0
  690. package/dist/redirect-bridge/custom_auth/CustomAuthActionInputs.d.ts +29 -0
  691. package/dist/redirect-bridge/custom_auth/CustomAuthActionInputs.d.ts.map +1 -0
  692. package/dist/redirect-bridge/custom_auth/CustomAuthConstants.d.ts +35 -0
  693. package/dist/redirect-bridge/custom_auth/CustomAuthConstants.d.ts.map +1 -0
  694. package/dist/redirect-bridge/custom_auth/CustomAuthPublicClientApplication.d.ts +55 -0
  695. package/dist/redirect-bridge/custom_auth/CustomAuthPublicClientApplication.d.ts.map +1 -0
  696. package/dist/redirect-bridge/custom_auth/ICustomAuthPublicClientApplication.d.ts +33 -0
  697. package/dist/redirect-bridge/custom_auth/ICustomAuthPublicClientApplication.d.ts.map +1 -0
  698. package/dist/redirect-bridge/custom_auth/UserAccountAttributes.d.ts +12 -0
  699. package/dist/redirect-bridge/custom_auth/UserAccountAttributes.d.ts.map +1 -0
  700. package/dist/redirect-bridge/custom_auth/configuration/CustomAuthConfiguration.d.ts +14 -0
  701. package/dist/redirect-bridge/custom_auth/configuration/CustomAuthConfiguration.d.ts.map +1 -0
  702. package/dist/redirect-bridge/custom_auth/controller/CustomAuthStandardController.d.ts +27 -0
  703. package/dist/redirect-bridge/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -0
  704. package/dist/redirect-bridge/custom_auth/controller/ICustomAuthStandardController.d.ts +13 -0
  705. package/dist/redirect-bridge/custom_auth/controller/ICustomAuthStandardController.d.ts.map +1 -0
  706. package/dist/redirect-bridge/custom_auth/core/CustomAuthAuthority.d.ts +29 -0
  707. package/dist/redirect-bridge/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -0
  708. package/dist/redirect-bridge/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +40 -0
  709. package/dist/redirect-bridge/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -0
  710. package/dist/redirect-bridge/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts +11 -0
  711. package/dist/redirect-bridge/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts.map +1 -0
  712. package/dist/redirect-bridge/custom_auth/core/auth_flow/AuthFlowState.d.ts +31 -0
  713. package/dist/redirect-bridge/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -0
  714. package/dist/redirect-bridge/custom_auth/core/auth_flow/AuthFlowStateTypes.d.ts +29 -0
  715. package/dist/redirect-bridge/custom_auth/core/auth_flow/AuthFlowStateTypes.d.ts.map +1 -0
  716. package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/AuthMethodDetails.d.ts +15 -0
  717. package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/AuthMethodDetails.d.ts.map +1 -0
  718. package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +27 -0
  719. package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -0
  720. package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +47 -0
  721. package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -0
  722. package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +37 -0
  723. package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -0
  724. package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts +11 -0
  725. package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts.map +1 -0
  726. package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts +11 -0
  727. package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts.map +1 -0
  728. package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +82 -0
  729. package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -0
  730. package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.d.ts +20 -0
  731. package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.d.ts.map +1 -0
  732. package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +27 -0
  733. package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +1 -0
  734. package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +40 -0
  735. package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -0
  736. package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +34 -0
  737. package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -0
  738. package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +11 -0
  739. package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +1 -0
  740. package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +11 -0
  741. package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +1 -0
  742. package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +67 -0
  743. package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -0
  744. package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +19 -0
  745. package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +1 -0
  746. package/dist/redirect-bridge/custom_auth/core/error/CustomAuthApiError.d.ts +20 -0
  747. package/dist/redirect-bridge/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -0
  748. package/dist/redirect-bridge/custom_auth/core/error/CustomAuthError.d.ts +9 -0
  749. package/dist/redirect-bridge/custom_auth/core/error/CustomAuthError.d.ts.map +1 -0
  750. package/dist/redirect-bridge/custom_auth/core/error/HttpError.d.ts +5 -0
  751. package/dist/redirect-bridge/custom_auth/core/error/HttpError.d.ts.map +1 -0
  752. package/dist/redirect-bridge/custom_auth/core/error/HttpErrorCodes.d.ts +3 -0
  753. package/dist/redirect-bridge/custom_auth/core/error/HttpErrorCodes.d.ts.map +1 -0
  754. package/dist/redirect-bridge/custom_auth/core/error/InvalidArgumentError.d.ts +5 -0
  755. package/dist/redirect-bridge/custom_auth/core/error/InvalidArgumentError.d.ts.map +1 -0
  756. package/dist/redirect-bridge/custom_auth/core/error/InvalidConfigurationError.d.ts +5 -0
  757. package/dist/redirect-bridge/custom_auth/core/error/InvalidConfigurationError.d.ts.map +1 -0
  758. package/dist/redirect-bridge/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts +4 -0
  759. package/dist/redirect-bridge/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts.map +1 -0
  760. package/dist/redirect-bridge/custom_auth/core/error/MethodNotImplementedError.d.ts +5 -0
  761. package/dist/redirect-bridge/custom_auth/core/error/MethodNotImplementedError.d.ts.map +1 -0
  762. package/dist/redirect-bridge/custom_auth/core/error/MsalCustomAuthError.d.ts +5 -0
  763. package/dist/redirect-bridge/custom_auth/core/error/MsalCustomAuthError.d.ts.map +1 -0
  764. package/dist/redirect-bridge/custom_auth/core/error/NoCachedAccountFoundError.d.ts +5 -0
  765. package/dist/redirect-bridge/custom_auth/core/error/NoCachedAccountFoundError.d.ts.map +1 -0
  766. package/dist/redirect-bridge/custom_auth/core/error/ParsedUrlError.d.ts +5 -0
  767. package/dist/redirect-bridge/custom_auth/core/error/ParsedUrlError.d.ts.map +1 -0
  768. package/dist/redirect-bridge/custom_auth/core/error/ParsedUrlErrorCodes.d.ts +2 -0
  769. package/dist/redirect-bridge/custom_auth/core/error/ParsedUrlErrorCodes.d.ts.map +1 -0
  770. package/dist/redirect-bridge/custom_auth/core/error/UnexpectedError.d.ts +5 -0
  771. package/dist/redirect-bridge/custom_auth/core/error/UnexpectedError.d.ts.map +1 -0
  772. package/dist/redirect-bridge/custom_auth/core/error/UnsupportedEnvironmentError.d.ts +5 -0
  773. package/dist/redirect-bridge/custom_auth/core/error/UnsupportedEnvironmentError.d.ts.map +1 -0
  774. package/dist/redirect-bridge/custom_auth/core/error/UserAccountAttributeError.d.ts +5 -0
  775. package/dist/redirect-bridge/custom_auth/core/error/UserAccountAttributeError.d.ts.map +1 -0
  776. package/dist/redirect-bridge/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts +2 -0
  777. package/dist/redirect-bridge/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts.map +1 -0
  778. package/dist/redirect-bridge/custom_auth/core/error/UserAlreadySignedInError.d.ts +5 -0
  779. package/dist/redirect-bridge/custom_auth/core/error/UserAlreadySignedInError.d.ts.map +1 -0
  780. package/dist/redirect-bridge/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts +34 -0
  781. package/dist/redirect-bridge/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -0
  782. package/dist/redirect-bridge/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts +22 -0
  783. package/dist/redirect-bridge/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts.map +1 -0
  784. package/dist/redirect-bridge/custom_auth/core/interaction_client/jit/JitClient.d.ts +21 -0
  785. package/dist/redirect-bridge/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -0
  786. package/dist/redirect-bridge/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +20 -0
  787. package/dist/redirect-bridge/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -0
  788. package/dist/redirect-bridge/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +22 -0
  789. package/dist/redirect-bridge/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -0
  790. package/dist/redirect-bridge/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +21 -0
  791. package/dist/redirect-bridge/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -0
  792. package/dist/redirect-bridge/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +14 -0
  793. package/dist/redirect-bridge/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +1 -0
  794. package/dist/redirect-bridge/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +23 -0
  795. package/dist/redirect-bridge/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +1 -0
  796. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts +15 -0
  797. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts.map +1 -0
  798. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +14 -0
  799. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -0
  800. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +16 -0
  801. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -0
  802. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts +11 -0
  803. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts.map +1 -0
  804. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.d.ts +18 -0
  805. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.d.ts.map +1 -0
  806. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts +34 -0
  807. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map +1 -0
  808. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +37 -0
  809. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -0
  810. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts +23 -0
  811. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts.map +1 -0
  812. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts +23 -0
  813. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts.map +1 -0
  814. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts +29 -0
  815. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts.map +1 -0
  816. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +86 -0
  817. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -0
  818. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +71 -0
  819. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -0
  820. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +13 -0
  821. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -0
  822. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts +9 -0
  823. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts.map +1 -0
  824. package/dist/redirect-bridge/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts +13 -0
  825. package/dist/redirect-bridge/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -0
  826. package/dist/redirect-bridge/custom_auth/core/network_client/http_client/IHttpClient.d.ts +35 -0
  827. package/dist/redirect-bridge/custom_auth/core/network_client/http_client/IHttpClient.d.ts.map +1 -0
  828. package/dist/redirect-bridge/custom_auth/core/telemetry/PublicApiId.d.ts +25 -0
  829. package/dist/redirect-bridge/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -0
  830. package/dist/redirect-bridge/custom_auth/core/utils/ArgumentValidator.d.ts +4 -0
  831. package/dist/redirect-bridge/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -0
  832. package/dist/redirect-bridge/custom_auth/core/utils/UrlUtils.d.ts +3 -0
  833. package/dist/redirect-bridge/custom_auth/core/utils/UrlUtils.d.ts.map +1 -0
  834. package/dist/redirect-bridge/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts +47 -0
  835. package/dist/redirect-bridge/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts.map +1 -0
  836. package/dist/redirect-bridge/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts +32 -0
  837. package/dist/redirect-bridge/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts.map +1 -0
  838. package/dist/redirect-bridge/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts +37 -0
  839. package/dist/redirect-bridge/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts.map +1 -0
  840. package/dist/redirect-bridge/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts +36 -0
  841. package/dist/redirect-bridge/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts.map +1 -0
  842. package/dist/redirect-bridge/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts +35 -0
  843. package/dist/redirect-bridge/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts.map +1 -0
  844. package/dist/redirect-bridge/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts +20 -0
  845. package/dist/redirect-bridge/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts.map +1 -0
  846. package/dist/redirect-bridge/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts +20 -0
  847. package/dist/redirect-bridge/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts.map +1 -0
  848. package/dist/redirect-bridge/custom_auth/get_account/auth_flow/state/SignOutState.d.ts +20 -0
  849. package/dist/redirect-bridge/custom_auth/get_account/auth_flow/state/SignOutState.d.ts.map +1 -0
  850. package/dist/redirect-bridge/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts +21 -0
  851. package/dist/redirect-bridge/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -0
  852. package/dist/redirect-bridge/custom_auth/index.d.ts +84 -0
  853. package/dist/redirect-bridge/custom_auth/index.d.ts.map +1 -0
  854. package/dist/redirect-bridge/custom_auth/operating_context/CustomAuthOperatingContext.d.ts +13 -0
  855. package/dist/redirect-bridge/custom_auth/operating_context/CustomAuthOperatingContext.d.ts.map +1 -0
  856. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts +40 -0
  857. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts.map +1 -0
  858. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts +37 -0
  859. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts.map +1 -0
  860. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts +37 -0
  861. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts.map +1 -0
  862. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts +37 -0
  863. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts.map +1 -0
  864. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts +32 -0
  865. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts.map +1 -0
  866. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts +27 -0
  867. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -0
  868. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts +11 -0
  869. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts.map +1 -0
  870. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts +11 -0
  871. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts.map +1 -0
  872. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts +16 -0
  873. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -0
  874. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts +6 -0
  875. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts.map +1 -0
  876. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +19 -0
  877. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts.map +1 -0
  878. package/dist/redirect-bridge/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts +33 -0
  879. package/dist/redirect-bridge/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -0
  880. package/dist/redirect-bridge/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts +19 -0
  881. package/dist/redirect-bridge/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts.map +1 -0
  882. package/dist/redirect-bridge/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts +14 -0
  883. package/dist/redirect-bridge/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts.map +1 -0
  884. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/SignInScenario.d.ts +6 -0
  885. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/SignInScenario.d.ts.map +1 -0
  886. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +45 -0
  887. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -0
  888. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts +37 -0
  889. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts.map +1 -0
  890. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +72 -0
  891. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -0
  892. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +51 -0
  893. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -0
  894. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +46 -0
  895. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -0
  896. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts +33 -0
  897. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -0
  898. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts +12 -0
  899. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts.map +1 -0
  900. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts +17 -0
  901. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -0
  902. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts +11 -0
  903. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts.map +1 -0
  904. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts +21 -0
  905. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -0
  906. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInState.d.ts +22 -0
  907. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInState.d.ts.map +1 -0
  908. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +25 -0
  909. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -0
  910. package/dist/redirect-bridge/custom_auth/sign_in/interaction_client/SignInClient.d.ts +49 -0
  911. package/dist/redirect-bridge/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -0
  912. package/dist/redirect-bridge/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts +32 -0
  913. package/dist/redirect-bridge/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts.map +1 -0
  914. package/dist/redirect-bridge/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +43 -0
  915. package/dist/redirect-bridge/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -0
  916. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts +62 -0
  917. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts.map +1 -0
  918. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts +37 -0
  919. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts.map +1 -0
  920. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts +53 -0
  921. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts.map +1 -0
  922. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts +37 -0
  923. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts.map +1 -0
  924. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts +53 -0
  925. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts.map +1 -0
  926. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts +45 -0
  927. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts.map +1 -0
  928. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts +25 -0
  929. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -0
  930. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts +32 -0
  931. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -0
  932. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts +11 -0
  933. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts.map +1 -0
  934. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts +11 -0
  935. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts.map +1 -0
  936. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts +16 -0
  937. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -0
  938. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts +6 -0
  939. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts.map +1 -0
  940. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +24 -0
  941. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -0
  942. package/dist/redirect-bridge/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +41 -0
  943. package/dist/redirect-bridge/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -0
  944. package/dist/redirect-bridge/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts +26 -0
  945. package/dist/redirect-bridge/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts.map +1 -0
  946. package/dist/redirect-bridge/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts +34 -0
  947. package/dist/redirect-bridge/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts.map +1 -0
  948. package/dist/redirect-bridge/encode/Base64Decode.d.ts +15 -0
  949. package/dist/redirect-bridge/encode/Base64Decode.d.ts.map +1 -0
  950. package/dist/redirect-bridge/encode/Base64Decode.mjs +44 -0
  951. package/dist/redirect-bridge/encode/Base64Decode.mjs.map +1 -0
  952. package/dist/redirect-bridge/encode/Base64Encode.d.ts +20 -0
  953. package/dist/redirect-bridge/encode/Base64Encode.d.ts.map +1 -0
  954. package/dist/redirect-bridge/error/BrowserAuthError.d.ts +12 -0
  955. package/dist/redirect-bridge/error/BrowserAuthError.d.ts.map +1 -0
  956. package/dist/redirect-bridge/error/BrowserAuthError.mjs +27 -0
  957. package/dist/redirect-bridge/error/BrowserAuthError.mjs.map +1 -0
  958. package/dist/redirect-bridge/error/BrowserAuthErrorCodes.d.ts +53 -0
  959. package/dist/redirect-bridge/error/BrowserAuthErrorCodes.d.ts.map +1 -0
  960. package/dist/redirect-bridge/error/BrowserAuthErrorCodes.mjs +14 -0
  961. package/dist/redirect-bridge/error/BrowserAuthErrorCodes.mjs.map +1 -0
  962. package/dist/redirect-bridge/error/BrowserConfigurationAuthError.d.ts +11 -0
  963. package/dist/redirect-bridge/error/BrowserConfigurationAuthError.d.ts.map +1 -0
  964. package/dist/redirect-bridge/error/BrowserConfigurationAuthErrorCodes.d.ts +4 -0
  965. package/dist/redirect-bridge/error/BrowserConfigurationAuthErrorCodes.d.ts.map +1 -0
  966. package/dist/redirect-bridge/error/NativeAuthError.d.ts +27 -0
  967. package/dist/redirect-bridge/error/NativeAuthError.d.ts.map +1 -0
  968. package/dist/redirect-bridge/error/NativeAuthErrorCodes.d.ts +5 -0
  969. package/dist/redirect-bridge/error/NativeAuthErrorCodes.d.ts.map +1 -0
  970. package/dist/redirect-bridge/error/NestedAppAuthError.d.ts +6 -0
  971. package/dist/redirect-bridge/error/NestedAppAuthError.d.ts.map +1 -0
  972. package/dist/redirect-bridge/event/EventHandler.d.ts +49 -0
  973. package/dist/redirect-bridge/event/EventHandler.d.ts.map +1 -0
  974. package/dist/redirect-bridge/event/EventMessage.d.ts +40 -0
  975. package/dist/redirect-bridge/event/EventMessage.d.ts.map +1 -0
  976. package/dist/redirect-bridge/event/EventType.d.ts +24 -0
  977. package/dist/redirect-bridge/event/EventType.d.ts.map +1 -0
  978. package/dist/redirect-bridge/index.d.ts +73 -0
  979. package/dist/redirect-bridge/index.d.ts.map +1 -0
  980. package/dist/redirect-bridge/interaction_client/BaseInteractionClient.d.ts +77 -0
  981. package/dist/redirect-bridge/interaction_client/BaseInteractionClient.d.ts.map +1 -0
  982. package/dist/redirect-bridge/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +5 -0
  983. package/dist/redirect-bridge/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -0
  984. package/dist/redirect-bridge/interaction_client/PlatformAuthInteractionClient.d.ts +151 -0
  985. package/dist/redirect-bridge/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -0
  986. package/dist/redirect-bridge/interaction_client/PopupClient.d.ts +106 -0
  987. package/dist/redirect-bridge/interaction_client/PopupClient.d.ts.map +1 -0
  988. package/dist/redirect-bridge/interaction_client/RedirectClient.d.ts +77 -0
  989. package/dist/redirect-bridge/interaction_client/RedirectClient.d.ts.map +1 -0
  990. package/dist/redirect-bridge/interaction_client/SilentAuthCodeClient.d.ts +24 -0
  991. package/dist/redirect-bridge/interaction_client/SilentAuthCodeClient.d.ts.map +1 -0
  992. package/dist/redirect-bridge/interaction_client/SilentCacheClient.d.ts +17 -0
  993. package/dist/redirect-bridge/interaction_client/SilentCacheClient.d.ts.map +1 -0
  994. package/dist/redirect-bridge/interaction_client/SilentIframeClient.d.ts +43 -0
  995. package/dist/redirect-bridge/interaction_client/SilentIframeClient.d.ts.map +1 -0
  996. package/dist/redirect-bridge/interaction_client/SilentRefreshClient.d.ts +32 -0
  997. package/dist/redirect-bridge/interaction_client/SilentRefreshClient.d.ts.map +1 -0
  998. package/dist/redirect-bridge/interaction_client/StandardInteractionClient.d.ts +76 -0
  999. package/dist/redirect-bridge/interaction_client/StandardInteractionClient.d.ts.map +1 -0
  1000. package/dist/redirect-bridge/interaction_handler/InteractionHandler.d.ts +32 -0
  1001. package/dist/redirect-bridge/interaction_handler/InteractionHandler.d.ts.map +1 -0
  1002. package/dist/redirect-bridge/interaction_handler/SilentHandler.d.ts +11 -0
  1003. package/dist/redirect-bridge/interaction_handler/SilentHandler.d.ts.map +1 -0
  1004. package/dist/redirect-bridge/naa/AccountInfo.d.ts +13 -0
  1005. package/dist/redirect-bridge/naa/AccountInfo.d.ts.map +1 -0
  1006. package/dist/redirect-bridge/naa/AuthBridge.d.ts +9 -0
  1007. package/dist/redirect-bridge/naa/AuthBridge.d.ts.map +1 -0
  1008. package/dist/redirect-bridge/naa/AuthResult.d.ts +7 -0
  1009. package/dist/redirect-bridge/naa/AuthResult.d.ts.map +1 -0
  1010. package/dist/redirect-bridge/naa/BridgeAccountContext.d.ts +13 -0
  1011. package/dist/redirect-bridge/naa/BridgeAccountContext.d.ts.map +1 -0
  1012. package/dist/redirect-bridge/naa/BridgeCapabilities.d.ts +4 -0
  1013. package/dist/redirect-bridge/naa/BridgeCapabilities.d.ts.map +1 -0
  1014. package/dist/redirect-bridge/naa/BridgeError.d.ts +10 -0
  1015. package/dist/redirect-bridge/naa/BridgeError.d.ts.map +1 -0
  1016. package/dist/redirect-bridge/naa/BridgeProxy.d.ts +69 -0
  1017. package/dist/redirect-bridge/naa/BridgeProxy.d.ts.map +1 -0
  1018. package/dist/redirect-bridge/naa/BridgeRequest.d.ts +8 -0
  1019. package/dist/redirect-bridge/naa/BridgeRequest.d.ts.map +1 -0
  1020. package/dist/redirect-bridge/naa/BridgeRequestEnvelope.d.ts +13 -0
  1021. package/dist/redirect-bridge/naa/BridgeRequestEnvelope.d.ts.map +1 -0
  1022. package/dist/redirect-bridge/naa/BridgeResponseEnvelope.d.ts +14 -0
  1023. package/dist/redirect-bridge/naa/BridgeResponseEnvelope.d.ts.map +1 -0
  1024. package/dist/redirect-bridge/naa/BridgeStatusCode.d.ts +12 -0
  1025. package/dist/redirect-bridge/naa/BridgeStatusCode.d.ts.map +1 -0
  1026. package/dist/redirect-bridge/naa/IBridgeProxy.d.ts +11 -0
  1027. package/dist/redirect-bridge/naa/IBridgeProxy.d.ts.map +1 -0
  1028. package/dist/redirect-bridge/naa/InitContext.d.ts +9 -0
  1029. package/dist/redirect-bridge/naa/InitContext.d.ts.map +1 -0
  1030. package/dist/redirect-bridge/naa/TokenRequest.d.ts +20 -0
  1031. package/dist/redirect-bridge/naa/TokenRequest.d.ts.map +1 -0
  1032. package/dist/redirect-bridge/naa/TokenResponse.d.ts +14 -0
  1033. package/dist/redirect-bridge/naa/TokenResponse.d.ts.map +1 -0
  1034. package/dist/redirect-bridge/naa/mapping/NestedAppAuthAdapter.d.ts +36 -0
  1035. package/dist/redirect-bridge/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -0
  1036. package/dist/redirect-bridge/navigation/INavigationClient.d.ts +17 -0
  1037. package/dist/redirect-bridge/navigation/INavigationClient.d.ts.map +1 -0
  1038. package/dist/redirect-bridge/navigation/NavigationClient.d.ts +23 -0
  1039. package/dist/redirect-bridge/navigation/NavigationClient.d.ts.map +1 -0
  1040. package/dist/redirect-bridge/navigation/NavigationClient.mjs +48 -0
  1041. package/dist/redirect-bridge/navigation/NavigationClient.mjs.map +1 -0
  1042. package/dist/redirect-bridge/navigation/NavigationOptions.d.ts +13 -0
  1043. package/dist/redirect-bridge/navigation/NavigationOptions.d.ts.map +1 -0
  1044. package/dist/redirect-bridge/network/FetchClient.d.ts +21 -0
  1045. package/dist/redirect-bridge/network/FetchClient.d.ts.map +1 -0
  1046. package/dist/redirect-bridge/operatingcontext/BaseOperatingContext.d.ts +43 -0
  1047. package/dist/redirect-bridge/operatingcontext/BaseOperatingContext.d.ts.map +1 -0
  1048. package/dist/redirect-bridge/operatingcontext/NestedAppOperatingContext.d.ts +41 -0
  1049. package/dist/redirect-bridge/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -0
  1050. package/dist/redirect-bridge/operatingcontext/StandardOperatingContext.d.ts +26 -0
  1051. package/dist/redirect-bridge/operatingcontext/StandardOperatingContext.d.ts.map +1 -0
  1052. package/dist/redirect-bridge/operatingcontext/UnknownOperatingContext.d.ts +26 -0
  1053. package/dist/redirect-bridge/operatingcontext/UnknownOperatingContext.d.ts.map +1 -0
  1054. package/dist/redirect-bridge/packageMetadata.d.ts +3 -0
  1055. package/dist/redirect-bridge/packageMetadata.d.ts.map +1 -0
  1056. package/dist/redirect-bridge/protocol/Authorize.d.ts +69 -0
  1057. package/dist/redirect-bridge/protocol/Authorize.d.ts.map +1 -0
  1058. package/dist/redirect-bridge/redirect_bridge/index.d.ts +16 -0
  1059. package/dist/redirect-bridge/redirect_bridge/index.d.ts.map +1 -0
  1060. package/dist/redirect-bridge/redirect_bridge/index.mjs +108 -0
  1061. package/dist/redirect-bridge/redirect_bridge/index.mjs.map +1 -0
  1062. package/dist/redirect-bridge/request/AuthorizationCodeRequest.d.ts +9 -0
  1063. package/dist/redirect-bridge/request/AuthorizationCodeRequest.d.ts.map +1 -0
  1064. package/dist/redirect-bridge/request/ClearCacheRequest.d.ts +11 -0
  1065. package/dist/redirect-bridge/request/ClearCacheRequest.d.ts.map +1 -0
  1066. package/dist/redirect-bridge/request/EndSessionPopupRequest.d.ts +21 -0
  1067. package/dist/redirect-bridge/request/EndSessionPopupRequest.d.ts.map +1 -0
  1068. package/dist/redirect-bridge/request/EndSessionRequest.d.ts +14 -0
  1069. package/dist/redirect-bridge/request/EndSessionRequest.d.ts.map +1 -0
  1070. package/dist/redirect-bridge/request/HandleRedirectPromiseOptions.d.ts +5 -0
  1071. package/dist/redirect-bridge/request/HandleRedirectPromiseOptions.d.ts.map +1 -0
  1072. package/dist/redirect-bridge/request/InitializeApplicationRequest.d.ts +9 -0
  1073. package/dist/redirect-bridge/request/InitializeApplicationRequest.d.ts.map +1 -0
  1074. package/dist/redirect-bridge/request/PopupRequest.d.ts +37 -0
  1075. package/dist/redirect-bridge/request/PopupRequest.d.ts.map +1 -0
  1076. package/dist/redirect-bridge/request/PopupWindowAttributes.d.ts +16 -0
  1077. package/dist/redirect-bridge/request/PopupWindowAttributes.d.ts.map +1 -0
  1078. package/dist/redirect-bridge/request/RedirectRequest.d.ts +32 -0
  1079. package/dist/redirect-bridge/request/RedirectRequest.d.ts.map +1 -0
  1080. package/dist/redirect-bridge/request/RequestHelpers.d.ts +28 -0
  1081. package/dist/redirect-bridge/request/RequestHelpers.d.ts.map +1 -0
  1082. package/dist/redirect-bridge/request/SilentRequest.d.ts +32 -0
  1083. package/dist/redirect-bridge/request/SilentRequest.d.ts.map +1 -0
  1084. package/dist/redirect-bridge/request/SsoSilentRequest.d.ts +27 -0
  1085. package/dist/redirect-bridge/request/SsoSilentRequest.d.ts.map +1 -0
  1086. package/dist/redirect-bridge/response/AuthenticationResult.d.ts +5 -0
  1087. package/dist/redirect-bridge/response/AuthenticationResult.d.ts.map +1 -0
  1088. package/dist/redirect-bridge/response/ResponseHandler.d.ts +8 -0
  1089. package/dist/redirect-bridge/response/ResponseHandler.d.ts.map +1 -0
  1090. package/dist/redirect-bridge/telemetry/BrowserPerformanceClient.d.ts +18 -0
  1091. package/dist/redirect-bridge/telemetry/BrowserPerformanceClient.d.ts.map +1 -0
  1092. package/dist/redirect-bridge/telemetry/BrowserPerformanceEvents.d.ts +130 -0
  1093. package/dist/redirect-bridge/telemetry/BrowserPerformanceEvents.d.ts.map +1 -0
  1094. package/dist/redirect-bridge/telemetry/BrowserPerformanceMeasurement.d.ts +22 -0
  1095. package/dist/redirect-bridge/telemetry/BrowserPerformanceMeasurement.d.ts.map +1 -0
  1096. package/dist/redirect-bridge/telemetry/BrowserRootPerformanceEvents.d.ts +35 -0
  1097. package/dist/redirect-bridge/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -0
  1098. package/dist/redirect-bridge/utils/BrowserConstants.d.ts +162 -0
  1099. package/dist/redirect-bridge/utils/BrowserConstants.d.ts.map +1 -0
  1100. package/dist/redirect-bridge/utils/BrowserConstants.mjs +38 -0
  1101. package/dist/redirect-bridge/utils/BrowserConstants.mjs.map +1 -0
  1102. package/dist/redirect-bridge/utils/BrowserProtocolUtils.d.ts +12 -0
  1103. package/dist/redirect-bridge/utils/BrowserProtocolUtils.d.ts.map +1 -0
  1104. package/dist/redirect-bridge/utils/BrowserUtils.d.ts +111 -0
  1105. package/dist/redirect-bridge/utils/BrowserUtils.d.ts.map +1 -0
  1106. package/dist/redirect-bridge/utils/BrowserUtils.mjs +97 -0
  1107. package/dist/redirect-bridge/utils/BrowserUtils.mjs.map +1 -0
  1108. package/dist/redirect-bridge/utils/Helpers.d.ts +7 -0
  1109. package/dist/redirect-bridge/utils/Helpers.d.ts.map +1 -0
  1110. package/dist/redirect-bridge/utils/MsalFrameStatsUtils.d.ts +3 -0
  1111. package/dist/redirect-bridge/utils/MsalFrameStatsUtils.d.ts.map +1 -0
  1112. package/dist/redirect_bridge/index.d.ts +16 -0
  1113. package/dist/redirect_bridge/index.d.ts.map +1 -0
  1114. package/dist/request/AuthorizationCodeRequest.d.ts +1 -1
  1115. package/dist/request/AuthorizationCodeRequest.d.ts.map +1 -1
  1116. package/dist/request/EndSessionPopupRequest.d.ts +1 -1
  1117. package/dist/request/EndSessionPopupRequest.d.ts.map +1 -1
  1118. package/dist/request/EndSessionRequest.d.ts +1 -3
  1119. package/dist/request/EndSessionRequest.d.ts.map +1 -1
  1120. package/dist/request/HandleRedirectPromiseOptions.d.ts +5 -0
  1121. package/dist/request/HandleRedirectPromiseOptions.d.ts.map +1 -0
  1122. package/dist/request/PopupRequest.d.ts +5 -4
  1123. package/dist/request/PopupRequest.d.ts.map +1 -1
  1124. package/dist/request/RedirectRequest.d.ts +3 -11
  1125. package/dist/request/RedirectRequest.d.ts.map +1 -1
  1126. package/dist/request/RequestHelpers.d.ts +7 -3
  1127. package/dist/request/RequestHelpers.d.ts.map +1 -1
  1128. package/dist/request/RequestHelpers.mjs +21 -28
  1129. package/dist/request/RequestHelpers.mjs.map +1 -1
  1130. package/dist/request/SilentRequest.d.ts +3 -4
  1131. package/dist/request/SilentRequest.d.ts.map +1 -1
  1132. package/dist/request/SsoSilentRequest.d.ts +3 -4
  1133. package/dist/request/SsoSilentRequest.d.ts.map +1 -1
  1134. package/dist/response/ResponseHandler.d.ts +1 -1
  1135. package/dist/response/ResponseHandler.d.ts.map +1 -1
  1136. package/dist/response/ResponseHandler.mjs +5 -5
  1137. package/dist/response/ResponseHandler.mjs.map +1 -1
  1138. package/dist/telemetry/BrowserPerformanceClient.d.ts +2 -19
  1139. package/dist/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
  1140. package/dist/telemetry/BrowserPerformanceClient.mjs +3 -58
  1141. package/dist/telemetry/BrowserPerformanceClient.mjs.map +1 -1
  1142. package/dist/telemetry/BrowserPerformanceEvents.d.ts +130 -0
  1143. package/dist/telemetry/BrowserPerformanceEvents.d.ts.map +1 -0
  1144. package/dist/telemetry/BrowserPerformanceEvents.mjs +124 -0
  1145. package/dist/telemetry/BrowserPerformanceEvents.mjs.map +1 -0
  1146. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  1147. package/dist/telemetry/BrowserRootPerformanceEvents.d.ts +35 -0
  1148. package/dist/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -0
  1149. package/dist/telemetry/BrowserRootPerformanceEvents.mjs +45 -0
  1150. package/dist/telemetry/BrowserRootPerformanceEvents.mjs.map +1 -0
  1151. package/dist/utils/BrowserConstants.d.ts +0 -12
  1152. package/dist/utils/BrowserConstants.d.ts.map +1 -1
  1153. package/dist/utils/BrowserConstants.mjs +3 -15
  1154. package/dist/utils/BrowserConstants.mjs.map +1 -1
  1155. package/dist/utils/BrowserProtocolUtils.mjs +2 -2
  1156. package/dist/utils/BrowserProtocolUtils.mjs.map +1 -1
  1157. package/dist/utils/BrowserUtils.d.ts +36 -2
  1158. package/dist/utils/BrowserUtils.d.ts.map +1 -1
  1159. package/dist/utils/BrowserUtils.mjs +155 -14
  1160. package/dist/utils/BrowserUtils.mjs.map +1 -1
  1161. package/dist/utils/Helpers.mjs +1 -1
  1162. package/dist/utils/MsalFrameStatsUtils.d.ts +1 -1
  1163. package/dist/utils/MsalFrameStatsUtils.d.ts.map +1 -1
  1164. package/dist/utils/MsalFrameStatsUtils.mjs +3 -3
  1165. package/dist/utils/MsalFrameStatsUtils.mjs.map +1 -1
  1166. package/lib/custom-auth-path/log-strings-mapping.json +1703 -0
  1167. package/lib/custom-auth-path/msal-custom-auth.cjs +6205 -7144
  1168. package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
  1169. package/lib/custom-auth-path/types/app/IPublicClientApplication.d.ts +3 -10
  1170. package/lib/custom-auth-path/types/app/IPublicClientApplication.d.ts.map +1 -1
  1171. package/lib/custom-auth-path/types/app/PublicClientApplication.d.ts +6 -56
  1172. package/lib/custom-auth-path/types/app/PublicClientApplication.d.ts.map +1 -1
  1173. package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -1
  1174. package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +1 -1
  1175. package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -1
  1176. package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthProvider.d.ts +12 -4
  1177. package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
  1178. package/lib/custom-auth-path/types/cache/AccountManager.d.ts +0 -25
  1179. package/lib/custom-auth-path/types/cache/AccountManager.d.ts.map +1 -1
  1180. package/lib/custom-auth-path/types/cache/AsyncMemoryStorage.d.ts +14 -7
  1181. package/lib/custom-auth-path/types/cache/AsyncMemoryStorage.d.ts.map +1 -1
  1182. package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts +24 -27
  1183. package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts.map +1 -1
  1184. package/lib/custom-auth-path/types/cache/IAsyncStorage.d.ts +10 -5
  1185. package/lib/custom-auth-path/types/cache/IAsyncStorage.d.ts.map +1 -1
  1186. package/lib/custom-auth-path/types/cache/LocalStorage.d.ts.map +1 -1
  1187. package/lib/custom-auth-path/types/cache/TokenCache.d.ts +8 -68
  1188. package/lib/custom-auth-path/types/cache/TokenCache.d.ts.map +1 -1
  1189. package/lib/custom-auth-path/types/config/Configuration.d.ts +8 -69
  1190. package/lib/custom-auth-path/types/config/Configuration.d.ts.map +1 -1
  1191. package/lib/custom-auth-path/types/controllers/IController.d.ts +2 -58
  1192. package/lib/custom-auth-path/types/controllers/IController.d.ts.map +1 -1
  1193. package/lib/custom-auth-path/types/controllers/NestedAppAuthController.d.ts +5 -49
  1194. package/lib/custom-auth-path/types/controllers/NestedAppAuthController.d.ts.map +1 -1
  1195. package/lib/custom-auth-path/types/controllers/StandardController.d.ts +10 -55
  1196. package/lib/custom-auth-path/types/controllers/StandardController.d.ts.map +1 -1
  1197. package/lib/custom-auth-path/types/controllers/UnknownOperatingContextController.d.ts +5 -18
  1198. package/lib/custom-auth-path/types/controllers/UnknownOperatingContextController.d.ts.map +1 -1
  1199. package/lib/custom-auth-path/types/crypto/BrowserCrypto.d.ts +1 -2
  1200. package/lib/custom-auth-path/types/crypto/BrowserCrypto.d.ts.map +1 -1
  1201. package/lib/custom-auth-path/types/crypto/CryptoOps.d.ts +4 -2
  1202. package/lib/custom-auth-path/types/crypto/CryptoOps.d.ts.map +1 -1
  1203. package/lib/custom-auth-path/types/crypto/PkceGenerator.d.ts.map +1 -1
  1204. package/lib/custom-auth-path/types/crypto/SignedHttpRequest.d.ts +2 -1
  1205. package/lib/custom-auth-path/types/crypto/SignedHttpRequest.d.ts.map +1 -1
  1206. package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +2 -2
  1207. package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts.map +1 -1
  1208. package/lib/custom-auth-path/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  1209. package/lib/custom-auth-path/types/custom_auth/core/CustomAuthAuthority.d.ts +2 -2
  1210. package/lib/custom-auth-path/types/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -1
  1211. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +3 -0
  1212. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -1
  1213. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +2 -0
  1214. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -1
  1215. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +7 -0
  1216. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -1
  1217. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +2 -0
  1218. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -1
  1219. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +2 -0
  1220. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -1
  1221. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +6 -0
  1222. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -1
  1223. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -1
  1224. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
  1225. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -1
  1226. package/lib/custom-auth-path/types/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -1
  1227. package/lib/custom-auth-path/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -1
  1228. package/lib/custom-auth-path/types/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -1
  1229. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +2 -0
  1230. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -1
  1231. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +2 -0
  1232. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -1
  1233. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +2 -0
  1234. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -1
  1235. package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  1236. package/lib/custom-auth-path/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +4 -4
  1237. package/lib/custom-auth-path/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -1
  1238. package/lib/custom-auth-path/types/error/BrowserAuthError.d.ts +1 -246
  1239. package/lib/custom-auth-path/types/error/BrowserAuthError.d.ts.map +1 -1
  1240. package/lib/custom-auth-path/types/error/BrowserAuthErrorCodes.d.ts +3 -2
  1241. package/lib/custom-auth-path/types/error/BrowserAuthErrorCodes.d.ts.map +1 -1
  1242. package/lib/custom-auth-path/types/error/BrowserConfigurationAuthError.d.ts +0 -23
  1243. package/lib/custom-auth-path/types/error/BrowserConfigurationAuthError.d.ts.map +1 -1
  1244. package/lib/custom-auth-path/types/error/NativeAuthError.d.ts +0 -3
  1245. package/lib/custom-auth-path/types/error/NativeAuthError.d.ts.map +1 -1
  1246. package/lib/custom-auth-path/types/error/NativeAuthErrorCodes.d.ts +1 -0
  1247. package/lib/custom-auth-path/types/error/NativeAuthErrorCodes.d.ts.map +1 -1
  1248. package/lib/custom-auth-path/types/error/NestedAppAuthError.d.ts +0 -9
  1249. package/lib/custom-auth-path/types/error/NestedAppAuthError.d.ts.map +1 -1
  1250. package/lib/custom-auth-path/types/event/EventHandler.d.ts.map +1 -1
  1251. package/lib/custom-auth-path/types/event/EventMessage.d.ts.map +1 -1
  1252. package/lib/custom-auth-path/types/event/EventType.d.ts +3 -10
  1253. package/lib/custom-auth-path/types/event/EventType.d.ts.map +1 -1
  1254. package/lib/custom-auth-path/types/index.d.ts +34 -6
  1255. package/lib/custom-auth-path/types/index.d.ts.map +1 -1
  1256. package/lib/custom-auth-path/types/interaction_client/BaseInteractionClient.d.ts +50 -32
  1257. package/lib/custom-auth-path/types/interaction_client/BaseInteractionClient.d.ts.map +1 -1
  1258. package/lib/custom-auth-path/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +2 -2
  1259. package/lib/custom-auth-path/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -1
  1260. package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts +5 -3
  1261. package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  1262. package/lib/custom-auth-path/types/interaction_client/PopupClient.d.ts +1 -16
  1263. package/lib/custom-auth-path/types/interaction_client/PopupClient.d.ts.map +1 -1
  1264. package/lib/custom-auth-path/types/interaction_client/RedirectClient.d.ts +8 -4
  1265. package/lib/custom-auth-path/types/interaction_client/RedirectClient.d.ts.map +1 -1
  1266. package/lib/custom-auth-path/types/interaction_client/SilentAuthCodeClient.d.ts +1 -1
  1267. package/lib/custom-auth-path/types/interaction_client/SilentAuthCodeClient.d.ts.map +1 -1
  1268. package/lib/custom-auth-path/types/interaction_client/SilentCacheClient.d.ts.map +1 -1
  1269. package/lib/custom-auth-path/types/interaction_client/SilentIframeClient.d.ts +1 -1
  1270. package/lib/custom-auth-path/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
  1271. package/lib/custom-auth-path/types/interaction_client/SilentRefreshClient.d.ts.map +1 -1
  1272. package/lib/custom-auth-path/types/interaction_client/StandardInteractionClient.d.ts +17 -7
  1273. package/lib/custom-auth-path/types/interaction_client/StandardInteractionClient.d.ts.map +1 -1
  1274. package/lib/custom-auth-path/types/interaction_handler/InteractionHandler.d.ts +2 -3
  1275. package/lib/custom-auth-path/types/interaction_handler/InteractionHandler.d.ts.map +1 -1
  1276. package/lib/custom-auth-path/types/interaction_handler/SilentHandler.d.ts +2 -8
  1277. package/lib/custom-auth-path/types/interaction_handler/SilentHandler.d.ts.map +1 -1
  1278. package/lib/custom-auth-path/types/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -1
  1279. package/lib/custom-auth-path/types/operatingcontext/BaseOperatingContext.d.ts +2 -1
  1280. package/lib/custom-auth-path/types/operatingcontext/BaseOperatingContext.d.ts.map +1 -1
  1281. package/lib/custom-auth-path/types/operatingcontext/NestedAppOperatingContext.d.ts +2 -1
  1282. package/lib/custom-auth-path/types/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -1
  1283. package/lib/custom-auth-path/types/operatingcontext/StandardOperatingContext.d.ts +1 -1
  1284. package/lib/custom-auth-path/types/operatingcontext/StandardOperatingContext.d.ts.map +1 -1
  1285. package/lib/custom-auth-path/types/packageMetadata.d.ts +1 -1
  1286. package/lib/custom-auth-path/types/packageMetadata.d.ts.map +1 -1
  1287. package/lib/custom-auth-path/types/protocol/Authorize.d.ts.map +1 -1
  1288. package/lib/custom-auth-path/types/redirect_bridge/index.d.ts +16 -0
  1289. package/lib/custom-auth-path/types/redirect_bridge/index.d.ts.map +1 -0
  1290. package/lib/custom-auth-path/types/request/AuthorizationCodeRequest.d.ts +1 -1
  1291. package/lib/custom-auth-path/types/request/AuthorizationCodeRequest.d.ts.map +1 -1
  1292. package/lib/custom-auth-path/types/request/EndSessionPopupRequest.d.ts +1 -1
  1293. package/lib/custom-auth-path/types/request/EndSessionPopupRequest.d.ts.map +1 -1
  1294. package/lib/custom-auth-path/types/request/EndSessionRequest.d.ts +1 -3
  1295. package/lib/custom-auth-path/types/request/EndSessionRequest.d.ts.map +1 -1
  1296. package/lib/custom-auth-path/types/request/HandleRedirectPromiseOptions.d.ts +5 -0
  1297. package/lib/custom-auth-path/types/request/HandleRedirectPromiseOptions.d.ts.map +1 -0
  1298. package/lib/custom-auth-path/types/request/PopupRequest.d.ts +5 -4
  1299. package/lib/custom-auth-path/types/request/PopupRequest.d.ts.map +1 -1
  1300. package/lib/custom-auth-path/types/request/RedirectRequest.d.ts +3 -11
  1301. package/lib/custom-auth-path/types/request/RedirectRequest.d.ts.map +1 -1
  1302. package/lib/custom-auth-path/types/request/RequestHelpers.d.ts +7 -3
  1303. package/lib/custom-auth-path/types/request/RequestHelpers.d.ts.map +1 -1
  1304. package/lib/custom-auth-path/types/request/SilentRequest.d.ts +3 -4
  1305. package/lib/custom-auth-path/types/request/SilentRequest.d.ts.map +1 -1
  1306. package/lib/custom-auth-path/types/request/SsoSilentRequest.d.ts +3 -4
  1307. package/lib/custom-auth-path/types/request/SsoSilentRequest.d.ts.map +1 -1
  1308. package/lib/custom-auth-path/types/response/ResponseHandler.d.ts +1 -1
  1309. package/lib/custom-auth-path/types/response/ResponseHandler.d.ts.map +1 -1
  1310. package/lib/custom-auth-path/types/telemetry/BrowserPerformanceClient.d.ts +2 -19
  1311. package/lib/custom-auth-path/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
  1312. package/lib/custom-auth-path/types/telemetry/BrowserPerformanceEvents.d.ts +130 -0
  1313. package/lib/custom-auth-path/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -0
  1314. package/lib/custom-auth-path/types/telemetry/BrowserRootPerformanceEvents.d.ts +35 -0
  1315. package/lib/custom-auth-path/types/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -0
  1316. package/lib/custom-auth-path/types/utils/BrowserConstants.d.ts +0 -12
  1317. package/lib/custom-auth-path/types/utils/BrowserConstants.d.ts.map +1 -1
  1318. package/lib/custom-auth-path/types/utils/BrowserUtils.d.ts +36 -2
  1319. package/lib/custom-auth-path/types/utils/BrowserUtils.d.ts.map +1 -1
  1320. package/lib/custom-auth-path/types/utils/MsalFrameStatsUtils.d.ts +1 -1
  1321. package/lib/custom-auth-path/types/utils/MsalFrameStatsUtils.d.ts.map +1 -1
  1322. package/lib/log-strings-mapping.json +1135 -0
  1323. package/lib/msal-browser.cjs +15223 -17702
  1324. package/lib/msal-browser.cjs.map +1 -1
  1325. package/lib/msal-browser.js +15223 -17702
  1326. package/lib/msal-browser.js.map +1 -1
  1327. package/lib/msal-browser.min.js +2 -68
  1328. package/lib/redirect-bridge/msal-redirect-bridge.js +729 -0
  1329. package/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -0
  1330. package/lib/redirect-bridge/msal-redirect-bridge.min.js +2 -0
  1331. package/lib/types/app/IPublicClientApplication.d.ts +3 -10
  1332. package/lib/types/app/IPublicClientApplication.d.ts.map +1 -1
  1333. package/lib/types/app/PublicClientApplication.d.ts +6 -56
  1334. package/lib/types/app/PublicClientApplication.d.ts.map +1 -1
  1335. package/lib/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -1
  1336. package/lib/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +1 -1
  1337. package/lib/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -1
  1338. package/lib/types/broker/nativeBroker/PlatformAuthProvider.d.ts +12 -4
  1339. package/lib/types/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -1
  1340. package/lib/types/cache/AccountManager.d.ts +0 -25
  1341. package/lib/types/cache/AccountManager.d.ts.map +1 -1
  1342. package/lib/types/cache/AsyncMemoryStorage.d.ts +14 -7
  1343. package/lib/types/cache/AsyncMemoryStorage.d.ts.map +1 -1
  1344. package/lib/types/cache/BrowserCacheManager.d.ts +24 -27
  1345. package/lib/types/cache/BrowserCacheManager.d.ts.map +1 -1
  1346. package/lib/types/cache/IAsyncStorage.d.ts +10 -5
  1347. package/lib/types/cache/IAsyncStorage.d.ts.map +1 -1
  1348. package/lib/types/cache/LocalStorage.d.ts.map +1 -1
  1349. package/lib/types/cache/TokenCache.d.ts +8 -68
  1350. package/lib/types/cache/TokenCache.d.ts.map +1 -1
  1351. package/lib/types/config/Configuration.d.ts +8 -69
  1352. package/lib/types/config/Configuration.d.ts.map +1 -1
  1353. package/lib/types/controllers/IController.d.ts +2 -58
  1354. package/lib/types/controllers/IController.d.ts.map +1 -1
  1355. package/lib/types/controllers/NestedAppAuthController.d.ts +5 -49
  1356. package/lib/types/controllers/NestedAppAuthController.d.ts.map +1 -1
  1357. package/lib/types/controllers/StandardController.d.ts +10 -55
  1358. package/lib/types/controllers/StandardController.d.ts.map +1 -1
  1359. package/lib/types/controllers/UnknownOperatingContextController.d.ts +5 -18
  1360. package/lib/types/controllers/UnknownOperatingContextController.d.ts.map +1 -1
  1361. package/lib/types/crypto/BrowserCrypto.d.ts +1 -2
  1362. package/lib/types/crypto/BrowserCrypto.d.ts.map +1 -1
  1363. package/lib/types/crypto/CryptoOps.d.ts +4 -2
  1364. package/lib/types/crypto/CryptoOps.d.ts.map +1 -1
  1365. package/lib/types/crypto/PkceGenerator.d.ts.map +1 -1
  1366. package/lib/types/crypto/SignedHttpRequest.d.ts +2 -1
  1367. package/lib/types/crypto/SignedHttpRequest.d.ts.map +1 -1
  1368. package/lib/types/custom_auth/CustomAuthConstants.d.ts +2 -2
  1369. package/lib/types/custom_auth/CustomAuthConstants.d.ts.map +1 -1
  1370. package/lib/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  1371. package/lib/types/custom_auth/core/CustomAuthAuthority.d.ts +2 -2
  1372. package/lib/types/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -1
  1373. package/lib/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +3 -0
  1374. package/lib/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -1
  1375. package/lib/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +2 -0
  1376. package/lib/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -1
  1377. package/lib/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +7 -0
  1378. package/lib/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -1
  1379. package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +2 -0
  1380. package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -1
  1381. package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +2 -0
  1382. package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -1
  1383. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +6 -0
  1384. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -1
  1385. package/lib/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -1
  1386. package/lib/types/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
  1387. package/lib/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -1
  1388. package/lib/types/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -1
  1389. package/lib/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -1
  1390. package/lib/types/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -1
  1391. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +2 -0
  1392. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -1
  1393. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +2 -0
  1394. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -1
  1395. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +2 -0
  1396. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -1
  1397. package/lib/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  1398. package/lib/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +4 -4
  1399. package/lib/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -1
  1400. package/lib/types/error/BrowserAuthError.d.ts +1 -246
  1401. package/lib/types/error/BrowserAuthError.d.ts.map +1 -1
  1402. package/lib/types/error/BrowserAuthErrorCodes.d.ts +3 -2
  1403. package/lib/types/error/BrowserAuthErrorCodes.d.ts.map +1 -1
  1404. package/lib/types/error/BrowserConfigurationAuthError.d.ts +0 -23
  1405. package/lib/types/error/BrowserConfigurationAuthError.d.ts.map +1 -1
  1406. package/lib/types/error/NativeAuthError.d.ts +0 -3
  1407. package/lib/types/error/NativeAuthError.d.ts.map +1 -1
  1408. package/lib/types/error/NativeAuthErrorCodes.d.ts +1 -0
  1409. package/lib/types/error/NativeAuthErrorCodes.d.ts.map +1 -1
  1410. package/lib/types/error/NestedAppAuthError.d.ts +0 -9
  1411. package/lib/types/error/NestedAppAuthError.d.ts.map +1 -1
  1412. package/lib/types/event/EventHandler.d.ts.map +1 -1
  1413. package/lib/types/event/EventMessage.d.ts.map +1 -1
  1414. package/lib/types/event/EventType.d.ts +3 -10
  1415. package/lib/types/event/EventType.d.ts.map +1 -1
  1416. package/lib/types/index.d.ts +34 -6
  1417. package/lib/types/index.d.ts.map +1 -1
  1418. package/lib/types/interaction_client/BaseInteractionClient.d.ts +50 -32
  1419. package/lib/types/interaction_client/BaseInteractionClient.d.ts.map +1 -1
  1420. package/lib/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +2 -2
  1421. package/lib/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -1
  1422. package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts +5 -3
  1423. package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  1424. package/lib/types/interaction_client/PopupClient.d.ts +1 -16
  1425. package/lib/types/interaction_client/PopupClient.d.ts.map +1 -1
  1426. package/lib/types/interaction_client/RedirectClient.d.ts +8 -4
  1427. package/lib/types/interaction_client/RedirectClient.d.ts.map +1 -1
  1428. package/lib/types/interaction_client/SilentAuthCodeClient.d.ts +1 -1
  1429. package/lib/types/interaction_client/SilentAuthCodeClient.d.ts.map +1 -1
  1430. package/lib/types/interaction_client/SilentCacheClient.d.ts.map +1 -1
  1431. package/lib/types/interaction_client/SilentIframeClient.d.ts +1 -1
  1432. package/lib/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
  1433. package/lib/types/interaction_client/SilentRefreshClient.d.ts.map +1 -1
  1434. package/lib/types/interaction_client/StandardInteractionClient.d.ts +17 -7
  1435. package/lib/types/interaction_client/StandardInteractionClient.d.ts.map +1 -1
  1436. package/lib/types/interaction_handler/InteractionHandler.d.ts +2 -3
  1437. package/lib/types/interaction_handler/InteractionHandler.d.ts.map +1 -1
  1438. package/lib/types/interaction_handler/SilentHandler.d.ts +2 -8
  1439. package/lib/types/interaction_handler/SilentHandler.d.ts.map +1 -1
  1440. package/lib/types/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -1
  1441. package/lib/types/operatingcontext/BaseOperatingContext.d.ts +2 -1
  1442. package/lib/types/operatingcontext/BaseOperatingContext.d.ts.map +1 -1
  1443. package/lib/types/operatingcontext/NestedAppOperatingContext.d.ts +2 -1
  1444. package/lib/types/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -1
  1445. package/lib/types/operatingcontext/StandardOperatingContext.d.ts +1 -1
  1446. package/lib/types/operatingcontext/StandardOperatingContext.d.ts.map +1 -1
  1447. package/lib/types/packageMetadata.d.ts +1 -1
  1448. package/lib/types/packageMetadata.d.ts.map +1 -1
  1449. package/lib/types/protocol/Authorize.d.ts.map +1 -1
  1450. package/lib/types/redirect_bridge/index.d.ts +16 -0
  1451. package/lib/types/redirect_bridge/index.d.ts.map +1 -0
  1452. package/lib/types/request/AuthorizationCodeRequest.d.ts +1 -1
  1453. package/lib/types/request/AuthorizationCodeRequest.d.ts.map +1 -1
  1454. package/lib/types/request/EndSessionPopupRequest.d.ts +1 -1
  1455. package/lib/types/request/EndSessionPopupRequest.d.ts.map +1 -1
  1456. package/lib/types/request/EndSessionRequest.d.ts +1 -3
  1457. package/lib/types/request/EndSessionRequest.d.ts.map +1 -1
  1458. package/lib/types/request/HandleRedirectPromiseOptions.d.ts +5 -0
  1459. package/lib/types/request/HandleRedirectPromiseOptions.d.ts.map +1 -0
  1460. package/lib/types/request/PopupRequest.d.ts +5 -4
  1461. package/lib/types/request/PopupRequest.d.ts.map +1 -1
  1462. package/lib/types/request/RedirectRequest.d.ts +3 -11
  1463. package/lib/types/request/RedirectRequest.d.ts.map +1 -1
  1464. package/lib/types/request/RequestHelpers.d.ts +7 -3
  1465. package/lib/types/request/RequestHelpers.d.ts.map +1 -1
  1466. package/lib/types/request/SilentRequest.d.ts +3 -4
  1467. package/lib/types/request/SilentRequest.d.ts.map +1 -1
  1468. package/lib/types/request/SsoSilentRequest.d.ts +3 -4
  1469. package/lib/types/request/SsoSilentRequest.d.ts.map +1 -1
  1470. package/lib/types/response/ResponseHandler.d.ts +1 -1
  1471. package/lib/types/response/ResponseHandler.d.ts.map +1 -1
  1472. package/lib/types/telemetry/BrowserPerformanceClient.d.ts +2 -19
  1473. package/lib/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
  1474. package/lib/types/telemetry/BrowserPerformanceEvents.d.ts +130 -0
  1475. package/lib/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -0
  1476. package/lib/types/telemetry/BrowserRootPerformanceEvents.d.ts +35 -0
  1477. package/lib/types/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -0
  1478. package/lib/types/utils/BrowserConstants.d.ts +0 -12
  1479. package/lib/types/utils/BrowserConstants.d.ts.map +1 -1
  1480. package/lib/types/utils/BrowserUtils.d.ts +36 -2
  1481. package/lib/types/utils/BrowserUtils.d.ts.map +1 -1
  1482. package/lib/types/utils/MsalFrameStatsUtils.d.ts +1 -1
  1483. package/lib/types/utils/MsalFrameStatsUtils.d.ts.map +1 -1
  1484. package/package.json +16 -5
  1485. package/src/app/IPublicClientApplication.ts +5 -37
  1486. package/src/app/PublicClientApplication.ts +20 -96
  1487. package/src/broker/nativeBroker/PlatformAuthDOMHandler.ts +30 -14
  1488. package/src/broker/nativeBroker/PlatformAuthExtensionHandler.ts +57 -32
  1489. package/src/broker/nativeBroker/PlatformAuthProvider.ts +48 -41
  1490. package/src/cache/AccountManager.ts +11 -125
  1491. package/src/cache/AsyncMemoryStorage.ts +39 -22
  1492. package/src/cache/BrowserCacheManager.ts +272 -238
  1493. package/src/cache/IAsyncStorage.ts +10 -5
  1494. package/src/cache/LocalStorage.ts +31 -18
  1495. package/src/cache/TokenCache.ts +390 -381
  1496. package/src/config/Configuration.ts +33 -114
  1497. package/src/controllers/IController.ts +2 -121
  1498. package/src/controllers/NestedAppAuthController.ts +49 -152
  1499. package/src/controllers/StandardController.ts +280 -496
  1500. package/src/controllers/UnknownOperatingContextController.ts +4 -90
  1501. package/src/crypto/BrowserCrypto.ts +1 -13
  1502. package/src/crypto/CryptoOps.ts +32 -18
  1503. package/src/crypto/PkceGenerator.ts +6 -14
  1504. package/src/crypto/SignedHttpRequest.ts +14 -21
  1505. package/src/custom_auth/controller/CustomAuthStandardController.ts +11 -9
  1506. package/src/custom_auth/core/CustomAuthAuthority.ts +12 -5
  1507. package/src/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.ts +3 -0
  1508. package/src/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.ts +2 -0
  1509. package/src/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.ts +9 -2
  1510. package/src/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.ts +2 -0
  1511. package/src/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.ts +2 -0
  1512. package/src/custom_auth/core/auth_flow/mfa/state/MfaState.ts +8 -2
  1513. package/src/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.ts +3 -1
  1514. package/src/custom_auth/core/interaction_client/jit/JitClient.ts +31 -13
  1515. package/src/custom_auth/core/interaction_client/mfa/MfaClient.ts +30 -13
  1516. package/src/custom_auth/core/network_client/http_client/FetchHttpClient.ts +8 -5
  1517. package/src/custom_auth/get_account/auth_flow/CustomAuthAccountData.ts +3 -3
  1518. package/src/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.ts +16 -8
  1519. package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.ts +2 -2
  1520. package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.ts +1 -1
  1521. package/src/custom_auth/reset_password/interaction_client/ResetPasswordClient.ts +44 -18
  1522. package/src/custom_auth/sign_in/auth_flow/result/SignInResult.ts +2 -0
  1523. package/src/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.ts +2 -0
  1524. package/src/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.ts +2 -0
  1525. package/src/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.ts +1 -1
  1526. package/src/custom_auth/sign_in/auth_flow/state/SignInContinuationState.ts +1 -1
  1527. package/src/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.ts +1 -1
  1528. package/src/custom_auth/sign_in/interaction_client/SignInClient.ts +77 -39
  1529. package/src/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.ts +1 -1
  1530. package/src/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.ts +2 -2
  1531. package/src/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.ts +1 -1
  1532. package/src/custom_auth/sign_up/interaction_client/SignUpClient.ts +96 -49
  1533. package/src/error/BrowserAuthError.ts +4 -339
  1534. package/src/error/BrowserAuthErrorCodes.ts +4 -2
  1535. package/src/error/BrowserConfigurationAuthError.ts +2 -37
  1536. package/src/error/NativeAuthError.ts +7 -13
  1537. package/src/error/NativeAuthErrorCodes.ts +1 -0
  1538. package/src/error/NestedAppAuthError.ts +2 -14
  1539. package/src/event/EventHandler.ts +13 -11
  1540. package/src/event/EventMessage.ts +1 -18
  1541. package/src/event/EventType.ts +3 -10
  1542. package/src/index.ts +14 -19
  1543. package/src/interaction_client/BaseInteractionClient.ts +181 -158
  1544. package/src/interaction_client/HybridSpaAuthorizationCodeClient.ts +6 -2
  1545. package/src/interaction_client/PlatformAuthInteractionClient.ts +160 -112
  1546. package/src/interaction_client/PopupClient.ts +189 -198
  1547. package/src/interaction_client/RedirectClient.ts +191 -114
  1548. package/src/interaction_client/SilentAuthCodeClient.ts +41 -16
  1549. package/src/interaction_client/SilentCacheClient.ts +23 -15
  1550. package/src/interaction_client/SilentIframeClient.ts +105 -90
  1551. package/src/interaction_client/SilentRefreshClient.ts +26 -14
  1552. package/src/interaction_client/StandardInteractionClient.ts +118 -102
  1553. package/src/interaction_handler/InteractionHandler.ts +6 -26
  1554. package/src/interaction_handler/SilentHandler.ts +6 -151
  1555. package/src/naa/mapping/NestedAppAuthAdapter.ts +8 -6
  1556. package/src/operatingcontext/BaseOperatingContext.ts +2 -1
  1557. package/src/operatingcontext/NestedAppOperatingContext.ts +8 -3
  1558. package/src/operatingcontext/StandardOperatingContext.ts +2 -1
  1559. package/src/packageMetadata.ts +1 -1
  1560. package/src/protocol/Authorize.ts +52 -56
  1561. package/src/redirect_bridge/index.ts +131 -0
  1562. package/src/request/AuthorizationCodeRequest.ts +1 -4
  1563. package/src/request/EndSessionPopupRequest.ts +1 -3
  1564. package/src/request/EndSessionRequest.ts +1 -5
  1565. package/src/request/HandleRedirectPromiseOptions.ts +9 -0
  1566. package/src/request/PopupRequest.ts +4 -4
  1567. package/src/request/RedirectRequest.ts +2 -11
  1568. package/src/request/RequestHelpers.ts +25 -48
  1569. package/src/request/SilentRequest.ts +3 -8
  1570. package/src/request/SsoSilentRequest.ts +2 -4
  1571. package/src/response/ResponseHandler.ts +8 -4
  1572. package/src/telemetry/BrowserPerformanceClient.ts +2 -103
  1573. package/src/telemetry/BrowserPerformanceEvents.ts +181 -0
  1574. package/src/telemetry/BrowserRootPerformanceEvents.ts +41 -0
  1575. package/src/utils/BrowserConstants.ts +2 -14
  1576. package/src/utils/BrowserProtocolUtils.ts +1 -1
  1577. package/src/utils/BrowserUtils.ts +232 -15
  1578. package/src/utils/MsalFrameStatsUtils.ts +4 -2
  1579. package/dist/app/PublicClientNext.d.ts.map +0 -1
  1580. package/dist/app/PublicClientNext.mjs +0 -363
  1581. package/dist/app/PublicClientNext.mjs.map +0 -1
  1582. package/dist/cache/ITokenCache.d.ts +0 -12
  1583. package/dist/cache/ITokenCache.d.ts.map +0 -1
  1584. package/dist/controllers/ControllerFactory.d.ts +0 -6
  1585. package/dist/controllers/ControllerFactory.d.ts.map +0 -1
  1586. package/dist/controllers/ControllerFactory.mjs +0 -35
  1587. package/dist/controllers/ControllerFactory.mjs.map +0 -1
  1588. package/dist/controllers/UnknownOperatingContextController.mjs +0 -268
  1589. package/dist/controllers/UnknownOperatingContextController.mjs.map +0 -1
  1590. package/dist/custom-auth-path/app/PublicClientNext.d.ts +0 -278
  1591. package/dist/custom-auth-path/app/PublicClientNext.d.ts.map +0 -1
  1592. package/dist/custom-auth-path/cache/ITokenCache.d.ts +0 -12
  1593. package/dist/custom-auth-path/cache/ITokenCache.d.ts.map +0 -1
  1594. package/dist/custom-auth-path/cache/TokenCache.mjs +0 -208
  1595. package/dist/custom-auth-path/cache/TokenCache.mjs.map +0 -1
  1596. package/dist/custom-auth-path/controllers/ControllerFactory.d.ts +0 -6
  1597. package/dist/custom-auth-path/controllers/ControllerFactory.d.ts.map +0 -1
  1598. package/dist/custom-auth-path/controllers/ControllerFactory.mjs +0 -17
  1599. package/dist/custom-auth-path/controllers/ControllerFactory.mjs.map +0 -1
  1600. package/dist/custom-auth-path/request/AuthorizationUrlRequest.d.ts +0 -7
  1601. package/dist/custom-auth-path/request/AuthorizationUrlRequest.d.ts.map +0 -1
  1602. package/dist/operatingcontext/UnknownOperatingContext.mjs +0 -49
  1603. package/dist/operatingcontext/UnknownOperatingContext.mjs.map +0 -1
  1604. package/dist/request/AuthorizationUrlRequest.d.ts +0 -7
  1605. package/dist/request/AuthorizationUrlRequest.d.ts.map +0 -1
  1606. package/lib/custom-auth-path/types/app/PublicClientNext.d.ts.map +0 -1
  1607. package/lib/custom-auth-path/types/cache/ITokenCache.d.ts +0 -12
  1608. package/lib/custom-auth-path/types/cache/ITokenCache.d.ts.map +0 -1
  1609. package/lib/custom-auth-path/types/controllers/ControllerFactory.d.ts +0 -6
  1610. package/lib/custom-auth-path/types/controllers/ControllerFactory.d.ts.map +0 -1
  1611. package/lib/custom-auth-path/types/request/AuthorizationUrlRequest.d.ts +0 -7
  1612. package/lib/custom-auth-path/types/request/AuthorizationUrlRequest.d.ts.map +0 -1
  1613. package/lib/types/app/PublicClientNext.d.ts +0 -278
  1614. package/lib/types/app/PublicClientNext.d.ts.map +0 -1
  1615. package/lib/types/cache/ITokenCache.d.ts +0 -12
  1616. package/lib/types/cache/ITokenCache.d.ts.map +0 -1
  1617. package/lib/types/controllers/ControllerFactory.d.ts +0 -6
  1618. package/lib/types/controllers/ControllerFactory.d.ts.map +0 -1
  1619. package/lib/types/request/AuthorizationUrlRequest.d.ts +0 -7
  1620. package/lib/types/request/AuthorizationUrlRequest.d.ts.map +0 -1
  1621. package/src/app/PublicClientNext.ts +0 -454
  1622. package/src/cache/ITokenCache.ts +0 -21
  1623. package/src/controllers/ControllerFactory.ts +0 -42
  1624. package/src/request/AuthorizationUrlRequest.ts +0 -15
@@ -1,9 +1,11 @@
1
- /*! @azure/msal-browser v4.27.0 2025-12-04 */
1
+ /*! @azure/msal-browser v5.0.0-beta.0 2025-12-05 */
2
2
  'use strict';
3
3
  import { CryptoOps } from '../crypto/CryptoOps.mjs';
4
- import { DEFAULT_CRYPTO_IMPLEMENTATION, buildStaticAuthorityOptions, PerformanceEvents, invokeAsync, invoke, InteractionRequiredAuthError, createClientAuthError, ClientAuthErrorCodes, AccountEntity, AuthToken, PromptValue, Constants, AuthError, getRequestThumbprint, InteractionRequiredAuthErrorCodes } from '@azure/msal-common/browser';
4
+ import { DEFAULT_CRYPTO_IMPLEMENTATION, buildStaticAuthorityOptions, invokeAsync, InteractionRequiredAuthError, createClientAuthError, ClientAuthErrorCodes, AccountEntityUtils, AuthToken, Constants, AuthError, getRequestThumbprint, InteractionRequiredAuthErrorCodes } from '@azure/msal-common/browser';
5
+ import { InitializeCache, HandleNativeRedirectPromiseMeasurement, HandleRedirectPromiseMeasurement, AcquireTokenByCodeAsync, SilentCacheClientAcquireToken, SilentRefreshClientAcquireToken, SilentIframeClientAcquireToken, AcquireTokenSilentAsync, InitializeSilentRequest, AcquireTokenBySilentIframe, AwaitConcurrentIframe, AcquireTokenFromCache, AcquireTokenByRefreshToken, GeneratePkceCodes } from '../telemetry/BrowserPerformanceEvents.mjs';
6
+ import { InitializeClientApplication, AcquireTokenRedirect, AcquireTokenPreRedirect, AcquireTokenPopup, SsoSilent, AcquireTokenByCode, AcquireTokenSilent } from '../telemetry/BrowserRootPerformanceEvents.mjs';
5
7
  import { BrowserCacheManager, DEFAULT_BROWSER_CACHE_MANAGER } from '../cache/BrowserCacheManager.mjs';
6
- import { getAllAccounts, getAccount, getAccountByUsername, getAccountByHomeId, getAccountByLocalId, setActiveAccount, getActiveAccount } from '../cache/AccountManager.mjs';
8
+ import { getAllAccounts, getAccount, setActiveAccount, getActiveAccount } from '../cache/AccountManager.mjs';
7
9
  import { BrowserCacheLocation, INTERACTION_TYPE, InteractionType, ApiId, CacheLookupPolicy, DEFAULT_REQUEST, iFrameRenewalPolicies, BrowserConstants } from '../utils/BrowserConstants.mjs';
8
10
  import { blockAPICallsBeforeInitialize, redirectPreflightCheck, preflightCheck as preflightCheck$1, blockNonBrowserEnvironment } from '../utils/BrowserUtils.mjs';
9
11
  import { EventType } from '../event/EventType.mjs';
@@ -12,7 +14,6 @@ import { PopupClient } from '../interaction_client/PopupClient.mjs';
12
14
  import { RedirectClient } from '../interaction_client/RedirectClient.mjs';
13
15
  import { SilentIframeClient } from '../interaction_client/SilentIframeClient.mjs';
14
16
  import { SilentRefreshClient } from '../interaction_client/SilentRefreshClient.mjs';
15
- import { TokenCache } from '../cache/TokenCache.mjs';
16
17
  import { PlatformAuthInteractionClient } from '../interaction_client/PlatformAuthInteractionClient.mjs';
17
18
  import { NativeAuthError, isFatalNativeAuthError } from '../error/NativeAuthError.mjs';
18
19
  import { SilentCacheClient } from '../interaction_client/SilentCacheClient.mjs';
@@ -92,15 +93,8 @@ class StandardController {
92
93
  const nativeCacheOptions = {
93
94
  cacheLocation: BrowserCacheLocation.MemoryStorage,
94
95
  cacheRetentionDays: 5,
95
- temporaryCacheLocation: BrowserCacheLocation.MemoryStorage,
96
- storeAuthStateInCookie: false,
97
- secureCookies: false,
98
- cacheMigrationEnabled: false,
99
- claimsBasedCachingEnabled: false,
100
96
  };
101
97
  this.nativeInternalStorage = new BrowserCacheManager(this.config.auth.clientId, nativeCacheOptions, this.browserCrypto, this.logger, this.performanceClient, this.eventHandler);
102
- // Initialize the token cache
103
- this.tokenCache = new TokenCache(this.config, this.browserStorage, this.logger, this.browserCrypto);
104
98
  this.activeSilentTokenRequests = new Map();
105
99
  // Register listener functions
106
100
  this.trackPageVisibility = this.trackPageVisibility.bind(this);
@@ -117,51 +111,47 @@ class StandardController {
117
111
  if (!correlationId) {
118
112
  return;
119
113
  }
120
- this.logger.info("Perf: Visibility change detected");
114
+ this.logger.info("16v6hv", correlationId);
121
115
  this.performanceClient.incrementFields({ visibilityChangeCount: 1 }, correlationId);
122
116
  }
123
117
  /**
124
118
  * Initializer function to perform async startup tasks such as connecting to WAM extension
125
119
  * @param request {?InitializeApplicationRequest} correlation id
126
120
  */
127
- async initialize(request, isBroker) {
128
- this.logger.trace("initialize called");
121
+ async initialize(request) {
122
+ const correlationId = this.getRequestCorrelationId(request);
123
+ this.logger.trace("1f7joy", correlationId);
129
124
  if (this.initialized) {
130
- this.logger.info("initialize has already been called, exiting early.");
125
+ this.logger.info("061m5x", correlationId);
131
126
  return;
132
127
  }
133
128
  if (!this.isBrowserEnvironment) {
134
- this.logger.info("in non-browser environment, exiting early.");
129
+ this.logger.info("19fvpi", correlationId);
135
130
  this.initialized = true;
136
131
  this.eventHandler.emitEvent(EventType.INITIALIZE_END);
137
132
  return;
138
133
  }
139
134
  const initCorrelationId = request?.correlationId || this.getRequestCorrelationId();
140
135
  const allowPlatformBroker = this.config.system.allowPlatformBroker;
141
- const initMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.InitializeClientApplication, initCorrelationId);
136
+ const initMeasurement = this.performanceClient.startMeasurement(InitializeClientApplication, initCorrelationId);
142
137
  this.eventHandler.emitEvent(EventType.INITIALIZE_START);
143
138
  // Broker applications are initialized twice, so we avoid double-counting it
144
- if (!isBroker) {
145
- try {
146
- this.logMultipleInstances(initMeasurement);
147
- }
148
- catch { }
149
- }
150
- await invokeAsync(this.browserStorage.initialize.bind(this.browserStorage), PerformanceEvents.InitializeCache, this.logger, this.performanceClient, initCorrelationId)(initCorrelationId);
139
+ this.logMultipleInstances(initMeasurement, initCorrelationId);
140
+ await invokeAsync(this.browserStorage.initialize.bind(this.browserStorage), InitializeCache, this.logger, this.performanceClient, initCorrelationId)(initCorrelationId);
151
141
  if (allowPlatformBroker) {
152
142
  try {
153
143
  // check if platform authentication is available via DOM or browser extension and create relevant handlers
154
- this.platformAuthProvider = await getPlatformAuthProvider(this.logger, this.performanceClient, initCorrelationId, this.config.system.nativeBrokerHandshakeTimeout, this.config.system.allowPlatformBrokerWithDOM);
144
+ this.platformAuthProvider = await getPlatformAuthProvider(this.logger, this.performanceClient, initCorrelationId, this.config.system.nativeBrokerHandshakeTimeout);
155
145
  }
156
146
  catch (e) {
157
- this.logger.verbose(e);
147
+ this.logger.verbose(e, initCorrelationId);
158
148
  }
159
149
  }
160
- if (!this.config.cache.claimsBasedCachingEnabled) {
161
- this.logger.verbose("Claims-based caching is disabled. Clearing the previous cache with claims");
162
- invoke(this.browserStorage.clearTokensAndKeysWithClaims.bind(this.browserStorage), PerformanceEvents.ClearTokensAndKeysWithClaims, this.logger, this.performanceClient, initCorrelationId)(initCorrelationId);
150
+ if (this.config.cache.cacheLocation ===
151
+ BrowserCacheLocation.LocalStorage) {
152
+ this.eventHandler.subscribeCrossTab();
163
153
  }
164
- this.config.system.asyncPopups &&
154
+ !this.config.system.navigatePopups &&
165
155
  (await this.preGeneratePkceCodes(initCorrelationId));
166
156
  this.initialized = true;
167
157
  this.eventHandler.emitEvent(EventType.INITIALIZE_END);
@@ -176,10 +166,11 @@ class StandardController {
176
166
  * has loaded during redirect flows. This should be invoked on all page loads involved in redirect
177
167
  * auth flows.
178
168
  * @param hash Hash to process. Defaults to the current value of window.location.hash. Only needs to be provided explicitly if the response to be handled is not contained in the current value.
169
+ * @param options Object containing optional configuration for redirect promise handling.
179
170
  * @returns Token response or null. If the return value is null, then no auth redirect was detected.
180
171
  */
181
- async handleRedirectPromise(hash) {
182
- this.logger.verbose("handleRedirectPromise called");
172
+ async handleRedirectPromise(options) {
173
+ this.logger.verbose("02l8bm", "");
183
174
  // Block token acquisition before initialize has been called
184
175
  blockAPICallsBeforeInitialize(this.initialized);
185
176
  if (this.isBrowserEnvironment) {
@@ -188,19 +179,19 @@ class StandardController {
188
179
  * otherwise return the promise from the first invocation. Prevents race conditions when handleRedirectPromise is called
189
180
  * several times concurrently.
190
181
  */
191
- const redirectResponseKey = hash || "";
182
+ const redirectResponseKey = options?.hash || "";
192
183
  let response = this.redirectResponse.get(redirectResponseKey);
193
184
  if (typeof response === "undefined") {
194
- response = this.handleRedirectPromiseInternal(hash);
185
+ response = this.handleRedirectPromiseInternal(options);
195
186
  this.redirectResponse.set(redirectResponseKey, response);
196
- this.logger.verbose("handleRedirectPromise has been called for the first time, storing the promise");
187
+ this.logger.verbose("1wn9kp", "");
197
188
  }
198
189
  else {
199
- this.logger.verbose("handleRedirectPromise has been called previously, returning the result from the first call");
190
+ this.logger.verbose("0w0gm3", "");
200
191
  }
201
192
  return response;
202
193
  }
203
- this.logger.verbose("handleRedirectPromise returns null, not browser environment");
194
+ this.logger.verbose("12xi63", "");
204
195
  return null;
205
196
  }
206
197
  /**
@@ -208,60 +199,58 @@ class StandardController {
208
199
  * @param hash
209
200
  * @returns
210
201
  */
211
- async handleRedirectPromiseInternal(hash) {
202
+ async handleRedirectPromiseInternal(options) {
212
203
  if (!this.browserStorage.isInteractionInProgress(true)) {
213
- this.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null.");
204
+ this.logger.info("0le6uv", "");
214
205
  return null;
215
206
  }
216
207
  const interactionType = this.browserStorage.getInteractionInProgress()?.type;
217
208
  if (interactionType === INTERACTION_TYPE.SIGNOUT) {
218
- this.logger.verbose("handleRedirectPromise removing interaction_in_progress flag and returning null after sign-out");
209
+ this.logger.verbose("1ywcv2", "");
219
210
  this.browserStorage.setInteractionInProgress(false);
220
211
  return Promise.resolve(null);
221
212
  }
222
213
  const loggedInAccounts = this.getAllAccounts();
223
214
  const platformBrokerRequest = this.browserStorage.getCachedNativeRequest();
224
- const useNative = platformBrokerRequest && this.platformAuthProvider && !hash;
215
+ const useNative = platformBrokerRequest &&
216
+ this.platformAuthProvider &&
217
+ !options?.hash;
225
218
  let rootMeasurement;
226
219
  this.eventHandler.emitEvent(EventType.HANDLE_REDIRECT_START, InteractionType.Redirect);
227
220
  let redirectResponse;
228
221
  try {
229
222
  if (useNative && this.platformAuthProvider) {
230
- rootMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.AcquireTokenRedirect, platformBrokerRequest?.correlationId || "");
231
- this.logger.trace("handleRedirectPromise - acquiring token from native platform");
232
- rootMeasurement.add({
233
- isPlatformBrokerRequest: true,
234
- });
223
+ const correlationId = platformBrokerRequest?.correlationId || "";
224
+ rootMeasurement = this.performanceClient.startMeasurement(AcquireTokenRedirect, correlationId);
225
+ this.logger.trace("12v7is", correlationId);
235
226
  const nativeClient = new PlatformAuthInteractionClient(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, ApiId.handleRedirectPromise, this.performanceClient, this.platformAuthProvider, platformBrokerRequest.accountId, this.nativeInternalStorage, platformBrokerRequest.correlationId);
236
- redirectResponse = invokeAsync(nativeClient.handleRedirectPromise.bind(nativeClient), PerformanceEvents.HandleNativeRedirectPromiseMeasurement, this.logger, this.performanceClient, rootMeasurement.event.correlationId)(this.performanceClient, rootMeasurement.event.correlationId);
227
+ redirectResponse = invokeAsync(nativeClient.handleRedirectPromise.bind(nativeClient), HandleNativeRedirectPromiseMeasurement, this.logger, this.performanceClient, rootMeasurement.event.correlationId)(this.performanceClient, rootMeasurement.event.correlationId);
237
228
  }
238
229
  else {
239
- const [standardRequest, codeVerifier] = this.browserStorage.getCachedRequest();
230
+ const [standardRequest, codeVerifier] = this.browserStorage.getCachedRequest("");
240
231
  const correlationId = standardRequest.correlationId;
241
232
  // Reset rootMeasurement now that we have correlationId
242
- rootMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.AcquireTokenRedirect, correlationId);
243
- this.logger.trace("handleRedirectPromise - acquiring token from web flow");
233
+ rootMeasurement = this.performanceClient.startMeasurement(AcquireTokenRedirect, correlationId);
234
+ this.logger.trace("0znzs5", correlationId);
244
235
  const redirectClient = this.createRedirectClient(correlationId);
245
- redirectResponse = invokeAsync(redirectClient.handleRedirectPromise.bind(redirectClient), PerformanceEvents.HandleRedirectPromiseMeasurement, this.logger, this.performanceClient, rootMeasurement.event.correlationId)(hash, standardRequest, codeVerifier, rootMeasurement);
236
+ redirectResponse = invokeAsync(redirectClient.handleRedirectPromise.bind(redirectClient), HandleRedirectPromiseMeasurement, this.logger, this.performanceClient, rootMeasurement.event.correlationId)(standardRequest, codeVerifier, rootMeasurement, options);
246
237
  }
247
238
  }
248
239
  catch (e) {
249
- this.browserStorage.resetRequestCache();
240
+ this.browserStorage.resetRequestCache("");
250
241
  throw e;
251
242
  }
252
243
  return redirectResponse
253
244
  .then((result) => {
254
245
  if (result) {
255
- this.browserStorage.resetRequestCache();
246
+ this.browserStorage.resetRequestCache(result.correlationId);
247
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, InteractionType.Redirect, result);
248
+ this.logger.verbose("0ui8f5", result.correlationId);
256
249
  // Emit login event if number of accounts change
257
250
  const isLoggingIn = loggedInAccounts.length < this.getAllAccounts().length;
258
251
  if (isLoggingIn) {
259
- this.eventHandler.emitEvent(EventType.LOGIN_SUCCESS, InteractionType.Redirect, result);
260
- this.logger.verbose("handleRedirectResponse returned result, login success");
261
- }
262
- else {
263
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, InteractionType.Redirect, result);
264
- this.logger.verbose("handleRedirectResponse returned result, acquire token success");
252
+ this.eventHandler.emitEvent(EventType.LOGIN_SUCCESS, InteractionType.Redirect, result.account);
253
+ this.logger.verbose("16im3l", result.correlationId);
265
254
  }
266
255
  rootMeasurement.end({
267
256
  success: true,
@@ -283,15 +272,9 @@ class StandardController {
283
272
  return result;
284
273
  })
285
274
  .catch((e) => {
286
- this.browserStorage.resetRequestCache();
275
+ this.browserStorage.resetRequestCache(rootMeasurement.event.correlationId);
287
276
  const eventError = e;
288
- // Emit login event if there is an account
289
- if (loggedInAccounts.length > 0) {
290
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, InteractionType.Redirect, null, eventError);
291
- }
292
- else {
293
- this.eventHandler.emitEvent(EventType.LOGIN_FAILURE, InteractionType.Redirect, null, eventError);
294
- }
277
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, InteractionType.Redirect, null, eventError);
295
278
  this.eventHandler.emitEvent(EventType.HANDLE_REDIRECT_END, InteractionType.Redirect);
296
279
  rootMeasurement.end({
297
280
  success: false,
@@ -311,51 +294,27 @@ class StandardController {
311
294
  async acquireTokenRedirect(request) {
312
295
  // Preflight request
313
296
  const correlationId = this.getRequestCorrelationId(request);
314
- this.logger.verbose("acquireTokenRedirect called", correlationId);
315
- const atrMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.AcquireTokenPreRedirect, correlationId);
297
+ this.logger.verbose("0os66p", correlationId);
298
+ const atrMeasurement = this.performanceClient.startMeasurement(AcquireTokenPreRedirect, correlationId);
316
299
  atrMeasurement.add({
317
300
  scenarioId: request.scenarioId,
318
301
  });
319
- // Override on request only if set, as onRedirectNavigate field is deprecated
320
- const onRedirectNavigateCb = request.onRedirectNavigate;
321
- if (onRedirectNavigateCb) {
322
- request.onRedirectNavigate = (url) => {
323
- const navigate = typeof onRedirectNavigateCb === "function"
324
- ? onRedirectNavigateCb(url)
325
- : undefined;
326
- atrMeasurement.add({
327
- navigateCallbackResult: navigate !== false,
328
- });
329
- atrMeasurement.event =
330
- atrMeasurement.end({ success: true }, undefined, request.account) || atrMeasurement.event;
331
- return navigate;
332
- };
333
- }
334
- else {
335
- const configOnRedirectNavigateCb = this.config.auth.onRedirectNavigate;
336
- this.config.auth.onRedirectNavigate = (url) => {
337
- const navigate = typeof configOnRedirectNavigateCb === "function"
338
- ? configOnRedirectNavigateCb(url)
339
- : undefined;
340
- atrMeasurement.add({
341
- navigateCallbackResult: navigate !== false,
342
- });
343
- atrMeasurement.event =
344
- atrMeasurement.end({ success: true }, undefined, request.account) || atrMeasurement.event;
345
- return navigate;
346
- };
347
- }
348
- // If logged in, emit acquire token events
349
- const isLoggedIn = this.getAllAccounts().length > 0;
302
+ const configOnRedirectNavigateCb = this.config.auth.onRedirectNavigate;
303
+ this.config.auth.onRedirectNavigate = (url) => {
304
+ const navigate = typeof configOnRedirectNavigateCb === "function"
305
+ ? configOnRedirectNavigateCb(url)
306
+ : undefined;
307
+ atrMeasurement.add({
308
+ navigateCallbackResult: navigate !== false,
309
+ });
310
+ atrMeasurement.event =
311
+ atrMeasurement.end({ success: true }, undefined, request.account) || atrMeasurement.event;
312
+ return navigate;
313
+ };
350
314
  try {
351
315
  redirectPreflightCheck(this.initialized, this.config);
352
316
  this.browserStorage.setInteractionInProgress(true, INTERACTION_TYPE.SIGNIN);
353
- if (isLoggedIn) {
354
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, InteractionType.Redirect, request);
355
- }
356
- else {
357
- this.eventHandler.emitEvent(EventType.LOGIN_START, InteractionType.Redirect, request);
358
- }
317
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, InteractionType.Redirect, request);
359
318
  let result;
360
319
  if (this.platformAuthProvider &&
361
320
  this.canUsePlatformBroker(request)) {
@@ -363,18 +322,14 @@ class StandardController {
363
322
  result = nativeClient
364
323
  .acquireTokenRedirect(request, atrMeasurement)
365
324
  .catch((e) => {
366
- atrMeasurement.add({
367
- brokerErrorName: e.name,
368
- brokerErrorCode: e.errorCode,
369
- });
370
325
  if (e instanceof NativeAuthError &&
371
326
  isFatalNativeAuthError(e)) {
372
- this.platformAuthProvider = undefined; // If extension gets uninstalled during session prevent future requests from continuing to attempt platform broker calls
327
+ this.platformAuthProvider = undefined; // If extension gets uninstalled during session prevent future requests from continuing to attempt
373
328
  const redirectClient = this.createRedirectClient(correlationId);
374
329
  return redirectClient.acquireToken(request);
375
330
  }
376
331
  else if (e instanceof InteractionRequiredAuthError) {
377
- this.logger.verbose("acquireTokenRedirect - Resolving interaction required error thrown by native broker by falling back to web flow");
332
+ this.logger.verbose("1ipyz4", correlationId);
378
333
  const redirectClient = this.createRedirectClient(correlationId);
379
334
  return redirectClient.acquireToken(request);
380
335
  }
@@ -388,25 +343,20 @@ class StandardController {
388
343
  return await result;
389
344
  }
390
345
  catch (e) {
391
- this.browserStorage.resetRequestCache();
346
+ this.browserStorage.resetRequestCache(correlationId);
392
347
  /*
393
348
  * Pre-redirect event completes before navigation occurs.
394
349
  * Timed out navigation needs to be instrumented separately as a post-redirect event.
395
350
  */
396
351
  if (atrMeasurement.event.status === 2) {
397
352
  this.performanceClient
398
- .startMeasurement(PerformanceEvents.AcquireTokenRedirect, correlationId)
353
+ .startMeasurement(AcquireTokenRedirect, correlationId)
399
354
  .end({ success: false }, e, request.account);
400
355
  }
401
356
  else {
402
357
  atrMeasurement.end({ success: false }, e, request.account);
403
358
  }
404
- if (isLoggedIn) {
405
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, InteractionType.Redirect, null, e);
406
- }
407
- else {
408
- this.eventHandler.emitEvent(EventType.LOGIN_FAILURE, InteractionType.Redirect, null, e);
409
- }
359
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, InteractionType.Redirect, null, e);
410
360
  throw e;
411
361
  }
412
362
  }
@@ -421,14 +371,14 @@ class StandardController {
421
371
  */
422
372
  acquireTokenPopup(request) {
423
373
  const correlationId = this.getRequestCorrelationId(request);
424
- const atPopupMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.AcquireTokenPopup, correlationId);
374
+ const atPopupMeasurement = this.performanceClient.startMeasurement(AcquireTokenPopup, correlationId);
425
375
  atPopupMeasurement.add({
426
376
  scenarioId: request.scenarioId,
427
377
  });
428
378
  try {
429
- this.logger.verbose("acquireTokenPopup called", correlationId);
379
+ this.logger.verbose("0ch87b", correlationId);
430
380
  preflightCheck(this.initialized, atPopupMeasurement, request.account);
431
- this.browserStorage.setInteractionInProgress(true, INTERACTION_TYPE.SIGNIN);
381
+ this.browserStorage.setInteractionInProgress(true, INTERACTION_TYPE.SIGNIN, request.overrideInteractionInProgress, correlationId);
432
382
  }
433
383
  catch (e) {
434
384
  // Since this function is syncronous we need to reject
@@ -436,18 +386,10 @@ class StandardController {
436
386
  }
437
387
  // If logged in, emit acquire token events
438
388
  const loggedInAccounts = this.getAllAccounts();
439
- if (loggedInAccounts.length > 0) {
440
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, InteractionType.Popup, request);
441
- }
442
- else {
443
- this.eventHandler.emitEvent(EventType.LOGIN_START, InteractionType.Popup, request);
444
- }
389
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, InteractionType.Popup, request);
445
390
  let result;
446
391
  const pkce = this.getPreGeneratedPkceCodes(correlationId);
447
392
  if (this.canUsePlatformBroker(request)) {
448
- atPopupMeasurement.add({
449
- isPlatformBrokerRequest: true,
450
- });
451
393
  result = this.acquireTokenNative({
452
394
  ...request,
453
395
  correlationId,
@@ -455,22 +397,19 @@ class StandardController {
455
397
  .then((response) => {
456
398
  atPopupMeasurement.end({
457
399
  success: true,
400
+ isNativeBroker: true,
458
401
  }, undefined, response.account);
459
402
  return response;
460
403
  })
461
404
  .catch((e) => {
462
- atPopupMeasurement.add({
463
- brokerErrorName: e.name,
464
- brokerErrorCode: e.errorCode,
465
- });
466
405
  if (e instanceof NativeAuthError &&
467
406
  isFatalNativeAuthError(e)) {
468
- this.platformAuthProvider = undefined; // If extension gets uninstalled during session prevent future requests from continuing to continuing to attempt platform broker calls
407
+ this.platformAuthProvider = undefined; // If extension gets uninstalled during session prevent future requests from continuing to attempt
469
408
  const popupClient = this.createPopupClient(correlationId);
470
409
  return popupClient.acquireToken(request, pkce);
471
410
  }
472
411
  else if (e instanceof InteractionRequiredAuthError) {
473
- this.logger.verbose("acquireTokenPopup - Resolving interaction required error thrown by native broker by falling back to web flow");
412
+ this.logger.verbose("0yy5fw", correlationId);
474
413
  const popupClient = this.createPopupClient(correlationId);
475
414
  return popupClient.acquireToken(request, pkce);
476
415
  }
@@ -487,11 +426,9 @@ class StandardController {
487
426
  * If logged in, emit acquire token events
488
427
  */
489
428
  const isLoggingIn = loggedInAccounts.length < this.getAllAccounts().length;
429
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, InteractionType.Popup, result);
490
430
  if (isLoggingIn) {
491
- this.eventHandler.emitEvent(EventType.LOGIN_SUCCESS, InteractionType.Popup, result);
492
- }
493
- else {
494
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, InteractionType.Popup, result);
431
+ this.eventHandler.emitEvent(EventType.LOGIN_SUCCESS, InteractionType.Popup, result.account);
495
432
  }
496
433
  atPopupMeasurement.end({
497
434
  success: true,
@@ -501,12 +438,7 @@ class StandardController {
501
438
  return result;
502
439
  })
503
440
  .catch((e) => {
504
- if (loggedInAccounts.length > 0) {
505
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, InteractionType.Popup, null, e);
506
- }
507
- else {
508
- this.eventHandler.emitEvent(EventType.LOGIN_FAILURE, InteractionType.Popup, null, e);
509
- }
441
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, InteractionType.Popup, null, e);
510
442
  atPopupMeasurement.end({
511
443
  success: false,
512
444
  }, e, request.account);
@@ -515,7 +447,7 @@ class StandardController {
515
447
  })
516
448
  .finally(async () => {
517
449
  this.browserStorage.setInteractionInProgress(false);
518
- if (this.config.system.asyncPopups) {
450
+ if (!this.config.system.navigatePopups) {
519
451
  await this.preGeneratePkceCodes(correlationId);
520
452
  }
521
453
  });
@@ -526,7 +458,6 @@ class StandardController {
526
458
  if (!measurement) {
527
459
  return;
528
460
  }
529
- this.logger.info("Perf: Visibility change detected in ", measurement.event.name);
530
461
  measurement.increment({
531
462
  visibilityChangeCount: 1,
532
463
  });
@@ -556,7 +487,7 @@ class StandardController {
556
487
  prompt: request.prompt,
557
488
  correlationId: correlationId,
558
489
  };
559
- this.ssoSilentMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.SsoSilent, correlationId);
490
+ this.ssoSilentMeasurement = this.performanceClient.startMeasurement(SsoSilent, correlationId);
560
491
  this.ssoSilentMeasurement?.add({
561
492
  scenarioId: request.scenarioId,
562
493
  });
@@ -565,18 +496,12 @@ class StandardController {
565
496
  visibilityChangeCount: 0,
566
497
  });
567
498
  document.addEventListener("visibilitychange", this.trackPageVisibilityWithMeasurement);
568
- this.logger.verbose("ssoSilent called", correlationId);
569
- this.eventHandler.emitEvent(EventType.SSO_SILENT_START, InteractionType.Silent, validRequest);
499
+ const loggedInAccounts = this.getAllAccounts();
500
+ this.logger.verbose("0w1b45", correlationId);
501
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, InteractionType.Silent, validRequest);
570
502
  let result;
571
503
  if (this.canUsePlatformBroker(validRequest)) {
572
- this.ssoSilentMeasurement?.add({
573
- isPlatformBrokerRequest: true,
574
- });
575
504
  result = this.acquireTokenNative(validRequest, ApiId.ssoSilent).catch((e) => {
576
- this.ssoSilentMeasurement?.add({
577
- brokerErrorName: e.name,
578
- brokerErrorCode: e.errorCode,
579
- });
580
505
  // If native token acquisition fails for availability reasons fallback to standard flow
581
506
  if (e instanceof NativeAuthError && isFatalNativeAuthError(e)) {
582
507
  this.platformAuthProvider = undefined; // If extension gets uninstalled during session prevent future requests from continuing to attempt
@@ -592,16 +517,21 @@ class StandardController {
592
517
  }
593
518
  return result
594
519
  .then((response) => {
595
- this.eventHandler.emitEvent(EventType.SSO_SILENT_SUCCESS, InteractionType.Silent, response);
520
+ const isLoggingIn = loggedInAccounts.length < this.getAllAccounts().length;
521
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, InteractionType.Silent, response);
522
+ if (isLoggingIn) {
523
+ this.eventHandler.emitEvent(EventType.LOGIN_SUCCESS, InteractionType.Silent, response.account);
524
+ }
596
525
  this.ssoSilentMeasurement?.end({
597
526
  success: true,
527
+ isNativeBroker: response.fromPlatformBroker,
598
528
  accessTokenSize: response.accessToken.length,
599
529
  idTokenSize: response.idToken.length,
600
530
  }, undefined, response.account);
601
531
  return response;
602
532
  })
603
533
  .catch((e) => {
604
- this.eventHandler.emitEvent(EventType.SSO_SILENT_FAILURE, InteractionType.Silent, null, e);
534
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, InteractionType.Silent, null, e);
605
535
  this.ssoSilentMeasurement?.end({
606
536
  success: false,
607
537
  }, e, request.account);
@@ -623,10 +553,10 @@ class StandardController {
623
553
  */
624
554
  async acquireTokenByCode(request) {
625
555
  const correlationId = this.getRequestCorrelationId(request);
626
- this.logger.trace("acquireTokenByCode called", correlationId);
627
- const atbcMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.AcquireTokenByCode, correlationId);
556
+ this.logger.trace("0ch6ga", correlationId);
557
+ const atbcMeasurement = this.performanceClient.startMeasurement(AcquireTokenByCode, correlationId);
628
558
  preflightCheck(this.initialized, atbcMeasurement);
629
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_BY_CODE_START, InteractionType.Silent, request);
559
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, InteractionType.Silent, request);
630
560
  atbcMeasurement.add({ scenarioId: request.scenarioId });
631
561
  try {
632
562
  if (request.code && request.nativeAccountId) {
@@ -637,16 +567,17 @@ class StandardController {
637
567
  const hybridAuthCode = request.code;
638
568
  let response = this.hybridAuthCodeResponses.get(hybridAuthCode);
639
569
  if (!response) {
640
- this.logger.verbose("Initiating new acquireTokenByCode request", correlationId);
570
+ this.logger.verbose("06eh73", correlationId);
641
571
  response = this.acquireTokenByCodeAsync({
642
572
  ...request,
643
573
  correlationId,
644
574
  })
645
575
  .then((result) => {
646
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_BY_CODE_SUCCESS, InteractionType.Silent, result);
576
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, InteractionType.Silent, result);
647
577
  this.hybridAuthCodeResponses.delete(hybridAuthCode);
648
578
  atbcMeasurement.end({
649
579
  success: true,
580
+ isNativeBroker: result.fromPlatformBroker,
650
581
  accessTokenSize: result.accessToken.length,
651
582
  idTokenSize: result.idToken.length,
652
583
  }, undefined, result.account);
@@ -654,7 +585,7 @@ class StandardController {
654
585
  })
655
586
  .catch((error) => {
656
587
  this.hybridAuthCodeResponses.delete(hybridAuthCode);
657
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_BY_CODE_FAILURE, InteractionType.Silent, null, error);
588
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, InteractionType.Silent, null, error);
658
589
  atbcMeasurement.end({
659
590
  success: false,
660
591
  }, error);
@@ -663,16 +594,13 @@ class StandardController {
663
594
  this.hybridAuthCodeResponses.set(hybridAuthCode, response);
664
595
  }
665
596
  else {
666
- this.logger.verbose("Existing acquireTokenByCode request found", correlationId);
597
+ this.logger.verbose("0qgp28", correlationId);
667
598
  atbcMeasurement.discard();
668
599
  }
669
600
  return await response;
670
601
  }
671
602
  else if (request.nativeAccountId) {
672
603
  if (this.canUsePlatformBroker(request, request.nativeAccountId)) {
673
- atbcMeasurement.add({
674
- isPlatformBrokerRequest: true,
675
- });
676
604
  const result = await this.acquireTokenNative({
677
605
  ...request,
678
606
  correlationId,
@@ -682,10 +610,6 @@ class StandardController {
682
610
  isFatalNativeAuthError(e)) {
683
611
  this.platformAuthProvider = undefined; // If extension gets uninstalled during session prevent future requests from continuing to attempt
684
612
  }
685
- atbcMeasurement.add({
686
- brokerErrorName: e.name,
687
- brokerErrorCode: e.errorCode,
688
- });
689
613
  throw e;
690
614
  });
691
615
  atbcMeasurement.end({
@@ -702,7 +626,7 @@ class StandardController {
702
626
  }
703
627
  }
704
628
  catch (e) {
705
- this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_BY_CODE_FAILURE, InteractionType.Silent, null, e);
629
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, InteractionType.Silent, null, e);
706
630
  atbcMeasurement.end({
707
631
  success: false,
708
632
  }, e);
@@ -715,20 +639,22 @@ class StandardController {
715
639
  * @returns Result of the operation to redeem the authorization code
716
640
  */
717
641
  async acquireTokenByCodeAsync(request) {
718
- this.logger.trace("acquireTokenByCodeAsync called", request.correlationId);
642
+ const correlationId = this.getRequestCorrelationId(request);
643
+ this.logger.trace("10d9hy", correlationId);
719
644
  this.acquireTokenByCodeAsyncMeasurement =
720
- this.performanceClient.startMeasurement(PerformanceEvents.AcquireTokenByCodeAsync, request.correlationId);
645
+ this.performanceClient.startMeasurement(AcquireTokenByCodeAsync, correlationId);
721
646
  this.acquireTokenByCodeAsyncMeasurement?.increment({
722
647
  visibilityChangeCount: 0,
723
648
  });
724
649
  document.addEventListener("visibilitychange", this.trackPageVisibilityWithMeasurement);
725
- const silentAuthCodeClient = this.createSilentAuthCodeClient(request.correlationId);
650
+ const silentAuthCodeClient = this.createSilentAuthCodeClient(correlationId);
726
651
  const silentTokenResult = await silentAuthCodeClient
727
652
  .acquireToken(request)
728
653
  .then((response) => {
729
654
  this.acquireTokenByCodeAsyncMeasurement?.end({
730
655
  success: true,
731
656
  fromCache: response.fromCache,
657
+ isNativeBroker: response.fromPlatformBroker,
732
658
  });
733
659
  return response;
734
660
  })
@@ -751,13 +677,12 @@ class StandardController {
751
677
  * @returns A promise that, when resolved, returns the access token
752
678
  */
753
679
  async acquireTokenFromCache(commonRequest, cacheLookupPolicy) {
754
- this.performanceClient.addQueueMeasurement(PerformanceEvents.AcquireTokenFromCache, commonRequest.correlationId);
755
680
  switch (cacheLookupPolicy) {
756
681
  case CacheLookupPolicy.Default:
757
682
  case CacheLookupPolicy.AccessToken:
758
683
  case CacheLookupPolicy.AccessTokenAndRefreshToken:
759
684
  const silentCacheClient = this.createSilentCacheClient(commonRequest.correlationId);
760
- return invokeAsync(silentCacheClient.acquireToken.bind(silentCacheClient), PerformanceEvents.SilentCacheClientAcquireToken, this.logger, this.performanceClient, commonRequest.correlationId)(commonRequest);
685
+ return invokeAsync(silentCacheClient.acquireToken.bind(silentCacheClient), SilentCacheClientAcquireToken, this.logger, this.performanceClient, commonRequest.correlationId)(commonRequest);
761
686
  default:
762
687
  throw createClientAuthError(ClientAuthErrorCodes.tokenRefreshRequired);
763
688
  }
@@ -769,14 +694,13 @@ class StandardController {
769
694
  * @returns A promise that, when resolved, returns the access token
770
695
  */
771
696
  async acquireTokenByRefreshToken(commonRequest, cacheLookupPolicy) {
772
- this.performanceClient.addQueueMeasurement(PerformanceEvents.AcquireTokenByRefreshToken, commonRequest.correlationId);
773
697
  switch (cacheLookupPolicy) {
774
698
  case CacheLookupPolicy.Default:
775
699
  case CacheLookupPolicy.AccessTokenAndRefreshToken:
776
700
  case CacheLookupPolicy.RefreshToken:
777
701
  case CacheLookupPolicy.RefreshTokenAndNetwork:
778
702
  const silentRefreshClient = this.createSilentRefreshClient(commonRequest.correlationId);
779
- return invokeAsync(silentRefreshClient.acquireToken.bind(silentRefreshClient), PerformanceEvents.SilentRefreshClientAcquireToken, this.logger, this.performanceClient, commonRequest.correlationId)(commonRequest);
703
+ return invokeAsync(silentRefreshClient.acquireToken.bind(silentRefreshClient), SilentRefreshClientAcquireToken, this.logger, this.performanceClient, commonRequest.correlationId)(commonRequest);
780
704
  default:
781
705
  throw createClientAuthError(ClientAuthErrorCodes.tokenRefreshRequired);
782
706
  }
@@ -787,25 +711,11 @@ class StandardController {
787
711
  * @returns A promise that, when resolved, returns the access token
788
712
  */
789
713
  async acquireTokenBySilentIframe(request) {
790
- this.performanceClient.addQueueMeasurement(PerformanceEvents.AcquireTokenBySilentIframe, request.correlationId);
791
714
  const silentIframeClient = this.createSilentIframeClient(request.correlationId);
792
- return invokeAsync(silentIframeClient.acquireToken.bind(silentIframeClient), PerformanceEvents.SilentIframeClientAcquireToken, this.logger, this.performanceClient, request.correlationId)(request);
715
+ return invokeAsync(silentIframeClient.acquireToken.bind(silentIframeClient), SilentIframeClientAcquireToken, this.logger, this.performanceClient, request.correlationId)(request);
793
716
  }
794
717
  // #endregion
795
718
  // #region Logout
796
- /**
797
- * Deprecated logout function. Use logoutRedirect or logoutPopup instead
798
- * @param logoutRequest
799
- * @deprecated
800
- */
801
- async logout(logoutRequest) {
802
- const correlationId = this.getRequestCorrelationId(logoutRequest);
803
- this.logger.warning("logout API is deprecated and will be removed in msal-browser v3.0.0. Use logoutRedirect instead.", correlationId);
804
- return this.logoutRedirect({
805
- correlationId,
806
- ...logoutRequest,
807
- });
808
- }
809
719
  /**
810
720
  * Use to log out the current user, and redirect the user to the postLogoutRedirectUri.
811
721
  * Default behaviour is to redirect the user to `window.location.href`.
@@ -843,7 +753,6 @@ class StandardController {
843
753
  */
844
754
  async clearCache(logoutRequest) {
845
755
  if (!this.isBrowserEnvironment) {
846
- this.logger.info("in non-browser environment, returning early.");
847
756
  return;
848
757
  }
849
758
  const correlationId = this.getRequestCorrelationId(logoutRequest);
@@ -858,8 +767,7 @@ class StandardController {
858
767
  * @returns Array of AccountInfo objects in cache
859
768
  */
860
769
  getAllAccounts(accountFilter) {
861
- const correlationId = this.getRequestCorrelationId();
862
- return getAllAccounts(this.logger, this.browserStorage, this.isBrowserEnvironment, correlationId, accountFilter);
770
+ return getAllAccounts(this.logger, this.browserStorage, this.isBrowserEnvironment, this.getRequestCorrelationId(), accountFilter);
863
771
  }
864
772
  /**
865
773
  * Returns the first account found in the cache that matches the account filter passed in.
@@ -867,57 +775,20 @@ class StandardController {
867
775
  * @returns The first account found in the cache matching the provided filter or null if no account could be found.
868
776
  */
869
777
  getAccount(accountFilter) {
870
- const correlationId = this.getRequestCorrelationId();
871
- return getAccount(accountFilter, this.logger, this.browserStorage, correlationId);
872
- }
873
- /**
874
- * Returns the signed in account matching username.
875
- * (the account object is created at the time of successful login)
876
- * or null when no matching account is found.
877
- * This API is provided for convenience but getAccountById should be used for best reliability
878
- * @param username
879
- * @returns The account object stored in MSAL
880
- */
881
- getAccountByUsername(username) {
882
- const correlationId = this.getRequestCorrelationId();
883
- return getAccountByUsername(username, this.logger, this.browserStorage, correlationId);
884
- }
885
- /**
886
- * Returns the signed in account matching homeAccountId.
887
- * (the account object is created at the time of successful login)
888
- * or null when no matching account is found
889
- * @param homeAccountId
890
- * @returns The account object stored in MSAL
891
- */
892
- getAccountByHomeId(homeAccountId) {
893
- const correlationId = this.getRequestCorrelationId();
894
- return getAccountByHomeId(homeAccountId, this.logger, this.browserStorage, correlationId);
895
- }
896
- /**
897
- * Returns the signed in account matching localAccountId.
898
- * (the account object is created at the time of successful login)
899
- * or null when no matching account is found
900
- * @param localAccountId
901
- * @returns The account object stored in MSAL
902
- */
903
- getAccountByLocalId(localAccountId) {
904
- const correlationId = this.getRequestCorrelationId();
905
- return getAccountByLocalId(localAccountId, this.logger, this.browserStorage, correlationId);
778
+ return getAccount(accountFilter, this.logger, this.browserStorage, this.getRequestCorrelationId());
906
779
  }
907
780
  /**
908
781
  * Sets the account to use as the active account. If no account is passed to the acquireToken APIs, then MSAL will use this active account.
909
782
  * @param account
910
783
  */
911
784
  setActiveAccount(account) {
912
- const correlationId = this.getRequestCorrelationId();
913
- setActiveAccount(account, this.browserStorage, correlationId);
785
+ setActiveAccount(account, this.browserStorage, this.getRequestCorrelationId());
914
786
  }
915
787
  /**
916
788
  * Gets the currently active account
917
789
  */
918
790
  getActiveAccount() {
919
- const correlationId = this.getRequestCorrelationId();
920
- return getActiveAccount(this.browserStorage, correlationId);
791
+ return getActiveAccount(this.browserStorage, this.getRequestCorrelationId());
921
792
  }
922
793
  // #endregion
923
794
  /**
@@ -927,12 +798,12 @@ class StandardController {
927
798
  * @returns
928
799
  */
929
800
  async hydrateCache(result, request) {
930
- this.logger.verbose("hydrateCache called");
801
+ this.logger.verbose("16jycr", result.correlationId);
931
802
  // Account gets saved to browser storage regardless of native or not
932
- const accountEntity = AccountEntity.createFromAccountInfo(result.account, result.cloudGraphHostName, result.msGraphHost);
803
+ const accountEntity = AccountEntityUtils.createAccountEntityFromAccountInfo(result.account, result.cloudGraphHostName, result.msGraphHost);
933
804
  await this.browserStorage.setAccount(accountEntity, result.correlationId, AuthToken.isKmsi(result.idTokenClaims));
934
- if (result.fromNativeBroker) {
935
- this.logger.verbose("Response was from native broker, storing in-memory");
805
+ if (result.fromPlatformBroker) {
806
+ this.logger.verbose("1fxyu8", result.correlationId);
936
807
  // Tokens from native broker are stored in-memory
937
808
  return this.nativeInternalStorage.hydrateCache(result, request);
938
809
  }
@@ -946,11 +817,12 @@ class StandardController {
946
817
  * @param request
947
818
  */
948
819
  async acquireTokenNative(request, apiId, accountId, cacheLookupPolicy) {
949
- this.logger.trace("acquireTokenNative called");
820
+ const correlationId = this.getRequestCorrelationId(request);
821
+ this.logger.trace("0b9y3p", correlationId);
950
822
  if (!this.platformAuthProvider) {
951
823
  throw createBrowserAuthError(nativeConnectionNotEstablished);
952
824
  }
953
- const nativeClient = new PlatformAuthInteractionClient(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, apiId, this.performanceClient, this.platformAuthProvider, accountId || this.getNativeAccountId(request), this.nativeInternalStorage, request.correlationId);
825
+ const nativeClient = new PlatformAuthInteractionClient(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, apiId, this.performanceClient, this.platformAuthProvider, accountId || this.getNativeAccountId(request), this.nativeInternalStorage, correlationId);
954
826
  return nativeClient.acquireToken(request, cacheLookupPolicy);
955
827
  }
956
828
  /**
@@ -958,30 +830,30 @@ class StandardController {
958
830
  * @param request
959
831
  */
960
832
  canUsePlatformBroker(request, accountId) {
961
- this.logger.trace("canUsePlatformBroker called");
833
+ const correlationId = this.getRequestCorrelationId(request);
834
+ this.logger.trace("1n9lbl", correlationId);
962
835
  if (!this.platformAuthProvider) {
963
- this.logger.trace("canUsePlatformBroker: platform broker unavilable, returning false");
836
+ this.logger.trace("0vnu11", correlationId);
964
837
  return false;
965
838
  }
966
- if (!isPlatformAuthAllowed(this.config, this.logger, this.platformAuthProvider, request.authenticationScheme)) {
967
- this.logger.trace("canUsePlatformBroker: isBrokerAvailable returned false, returning false");
839
+ if (!isPlatformAuthAllowed(this.config, this.logger, correlationId, this.platformAuthProvider, request.authenticationScheme)) {
840
+ this.logger.trace("1m4bzf", correlationId);
968
841
  return false;
969
842
  }
970
843
  if (request.prompt) {
971
844
  switch (request.prompt) {
972
- case PromptValue.NONE:
973
- case PromptValue.CONSENT:
974
- case PromptValue.LOGIN:
975
- case PromptValue.SELECT_ACCOUNT:
976
- this.logger.trace("canUsePlatformBroker: prompt is compatible with platform broker flow");
845
+ case Constants.PromptValue.NONE:
846
+ case Constants.PromptValue.CONSENT:
847
+ case Constants.PromptValue.LOGIN:
848
+ this.logger.trace("0vdv8e", correlationId);
977
849
  break;
978
850
  default:
979
- this.logger.trace(`canUsePlatformBroker: prompt = ${request.prompt} is not compatible with platform broker flow, returning false`);
851
+ this.logger.trace("0pdzw6", correlationId);
980
852
  return false;
981
853
  }
982
854
  }
983
855
  if (!accountId && !this.getNativeAccountId(request)) {
984
- this.logger.trace("canUsePlatformBroker: nativeAccountId is not available, returning false");
856
+ this.logger.trace("16lbtk", correlationId);
985
857
  return false;
986
858
  }
987
859
  return true;
@@ -1005,39 +877,39 @@ class StandardController {
1005
877
  * @param correlationId
1006
878
  */
1007
879
  createPopupClient(correlationId) {
1008
- return new PopupClient(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.performanceClient, this.nativeInternalStorage, this.platformAuthProvider, correlationId);
880
+ return new PopupClient(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.performanceClient, this.nativeInternalStorage, correlationId, this.platformAuthProvider);
1009
881
  }
1010
882
  /**
1011
883
  * Returns new instance of the Redirect Interaction Client
1012
884
  * @param correlationId
1013
885
  */
1014
886
  createRedirectClient(correlationId) {
1015
- return new RedirectClient(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.performanceClient, this.nativeInternalStorage, this.platformAuthProvider, correlationId);
887
+ return new RedirectClient(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.performanceClient, this.nativeInternalStorage, correlationId, this.platformAuthProvider);
1016
888
  }
1017
889
  /**
1018
890
  * Returns new instance of the Silent Iframe Interaction Client
1019
891
  * @param correlationId
1020
892
  */
1021
893
  createSilentIframeClient(correlationId) {
1022
- return new SilentIframeClient(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, ApiId.ssoSilent, this.performanceClient, this.nativeInternalStorage, this.platformAuthProvider, correlationId);
894
+ return new SilentIframeClient(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, ApiId.ssoSilent, this.performanceClient, this.nativeInternalStorage, correlationId, this.platformAuthProvider);
1023
895
  }
1024
896
  /**
1025
897
  * Returns new instance of the Silent Cache Interaction Client
1026
898
  */
1027
899
  createSilentCacheClient(correlationId) {
1028
- return new SilentCacheClient(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.performanceClient, this.platformAuthProvider, correlationId);
900
+ return new SilentCacheClient(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.performanceClient, correlationId, this.platformAuthProvider);
1029
901
  }
1030
902
  /**
1031
903
  * Returns new instance of the Silent Refresh Interaction Client
1032
904
  */
1033
905
  createSilentRefreshClient(correlationId) {
1034
- return new SilentRefreshClient(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.performanceClient, this.platformAuthProvider, correlationId);
906
+ return new SilentRefreshClient(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.performanceClient, correlationId, this.platformAuthProvider);
1035
907
  }
1036
908
  /**
1037
909
  * Returns new instance of the Silent AuthCode Interaction Client
1038
910
  */
1039
911
  createSilentAuthCodeClient(correlationId) {
1040
- return new SilentAuthCodeClient(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, ApiId.acquireTokenByCode, this.performanceClient, this.platformAuthProvider, correlationId);
912
+ return new SilentAuthCodeClient(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, ApiId.acquireTokenByCode, this.performanceClient, correlationId, this.platformAuthProvider);
1041
913
  }
1042
914
  /**
1043
915
  * Adds event callbacks to array
@@ -1072,36 +944,6 @@ class StandardController {
1072
944
  removePerformanceCallback(callbackId) {
1073
945
  return this.performanceClient.removePerformanceCallback(callbackId);
1074
946
  }
1075
- /**
1076
- * Adds event listener that emits an event when a user account is added or removed from localstorage in a different browser tab or window
1077
- * @deprecated These events will be raised by default and this method will be removed in a future major version.
1078
- */
1079
- enableAccountStorageEvents() {
1080
- if (this.config.cache.cacheLocation !==
1081
- BrowserCacheLocation.LocalStorage) {
1082
- this.logger.info("Account storage events are only available when cacheLocation is set to localStorage");
1083
- return;
1084
- }
1085
- this.eventHandler.subscribeCrossTab();
1086
- }
1087
- /**
1088
- * Removes event listener that emits an event when a user account is added or removed from localstorage in a different browser tab or window
1089
- * @deprecated These events will be raised by default and this method will be removed in a future major version.
1090
- */
1091
- disableAccountStorageEvents() {
1092
- if (this.config.cache.cacheLocation !==
1093
- BrowserCacheLocation.LocalStorage) {
1094
- this.logger.info("Account storage events are only available when cacheLocation is set to localStorage");
1095
- return;
1096
- }
1097
- this.eventHandler.unsubscribeCrossTab();
1098
- }
1099
- /**
1100
- * Gets the token cache for the application.
1101
- */
1102
- getTokenCache() {
1103
- return this.tokenCache;
1104
- }
1105
947
  /**
1106
948
  * Returns the logger instance
1107
949
  */
@@ -1167,7 +1009,7 @@ class StandardController {
1167
1009
  * Included for fallback for non-browser environments,
1168
1010
  * and to ensure this method always returns a string.
1169
1011
  */
1170
- return Constants.EMPTY_STRING;
1012
+ return "";
1171
1013
  }
1172
1014
  // #endregion
1173
1015
  /**
@@ -1181,7 +1023,7 @@ class StandardController {
1181
1023
  */
1182
1024
  async loginRedirect(request) {
1183
1025
  const correlationId = this.getRequestCorrelationId(request);
1184
- this.logger.verbose("loginRedirect called", correlationId);
1026
+ this.logger.verbose("0lz9hf", correlationId);
1185
1027
  return this.acquireTokenRedirect({
1186
1028
  correlationId,
1187
1029
  ...(request || DEFAULT_REQUEST),
@@ -1196,7 +1038,7 @@ class StandardController {
1196
1038
  */
1197
1039
  loginPopup(request) {
1198
1040
  const correlationId = this.getRequestCorrelationId(request);
1199
- this.logger.verbose("loginPopup called", correlationId);
1041
+ this.logger.verbose("0qw7v5", correlationId);
1200
1042
  return this.acquireTokenPopup({
1201
1043
  correlationId,
1202
1044
  ...(request || DEFAULT_REQUEST),
@@ -1210,13 +1052,13 @@ class StandardController {
1210
1052
  */
1211
1053
  async acquireTokenSilent(request) {
1212
1054
  const correlationId = this.getRequestCorrelationId(request);
1213
- const atsMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.AcquireTokenSilent, correlationId);
1055
+ const atsMeasurement = this.performanceClient.startMeasurement(AcquireTokenSilent, correlationId);
1214
1056
  atsMeasurement.add({
1215
1057
  cacheLookupPolicy: request.cacheLookupPolicy,
1216
1058
  scenarioId: request.scenarioId,
1217
1059
  });
1218
1060
  preflightCheck(this.initialized, atsMeasurement, request.account);
1219
- this.logger.verbose("acquireTokenSilent called", correlationId);
1061
+ this.logger.verbose("0x1c4s", correlationId);
1220
1062
  const account = request.account || this.getActiveAccount();
1221
1063
  if (!account) {
1222
1064
  throw createBrowserAuthError(noAccountError);
@@ -1226,6 +1068,7 @@ class StandardController {
1226
1068
  atsMeasurement.end({
1227
1069
  success: true,
1228
1070
  fromCache: result.fromCache,
1071
+ isNativeBroker: result.fromPlatformBroker,
1229
1072
  accessTokenSize: result.accessToken.length,
1230
1073
  idTokenSize: result.idToken.length,
1231
1074
  }, undefined, result.account);
@@ -1262,9 +1105,9 @@ class StandardController {
1262
1105
  const silentRequestKey = JSON.stringify(thumbprint);
1263
1106
  const inProgressRequest = this.activeSilentTokenRequests.get(silentRequestKey);
1264
1107
  if (typeof inProgressRequest === "undefined") {
1265
- this.logger.verbose("acquireTokenSilent called for the first time, storing active request", correlationId);
1108
+ this.logger.verbose("0fcjbk", correlationId);
1266
1109
  this.performanceClient.addFields({ deduped: false }, correlationId);
1267
- const activeRequest = invokeAsync(this.acquireTokenSilentAsync.bind(this), PerformanceEvents.AcquireTokenSilentAsync, this.logger, this.performanceClient, correlationId)({
1110
+ const activeRequest = invokeAsync(this.acquireTokenSilentAsync.bind(this), AcquireTokenSilentAsync, this.logger, this.performanceClient, correlationId)({
1268
1111
  ...request,
1269
1112
  correlationId,
1270
1113
  }, account);
@@ -1274,7 +1117,7 @@ class StandardController {
1274
1117
  });
1275
1118
  }
1276
1119
  else {
1277
- this.logger.verbose("acquireTokenSilent has been called previously, returning the result from the first call", correlationId);
1120
+ this.logger.verbose("1yq7nb", correlationId);
1278
1121
  this.performanceClient.addFields({ deduped: true }, correlationId);
1279
1122
  return inProgressRequest;
1280
1123
  }
@@ -1287,13 +1130,12 @@ class StandardController {
1287
1130
  */
1288
1131
  async acquireTokenSilentAsync(request, account) {
1289
1132
  const trackPageVisibility = () => this.trackPageVisibility(request.correlationId);
1290
- this.performanceClient.addQueueMeasurement(PerformanceEvents.AcquireTokenSilentAsync, request.correlationId);
1291
1133
  this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, InteractionType.Silent, request);
1292
1134
  if (request.correlationId) {
1293
1135
  this.performanceClient.incrementFields({ visibilityChangeCount: 0 }, request.correlationId);
1294
1136
  }
1295
1137
  document.addEventListener("visibilitychange", trackPageVisibility);
1296
- const silentRequest = await invokeAsync(initializeSilentRequest, PerformanceEvents.InitializeSilentRequest, this.logger, this.performanceClient, request.correlationId)(request, account, this.config, this.performanceClient, this.logger);
1138
+ const silentRequest = await invokeAsync(initializeSilentRequest, InitializeSilentRequest, this.logger, this.performanceClient, request.correlationId)(request, account, this.config, this.performanceClient, this.logger);
1297
1139
  const cacheLookupPolicy = request.cacheLookupPolicy || CacheLookupPolicy.Default;
1298
1140
  const result = this.acquireTokenSilentNoIframe(silentRequest, cacheLookupPolicy).catch(async (refreshTokenError) => {
1299
1141
  const shouldTryToResolveSilently = checkIfRefreshTokenErrorCanBeResolvedSilently(refreshTokenError, cacheLookupPolicy);
@@ -1307,8 +1149,8 @@ class StandardController {
1307
1149
  }),
1308
1150
  silentRequest.correlationId,
1309
1151
  ];
1310
- this.logger.verbose("Refresh token expired/invalid or CacheLookupPolicy is set to Skip, attempting acquire token by iframe.", silentRequest.correlationId);
1311
- return invokeAsync(this.acquireTokenBySilentIframe.bind(this), PerformanceEvents.AcquireTokenBySilentIframe, this.logger, this.performanceClient, silentRequest.correlationId)(silentRequest)
1152
+ this.logger.verbose("0rh08z", silentRequest.correlationId);
1153
+ return invokeAsync(this.acquireTokenBySilentIframe.bind(this), AcquireTokenBySilentIframe, this.logger, this.performanceClient, silentRequest.correlationId)(silentRequest)
1312
1154
  .then((iframeResult) => {
1313
1155
  _resolve(true);
1314
1156
  return iframeResult;
@@ -1323,8 +1165,8 @@ class StandardController {
1323
1165
  }
1324
1166
  else if (cacheLookupPolicy !== CacheLookupPolicy.Skip) {
1325
1167
  const [activePromise, activeCorrelationId] = this.activeIframeRequest;
1326
- this.logger.verbose(`Iframe request is already in progress, awaiting resolution for request with correlationId: ${activeCorrelationId}`, silentRequest.correlationId);
1327
- const awaitConcurrentIframeMeasure = this.performanceClient.startMeasurement(PerformanceEvents.AwaitConcurrentIframe, silentRequest.correlationId);
1168
+ this.logger.verbose("1w8fso", silentRequest.correlationId);
1169
+ const awaitConcurrentIframeMeasure = this.performanceClient.startMeasurement(AwaitConcurrentIframe, silentRequest.correlationId);
1328
1170
  awaitConcurrentIframeMeasure.add({
1329
1171
  awaitIframeCorrelationId: activeCorrelationId,
1330
1172
  });
@@ -1333,20 +1175,20 @@ class StandardController {
1333
1175
  success: activePromiseResult,
1334
1176
  });
1335
1177
  if (activePromiseResult) {
1336
- this.logger.verbose(`Parallel iframe request with correlationId: ${activeCorrelationId} succeeded. Retrying cache and/or RT redemption`, silentRequest.correlationId);
1178
+ this.logger.verbose("0ywzzi", silentRequest.correlationId);
1337
1179
  // Retry cache lookup and/or RT exchange after iframe completes
1338
1180
  return this.acquireTokenSilentNoIframe(silentRequest, cacheLookupPolicy);
1339
1181
  }
1340
1182
  else {
1341
- this.logger.info(`Iframe request with correlationId: ${activeCorrelationId} failed. Interaction is required.`);
1183
+ this.logger.info("17y14q", silentRequest.correlationId);
1342
1184
  // If previous iframe request failed, it's unlikely to succeed this time. Throw original error.
1343
1185
  throw refreshTokenError;
1344
1186
  }
1345
1187
  }
1346
1188
  else {
1347
1189
  // Cache policy set to skip and another iframe request is already in progress
1348
- this.logger.warning("Another iframe request is currently in progress and CacheLookupPolicy is set to Skip. This may result in degraded performance and/or reliability for both calls. Please consider changing the CacheLookupPolicy to take advantage of request queuing and token cache.", silentRequest.correlationId);
1349
- return invokeAsync(this.acquireTokenBySilentIframe.bind(this), PerformanceEvents.AcquireTokenBySilentIframe, this.logger, this.performanceClient, silentRequest.correlationId)(silentRequest);
1190
+ this.logger.warning("1bd4p8", silentRequest.correlationId);
1191
+ return invokeAsync(this.acquireTokenBySilentIframe.bind(this), AcquireTokenBySilentIframe, this.logger, this.performanceClient, silentRequest.correlationId)(silentRequest);
1350
1192
  }
1351
1193
  }
1352
1194
  else {
@@ -1357,9 +1199,12 @@ class StandardController {
1357
1199
  return result
1358
1200
  .then((response) => {
1359
1201
  this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, InteractionType.Silent, response);
1360
- this.performanceClient.addFields({
1361
- fromCache: response.fromCache,
1362
- }, request.correlationId);
1202
+ if (request.correlationId) {
1203
+ this.performanceClient.addFields({
1204
+ fromCache: response.fromCache,
1205
+ isNativeBroker: response.fromPlatformBroker,
1206
+ }, request.correlationId);
1207
+ }
1363
1208
  return response;
1364
1209
  })
1365
1210
  .catch((tokenRenewalError) => {
@@ -1378,18 +1223,13 @@ class StandardController {
1378
1223
  */
1379
1224
  async acquireTokenSilentNoIframe(silentRequest, cacheLookupPolicy) {
1380
1225
  // if the cache policy is set to access_token only, we should not be hitting the native layer yet
1381
- if (isPlatformAuthAllowed(this.config, this.logger, this.platformAuthProvider, silentRequest.authenticationScheme) &&
1226
+ if (isPlatformAuthAllowed(this.config, this.logger, silentRequest.correlationId, this.platformAuthProvider, silentRequest.authenticationScheme) &&
1382
1227
  silentRequest.account.nativeAccountId) {
1383
- this.logger.verbose("acquireTokenSilent - attempting to acquire token from native platform");
1384
- this.performanceClient.addFields({ isPlatformBrokerRequest: true }, silentRequest.correlationId);
1228
+ this.logger.verbose("0sczo4", silentRequest.correlationId);
1385
1229
  return this.acquireTokenNative(silentRequest, ApiId.acquireTokenSilent_silentFlow, silentRequest.account.nativeAccountId, cacheLookupPolicy).catch(async (e) => {
1386
- this.performanceClient.addFields({
1387
- brokerErrorName: e.name,
1388
- brokerErrorCode: e.errorCode,
1389
- }, silentRequest.correlationId);
1390
1230
  // If native token acquisition fails for availability reasons fallback to web flow
1391
1231
  if (e instanceof NativeAuthError && isFatalNativeAuthError(e)) {
1392
- this.logger.verbose("acquireTokenSilent - native platform unavailable, falling back to web flow");
1232
+ this.logger.verbose("07rkmb", silentRequest.correlationId);
1393
1233
  this.platformAuthProvider = undefined; // Prevent future requests from continuing to attempt
1394
1234
  // Cache will not contain tokens, given that previous WAM requests succeeded. Skip cache and RT renewal and go straight to iframe renewal
1395
1235
  throw createClientAuthError(ClientAuthErrorCodes.tokenRefreshRequired);
@@ -1398,17 +1238,17 @@ class StandardController {
1398
1238
  });
1399
1239
  }
1400
1240
  else {
1401
- this.logger.verbose("acquireTokenSilent - attempting to acquire token from web flow");
1241
+ this.logger.verbose("0ox81t", silentRequest.correlationId);
1402
1242
  // add logs to identify embedded cache retrieval
1403
1243
  if (cacheLookupPolicy === CacheLookupPolicy.AccessToken) {
1404
- this.logger.verbose("acquireTokenSilent - cache lookup policy set to AccessToken, attempting to acquire token from local cache");
1244
+ this.logger.verbose("0fvwxe", silentRequest.correlationId);
1405
1245
  }
1406
- return invokeAsync(this.acquireTokenFromCache.bind(this), PerformanceEvents.AcquireTokenFromCache, this.logger, this.performanceClient, silentRequest.correlationId)(silentRequest, cacheLookupPolicy).catch((cacheError) => {
1246
+ return invokeAsync(this.acquireTokenFromCache.bind(this), AcquireTokenFromCache, this.logger, this.performanceClient, silentRequest.correlationId)(silentRequest, cacheLookupPolicy).catch((cacheError) => {
1407
1247
  if (cacheLookupPolicy === CacheLookupPolicy.AccessToken) {
1408
1248
  throw cacheError;
1409
1249
  }
1410
1250
  this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_NETWORK_START, InteractionType.Silent, silentRequest);
1411
- return invokeAsync(this.acquireTokenByRefreshToken.bind(this), PerformanceEvents.AcquireTokenByRefreshToken, this.logger, this.performanceClient, silentRequest.correlationId)(silentRequest, cacheLookupPolicy);
1251
+ return invokeAsync(this.acquireTokenByRefreshToken.bind(this), AcquireTokenByRefreshToken, this.logger, this.performanceClient, silentRequest.correlationId)(silentRequest, cacheLookupPolicy);
1412
1252
  });
1413
1253
  }
1414
1254
  }
@@ -1417,8 +1257,8 @@ class StandardController {
1417
1257
  * @param correlationId
1418
1258
  */
1419
1259
  async preGeneratePkceCodes(correlationId) {
1420
- this.logger.verbose("Generating new PKCE codes");
1421
- this.pkceCode = await invokeAsync(generatePkceCodes, PerformanceEvents.GeneratePkceCodes, this.logger, this.performanceClient, correlationId)(this.performanceClient, this.logger, correlationId);
1260
+ this.logger.verbose("1x6uj6", correlationId);
1261
+ this.pkceCode = await invokeAsync(generatePkceCodes, GeneratePkceCodes, this.logger, this.performanceClient, correlationId)(this.performanceClient, this.logger, correlationId);
1422
1262
  return Promise.resolve();
1423
1263
  }
1424
1264
  /**
@@ -1426,14 +1266,18 @@ class StandardController {
1426
1266
  * @param correlationId
1427
1267
  */
1428
1268
  getPreGeneratedPkceCodes(correlationId) {
1429
- this.logger.verbose("Attempting to pick up pre-generated PKCE codes");
1430
1269
  const res = this.pkceCode ? { ...this.pkceCode } : undefined;
1431
1270
  this.pkceCode = undefined;
1432
- this.logger.verbose(`${res ? "Found" : "Did not find"} pre-generated PKCE codes`);
1271
+ if (res) {
1272
+ this.logger.verbose("12js1o", correlationId);
1273
+ }
1274
+ else {
1275
+ this.logger.verbose("1oe9ci", correlationId);
1276
+ }
1433
1277
  this.performanceClient.addFields({ usePreGeneratedPkce: !!res }, correlationId);
1434
1278
  return res;
1435
1279
  }
1436
- logMultipleInstances(performanceEvent) {
1280
+ logMultipleInstances(performanceEvent, correlationId) {
1437
1281
  const clientId = this.config.auth.clientId;
1438
1282
  if (!window)
1439
1283
  return;
@@ -1444,11 +1288,11 @@ class StandardController {
1444
1288
  // @ts-ignore
1445
1289
  const clientIds = window.msal.clientIds;
1446
1290
  if (clientIds.length > 0) {
1447
- this.logger.verbose("There is already an instance of MSAL.js in the window.");
1291
+ this.logger.verbose("1qtz3l", correlationId);
1448
1292
  }
1449
1293
  // @ts-ignore
1450
1294
  window.msal.clientIds.push(clientId);
1451
- collectInstanceStats(clientId, performanceEvent, this.logger);
1295
+ collectInstanceStats(clientId, performanceEvent, this.logger, correlationId);
1452
1296
  }
1453
1297
  }
1454
1298
  /**