@azure/msal-browser 5.0.0-alpha.0 → 5.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1988) hide show
  1. package/README.md +24 -32
  2. package/dist/app/IPublicClientApplication.d.ts +2 -2
  3. package/dist/app/IPublicClientApplication.d.ts.map +1 -1
  4. package/dist/app/IPublicClientApplication.mjs +1 -1
  5. package/dist/app/IPublicClientApplication.mjs.map +1 -1
  6. package/dist/app/PublicClientApplication.d.ts +5 -9
  7. package/dist/app/PublicClientApplication.d.ts.map +1 -1
  8. package/dist/app/PublicClientApplication.mjs +11 -19
  9. package/dist/app/PublicClientApplication.mjs.map +1 -1
  10. package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
  11. package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +9 -9
  12. package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs.map +1 -1
  13. package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +17 -17
  14. package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs.map +1 -1
  15. package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +12 -12
  16. package/dist/broker/nativeBroker/PlatformAuthProvider.mjs.map +1 -1
  17. package/dist/cache/AccountManager.d.ts +0 -25
  18. package/dist/cache/AccountManager.d.ts.map +1 -1
  19. package/dist/cache/AccountManager.mjs +7 -86
  20. package/dist/cache/AccountManager.mjs.map +1 -1
  21. package/dist/cache/AsyncMemoryStorage.mjs +9 -9
  22. package/dist/cache/AsyncMemoryStorage.mjs.map +1 -1
  23. package/dist/cache/BrowserCacheManager.d.ts +65 -8
  24. package/dist/cache/BrowserCacheManager.d.ts.map +1 -1
  25. package/dist/cache/BrowserCacheManager.mjs +475 -209
  26. package/dist/cache/BrowserCacheManager.mjs.map +1 -1
  27. package/dist/cache/CacheHelpers.mjs +1 -1
  28. package/dist/cache/CacheHelpers.mjs.map +1 -1
  29. package/dist/cache/CacheKeys.d.ts +3 -3
  30. package/dist/cache/CacheKeys.mjs +4 -4
  31. package/dist/cache/CacheKeys.mjs.map +1 -1
  32. package/dist/cache/CookieStorage.mjs +1 -1
  33. package/dist/cache/CookieStorage.mjs.map +1 -1
  34. package/dist/cache/DatabaseStorage.mjs +1 -1
  35. package/dist/cache/DatabaseStorage.mjs.map +1 -1
  36. package/dist/cache/EncryptedData.mjs +1 -1
  37. package/dist/cache/IWindowStorage.d.ts +1 -1
  38. package/dist/cache/IWindowStorage.d.ts.map +1 -1
  39. package/dist/cache/LocalStorage.d.ts +1 -1
  40. package/dist/cache/LocalStorage.d.ts.map +1 -1
  41. package/dist/cache/LocalStorage.mjs +26 -17
  42. package/dist/cache/LocalStorage.mjs.map +1 -1
  43. package/dist/cache/MemoryStorage.mjs +1 -1
  44. package/dist/cache/MemoryStorage.mjs.map +1 -1
  45. package/dist/cache/SessionStorage.mjs +1 -1
  46. package/dist/cache/SessionStorage.mjs.map +1 -1
  47. package/dist/cache/TokenCache.d.ts +7 -5
  48. package/dist/cache/TokenCache.d.ts.map +1 -1
  49. package/dist/cache/TokenCache.mjs +62 -49
  50. package/dist/cache/TokenCache.mjs.map +1 -1
  51. package/dist/config/Configuration.d.ts +4 -12
  52. package/dist/config/Configuration.d.ts.map +1 -1
  53. package/dist/config/Configuration.mjs +7 -9
  54. package/dist/config/Configuration.mjs.map +1 -1
  55. package/dist/controllers/IController.d.ts +2 -57
  56. package/dist/controllers/IController.d.ts.map +1 -1
  57. package/dist/controllers/NestedAppAuthController.d.ts +4 -43
  58. package/dist/controllers/NestedAppAuthController.d.ts.map +1 -1
  59. package/dist/controllers/NestedAppAuthController.mjs +30 -82
  60. package/dist/controllers/NestedAppAuthController.mjs.map +1 -1
  61. package/dist/controllers/StandardController.d.ts +3 -27
  62. package/dist/controllers/StandardController.d.ts.map +1 -1
  63. package/dist/controllers/StandardController.mjs +80 -135
  64. package/dist/controllers/StandardController.mjs.map +1 -1
  65. package/dist/controllers/UnknownOperatingContextController.d.ts +4 -13
  66. package/dist/controllers/UnknownOperatingContextController.d.ts.map +1 -1
  67. package/dist/crypto/BrowserCrypto.mjs +1 -1
  68. package/dist/crypto/BrowserCrypto.mjs.map +1 -1
  69. package/dist/crypto/CryptoOps.mjs +3 -3
  70. package/dist/crypto/CryptoOps.mjs.map +1 -1
  71. package/dist/crypto/PkceGenerator.mjs +1 -1
  72. package/dist/crypto/PkceGenerator.mjs.map +1 -1
  73. package/dist/crypto/SignedHttpRequest.mjs +1 -1
  74. package/dist/crypto/SignedHttpRequest.mjs.map +1 -1
  75. package/dist/custom-auth-path/app/IPublicClientApplication.d.ts +2 -2
  76. package/dist/custom-auth-path/app/IPublicClientApplication.d.ts.map +1 -1
  77. package/dist/custom-auth-path/app/PublicClientApplication.d.ts +5 -9
  78. package/dist/custom-auth-path/app/PublicClientApplication.d.ts.map +1 -1
  79. package/dist/custom-auth-path/app/PublicClientApplication.mjs +2 -14
  80. package/dist/custom-auth-path/app/PublicClientApplication.mjs.map +1 -1
  81. package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
  82. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs +9 -9
  83. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs.map +1 -1
  84. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +17 -17
  85. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs.map +1 -1
  86. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs +10 -10
  87. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs.map +1 -1
  88. package/dist/custom-auth-path/cache/AccountManager.d.ts +0 -25
  89. package/dist/custom-auth-path/cache/AccountManager.d.ts.map +1 -1
  90. package/dist/custom-auth-path/cache/AccountManager.mjs +7 -86
  91. package/dist/custom-auth-path/cache/AccountManager.mjs.map +1 -1
  92. package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs +9 -9
  93. package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs.map +1 -1
  94. package/dist/custom-auth-path/cache/BrowserCacheManager.d.ts +65 -8
  95. package/dist/custom-auth-path/cache/BrowserCacheManager.d.ts.map +1 -1
  96. package/dist/custom-auth-path/cache/BrowserCacheManager.mjs +475 -209
  97. package/dist/custom-auth-path/cache/BrowserCacheManager.mjs.map +1 -1
  98. package/dist/custom-auth-path/cache/CacheHelpers.mjs +1 -1
  99. package/dist/custom-auth-path/cache/CacheHelpers.mjs.map +1 -1
  100. package/dist/custom-auth-path/cache/CacheKeys.d.ts +3 -3
  101. package/dist/custom-auth-path/cache/CacheKeys.mjs +4 -4
  102. package/dist/custom-auth-path/cache/CacheKeys.mjs.map +1 -1
  103. package/dist/custom-auth-path/cache/CookieStorage.mjs +1 -1
  104. package/dist/custom-auth-path/cache/CookieStorage.mjs.map +1 -1
  105. package/dist/custom-auth-path/cache/DatabaseStorage.mjs +1 -1
  106. package/dist/custom-auth-path/cache/DatabaseStorage.mjs.map +1 -1
  107. package/dist/custom-auth-path/cache/EncryptedData.mjs +1 -1
  108. package/dist/custom-auth-path/cache/IWindowStorage.d.ts +1 -1
  109. package/dist/custom-auth-path/cache/IWindowStorage.d.ts.map +1 -1
  110. package/dist/custom-auth-path/cache/LocalStorage.d.ts +1 -1
  111. package/dist/custom-auth-path/cache/LocalStorage.d.ts.map +1 -1
  112. package/dist/custom-auth-path/cache/LocalStorage.mjs +26 -17
  113. package/dist/custom-auth-path/cache/LocalStorage.mjs.map +1 -1
  114. package/dist/custom-auth-path/cache/MemoryStorage.mjs +1 -1
  115. package/dist/custom-auth-path/cache/MemoryStorage.mjs.map +1 -1
  116. package/dist/custom-auth-path/cache/SessionStorage.mjs +1 -1
  117. package/dist/custom-auth-path/cache/SessionStorage.mjs.map +1 -1
  118. package/dist/custom-auth-path/cache/TokenCache.d.ts +7 -5
  119. package/dist/custom-auth-path/cache/TokenCache.d.ts.map +1 -1
  120. package/dist/custom-auth-path/config/Configuration.d.ts +4 -12
  121. package/dist/custom-auth-path/config/Configuration.d.ts.map +1 -1
  122. package/dist/custom-auth-path/config/Configuration.mjs +7 -9
  123. package/dist/custom-auth-path/config/Configuration.mjs.map +1 -1
  124. package/dist/custom-auth-path/controllers/IController.d.ts +2 -57
  125. package/dist/custom-auth-path/controllers/IController.d.ts.map +1 -1
  126. package/dist/custom-auth-path/controllers/NestedAppAuthController.d.ts +4 -43
  127. package/dist/custom-auth-path/controllers/NestedAppAuthController.d.ts.map +1 -1
  128. package/dist/custom-auth-path/controllers/StandardController.d.ts +3 -27
  129. package/dist/custom-auth-path/controllers/StandardController.d.ts.map +1 -1
  130. package/dist/custom-auth-path/controllers/StandardController.mjs +80 -135
  131. package/dist/custom-auth-path/controllers/StandardController.mjs.map +1 -1
  132. package/dist/custom-auth-path/controllers/UnknownOperatingContextController.d.ts +4 -13
  133. package/dist/custom-auth-path/controllers/UnknownOperatingContextController.d.ts.map +1 -1
  134. package/dist/custom-auth-path/crypto/BrowserCrypto.mjs +1 -1
  135. package/dist/custom-auth-path/crypto/BrowserCrypto.mjs.map +1 -1
  136. package/dist/custom-auth-path/crypto/CryptoOps.mjs +3 -3
  137. package/dist/custom-auth-path/crypto/CryptoOps.mjs.map +1 -1
  138. package/dist/custom-auth-path/crypto/PkceGenerator.mjs +1 -1
  139. package/dist/custom-auth-path/crypto/PkceGenerator.mjs.map +1 -1
  140. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts +2 -1
  141. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts.map +1 -1
  142. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs +2 -1
  143. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs.map +1 -1
  144. package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
  145. package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs.map +1 -1
  146. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.d.ts +1 -0
  147. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  148. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +50 -31
  149. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs.map +1 -1
  150. package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.d.ts +2 -2
  151. package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -1
  152. package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs +4 -4
  153. package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs.map +1 -1
  154. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +2 -1
  155. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  156. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +13 -5
  157. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs.map +1 -1
  158. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
  159. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs.map +1 -1
  160. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.d.ts +4 -0
  161. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -1
  162. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs +3 -3
  163. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs.map +1 -1
  164. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowStateTypes.d.ts +29 -0
  165. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowStateTypes.d.ts.map +1 -0
  166. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +45 -0
  167. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs.map +1 -0
  168. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +5 -0
  169. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -1
  170. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +9 -2
  171. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs.map +1 -1
  172. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +9 -3
  173. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -1
  174. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +7 -6
  175. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs.map +1 -1
  176. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +6 -2
  177. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -1
  178. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +5 -4
  179. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs.map +1 -1
  180. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts +7 -0
  181. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts.map +1 -1
  182. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +12 -1
  183. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs.map +1 -1
  184. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts +7 -0
  185. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts.map +1 -1
  186. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +12 -1
  187. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs.map +1 -1
  188. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +8 -0
  189. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -1
  190. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +25 -10
  191. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs.map +1 -1
  192. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +27 -0
  193. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +1 -0
  194. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +42 -0
  195. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs.map +1 -0
  196. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +40 -0
  197. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -0
  198. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +46 -0
  199. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs.map +1 -0
  200. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +34 -0
  201. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -0
  202. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +45 -0
  203. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs.map +1 -0
  204. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +11 -0
  205. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +1 -0
  206. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +24 -0
  207. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs.map +1 -0
  208. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +11 -0
  209. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +1 -0
  210. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +24 -0
  211. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs.map +1 -0
  212. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +67 -0
  213. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -0
  214. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +140 -0
  215. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.mjs.map +1 -0
  216. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +19 -0
  217. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +1 -0
  218. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
  219. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs.map +1 -1
  220. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs +1 -1
  221. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs.map +1 -1
  222. package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs +1 -1
  223. package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs.map +1 -1
  224. package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
  225. package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
  226. package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs.map +1 -1
  227. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
  228. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs.map +1 -1
  229. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
  230. package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
  231. package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs.map +1 -1
  232. package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
  233. package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs.map +1 -1
  234. package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
  235. package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs.map +1 -1
  236. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs +1 -1
  237. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs.map +1 -1
  238. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
  239. package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs +1 -1
  240. package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs.map +1 -1
  241. package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
  242. package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs.map +1 -1
  243. package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
  244. package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs.map +1 -1
  245. package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
  246. package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs.map +1 -1
  247. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +3 -3
  248. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs.map +1 -1
  249. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
  250. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs.map +1 -1
  251. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.d.ts +2 -8
  252. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
  253. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs +21 -39
  254. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs.map +1 -1
  255. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +0 -1
  256. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -1
  257. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +2 -11
  258. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -1
  259. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +2 -9
  260. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs.map +1 -1
  261. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +21 -0
  262. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -0
  263. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.mjs +88 -0
  264. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.mjs.map +1 -0
  265. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +14 -0
  266. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +1 -0
  267. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +23 -0
  268. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +1 -0
  269. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +24 -0
  270. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs.map +1 -0
  271. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
  272. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs.map +1 -1
  273. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -1
  274. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +2 -2
  275. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs.map +1 -1
  276. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +1 -0
  277. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
  278. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +3 -2
  279. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs.map +1 -1
  280. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
  281. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs.map +1 -1
  282. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
  283. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs.map +1 -1
  284. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +7 -2
  285. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  286. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +14 -3
  287. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs.map +1 -1
  288. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
  289. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs.map +1 -1
  290. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts +1 -0
  291. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts.map +1 -1
  292. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +4 -3
  293. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs.map +1 -1
  294. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +5 -0
  295. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
  296. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +5 -1
  297. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
  298. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +2 -0
  299. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
  300. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +5 -3
  301. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs.map +1 -1
  302. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +4 -4
  303. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs.map +1 -1
  304. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
  305. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs.map +1 -1
  306. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.d.ts +4 -3
  307. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
  308. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs +7 -5
  309. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs.map +1 -1
  310. package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
  311. package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs.map +1 -1
  312. package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs +1 -1
  313. package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs.map +1 -1
  314. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +8 -8
  315. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs.map +1 -1
  316. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
  317. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs.map +1 -1
  318. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts.map +1 -1
  319. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +4 -3
  320. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs.map +1 -1
  321. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts.map +1 -1
  322. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +4 -3
  323. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs.map +1 -1
  324. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts.map +1 -1
  325. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +4 -3
  326. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs.map +1 -1
  327. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts +8 -0
  328. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts.map +1 -1
  329. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +16 -1
  330. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs.map +1 -1
  331. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts +8 -0
  332. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts.map +1 -1
  333. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +16 -1
  334. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs.map +1 -1
  335. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.d.ts +8 -0
  336. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.d.ts.map +1 -1
  337. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs +16 -1
  338. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs.map +1 -1
  339. package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -1
  340. package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +20 -18
  341. package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs.map +1 -1
  342. package/dist/custom-auth-path/custom_auth/index.d.ts +7 -0
  343. package/dist/custom-auth-path/custom_auth/index.d.ts.map +1 -1
  344. package/dist/custom-auth-path/custom_auth/index.mjs +7 -1
  345. package/dist/custom-auth-path/custom_auth/index.mjs.map +1 -1
  346. package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
  347. package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs.map +1 -1
  348. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
  349. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs.map +1 -1
  350. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts.map +1 -1
  351. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +4 -7
  352. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs.map +1 -1
  353. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts.map +1 -1
  354. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +4 -4
  355. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs.map +1 -1
  356. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts.map +1 -1
  357. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +4 -4
  358. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs.map +1 -1
  359. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts.map +1 -1
  360. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +4 -4
  361. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs.map +1 -1
  362. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts +4 -0
  363. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -1
  364. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +17 -7
  365. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs.map +1 -1
  366. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts +4 -0
  367. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts.map +1 -1
  368. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +9 -1
  369. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs.map +1 -1
  370. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts +4 -0
  371. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts.map +1 -1
  372. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +9 -1
  373. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs.map +1 -1
  374. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts +4 -0
  375. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -1
  376. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +13 -4
  377. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs.map +1 -1
  378. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
  379. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs.map +1 -1
  380. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +2 -0
  381. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts.map +1 -1
  382. package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -1
  383. package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +29 -28
  384. package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs.map +1 -1
  385. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
  386. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs.map +1 -1
  387. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
  388. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs.map +1 -1
  389. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts.map +1 -1
  390. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +4 -3
  391. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs.map +1 -1
  392. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +10 -1
  393. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -1
  394. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +15 -10
  395. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs.map +1 -1
  396. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +19 -1
  397. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -1
  398. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +19 -4
  399. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs.map +1 -1
  400. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +10 -1
  401. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -1
  402. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +13 -6
  403. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs.map +1 -1
  404. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts +4 -0
  405. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
  406. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +21 -11
  407. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs.map +1 -1
  408. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts +4 -0
  409. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts.map +1 -1
  410. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +9 -1
  411. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs.map +1 -1
  412. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts +4 -0
  413. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -1
  414. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +16 -36
  415. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs.map +1 -1
  416. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts +4 -0
  417. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts.map +1 -1
  418. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +9 -1
  419. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs.map +1 -1
  420. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts +4 -0
  421. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -1
  422. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +16 -33
  423. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs.map +1 -1
  424. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.d.ts +16 -0
  425. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.d.ts.map +1 -1
  426. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs +68 -1
  427. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs.map +1 -1
  428. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +2 -0
  429. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -1
  430. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.d.ts +8 -6
  431. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  432. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +86 -59
  433. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs.map +1 -1
  434. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +6 -0
  435. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
  436. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +9 -2
  437. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs.map +1 -1
  438. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
  439. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs.map +1 -1
  440. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts.map +1 -1
  441. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +4 -7
  442. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs.map +1 -1
  443. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts.map +1 -1
  444. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +6 -8
  445. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs.map +1 -1
  446. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts.map +1 -1
  447. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +4 -4
  448. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs.map +1 -1
  449. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts.map +1 -1
  450. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +6 -8
  451. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs.map +1 -1
  452. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts.map +1 -1
  453. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +5 -6
  454. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs.map +1 -1
  455. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts +4 -0
  456. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -1
  457. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +15 -6
  458. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs.map +1 -1
  459. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts +4 -0
  460. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -1
  461. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +22 -10
  462. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs.map +1 -1
  463. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts +5 -1
  464. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts.map +1 -1
  465. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +10 -2
  466. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs.map +1 -1
  467. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts +4 -0
  468. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts.map +1 -1
  469. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +9 -1
  470. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs.map +1 -1
  471. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts +4 -0
  472. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -1
  473. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +16 -6
  474. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs.map +1 -1
  475. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
  476. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs.map +1 -1
  477. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +2 -0
  478. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -1
  479. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +4 -4
  480. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -1
  481. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs +55 -50
  482. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs.map +1 -1
  483. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
  484. package/dist/custom-auth-path/encode/Base64Decode.mjs +1 -1
  485. package/dist/custom-auth-path/encode/Base64Encode.mjs +1 -1
  486. package/dist/custom-auth-path/error/BrowserAuthError.mjs +1 -1
  487. package/dist/custom-auth-path/error/BrowserAuthError.mjs.map +1 -1
  488. package/dist/custom-auth-path/error/BrowserAuthErrorCodes.d.ts +3 -2
  489. package/dist/custom-auth-path/error/BrowserAuthErrorCodes.d.ts.map +1 -1
  490. package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +6 -4
  491. package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs.map +1 -1
  492. package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs +1 -1
  493. package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs.map +1 -1
  494. package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  495. package/dist/custom-auth-path/error/NativeAuthError.d.ts.map +1 -1
  496. package/dist/custom-auth-path/error/NativeAuthError.mjs +3 -2
  497. package/dist/custom-auth-path/error/NativeAuthError.mjs.map +1 -1
  498. package/dist/custom-auth-path/error/NativeAuthErrorCodes.d.ts +1 -0
  499. package/dist/custom-auth-path/error/NativeAuthErrorCodes.d.ts.map +1 -1
  500. package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +3 -2
  501. package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs.map +1 -1
  502. package/dist/custom-auth-path/event/EventHandler.mjs +5 -5
  503. package/dist/custom-auth-path/event/EventHandler.mjs.map +1 -1
  504. package/dist/custom-auth-path/event/EventType.mjs +1 -1
  505. package/dist/custom-auth-path/event/EventType.mjs.map +1 -1
  506. package/dist/custom-auth-path/index.d.ts +4 -4
  507. package/dist/custom-auth-path/index.d.ts.map +1 -1
  508. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +7 -7
  509. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs.map +1 -1
  510. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  511. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs.map +1 -1
  512. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts +2 -2
  513. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  514. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +27 -28
  515. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
  516. package/dist/custom-auth-path/interaction_client/PopupClient.d.ts +3 -6
  517. package/dist/custom-auth-path/interaction_client/PopupClient.d.ts.map +1 -1
  518. package/dist/custom-auth-path/interaction_client/PopupClient.mjs +78 -52
  519. package/dist/custom-auth-path/interaction_client/PopupClient.mjs.map +1 -1
  520. package/dist/custom-auth-path/interaction_client/RedirectClient.d.ts +6 -1
  521. package/dist/custom-auth-path/interaction_client/RedirectClient.d.ts.map +1 -1
  522. package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +67 -63
  523. package/dist/custom-auth-path/interaction_client/RedirectClient.mjs.map +1 -1
  524. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +2 -2
  525. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs.map +1 -1
  526. package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +4 -4
  527. package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs.map +1 -1
  528. package/dist/custom-auth-path/interaction_client/SilentIframeClient.d.ts.map +1 -1
  529. package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +37 -17
  530. package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs.map +1 -1
  531. package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +1 -1
  532. package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs.map +1 -1
  533. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.d.ts +3 -1
  534. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.d.ts.map +1 -1
  535. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +23 -18
  536. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs.map +1 -1
  537. package/dist/custom-auth-path/interaction_handler/InteractionHandler.d.ts.map +1 -1
  538. package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +3 -7
  539. package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs.map +1 -1
  540. package/dist/custom-auth-path/interaction_handler/SilentHandler.d.ts +2 -7
  541. package/dist/custom-auth-path/interaction_handler/SilentHandler.d.ts.map +1 -1
  542. package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +17 -68
  543. package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs.map +1 -1
  544. package/dist/custom-auth-path/log-strings-mapping.json +1703 -0
  545. package/dist/custom-auth-path/navigation/NavigationClient.mjs +1 -1
  546. package/dist/custom-auth-path/navigation/NavigationClient.mjs.map +1 -1
  547. package/dist/custom-auth-path/network/FetchClient.mjs +1 -1
  548. package/dist/custom-auth-path/network/FetchClient.mjs.map +1 -1
  549. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +1 -1
  550. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs.map +1 -1
  551. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +1 -1
  552. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs.map +1 -1
  553. package/dist/custom-auth-path/packageMetadata.d.ts +1 -1
  554. package/dist/custom-auth-path/packageMetadata.d.ts.map +1 -1
  555. package/dist/custom-auth-path/packageMetadata.mjs +2 -2
  556. package/dist/custom-auth-path/protocol/Authorize.d.ts +4 -0
  557. package/dist/custom-auth-path/protocol/Authorize.d.ts.map +1 -1
  558. package/dist/custom-auth-path/protocol/Authorize.mjs +32 -6
  559. package/dist/custom-auth-path/protocol/Authorize.mjs.map +1 -1
  560. package/dist/custom-auth-path/redirect_bridge/index.d.ts +16 -0
  561. package/dist/custom-auth-path/redirect_bridge/index.d.ts.map +1 -0
  562. package/dist/custom-auth-path/request/AuthorizationCodeRequest.d.ts +18 -0
  563. package/dist/custom-auth-path/request/AuthorizationCodeRequest.d.ts.map +1 -1
  564. package/dist/custom-auth-path/request/ClearCacheRequest.d.ts +6 -2
  565. package/dist/custom-auth-path/request/ClearCacheRequest.d.ts.map +1 -1
  566. package/dist/custom-auth-path/request/EndSessionPopupRequest.d.ts +13 -10
  567. package/dist/custom-auth-path/request/EndSessionPopupRequest.d.ts.map +1 -1
  568. package/dist/custom-auth-path/request/EndSessionRequest.d.ts +4 -9
  569. package/dist/custom-auth-path/request/EndSessionRequest.d.ts.map +1 -1
  570. package/dist/custom-auth-path/request/HandleRedirectPromiseOptions.d.ts +5 -0
  571. package/dist/custom-auth-path/request/HandleRedirectPromiseOptions.d.ts.map +1 -0
  572. package/dist/custom-auth-path/request/InitializeApplicationRequest.d.ts +3 -2
  573. package/dist/custom-auth-path/request/InitializeApplicationRequest.d.ts.map +1 -1
  574. package/dist/custom-auth-path/request/PopupRequest.d.ts +13 -24
  575. package/dist/custom-auth-path/request/PopupRequest.d.ts.map +1 -1
  576. package/dist/custom-auth-path/request/RedirectRequest.d.ts +6 -23
  577. package/dist/custom-auth-path/request/RedirectRequest.d.ts.map +1 -1
  578. package/dist/custom-auth-path/request/RequestHelpers.d.ts +11 -1
  579. package/dist/custom-auth-path/request/RequestHelpers.d.ts.map +1 -1
  580. package/dist/custom-auth-path/request/RequestHelpers.mjs +30 -5
  581. package/dist/custom-auth-path/request/RequestHelpers.mjs.map +1 -1
  582. package/dist/custom-auth-path/request/SilentRequest.d.ts +33 -14
  583. package/dist/custom-auth-path/request/SilentRequest.d.ts.map +1 -1
  584. package/dist/custom-auth-path/request/SsoSilentRequest.d.ts +0 -22
  585. package/dist/custom-auth-path/request/SsoSilentRequest.d.ts.map +1 -1
  586. package/dist/custom-auth-path/response/ResponseHandler.mjs +4 -4
  587. package/dist/custom-auth-path/response/ResponseHandler.mjs.map +1 -1
  588. package/dist/custom-auth-path/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
  589. package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.d.ts +4 -1
  590. package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
  591. package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.mjs +2 -4
  592. package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.mjs.map +1 -1
  593. package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.d.ts +1 -0
  594. package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -1
  595. package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.mjs +1 -1
  596. package/dist/custom-auth-path/utils/BrowserConstants.d.ts +0 -4
  597. package/dist/custom-auth-path/utils/BrowserConstants.d.ts.map +1 -1
  598. package/dist/custom-auth-path/utils/BrowserConstants.mjs +1 -5
  599. package/dist/custom-auth-path/utils/BrowserConstants.mjs.map +1 -1
  600. package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +2 -2
  601. package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs.map +1 -1
  602. package/dist/custom-auth-path/utils/BrowserUtils.d.ts +36 -2
  603. package/dist/custom-auth-path/utils/BrowserUtils.d.ts.map +1 -1
  604. package/dist/custom-auth-path/utils/BrowserUtils.mjs +152 -10
  605. package/dist/custom-auth-path/utils/BrowserUtils.mjs.map +1 -1
  606. package/dist/custom-auth-path/utils/Helpers.mjs +1 -1
  607. package/dist/custom-auth-path/utils/Helpers.mjs.map +1 -1
  608. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +2 -2
  609. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs.map +1 -1
  610. package/dist/custom_auth/CustomAuthConstants.d.ts +2 -1
  611. package/dist/custom_auth/CustomAuthConstants.d.ts.map +1 -1
  612. package/dist/custom_auth/controller/CustomAuthStandardController.d.ts +1 -0
  613. package/dist/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  614. package/dist/custom_auth/core/CustomAuthAuthority.d.ts +2 -2
  615. package/dist/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -1
  616. package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +2 -1
  617. package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  618. package/dist/custom_auth/core/auth_flow/AuthFlowState.d.ts +4 -0
  619. package/dist/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -1
  620. package/dist/custom_auth/core/auth_flow/AuthFlowStateTypes.d.ts +29 -0
  621. package/dist/custom_auth/core/auth_flow/AuthFlowStateTypes.d.ts.map +1 -0
  622. package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +5 -0
  623. package/dist/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -1
  624. package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +9 -3
  625. package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -1
  626. package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +6 -2
  627. package/dist/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -1
  628. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts +7 -0
  629. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts.map +1 -1
  630. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts +7 -0
  631. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts.map +1 -1
  632. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +8 -0
  633. package/dist/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -1
  634. package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +27 -0
  635. package/dist/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +1 -0
  636. package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +40 -0
  637. package/dist/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -0
  638. package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +34 -0
  639. package/dist/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -0
  640. package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +11 -0
  641. package/dist/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +1 -0
  642. package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +11 -0
  643. package/dist/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +1 -0
  644. package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +67 -0
  645. package/dist/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -0
  646. package/dist/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +19 -0
  647. package/dist/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +1 -0
  648. package/dist/custom_auth/core/interaction_client/jit/JitClient.d.ts +2 -8
  649. package/dist/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
  650. package/dist/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +0 -1
  651. package/dist/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -1
  652. package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +2 -11
  653. package/dist/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -1
  654. package/dist/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +21 -0
  655. package/dist/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -0
  656. package/dist/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +14 -0
  657. package/dist/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +1 -0
  658. package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +23 -0
  659. package/dist/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +1 -0
  660. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -1
  661. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +1 -0
  662. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
  663. package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +7 -2
  664. package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  665. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts +1 -0
  666. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts.map +1 -1
  667. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +5 -0
  668. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
  669. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +5 -1
  670. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
  671. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +2 -0
  672. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
  673. package/dist/custom_auth/core/telemetry/PublicApiId.d.ts +4 -3
  674. package/dist/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
  675. package/dist/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts.map +1 -1
  676. package/dist/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts.map +1 -1
  677. package/dist/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts.map +1 -1
  678. package/dist/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts +8 -0
  679. package/dist/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts.map +1 -1
  680. package/dist/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts +8 -0
  681. package/dist/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts.map +1 -1
  682. package/dist/custom_auth/get_account/auth_flow/state/SignOutState.d.ts +8 -0
  683. package/dist/custom_auth/get_account/auth_flow/state/SignOutState.d.ts.map +1 -1
  684. package/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -1
  685. package/dist/custom_auth/index.d.ts +7 -0
  686. package/dist/custom_auth/index.d.ts.map +1 -1
  687. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts.map +1 -1
  688. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts.map +1 -1
  689. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts.map +1 -1
  690. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts.map +1 -1
  691. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts +4 -0
  692. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -1
  693. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts +4 -0
  694. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts.map +1 -1
  695. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts +4 -0
  696. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts.map +1 -1
  697. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts +4 -0
  698. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -1
  699. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +2 -0
  700. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts.map +1 -1
  701. package/dist/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -1
  702. package/dist/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts.map +1 -1
  703. package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +10 -1
  704. package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -1
  705. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +19 -1
  706. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -1
  707. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +10 -1
  708. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -1
  709. package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts +4 -0
  710. package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
  711. package/dist/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts +4 -0
  712. package/dist/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts.map +1 -1
  713. package/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts +4 -0
  714. package/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -1
  715. package/dist/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts +4 -0
  716. package/dist/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts.map +1 -1
  717. package/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts +4 -0
  718. package/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -1
  719. package/dist/custom_auth/sign_in/auth_flow/state/SignInState.d.ts +16 -0
  720. package/dist/custom_auth/sign_in/auth_flow/state/SignInState.d.ts.map +1 -1
  721. package/dist/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +2 -0
  722. package/dist/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -1
  723. package/dist/custom_auth/sign_in/interaction_client/SignInClient.d.ts +8 -6
  724. package/dist/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  725. package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +6 -0
  726. package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
  727. package/dist/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts.map +1 -1
  728. package/dist/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts.map +1 -1
  729. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts.map +1 -1
  730. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts.map +1 -1
  731. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts.map +1 -1
  732. package/dist/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts +4 -0
  733. package/dist/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -1
  734. package/dist/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts +4 -0
  735. package/dist/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -1
  736. package/dist/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts +5 -1
  737. package/dist/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts.map +1 -1
  738. package/dist/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts +4 -0
  739. package/dist/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts.map +1 -1
  740. package/dist/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts +4 -0
  741. package/dist/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -1
  742. package/dist/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +2 -0
  743. package/dist/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -1
  744. package/dist/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +4 -4
  745. package/dist/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -1
  746. package/dist/encode/Base64Decode.mjs +1 -1
  747. package/dist/encode/Base64Encode.mjs +1 -1
  748. package/dist/error/BrowserAuthError.mjs +1 -1
  749. package/dist/error/BrowserAuthError.mjs.map +1 -1
  750. package/dist/error/BrowserAuthErrorCodes.d.ts +3 -2
  751. package/dist/error/BrowserAuthErrorCodes.d.ts.map +1 -1
  752. package/dist/error/BrowserAuthErrorCodes.mjs +6 -5
  753. package/dist/error/BrowserAuthErrorCodes.mjs.map +1 -1
  754. package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
  755. package/dist/error/BrowserConfigurationAuthError.mjs.map +1 -1
  756. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  757. package/dist/error/NativeAuthError.d.ts.map +1 -1
  758. package/dist/error/NativeAuthError.mjs +3 -2
  759. package/dist/error/NativeAuthError.mjs.map +1 -1
  760. package/dist/error/NativeAuthErrorCodes.d.ts +1 -0
  761. package/dist/error/NativeAuthErrorCodes.d.ts.map +1 -1
  762. package/dist/error/NativeAuthErrorCodes.mjs +3 -2
  763. package/dist/error/NativeAuthErrorCodes.mjs.map +1 -1
  764. package/dist/error/NestedAppAuthError.mjs +1 -1
  765. package/dist/error/NestedAppAuthError.mjs.map +1 -1
  766. package/dist/event/EventHandler.mjs +5 -5
  767. package/dist/event/EventHandler.mjs.map +1 -1
  768. package/dist/event/EventMessage.mjs +1 -1
  769. package/dist/event/EventMessage.mjs.map +1 -1
  770. package/dist/event/EventType.mjs +1 -1
  771. package/dist/event/EventType.mjs.map +1 -1
  772. package/dist/index.d.ts +4 -4
  773. package/dist/index.d.ts.map +1 -1
  774. package/dist/index.mjs +4 -3
  775. package/dist/index.mjs.map +1 -1
  776. package/dist/interaction_client/BaseInteractionClient.mjs +7 -7
  777. package/dist/interaction_client/BaseInteractionClient.mjs.map +1 -1
  778. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  779. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs.map +1 -1
  780. package/dist/interaction_client/PlatformAuthInteractionClient.d.ts +2 -2
  781. package/dist/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  782. package/dist/interaction_client/PlatformAuthInteractionClient.mjs +27 -28
  783. package/dist/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
  784. package/dist/interaction_client/PopupClient.d.ts +3 -6
  785. package/dist/interaction_client/PopupClient.d.ts.map +1 -1
  786. package/dist/interaction_client/PopupClient.mjs +78 -52
  787. package/dist/interaction_client/PopupClient.mjs.map +1 -1
  788. package/dist/interaction_client/RedirectClient.d.ts +6 -1
  789. package/dist/interaction_client/RedirectClient.d.ts.map +1 -1
  790. package/dist/interaction_client/RedirectClient.mjs +67 -63
  791. package/dist/interaction_client/RedirectClient.mjs.map +1 -1
  792. package/dist/interaction_client/SilentAuthCodeClient.mjs +2 -2
  793. package/dist/interaction_client/SilentAuthCodeClient.mjs.map +1 -1
  794. package/dist/interaction_client/SilentCacheClient.mjs +4 -4
  795. package/dist/interaction_client/SilentCacheClient.mjs.map +1 -1
  796. package/dist/interaction_client/SilentIframeClient.d.ts.map +1 -1
  797. package/dist/interaction_client/SilentIframeClient.mjs +37 -17
  798. package/dist/interaction_client/SilentIframeClient.mjs.map +1 -1
  799. package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
  800. package/dist/interaction_client/SilentRefreshClient.mjs.map +1 -1
  801. package/dist/interaction_client/StandardInteractionClient.d.ts +3 -1
  802. package/dist/interaction_client/StandardInteractionClient.d.ts.map +1 -1
  803. package/dist/interaction_client/StandardInteractionClient.mjs +23 -18
  804. package/dist/interaction_client/StandardInteractionClient.mjs.map +1 -1
  805. package/dist/interaction_handler/InteractionHandler.d.ts.map +1 -1
  806. package/dist/interaction_handler/InteractionHandler.mjs +3 -7
  807. package/dist/interaction_handler/InteractionHandler.mjs.map +1 -1
  808. package/dist/interaction_handler/SilentHandler.d.ts +2 -7
  809. package/dist/interaction_handler/SilentHandler.d.ts.map +1 -1
  810. package/dist/interaction_handler/SilentHandler.mjs +17 -68
  811. package/dist/interaction_handler/SilentHandler.mjs.map +1 -1
  812. package/dist/log-strings-mapping.json +1135 -0
  813. package/dist/naa/BridgeError.mjs +1 -1
  814. package/dist/naa/BridgeProxy.mjs +1 -1
  815. package/dist/naa/BridgeProxy.mjs.map +1 -1
  816. package/dist/naa/BridgeStatusCode.mjs +1 -1
  817. package/dist/naa/BridgeStatusCode.mjs.map +1 -1
  818. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
  819. package/dist/naa/mapping/NestedAppAuthAdapter.mjs.map +1 -1
  820. package/dist/navigation/NavigationClient.mjs +1 -1
  821. package/dist/navigation/NavigationClient.mjs.map +1 -1
  822. package/dist/network/FetchClient.mjs +1 -1
  823. package/dist/network/FetchClient.mjs.map +1 -1
  824. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  825. package/dist/operatingcontext/BaseOperatingContext.mjs.map +1 -1
  826. package/dist/operatingcontext/NestedAppOperatingContext.mjs +3 -3
  827. package/dist/operatingcontext/NestedAppOperatingContext.mjs.map +1 -1
  828. package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
  829. package/dist/operatingcontext/StandardOperatingContext.mjs.map +1 -1
  830. package/dist/packageMetadata.d.ts +1 -1
  831. package/dist/packageMetadata.d.ts.map +1 -1
  832. package/dist/packageMetadata.mjs +2 -2
  833. package/dist/protocol/Authorize.d.ts +4 -0
  834. package/dist/protocol/Authorize.d.ts.map +1 -1
  835. package/dist/protocol/Authorize.mjs +32 -6
  836. package/dist/protocol/Authorize.mjs.map +1 -1
  837. package/dist/redirect-bridge/app/IPublicClientApplication.d.ts +48 -0
  838. package/dist/redirect-bridge/app/IPublicClientApplication.d.ts.map +1 -0
  839. package/dist/{app/PublicClientNext.d.ts → redirect-bridge/app/PublicClientApplication.d.ts} +35 -19
  840. package/dist/redirect-bridge/app/PublicClientApplication.d.ts.map +1 -0
  841. package/dist/redirect-bridge/broker/nativeBroker/IPlatformAuthHandler.d.ts +12 -0
  842. package/dist/redirect-bridge/broker/nativeBroker/IPlatformAuthHandler.d.ts.map +1 -0
  843. package/dist/redirect-bridge/broker/nativeBroker/NativeStatusCodes.d.ts +9 -0
  844. package/dist/redirect-bridge/broker/nativeBroker/NativeStatusCodes.d.ts.map +1 -0
  845. package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthDOMHandler.d.ts +30 -0
  846. package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -0
  847. package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +63 -0
  848. package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -0
  849. package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthProvider.d.ts +28 -0
  850. package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -0
  851. package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthRequest.d.ts +78 -0
  852. package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthRequest.d.ts.map +1 -0
  853. package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthResponse.d.ts +71 -0
  854. package/dist/redirect-bridge/broker/nativeBroker/PlatformAuthResponse.d.ts.map +1 -0
  855. package/dist/redirect-bridge/cache/AccountManager.d.ts +24 -0
  856. package/dist/redirect-bridge/cache/AccountManager.d.ts.map +1 -0
  857. package/dist/redirect-bridge/cache/AsyncMemoryStorage.d.ts +58 -0
  858. package/dist/redirect-bridge/cache/AsyncMemoryStorage.d.ts.map +1 -0
  859. package/dist/redirect-bridge/cache/BrowserCacheManager.d.ts +366 -0
  860. package/dist/redirect-bridge/cache/BrowserCacheManager.d.ts.map +1 -0
  861. package/dist/redirect-bridge/cache/CacheHelpers.d.ts +16 -0
  862. package/dist/redirect-bridge/cache/CacheHelpers.d.ts.map +1 -0
  863. package/dist/redirect-bridge/cache/CacheKeys.d.ts +14 -0
  864. package/dist/redirect-bridge/cache/CacheKeys.d.ts.map +1 -0
  865. package/dist/redirect-bridge/cache/CacheKeys.mjs +10 -0
  866. package/dist/redirect-bridge/cache/CacheKeys.mjs.map +1 -0
  867. package/dist/redirect-bridge/cache/CookieStorage.d.ts +23 -0
  868. package/dist/redirect-bridge/cache/CookieStorage.d.ts.map +1 -0
  869. package/dist/redirect-bridge/cache/DatabaseStorage.d.ts +57 -0
  870. package/dist/redirect-bridge/cache/DatabaseStorage.d.ts.map +1 -0
  871. package/dist/redirect-bridge/cache/EncryptedData.d.ts +8 -0
  872. package/dist/redirect-bridge/cache/EncryptedData.d.ts.map +1 -0
  873. package/dist/redirect-bridge/cache/IAsyncStorage.d.ts +33 -0
  874. package/dist/redirect-bridge/cache/IAsyncStorage.d.ts.map +1 -0
  875. package/dist/redirect-bridge/cache/IWindowStorage.d.ts +42 -0
  876. package/dist/redirect-bridge/cache/IWindowStorage.d.ts.map +1 -0
  877. package/dist/redirect-bridge/cache/LocalStorage.d.ts +51 -0
  878. package/dist/redirect-bridge/cache/LocalStorage.d.ts.map +1 -0
  879. package/dist/redirect-bridge/cache/MemoryStorage.d.ts +16 -0
  880. package/dist/redirect-bridge/cache/MemoryStorage.d.ts.map +1 -0
  881. package/dist/redirect-bridge/cache/SessionStorage.d.ts +14 -0
  882. package/dist/redirect-bridge/cache/SessionStorage.d.ts.map +1 -0
  883. package/dist/redirect-bridge/cache/TokenCache.d.ts +20 -0
  884. package/dist/redirect-bridge/cache/TokenCache.d.ts.map +1 -0
  885. package/dist/redirect-bridge/config/Configuration.d.ts +175 -0
  886. package/dist/redirect-bridge/config/Configuration.d.ts.map +1 -0
  887. package/dist/redirect-bridge/config/Configuration.mjs +10 -0
  888. package/dist/redirect-bridge/config/Configuration.mjs.map +1 -0
  889. package/dist/redirect-bridge/controllers/IController.d.ts +3 -0
  890. package/dist/redirect-bridge/controllers/IController.d.ts.map +1 -0
  891. package/dist/redirect-bridge/controllers/NestedAppAuthController.d.ts +159 -0
  892. package/dist/redirect-bridge/controllers/NestedAppAuthController.d.ts.map +1 -0
  893. package/dist/{custom-auth-path/app/PublicClientNext.d.ts → redirect-bridge/controllers/StandardController.d.ts} +265 -116
  894. package/dist/redirect-bridge/controllers/StandardController.d.ts.map +1 -0
  895. package/dist/redirect-bridge/controllers/UnknownOperatingContextController.d.ts +73 -0
  896. package/dist/redirect-bridge/controllers/UnknownOperatingContextController.d.ts.map +1 -0
  897. package/dist/redirect-bridge/crypto/BrowserCrypto.d.ts +96 -0
  898. package/dist/redirect-bridge/crypto/BrowserCrypto.d.ts.map +1 -0
  899. package/dist/redirect-bridge/crypto/CryptoOps.d.ts +77 -0
  900. package/dist/redirect-bridge/crypto/CryptoOps.d.ts.map +1 -0
  901. package/dist/redirect-bridge/crypto/PkceGenerator.d.ts +9 -0
  902. package/dist/redirect-bridge/crypto/PkceGenerator.d.ts.map +1 -0
  903. package/dist/redirect-bridge/crypto/SignedHttpRequest.d.ts +32 -0
  904. package/dist/redirect-bridge/crypto/SignedHttpRequest.d.ts.map +1 -0
  905. package/dist/redirect-bridge/custom_auth/CustomAuthActionInputs.d.ts +29 -0
  906. package/dist/redirect-bridge/custom_auth/CustomAuthActionInputs.d.ts.map +1 -0
  907. package/dist/redirect-bridge/custom_auth/CustomAuthConstants.d.ts +35 -0
  908. package/dist/redirect-bridge/custom_auth/CustomAuthConstants.d.ts.map +1 -0
  909. package/dist/redirect-bridge/custom_auth/CustomAuthPublicClientApplication.d.ts +55 -0
  910. package/dist/redirect-bridge/custom_auth/CustomAuthPublicClientApplication.d.ts.map +1 -0
  911. package/dist/redirect-bridge/custom_auth/ICustomAuthPublicClientApplication.d.ts +33 -0
  912. package/dist/redirect-bridge/custom_auth/ICustomAuthPublicClientApplication.d.ts.map +1 -0
  913. package/dist/redirect-bridge/custom_auth/UserAccountAttributes.d.ts +12 -0
  914. package/dist/redirect-bridge/custom_auth/UserAccountAttributes.d.ts.map +1 -0
  915. package/dist/redirect-bridge/custom_auth/configuration/CustomAuthConfiguration.d.ts +14 -0
  916. package/dist/redirect-bridge/custom_auth/configuration/CustomAuthConfiguration.d.ts.map +1 -0
  917. package/dist/redirect-bridge/custom_auth/controller/CustomAuthStandardController.d.ts +27 -0
  918. package/dist/redirect-bridge/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -0
  919. package/dist/redirect-bridge/custom_auth/controller/ICustomAuthStandardController.d.ts +13 -0
  920. package/dist/redirect-bridge/custom_auth/controller/ICustomAuthStandardController.d.ts.map +1 -0
  921. package/dist/redirect-bridge/custom_auth/core/CustomAuthAuthority.d.ts +29 -0
  922. package/dist/redirect-bridge/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -0
  923. package/dist/redirect-bridge/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +40 -0
  924. package/dist/redirect-bridge/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -0
  925. package/dist/redirect-bridge/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts +11 -0
  926. package/dist/redirect-bridge/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts.map +1 -0
  927. package/dist/redirect-bridge/custom_auth/core/auth_flow/AuthFlowState.d.ts +31 -0
  928. package/dist/redirect-bridge/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -0
  929. package/dist/redirect-bridge/custom_auth/core/auth_flow/AuthFlowStateTypes.d.ts +29 -0
  930. package/dist/redirect-bridge/custom_auth/core/auth_flow/AuthFlowStateTypes.d.ts.map +1 -0
  931. package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/AuthMethodDetails.d.ts +15 -0
  932. package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/AuthMethodDetails.d.ts.map +1 -0
  933. package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +27 -0
  934. package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -0
  935. package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +47 -0
  936. package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -0
  937. package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +37 -0
  938. package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -0
  939. package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts +11 -0
  940. package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts.map +1 -0
  941. package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts +11 -0
  942. package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts.map +1 -0
  943. package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +82 -0
  944. package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -0
  945. package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.d.ts +20 -0
  946. package/dist/redirect-bridge/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.d.ts.map +1 -0
  947. package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +27 -0
  948. package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +1 -0
  949. package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +40 -0
  950. package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -0
  951. package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +34 -0
  952. package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -0
  953. package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +11 -0
  954. package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +1 -0
  955. package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +11 -0
  956. package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +1 -0
  957. package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +67 -0
  958. package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -0
  959. package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +19 -0
  960. package/dist/redirect-bridge/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +1 -0
  961. package/dist/redirect-bridge/custom_auth/core/error/CustomAuthApiError.d.ts +20 -0
  962. package/dist/redirect-bridge/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -0
  963. package/dist/redirect-bridge/custom_auth/core/error/CustomAuthError.d.ts +9 -0
  964. package/dist/redirect-bridge/custom_auth/core/error/CustomAuthError.d.ts.map +1 -0
  965. package/dist/redirect-bridge/custom_auth/core/error/HttpError.d.ts +5 -0
  966. package/dist/redirect-bridge/custom_auth/core/error/HttpError.d.ts.map +1 -0
  967. package/dist/redirect-bridge/custom_auth/core/error/HttpErrorCodes.d.ts +3 -0
  968. package/dist/redirect-bridge/custom_auth/core/error/HttpErrorCodes.d.ts.map +1 -0
  969. package/dist/redirect-bridge/custom_auth/core/error/InvalidArgumentError.d.ts +5 -0
  970. package/dist/redirect-bridge/custom_auth/core/error/InvalidArgumentError.d.ts.map +1 -0
  971. package/dist/redirect-bridge/custom_auth/core/error/InvalidConfigurationError.d.ts +5 -0
  972. package/dist/redirect-bridge/custom_auth/core/error/InvalidConfigurationError.d.ts.map +1 -0
  973. package/dist/redirect-bridge/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts +4 -0
  974. package/dist/redirect-bridge/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts.map +1 -0
  975. package/dist/redirect-bridge/custom_auth/core/error/MethodNotImplementedError.d.ts +5 -0
  976. package/dist/redirect-bridge/custom_auth/core/error/MethodNotImplementedError.d.ts.map +1 -0
  977. package/dist/redirect-bridge/custom_auth/core/error/MsalCustomAuthError.d.ts +5 -0
  978. package/dist/redirect-bridge/custom_auth/core/error/MsalCustomAuthError.d.ts.map +1 -0
  979. package/dist/redirect-bridge/custom_auth/core/error/NoCachedAccountFoundError.d.ts +5 -0
  980. package/dist/redirect-bridge/custom_auth/core/error/NoCachedAccountFoundError.d.ts.map +1 -0
  981. package/dist/redirect-bridge/custom_auth/core/error/ParsedUrlError.d.ts +5 -0
  982. package/dist/redirect-bridge/custom_auth/core/error/ParsedUrlError.d.ts.map +1 -0
  983. package/dist/redirect-bridge/custom_auth/core/error/ParsedUrlErrorCodes.d.ts +2 -0
  984. package/dist/redirect-bridge/custom_auth/core/error/ParsedUrlErrorCodes.d.ts.map +1 -0
  985. package/dist/redirect-bridge/custom_auth/core/error/UnexpectedError.d.ts +5 -0
  986. package/dist/redirect-bridge/custom_auth/core/error/UnexpectedError.d.ts.map +1 -0
  987. package/dist/redirect-bridge/custom_auth/core/error/UnsupportedEnvironmentError.d.ts +5 -0
  988. package/dist/redirect-bridge/custom_auth/core/error/UnsupportedEnvironmentError.d.ts.map +1 -0
  989. package/dist/redirect-bridge/custom_auth/core/error/UserAccountAttributeError.d.ts +5 -0
  990. package/dist/redirect-bridge/custom_auth/core/error/UserAccountAttributeError.d.ts.map +1 -0
  991. package/dist/redirect-bridge/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts +2 -0
  992. package/dist/redirect-bridge/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts.map +1 -0
  993. package/dist/redirect-bridge/custom_auth/core/error/UserAlreadySignedInError.d.ts +5 -0
  994. package/dist/redirect-bridge/custom_auth/core/error/UserAlreadySignedInError.d.ts.map +1 -0
  995. package/dist/redirect-bridge/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts +34 -0
  996. package/dist/redirect-bridge/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -0
  997. package/dist/redirect-bridge/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts +22 -0
  998. package/dist/redirect-bridge/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts.map +1 -0
  999. package/dist/redirect-bridge/custom_auth/core/interaction_client/jit/JitClient.d.ts +21 -0
  1000. package/dist/redirect-bridge/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -0
  1001. package/dist/redirect-bridge/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +20 -0
  1002. package/dist/redirect-bridge/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -0
  1003. package/dist/redirect-bridge/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +22 -0
  1004. package/dist/redirect-bridge/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -0
  1005. package/dist/redirect-bridge/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +21 -0
  1006. package/dist/redirect-bridge/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -0
  1007. package/dist/redirect-bridge/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +14 -0
  1008. package/dist/redirect-bridge/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +1 -0
  1009. package/dist/redirect-bridge/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +23 -0
  1010. package/dist/redirect-bridge/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +1 -0
  1011. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts +15 -0
  1012. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts.map +1 -0
  1013. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +14 -0
  1014. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -0
  1015. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +16 -0
  1016. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -0
  1017. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts +11 -0
  1018. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts.map +1 -0
  1019. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.d.ts +18 -0
  1020. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.d.ts.map +1 -0
  1021. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts +34 -0
  1022. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map +1 -0
  1023. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +37 -0
  1024. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -0
  1025. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts +23 -0
  1026. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts.map +1 -0
  1027. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts +23 -0
  1028. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts.map +1 -0
  1029. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts +29 -0
  1030. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts.map +1 -0
  1031. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +86 -0
  1032. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -0
  1033. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +71 -0
  1034. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -0
  1035. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +13 -0
  1036. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -0
  1037. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts +9 -0
  1038. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts.map +1 -0
  1039. package/dist/redirect-bridge/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts +13 -0
  1040. package/dist/redirect-bridge/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -0
  1041. package/dist/redirect-bridge/custom_auth/core/network_client/http_client/IHttpClient.d.ts +35 -0
  1042. package/dist/redirect-bridge/custom_auth/core/network_client/http_client/IHttpClient.d.ts.map +1 -0
  1043. package/dist/redirect-bridge/custom_auth/core/telemetry/PublicApiId.d.ts +25 -0
  1044. package/dist/redirect-bridge/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -0
  1045. package/dist/redirect-bridge/custom_auth/core/utils/ArgumentValidator.d.ts +4 -0
  1046. package/dist/redirect-bridge/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -0
  1047. package/dist/redirect-bridge/custom_auth/core/utils/UrlUtils.d.ts +3 -0
  1048. package/dist/redirect-bridge/custom_auth/core/utils/UrlUtils.d.ts.map +1 -0
  1049. package/dist/redirect-bridge/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts +47 -0
  1050. package/dist/redirect-bridge/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts.map +1 -0
  1051. package/dist/redirect-bridge/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts +32 -0
  1052. package/dist/redirect-bridge/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts.map +1 -0
  1053. package/dist/redirect-bridge/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts +37 -0
  1054. package/dist/redirect-bridge/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts.map +1 -0
  1055. package/dist/redirect-bridge/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts +36 -0
  1056. package/dist/redirect-bridge/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts.map +1 -0
  1057. package/dist/redirect-bridge/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts +35 -0
  1058. package/dist/redirect-bridge/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts.map +1 -0
  1059. package/dist/redirect-bridge/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts +20 -0
  1060. package/dist/redirect-bridge/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts.map +1 -0
  1061. package/dist/redirect-bridge/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts +20 -0
  1062. package/dist/redirect-bridge/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts.map +1 -0
  1063. package/dist/redirect-bridge/custom_auth/get_account/auth_flow/state/SignOutState.d.ts +20 -0
  1064. package/dist/redirect-bridge/custom_auth/get_account/auth_flow/state/SignOutState.d.ts.map +1 -0
  1065. package/dist/redirect-bridge/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts +21 -0
  1066. package/dist/redirect-bridge/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -0
  1067. package/dist/redirect-bridge/custom_auth/index.d.ts +84 -0
  1068. package/dist/redirect-bridge/custom_auth/index.d.ts.map +1 -0
  1069. package/dist/redirect-bridge/custom_auth/operating_context/CustomAuthOperatingContext.d.ts +13 -0
  1070. package/dist/redirect-bridge/custom_auth/operating_context/CustomAuthOperatingContext.d.ts.map +1 -0
  1071. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts +40 -0
  1072. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts.map +1 -0
  1073. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts +37 -0
  1074. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts.map +1 -0
  1075. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts +37 -0
  1076. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts.map +1 -0
  1077. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts +37 -0
  1078. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts.map +1 -0
  1079. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts +32 -0
  1080. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts.map +1 -0
  1081. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts +27 -0
  1082. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -0
  1083. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts +11 -0
  1084. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts.map +1 -0
  1085. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts +11 -0
  1086. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts.map +1 -0
  1087. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts +16 -0
  1088. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -0
  1089. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts +6 -0
  1090. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts.map +1 -0
  1091. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +19 -0
  1092. package/dist/redirect-bridge/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts.map +1 -0
  1093. package/dist/redirect-bridge/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts +33 -0
  1094. package/dist/redirect-bridge/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -0
  1095. package/dist/redirect-bridge/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts +19 -0
  1096. package/dist/redirect-bridge/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts.map +1 -0
  1097. package/dist/redirect-bridge/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts +14 -0
  1098. package/dist/redirect-bridge/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts.map +1 -0
  1099. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/SignInScenario.d.ts +6 -0
  1100. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/SignInScenario.d.ts.map +1 -0
  1101. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +45 -0
  1102. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -0
  1103. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts +37 -0
  1104. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts.map +1 -0
  1105. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +72 -0
  1106. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -0
  1107. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +51 -0
  1108. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -0
  1109. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +46 -0
  1110. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -0
  1111. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts +33 -0
  1112. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -0
  1113. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts +12 -0
  1114. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts.map +1 -0
  1115. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts +17 -0
  1116. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -0
  1117. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts +11 -0
  1118. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts.map +1 -0
  1119. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts +21 -0
  1120. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -0
  1121. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInState.d.ts +22 -0
  1122. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInState.d.ts.map +1 -0
  1123. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +25 -0
  1124. package/dist/redirect-bridge/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -0
  1125. package/dist/redirect-bridge/custom_auth/sign_in/interaction_client/SignInClient.d.ts +49 -0
  1126. package/dist/redirect-bridge/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -0
  1127. package/dist/redirect-bridge/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts +32 -0
  1128. package/dist/redirect-bridge/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts.map +1 -0
  1129. package/dist/redirect-bridge/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +43 -0
  1130. package/dist/redirect-bridge/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -0
  1131. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts +62 -0
  1132. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts.map +1 -0
  1133. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts +37 -0
  1134. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts.map +1 -0
  1135. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts +53 -0
  1136. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts.map +1 -0
  1137. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts +37 -0
  1138. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts.map +1 -0
  1139. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts +53 -0
  1140. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts.map +1 -0
  1141. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts +45 -0
  1142. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts.map +1 -0
  1143. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts +25 -0
  1144. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -0
  1145. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts +32 -0
  1146. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -0
  1147. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts +11 -0
  1148. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts.map +1 -0
  1149. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts +11 -0
  1150. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts.map +1 -0
  1151. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts +16 -0
  1152. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -0
  1153. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts +6 -0
  1154. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts.map +1 -0
  1155. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +24 -0
  1156. package/dist/redirect-bridge/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -0
  1157. package/dist/redirect-bridge/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +41 -0
  1158. package/dist/redirect-bridge/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -0
  1159. package/dist/redirect-bridge/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts +26 -0
  1160. package/dist/redirect-bridge/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts.map +1 -0
  1161. package/dist/redirect-bridge/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts +34 -0
  1162. package/dist/redirect-bridge/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts.map +1 -0
  1163. package/dist/redirect-bridge/encode/Base64Decode.d.ts +15 -0
  1164. package/dist/redirect-bridge/encode/Base64Decode.d.ts.map +1 -0
  1165. package/dist/redirect-bridge/encode/Base64Decode.mjs +44 -0
  1166. package/dist/redirect-bridge/encode/Base64Decode.mjs.map +1 -0
  1167. package/dist/redirect-bridge/encode/Base64Encode.d.ts +20 -0
  1168. package/dist/redirect-bridge/encode/Base64Encode.d.ts.map +1 -0
  1169. package/dist/redirect-bridge/error/BrowserAuthError.d.ts +12 -0
  1170. package/dist/redirect-bridge/error/BrowserAuthError.d.ts.map +1 -0
  1171. package/dist/redirect-bridge/error/BrowserAuthError.mjs +27 -0
  1172. package/dist/redirect-bridge/error/BrowserAuthError.mjs.map +1 -0
  1173. package/dist/redirect-bridge/error/BrowserAuthErrorCodes.d.ts +53 -0
  1174. package/dist/redirect-bridge/error/BrowserAuthErrorCodes.d.ts.map +1 -0
  1175. package/dist/redirect-bridge/error/BrowserAuthErrorCodes.mjs +14 -0
  1176. package/dist/redirect-bridge/error/BrowserAuthErrorCodes.mjs.map +1 -0
  1177. package/dist/redirect-bridge/error/BrowserConfigurationAuthError.d.ts +11 -0
  1178. package/dist/redirect-bridge/error/BrowserConfigurationAuthError.d.ts.map +1 -0
  1179. package/dist/redirect-bridge/error/BrowserConfigurationAuthErrorCodes.d.ts +4 -0
  1180. package/dist/redirect-bridge/error/BrowserConfigurationAuthErrorCodes.d.ts.map +1 -0
  1181. package/dist/redirect-bridge/error/NativeAuthError.d.ts +27 -0
  1182. package/dist/redirect-bridge/error/NativeAuthError.d.ts.map +1 -0
  1183. package/dist/redirect-bridge/error/NativeAuthErrorCodes.d.ts +5 -0
  1184. package/dist/redirect-bridge/error/NativeAuthErrorCodes.d.ts.map +1 -0
  1185. package/dist/redirect-bridge/error/NestedAppAuthError.d.ts +6 -0
  1186. package/dist/redirect-bridge/error/NestedAppAuthError.d.ts.map +1 -0
  1187. package/dist/redirect-bridge/event/EventHandler.d.ts +49 -0
  1188. package/dist/redirect-bridge/event/EventHandler.d.ts.map +1 -0
  1189. package/dist/redirect-bridge/event/EventMessage.d.ts +40 -0
  1190. package/dist/redirect-bridge/event/EventMessage.d.ts.map +1 -0
  1191. package/dist/redirect-bridge/event/EventType.d.ts +24 -0
  1192. package/dist/redirect-bridge/event/EventType.d.ts.map +1 -0
  1193. package/dist/redirect-bridge/index.d.ts +73 -0
  1194. package/dist/redirect-bridge/index.d.ts.map +1 -0
  1195. package/dist/redirect-bridge/interaction_client/BaseInteractionClient.d.ts +77 -0
  1196. package/dist/redirect-bridge/interaction_client/BaseInteractionClient.d.ts.map +1 -0
  1197. package/dist/redirect-bridge/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +5 -0
  1198. package/dist/redirect-bridge/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -0
  1199. package/dist/redirect-bridge/interaction_client/PlatformAuthInteractionClient.d.ts +151 -0
  1200. package/dist/redirect-bridge/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -0
  1201. package/dist/redirect-bridge/interaction_client/PopupClient.d.ts +106 -0
  1202. package/dist/redirect-bridge/interaction_client/PopupClient.d.ts.map +1 -0
  1203. package/dist/redirect-bridge/interaction_client/RedirectClient.d.ts +77 -0
  1204. package/dist/redirect-bridge/interaction_client/RedirectClient.d.ts.map +1 -0
  1205. package/dist/redirect-bridge/interaction_client/SilentAuthCodeClient.d.ts +24 -0
  1206. package/dist/redirect-bridge/interaction_client/SilentAuthCodeClient.d.ts.map +1 -0
  1207. package/dist/redirect-bridge/interaction_client/SilentCacheClient.d.ts +17 -0
  1208. package/dist/redirect-bridge/interaction_client/SilentCacheClient.d.ts.map +1 -0
  1209. package/dist/redirect-bridge/interaction_client/SilentIframeClient.d.ts +43 -0
  1210. package/dist/redirect-bridge/interaction_client/SilentIframeClient.d.ts.map +1 -0
  1211. package/dist/redirect-bridge/interaction_client/SilentRefreshClient.d.ts +32 -0
  1212. package/dist/redirect-bridge/interaction_client/SilentRefreshClient.d.ts.map +1 -0
  1213. package/dist/redirect-bridge/interaction_client/StandardInteractionClient.d.ts +76 -0
  1214. package/dist/redirect-bridge/interaction_client/StandardInteractionClient.d.ts.map +1 -0
  1215. package/dist/redirect-bridge/interaction_handler/InteractionHandler.d.ts +32 -0
  1216. package/dist/redirect-bridge/interaction_handler/InteractionHandler.d.ts.map +1 -0
  1217. package/dist/redirect-bridge/interaction_handler/SilentHandler.d.ts +11 -0
  1218. package/dist/redirect-bridge/interaction_handler/SilentHandler.d.ts.map +1 -0
  1219. package/dist/redirect-bridge/naa/AccountInfo.d.ts +13 -0
  1220. package/dist/redirect-bridge/naa/AccountInfo.d.ts.map +1 -0
  1221. package/dist/redirect-bridge/naa/AuthBridge.d.ts +9 -0
  1222. package/dist/redirect-bridge/naa/AuthBridge.d.ts.map +1 -0
  1223. package/dist/redirect-bridge/naa/AuthResult.d.ts +7 -0
  1224. package/dist/redirect-bridge/naa/AuthResult.d.ts.map +1 -0
  1225. package/dist/redirect-bridge/naa/BridgeAccountContext.d.ts +13 -0
  1226. package/dist/redirect-bridge/naa/BridgeAccountContext.d.ts.map +1 -0
  1227. package/dist/redirect-bridge/naa/BridgeCapabilities.d.ts +4 -0
  1228. package/dist/redirect-bridge/naa/BridgeCapabilities.d.ts.map +1 -0
  1229. package/dist/redirect-bridge/naa/BridgeError.d.ts +10 -0
  1230. package/dist/redirect-bridge/naa/BridgeError.d.ts.map +1 -0
  1231. package/dist/redirect-bridge/naa/BridgeProxy.d.ts +69 -0
  1232. package/dist/redirect-bridge/naa/BridgeProxy.d.ts.map +1 -0
  1233. package/dist/redirect-bridge/naa/BridgeRequest.d.ts +8 -0
  1234. package/dist/redirect-bridge/naa/BridgeRequest.d.ts.map +1 -0
  1235. package/dist/redirect-bridge/naa/BridgeRequestEnvelope.d.ts +13 -0
  1236. package/dist/redirect-bridge/naa/BridgeRequestEnvelope.d.ts.map +1 -0
  1237. package/dist/redirect-bridge/naa/BridgeResponseEnvelope.d.ts +14 -0
  1238. package/dist/redirect-bridge/naa/BridgeResponseEnvelope.d.ts.map +1 -0
  1239. package/dist/redirect-bridge/naa/BridgeStatusCode.d.ts +12 -0
  1240. package/dist/redirect-bridge/naa/BridgeStatusCode.d.ts.map +1 -0
  1241. package/dist/redirect-bridge/naa/IBridgeProxy.d.ts +11 -0
  1242. package/dist/redirect-bridge/naa/IBridgeProxy.d.ts.map +1 -0
  1243. package/dist/redirect-bridge/naa/InitContext.d.ts +9 -0
  1244. package/dist/redirect-bridge/naa/InitContext.d.ts.map +1 -0
  1245. package/dist/redirect-bridge/naa/TokenRequest.d.ts +20 -0
  1246. package/dist/redirect-bridge/naa/TokenRequest.d.ts.map +1 -0
  1247. package/dist/redirect-bridge/naa/TokenResponse.d.ts +14 -0
  1248. package/dist/redirect-bridge/naa/TokenResponse.d.ts.map +1 -0
  1249. package/dist/redirect-bridge/naa/mapping/NestedAppAuthAdapter.d.ts +36 -0
  1250. package/dist/redirect-bridge/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -0
  1251. package/dist/redirect-bridge/navigation/INavigationClient.d.ts +17 -0
  1252. package/dist/redirect-bridge/navigation/INavigationClient.d.ts.map +1 -0
  1253. package/dist/redirect-bridge/navigation/NavigationClient.d.ts +23 -0
  1254. package/dist/redirect-bridge/navigation/NavigationClient.d.ts.map +1 -0
  1255. package/dist/redirect-bridge/navigation/NavigationClient.mjs +48 -0
  1256. package/dist/redirect-bridge/navigation/NavigationClient.mjs.map +1 -0
  1257. package/dist/redirect-bridge/navigation/NavigationOptions.d.ts +13 -0
  1258. package/dist/redirect-bridge/navigation/NavigationOptions.d.ts.map +1 -0
  1259. package/dist/redirect-bridge/network/FetchClient.d.ts +21 -0
  1260. package/dist/redirect-bridge/network/FetchClient.d.ts.map +1 -0
  1261. package/dist/redirect-bridge/operatingcontext/BaseOperatingContext.d.ts +43 -0
  1262. package/dist/redirect-bridge/operatingcontext/BaseOperatingContext.d.ts.map +1 -0
  1263. package/dist/redirect-bridge/operatingcontext/NestedAppOperatingContext.d.ts +41 -0
  1264. package/dist/redirect-bridge/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -0
  1265. package/dist/redirect-bridge/operatingcontext/StandardOperatingContext.d.ts +26 -0
  1266. package/dist/redirect-bridge/operatingcontext/StandardOperatingContext.d.ts.map +1 -0
  1267. package/dist/redirect-bridge/operatingcontext/UnknownOperatingContext.d.ts +26 -0
  1268. package/dist/redirect-bridge/operatingcontext/UnknownOperatingContext.d.ts.map +1 -0
  1269. package/dist/redirect-bridge/packageMetadata.d.ts +3 -0
  1270. package/dist/redirect-bridge/packageMetadata.d.ts.map +1 -0
  1271. package/dist/redirect-bridge/protocol/Authorize.d.ts +69 -0
  1272. package/dist/redirect-bridge/protocol/Authorize.d.ts.map +1 -0
  1273. package/dist/redirect-bridge/redirect_bridge/index.d.ts +16 -0
  1274. package/dist/redirect-bridge/redirect_bridge/index.d.ts.map +1 -0
  1275. package/dist/redirect-bridge/redirect_bridge/index.mjs +108 -0
  1276. package/dist/redirect-bridge/redirect_bridge/index.mjs.map +1 -0
  1277. package/dist/redirect-bridge/request/AuthorizationCodeRequest.d.ts +27 -0
  1278. package/dist/redirect-bridge/request/AuthorizationCodeRequest.d.ts.map +1 -0
  1279. package/dist/redirect-bridge/request/ClearCacheRequest.d.ts +15 -0
  1280. package/dist/redirect-bridge/request/ClearCacheRequest.d.ts.map +1 -0
  1281. package/dist/redirect-bridge/request/EndSessionPopupRequest.d.ts +24 -0
  1282. package/dist/redirect-bridge/request/EndSessionPopupRequest.d.ts.map +1 -0
  1283. package/dist/redirect-bridge/request/EndSessionRequest.d.ts +11 -0
  1284. package/dist/redirect-bridge/request/EndSessionRequest.d.ts.map +1 -0
  1285. package/dist/redirect-bridge/request/HandleRedirectPromiseOptions.d.ts +5 -0
  1286. package/dist/redirect-bridge/request/HandleRedirectPromiseOptions.d.ts.map +1 -0
  1287. package/dist/redirect-bridge/request/InitializeApplicationRequest.d.ts +10 -0
  1288. package/dist/redirect-bridge/request/InitializeApplicationRequest.d.ts.map +1 -0
  1289. package/dist/redirect-bridge/request/PopupRequest.d.ts +25 -0
  1290. package/dist/redirect-bridge/request/PopupRequest.d.ts.map +1 -0
  1291. package/dist/redirect-bridge/request/PopupWindowAttributes.d.ts +16 -0
  1292. package/dist/redirect-bridge/request/PopupWindowAttributes.d.ts.map +1 -0
  1293. package/dist/redirect-bridge/request/RedirectRequest.d.ts +16 -0
  1294. package/dist/redirect-bridge/request/RedirectRequest.d.ts.map +1 -0
  1295. package/dist/redirect-bridge/request/RequestHelpers.d.ts +28 -0
  1296. package/dist/redirect-bridge/request/RequestHelpers.d.ts.map +1 -0
  1297. package/dist/redirect-bridge/request/SilentRequest.d.ts +52 -0
  1298. package/dist/redirect-bridge/request/SilentRequest.d.ts.map +1 -0
  1299. package/dist/redirect-bridge/request/SsoSilentRequest.d.ts +6 -0
  1300. package/dist/redirect-bridge/request/SsoSilentRequest.d.ts.map +1 -0
  1301. package/dist/redirect-bridge/response/AuthenticationResult.d.ts +5 -0
  1302. package/dist/redirect-bridge/response/AuthenticationResult.d.ts.map +1 -0
  1303. package/dist/redirect-bridge/response/ResponseHandler.d.ts +8 -0
  1304. package/dist/redirect-bridge/response/ResponseHandler.d.ts.map +1 -0
  1305. package/dist/redirect-bridge/telemetry/BrowserPerformanceClient.d.ts +18 -0
  1306. package/dist/redirect-bridge/telemetry/BrowserPerformanceClient.d.ts.map +1 -0
  1307. package/dist/redirect-bridge/telemetry/BrowserPerformanceEvents.d.ts +134 -0
  1308. package/dist/redirect-bridge/telemetry/BrowserPerformanceEvents.d.ts.map +1 -0
  1309. package/dist/redirect-bridge/telemetry/BrowserPerformanceMeasurement.d.ts +22 -0
  1310. package/dist/redirect-bridge/telemetry/BrowserPerformanceMeasurement.d.ts.map +1 -0
  1311. package/dist/redirect-bridge/telemetry/BrowserRootPerformanceEvents.d.ts +36 -0
  1312. package/dist/redirect-bridge/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -0
  1313. package/dist/redirect-bridge/utils/BrowserConstants.d.ts +162 -0
  1314. package/dist/redirect-bridge/utils/BrowserConstants.d.ts.map +1 -0
  1315. package/dist/redirect-bridge/utils/BrowserConstants.mjs +38 -0
  1316. package/dist/redirect-bridge/utils/BrowserConstants.mjs.map +1 -0
  1317. package/dist/redirect-bridge/utils/BrowserProtocolUtils.d.ts +12 -0
  1318. package/dist/redirect-bridge/utils/BrowserProtocolUtils.d.ts.map +1 -0
  1319. package/dist/redirect-bridge/utils/BrowserUtils.d.ts +111 -0
  1320. package/dist/redirect-bridge/utils/BrowserUtils.d.ts.map +1 -0
  1321. package/dist/redirect-bridge/utils/BrowserUtils.mjs +97 -0
  1322. package/dist/redirect-bridge/utils/BrowserUtils.mjs.map +1 -0
  1323. package/dist/redirect-bridge/utils/Helpers.d.ts +7 -0
  1324. package/dist/redirect-bridge/utils/Helpers.d.ts.map +1 -0
  1325. package/dist/redirect-bridge/utils/MsalFrameStatsUtils.d.ts +3 -0
  1326. package/dist/redirect-bridge/utils/MsalFrameStatsUtils.d.ts.map +1 -0
  1327. package/dist/redirect_bridge/index.d.ts +16 -0
  1328. package/dist/redirect_bridge/index.d.ts.map +1 -0
  1329. package/dist/request/AuthorizationCodeRequest.d.ts +18 -0
  1330. package/dist/request/AuthorizationCodeRequest.d.ts.map +1 -1
  1331. package/dist/request/ClearCacheRequest.d.ts +6 -2
  1332. package/dist/request/ClearCacheRequest.d.ts.map +1 -1
  1333. package/dist/request/EndSessionPopupRequest.d.ts +13 -10
  1334. package/dist/request/EndSessionPopupRequest.d.ts.map +1 -1
  1335. package/dist/request/EndSessionRequest.d.ts +4 -9
  1336. package/dist/request/EndSessionRequest.d.ts.map +1 -1
  1337. package/dist/request/HandleRedirectPromiseOptions.d.ts +5 -0
  1338. package/dist/request/HandleRedirectPromiseOptions.d.ts.map +1 -0
  1339. package/dist/request/InitializeApplicationRequest.d.ts +3 -2
  1340. package/dist/request/InitializeApplicationRequest.d.ts.map +1 -1
  1341. package/dist/request/PopupRequest.d.ts +13 -24
  1342. package/dist/request/PopupRequest.d.ts.map +1 -1
  1343. package/dist/request/RedirectRequest.d.ts +6 -23
  1344. package/dist/request/RedirectRequest.d.ts.map +1 -1
  1345. package/dist/request/RequestHelpers.d.ts +11 -1
  1346. package/dist/request/RequestHelpers.d.ts.map +1 -1
  1347. package/dist/request/RequestHelpers.mjs +30 -5
  1348. package/dist/request/RequestHelpers.mjs.map +1 -1
  1349. package/dist/request/SilentRequest.d.ts +33 -14
  1350. package/dist/request/SilentRequest.d.ts.map +1 -1
  1351. package/dist/request/SsoSilentRequest.d.ts +0 -22
  1352. package/dist/request/SsoSilentRequest.d.ts.map +1 -1
  1353. package/dist/response/ResponseHandler.mjs +4 -4
  1354. package/dist/response/ResponseHandler.mjs.map +1 -1
  1355. package/dist/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
  1356. package/dist/telemetry/BrowserPerformanceClient.mjs +3 -3
  1357. package/dist/telemetry/BrowserPerformanceClient.mjs.map +1 -1
  1358. package/dist/telemetry/BrowserPerformanceEvents.d.ts +4 -1
  1359. package/dist/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
  1360. package/dist/telemetry/BrowserPerformanceEvents.mjs +7 -5
  1361. package/dist/telemetry/BrowserPerformanceEvents.mjs.map +1 -1
  1362. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  1363. package/dist/telemetry/BrowserPerformanceMeasurement.mjs.map +1 -1
  1364. package/dist/telemetry/BrowserRootPerformanceEvents.d.ts +1 -0
  1365. package/dist/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -1
  1366. package/dist/telemetry/BrowserRootPerformanceEvents.mjs +5 -3
  1367. package/dist/telemetry/BrowserRootPerformanceEvents.mjs.map +1 -1
  1368. package/dist/utils/BrowserConstants.d.ts +0 -4
  1369. package/dist/utils/BrowserConstants.d.ts.map +1 -1
  1370. package/dist/utils/BrowserConstants.mjs +1 -5
  1371. package/dist/utils/BrowserConstants.mjs.map +1 -1
  1372. package/dist/utils/BrowserProtocolUtils.mjs +2 -2
  1373. package/dist/utils/BrowserProtocolUtils.mjs.map +1 -1
  1374. package/dist/utils/BrowserUtils.d.ts +36 -2
  1375. package/dist/utils/BrowserUtils.d.ts.map +1 -1
  1376. package/dist/utils/BrowserUtils.mjs +152 -10
  1377. package/dist/utils/BrowserUtils.mjs.map +1 -1
  1378. package/dist/utils/Helpers.mjs +1 -1
  1379. package/dist/utils/Helpers.mjs.map +1 -1
  1380. package/dist/utils/MsalFrameStatsUtils.mjs +2 -2
  1381. package/dist/utils/MsalFrameStatsUtils.mjs.map +1 -1
  1382. package/lib/custom-auth-path/log-strings-mapping.json +1703 -0
  1383. package/lib/custom-auth-path/msal-custom-auth.cjs +11652 -10579
  1384. package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
  1385. package/lib/custom-auth-path/types/app/IPublicClientApplication.d.ts +2 -2
  1386. package/lib/custom-auth-path/types/app/IPublicClientApplication.d.ts.map +1 -1
  1387. package/lib/custom-auth-path/types/app/PublicClientApplication.d.ts +5 -9
  1388. package/lib/custom-auth-path/types/app/PublicClientApplication.d.ts.map +1 -1
  1389. package/lib/custom-auth-path/types/cache/AccountManager.d.ts +0 -25
  1390. package/lib/custom-auth-path/types/cache/AccountManager.d.ts.map +1 -1
  1391. package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts +65 -8
  1392. package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts.map +1 -1
  1393. package/lib/custom-auth-path/types/cache/CacheKeys.d.ts +3 -3
  1394. package/lib/custom-auth-path/types/cache/IWindowStorage.d.ts +1 -1
  1395. package/lib/custom-auth-path/types/cache/IWindowStorage.d.ts.map +1 -1
  1396. package/lib/custom-auth-path/types/cache/LocalStorage.d.ts +1 -1
  1397. package/lib/custom-auth-path/types/cache/LocalStorage.d.ts.map +1 -1
  1398. package/lib/custom-auth-path/types/cache/TokenCache.d.ts +7 -5
  1399. package/lib/custom-auth-path/types/cache/TokenCache.d.ts.map +1 -1
  1400. package/lib/custom-auth-path/types/config/Configuration.d.ts +4 -12
  1401. package/lib/custom-auth-path/types/config/Configuration.d.ts.map +1 -1
  1402. package/lib/custom-auth-path/types/controllers/IController.d.ts +2 -57
  1403. package/lib/custom-auth-path/types/controllers/IController.d.ts.map +1 -1
  1404. package/lib/custom-auth-path/types/controllers/NestedAppAuthController.d.ts +4 -43
  1405. package/lib/custom-auth-path/types/controllers/NestedAppAuthController.d.ts.map +1 -1
  1406. package/lib/custom-auth-path/types/controllers/StandardController.d.ts +3 -27
  1407. package/lib/custom-auth-path/types/controllers/StandardController.d.ts.map +1 -1
  1408. package/lib/custom-auth-path/types/controllers/UnknownOperatingContextController.d.ts +4 -13
  1409. package/lib/custom-auth-path/types/controllers/UnknownOperatingContextController.d.ts.map +1 -1
  1410. package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +2 -1
  1411. package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts.map +1 -1
  1412. package/lib/custom-auth-path/types/custom_auth/controller/CustomAuthStandardController.d.ts +1 -0
  1413. package/lib/custom-auth-path/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  1414. package/lib/custom-auth-path/types/custom_auth/core/CustomAuthAuthority.d.ts +2 -2
  1415. package/lib/custom-auth-path/types/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -1
  1416. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +2 -1
  1417. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  1418. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowState.d.ts +4 -0
  1419. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -1
  1420. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowStateTypes.d.ts +29 -0
  1421. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowStateTypes.d.ts.map +1 -0
  1422. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +5 -0
  1423. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -1
  1424. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +9 -3
  1425. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -1
  1426. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +6 -2
  1427. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -1
  1428. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts +7 -0
  1429. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts.map +1 -1
  1430. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts +7 -0
  1431. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts.map +1 -1
  1432. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +8 -0
  1433. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -1
  1434. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +27 -0
  1435. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +1 -0
  1436. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +40 -0
  1437. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -0
  1438. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +34 -0
  1439. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -0
  1440. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +11 -0
  1441. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +1 -0
  1442. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +11 -0
  1443. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +1 -0
  1444. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +67 -0
  1445. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -0
  1446. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +19 -0
  1447. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +1 -0
  1448. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/JitClient.d.ts +2 -8
  1449. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
  1450. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +0 -1
  1451. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -1
  1452. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +2 -11
  1453. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -1
  1454. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +21 -0
  1455. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -0
  1456. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +14 -0
  1457. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +1 -0
  1458. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +23 -0
  1459. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +1 -0
  1460. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -1
  1461. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +1 -0
  1462. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
  1463. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +7 -2
  1464. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  1465. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts +1 -0
  1466. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts.map +1 -1
  1467. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +5 -0
  1468. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
  1469. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +5 -1
  1470. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
  1471. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +2 -0
  1472. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
  1473. package/lib/custom-auth-path/types/custom_auth/core/telemetry/PublicApiId.d.ts +4 -3
  1474. package/lib/custom-auth-path/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
  1475. package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts.map +1 -1
  1476. package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts.map +1 -1
  1477. package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts.map +1 -1
  1478. package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts +8 -0
  1479. package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts.map +1 -1
  1480. package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts +8 -0
  1481. package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts.map +1 -1
  1482. package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/state/SignOutState.d.ts +8 -0
  1483. package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/state/SignOutState.d.ts.map +1 -1
  1484. package/lib/custom-auth-path/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -1
  1485. package/lib/custom-auth-path/types/custom_auth/index.d.ts +7 -0
  1486. package/lib/custom-auth-path/types/custom_auth/index.d.ts.map +1 -1
  1487. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts.map +1 -1
  1488. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts.map +1 -1
  1489. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts.map +1 -1
  1490. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts.map +1 -1
  1491. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts +4 -0
  1492. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -1
  1493. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts +4 -0
  1494. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts.map +1 -1
  1495. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts +4 -0
  1496. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts.map +1 -1
  1497. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts +4 -0
  1498. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -1
  1499. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +2 -0
  1500. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts.map +1 -1
  1501. package/lib/custom-auth-path/types/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -1
  1502. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts.map +1 -1
  1503. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +10 -1
  1504. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -1
  1505. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +19 -1
  1506. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -1
  1507. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +10 -1
  1508. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -1
  1509. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts +4 -0
  1510. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
  1511. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts +4 -0
  1512. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts.map +1 -1
  1513. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts +4 -0
  1514. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -1
  1515. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts +4 -0
  1516. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts.map +1 -1
  1517. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts +4 -0
  1518. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -1
  1519. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInState.d.ts +16 -0
  1520. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInState.d.ts.map +1 -1
  1521. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +2 -0
  1522. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -1
  1523. package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts +8 -6
  1524. package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  1525. package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +6 -0
  1526. package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
  1527. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts.map +1 -1
  1528. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts.map +1 -1
  1529. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts.map +1 -1
  1530. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts.map +1 -1
  1531. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts.map +1 -1
  1532. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts +4 -0
  1533. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -1
  1534. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts +4 -0
  1535. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -1
  1536. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts +5 -1
  1537. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts.map +1 -1
  1538. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts +4 -0
  1539. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts.map +1 -1
  1540. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts +4 -0
  1541. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -1
  1542. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +2 -0
  1543. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -1
  1544. package/lib/custom-auth-path/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +4 -4
  1545. package/lib/custom-auth-path/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -1
  1546. package/lib/custom-auth-path/types/error/BrowserAuthErrorCodes.d.ts +3 -2
  1547. package/lib/custom-auth-path/types/error/BrowserAuthErrorCodes.d.ts.map +1 -1
  1548. package/lib/custom-auth-path/types/error/NativeAuthError.d.ts.map +1 -1
  1549. package/lib/custom-auth-path/types/error/NativeAuthErrorCodes.d.ts +1 -0
  1550. package/lib/custom-auth-path/types/error/NativeAuthErrorCodes.d.ts.map +1 -1
  1551. package/lib/custom-auth-path/types/index.d.ts +4 -4
  1552. package/lib/custom-auth-path/types/index.d.ts.map +1 -1
  1553. package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts +2 -2
  1554. package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  1555. package/lib/custom-auth-path/types/interaction_client/PopupClient.d.ts +3 -6
  1556. package/lib/custom-auth-path/types/interaction_client/PopupClient.d.ts.map +1 -1
  1557. package/lib/custom-auth-path/types/interaction_client/RedirectClient.d.ts +6 -1
  1558. package/lib/custom-auth-path/types/interaction_client/RedirectClient.d.ts.map +1 -1
  1559. package/lib/custom-auth-path/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
  1560. package/lib/custom-auth-path/types/interaction_client/StandardInteractionClient.d.ts +3 -1
  1561. package/lib/custom-auth-path/types/interaction_client/StandardInteractionClient.d.ts.map +1 -1
  1562. package/lib/custom-auth-path/types/interaction_handler/InteractionHandler.d.ts.map +1 -1
  1563. package/lib/custom-auth-path/types/interaction_handler/SilentHandler.d.ts +2 -7
  1564. package/lib/custom-auth-path/types/interaction_handler/SilentHandler.d.ts.map +1 -1
  1565. package/lib/custom-auth-path/types/packageMetadata.d.ts +1 -1
  1566. package/lib/custom-auth-path/types/packageMetadata.d.ts.map +1 -1
  1567. package/lib/custom-auth-path/types/protocol/Authorize.d.ts +4 -0
  1568. package/lib/custom-auth-path/types/protocol/Authorize.d.ts.map +1 -1
  1569. package/lib/custom-auth-path/types/redirect_bridge/index.d.ts +16 -0
  1570. package/lib/custom-auth-path/types/redirect_bridge/index.d.ts.map +1 -0
  1571. package/lib/custom-auth-path/types/request/AuthorizationCodeRequest.d.ts +18 -0
  1572. package/lib/custom-auth-path/types/request/AuthorizationCodeRequest.d.ts.map +1 -1
  1573. package/lib/custom-auth-path/types/request/ClearCacheRequest.d.ts +6 -2
  1574. package/lib/custom-auth-path/types/request/ClearCacheRequest.d.ts.map +1 -1
  1575. package/lib/custom-auth-path/types/request/EndSessionPopupRequest.d.ts +13 -10
  1576. package/lib/custom-auth-path/types/request/EndSessionPopupRequest.d.ts.map +1 -1
  1577. package/lib/custom-auth-path/types/request/EndSessionRequest.d.ts +4 -9
  1578. package/lib/custom-auth-path/types/request/EndSessionRequest.d.ts.map +1 -1
  1579. package/lib/custom-auth-path/types/request/HandleRedirectPromiseOptions.d.ts +5 -0
  1580. package/lib/custom-auth-path/types/request/HandleRedirectPromiseOptions.d.ts.map +1 -0
  1581. package/lib/custom-auth-path/types/request/InitializeApplicationRequest.d.ts +3 -2
  1582. package/lib/custom-auth-path/types/request/InitializeApplicationRequest.d.ts.map +1 -1
  1583. package/lib/custom-auth-path/types/request/PopupRequest.d.ts +13 -24
  1584. package/lib/custom-auth-path/types/request/PopupRequest.d.ts.map +1 -1
  1585. package/lib/custom-auth-path/types/request/RedirectRequest.d.ts +6 -23
  1586. package/lib/custom-auth-path/types/request/RedirectRequest.d.ts.map +1 -1
  1587. package/lib/custom-auth-path/types/request/RequestHelpers.d.ts +11 -1
  1588. package/lib/custom-auth-path/types/request/RequestHelpers.d.ts.map +1 -1
  1589. package/lib/custom-auth-path/types/request/SilentRequest.d.ts +33 -14
  1590. package/lib/custom-auth-path/types/request/SilentRequest.d.ts.map +1 -1
  1591. package/lib/custom-auth-path/types/request/SsoSilentRequest.d.ts +0 -22
  1592. package/lib/custom-auth-path/types/request/SsoSilentRequest.d.ts.map +1 -1
  1593. package/lib/custom-auth-path/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
  1594. package/lib/custom-auth-path/types/telemetry/BrowserPerformanceEvents.d.ts +4 -1
  1595. package/lib/custom-auth-path/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
  1596. package/lib/custom-auth-path/types/telemetry/BrowserRootPerformanceEvents.d.ts +1 -0
  1597. package/lib/custom-auth-path/types/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -1
  1598. package/lib/custom-auth-path/types/utils/BrowserConstants.d.ts +0 -4
  1599. package/lib/custom-auth-path/types/utils/BrowserConstants.d.ts.map +1 -1
  1600. package/lib/custom-auth-path/types/utils/BrowserUtils.d.ts +36 -2
  1601. package/lib/custom-auth-path/types/utils/BrowserUtils.d.ts.map +1 -1
  1602. package/lib/log-strings-mapping.json +1135 -0
  1603. package/lib/msal-browser.cjs +15070 -15362
  1604. package/lib/msal-browser.cjs.map +1 -1
  1605. package/lib/msal-browser.js +15070 -15362
  1606. package/lib/msal-browser.js.map +1 -1
  1607. package/lib/msal-browser.min.js +2 -75
  1608. package/lib/redirect-bridge/msal-redirect-bridge.js +729 -0
  1609. package/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -0
  1610. package/lib/redirect-bridge/msal-redirect-bridge.min.js +2 -0
  1611. package/lib/types/app/IPublicClientApplication.d.ts +2 -2
  1612. package/lib/types/app/IPublicClientApplication.d.ts.map +1 -1
  1613. package/lib/types/app/PublicClientApplication.d.ts +5 -9
  1614. package/lib/types/app/PublicClientApplication.d.ts.map +1 -1
  1615. package/lib/types/cache/AccountManager.d.ts +0 -25
  1616. package/lib/types/cache/AccountManager.d.ts.map +1 -1
  1617. package/lib/types/cache/BrowserCacheManager.d.ts +65 -8
  1618. package/lib/types/cache/BrowserCacheManager.d.ts.map +1 -1
  1619. package/lib/types/cache/CacheKeys.d.ts +3 -3
  1620. package/lib/types/cache/IWindowStorage.d.ts +1 -1
  1621. package/lib/types/cache/IWindowStorage.d.ts.map +1 -1
  1622. package/lib/types/cache/LocalStorage.d.ts +1 -1
  1623. package/lib/types/cache/LocalStorage.d.ts.map +1 -1
  1624. package/lib/types/cache/TokenCache.d.ts +7 -5
  1625. package/lib/types/cache/TokenCache.d.ts.map +1 -1
  1626. package/lib/types/config/Configuration.d.ts +4 -12
  1627. package/lib/types/config/Configuration.d.ts.map +1 -1
  1628. package/lib/types/controllers/IController.d.ts +2 -57
  1629. package/lib/types/controllers/IController.d.ts.map +1 -1
  1630. package/lib/types/controllers/NestedAppAuthController.d.ts +4 -43
  1631. package/lib/types/controllers/NestedAppAuthController.d.ts.map +1 -1
  1632. package/lib/types/controllers/StandardController.d.ts +3 -27
  1633. package/lib/types/controllers/StandardController.d.ts.map +1 -1
  1634. package/lib/types/controllers/UnknownOperatingContextController.d.ts +4 -13
  1635. package/lib/types/controllers/UnknownOperatingContextController.d.ts.map +1 -1
  1636. package/lib/types/custom_auth/CustomAuthConstants.d.ts +2 -1
  1637. package/lib/types/custom_auth/CustomAuthConstants.d.ts.map +1 -1
  1638. package/lib/types/custom_auth/controller/CustomAuthStandardController.d.ts +1 -0
  1639. package/lib/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -1
  1640. package/lib/types/custom_auth/core/CustomAuthAuthority.d.ts +2 -2
  1641. package/lib/types/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -1
  1642. package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +2 -1
  1643. package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -1
  1644. package/lib/types/custom_auth/core/auth_flow/AuthFlowState.d.ts +4 -0
  1645. package/lib/types/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -1
  1646. package/lib/types/custom_auth/core/auth_flow/AuthFlowStateTypes.d.ts +29 -0
  1647. package/lib/types/custom_auth/core/auth_flow/AuthFlowStateTypes.d.ts.map +1 -0
  1648. package/lib/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +5 -0
  1649. package/lib/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -1
  1650. package/lib/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +9 -3
  1651. package/lib/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -1
  1652. package/lib/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +6 -2
  1653. package/lib/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -1
  1654. package/lib/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts +7 -0
  1655. package/lib/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts.map +1 -1
  1656. package/lib/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts +7 -0
  1657. package/lib/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts.map +1 -1
  1658. package/lib/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +8 -0
  1659. package/lib/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -1
  1660. package/lib/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +27 -0
  1661. package/lib/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +1 -0
  1662. package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +40 -0
  1663. package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -0
  1664. package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +34 -0
  1665. package/lib/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -0
  1666. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +11 -0
  1667. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +1 -0
  1668. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +11 -0
  1669. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +1 -0
  1670. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +67 -0
  1671. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -0
  1672. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +19 -0
  1673. package/lib/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +1 -0
  1674. package/lib/types/custom_auth/core/interaction_client/jit/JitClient.d.ts +2 -8
  1675. package/lib/types/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -1
  1676. package/lib/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +0 -1
  1677. package/lib/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -1
  1678. package/lib/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +2 -11
  1679. package/lib/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -1
  1680. package/lib/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +21 -0
  1681. package/lib/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -0
  1682. package/lib/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +14 -0
  1683. package/lib/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +1 -0
  1684. package/lib/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +23 -0
  1685. package/lib/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +1 -0
  1686. package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -1
  1687. package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +1 -0
  1688. package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -1
  1689. package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +7 -2
  1690. package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  1691. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts +1 -0
  1692. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts.map +1 -1
  1693. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +5 -0
  1694. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -1
  1695. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +5 -1
  1696. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -1
  1697. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +2 -0
  1698. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -1
  1699. package/lib/types/custom_auth/core/telemetry/PublicApiId.d.ts +4 -3
  1700. package/lib/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -1
  1701. package/lib/types/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts.map +1 -1
  1702. package/lib/types/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts.map +1 -1
  1703. package/lib/types/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts.map +1 -1
  1704. package/lib/types/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts +8 -0
  1705. package/lib/types/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts.map +1 -1
  1706. package/lib/types/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts +8 -0
  1707. package/lib/types/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts.map +1 -1
  1708. package/lib/types/custom_auth/get_account/auth_flow/state/SignOutState.d.ts +8 -0
  1709. package/lib/types/custom_auth/get_account/auth_flow/state/SignOutState.d.ts.map +1 -1
  1710. package/lib/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -1
  1711. package/lib/types/custom_auth/index.d.ts +7 -0
  1712. package/lib/types/custom_auth/index.d.ts.map +1 -1
  1713. package/lib/types/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts.map +1 -1
  1714. package/lib/types/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts.map +1 -1
  1715. package/lib/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts.map +1 -1
  1716. package/lib/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts.map +1 -1
  1717. package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts +4 -0
  1718. package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -1
  1719. package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts +4 -0
  1720. package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts.map +1 -1
  1721. package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts +4 -0
  1722. package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts.map +1 -1
  1723. package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts +4 -0
  1724. package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -1
  1725. package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +2 -0
  1726. package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts.map +1 -1
  1727. package/lib/types/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -1
  1728. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts.map +1 -1
  1729. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +10 -1
  1730. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -1
  1731. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +19 -1
  1732. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -1
  1733. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +10 -1
  1734. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -1
  1735. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts +4 -0
  1736. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -1
  1737. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts +4 -0
  1738. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts.map +1 -1
  1739. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts +4 -0
  1740. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -1
  1741. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts +4 -0
  1742. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts.map +1 -1
  1743. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts +4 -0
  1744. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -1
  1745. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInState.d.ts +16 -0
  1746. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInState.d.ts.map +1 -1
  1747. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +2 -0
  1748. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -1
  1749. package/lib/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts +8 -6
  1750. package/lib/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -1
  1751. package/lib/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +6 -0
  1752. package/lib/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -1
  1753. package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts.map +1 -1
  1754. package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts.map +1 -1
  1755. package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts.map +1 -1
  1756. package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts.map +1 -1
  1757. package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts.map +1 -1
  1758. package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts +4 -0
  1759. package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -1
  1760. package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts +4 -0
  1761. package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -1
  1762. package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts +5 -1
  1763. package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts.map +1 -1
  1764. package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts +4 -0
  1765. package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts.map +1 -1
  1766. package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts +4 -0
  1767. package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -1
  1768. package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +2 -0
  1769. package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -1
  1770. package/lib/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +4 -4
  1771. package/lib/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -1
  1772. package/lib/types/error/BrowserAuthErrorCodes.d.ts +3 -2
  1773. package/lib/types/error/BrowserAuthErrorCodes.d.ts.map +1 -1
  1774. package/lib/types/error/NativeAuthError.d.ts.map +1 -1
  1775. package/lib/types/error/NativeAuthErrorCodes.d.ts +1 -0
  1776. package/lib/types/error/NativeAuthErrorCodes.d.ts.map +1 -1
  1777. package/lib/types/index.d.ts +4 -4
  1778. package/lib/types/index.d.ts.map +1 -1
  1779. package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts +2 -2
  1780. package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  1781. package/lib/types/interaction_client/PopupClient.d.ts +3 -6
  1782. package/lib/types/interaction_client/PopupClient.d.ts.map +1 -1
  1783. package/lib/types/interaction_client/RedirectClient.d.ts +6 -1
  1784. package/lib/types/interaction_client/RedirectClient.d.ts.map +1 -1
  1785. package/lib/types/interaction_client/SilentIframeClient.d.ts.map +1 -1
  1786. package/lib/types/interaction_client/StandardInteractionClient.d.ts +3 -1
  1787. package/lib/types/interaction_client/StandardInteractionClient.d.ts.map +1 -1
  1788. package/lib/types/interaction_handler/InteractionHandler.d.ts.map +1 -1
  1789. package/lib/types/interaction_handler/SilentHandler.d.ts +2 -7
  1790. package/lib/types/interaction_handler/SilentHandler.d.ts.map +1 -1
  1791. package/lib/types/packageMetadata.d.ts +1 -1
  1792. package/lib/types/packageMetadata.d.ts.map +1 -1
  1793. package/lib/types/protocol/Authorize.d.ts +4 -0
  1794. package/lib/types/protocol/Authorize.d.ts.map +1 -1
  1795. package/lib/types/redirect_bridge/index.d.ts +16 -0
  1796. package/lib/types/redirect_bridge/index.d.ts.map +1 -0
  1797. package/lib/types/request/AuthorizationCodeRequest.d.ts +18 -0
  1798. package/lib/types/request/AuthorizationCodeRequest.d.ts.map +1 -1
  1799. package/lib/types/request/ClearCacheRequest.d.ts +6 -2
  1800. package/lib/types/request/ClearCacheRequest.d.ts.map +1 -1
  1801. package/lib/types/request/EndSessionPopupRequest.d.ts +13 -10
  1802. package/lib/types/request/EndSessionPopupRequest.d.ts.map +1 -1
  1803. package/lib/types/request/EndSessionRequest.d.ts +4 -9
  1804. package/lib/types/request/EndSessionRequest.d.ts.map +1 -1
  1805. package/lib/types/request/HandleRedirectPromiseOptions.d.ts +5 -0
  1806. package/lib/types/request/HandleRedirectPromiseOptions.d.ts.map +1 -0
  1807. package/lib/types/request/InitializeApplicationRequest.d.ts +3 -2
  1808. package/lib/types/request/InitializeApplicationRequest.d.ts.map +1 -1
  1809. package/lib/types/request/PopupRequest.d.ts +13 -24
  1810. package/lib/types/request/PopupRequest.d.ts.map +1 -1
  1811. package/lib/types/request/RedirectRequest.d.ts +6 -23
  1812. package/lib/types/request/RedirectRequest.d.ts.map +1 -1
  1813. package/lib/types/request/RequestHelpers.d.ts +11 -1
  1814. package/lib/types/request/RequestHelpers.d.ts.map +1 -1
  1815. package/lib/types/request/SilentRequest.d.ts +33 -14
  1816. package/lib/types/request/SilentRequest.d.ts.map +1 -1
  1817. package/lib/types/request/SsoSilentRequest.d.ts +0 -22
  1818. package/lib/types/request/SsoSilentRequest.d.ts.map +1 -1
  1819. package/lib/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -1
  1820. package/lib/types/telemetry/BrowserPerformanceEvents.d.ts +4 -1
  1821. package/lib/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -1
  1822. package/lib/types/telemetry/BrowserRootPerformanceEvents.d.ts +1 -0
  1823. package/lib/types/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -1
  1824. package/lib/types/utils/BrowserConstants.d.ts +0 -4
  1825. package/lib/types/utils/BrowserConstants.d.ts.map +1 -1
  1826. package/lib/types/utils/BrowserUtils.d.ts +36 -2
  1827. package/lib/types/utils/BrowserUtils.d.ts.map +1 -1
  1828. package/package.json +126 -112
  1829. package/src/app/IPublicClientApplication.ts +2 -2
  1830. package/src/app/PublicClientApplication.ts +17 -31
  1831. package/src/cache/AccountManager.ts +0 -142
  1832. package/src/cache/BrowserCacheManager.ts +765 -239
  1833. package/src/cache/CacheKeys.ts +3 -3
  1834. package/src/cache/IWindowStorage.ts +2 -1
  1835. package/src/cache/LocalStorage.ts +30 -17
  1836. package/src/cache/TokenCache.ts +167 -96
  1837. package/src/config/Configuration.ts +12 -25
  1838. package/src/controllers/IController.ts +2 -119
  1839. package/src/controllers/NestedAppAuthController.ts +46 -114
  1840. package/src/controllers/StandardController.ts +112 -141
  1841. package/src/controllers/UnknownOperatingContextController.ts +3 -72
  1842. package/src/custom_auth/CustomAuthConstants.ts +1 -0
  1843. package/src/custom_auth/controller/CustomAuthStandardController.ts +34 -0
  1844. package/src/custom_auth/core/CustomAuthAuthority.ts +3 -2
  1845. package/src/custom_auth/core/auth_flow/AuthFlowErrorBase.ts +13 -2
  1846. package/src/custom_auth/core/auth_flow/AuthFlowState.ts +6 -1
  1847. package/src/custom_auth/core/auth_flow/AuthFlowStateTypes.ts +60 -0
  1848. package/src/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.ts +9 -1
  1849. package/src/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.ts +21 -8
  1850. package/src/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.ts +15 -5
  1851. package/src/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.ts +10 -1
  1852. package/src/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.ts +10 -1
  1853. package/src/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.ts +18 -4
  1854. package/src/custom_auth/core/auth_flow/mfa/error_type/MfaError.ts +40 -0
  1855. package/src/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.ts +67 -0
  1856. package/src/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.ts +60 -0
  1857. package/src/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.ts +17 -0
  1858. package/src/custom_auth/core/auth_flow/mfa/state/MfaFailedState.ts +17 -0
  1859. package/src/custom_auth/core/auth_flow/mfa/state/MfaState.ts +202 -0
  1860. package/src/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.ts +28 -0
  1861. package/src/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.ts +1 -1
  1862. package/src/custom_auth/core/interaction_client/jit/JitClient.ts +18 -60
  1863. package/src/custom_auth/core/interaction_client/jit/parameter/JitParams.ts +0 -2
  1864. package/src/custom_auth/core/interaction_client/jit/result/JitActionResult.ts +2 -22
  1865. package/src/custom_auth/core/interaction_client/mfa/MfaClient.ts +165 -0
  1866. package/src/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.ts +20 -0
  1867. package/src/custom_auth/core/interaction_client/mfa/result/MfaActionResult.ts +48 -0
  1868. package/src/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.ts +2 -1
  1869. package/src/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.ts +1 -0
  1870. package/src/custom_auth/core/network_client/custom_auth_api/SignInApiClient.ts +27 -1
  1871. package/src/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.ts +1 -0
  1872. package/src/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.ts +6 -0
  1873. package/src/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.ts +6 -1
  1874. package/src/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.ts +2 -0
  1875. package/src/custom_auth/core/telemetry/PublicApiId.ts +6 -3
  1876. package/src/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.ts +6 -2
  1877. package/src/custom_auth/get_account/auth_flow/result/GetAccountResult.ts +6 -2
  1878. package/src/custom_auth/get_account/auth_flow/result/SignOutResult.ts +6 -2
  1879. package/src/custom_auth/get_account/auth_flow/state/GetAccessTokenState.ts +16 -2
  1880. package/src/custom_auth/get_account/auth_flow/state/GetAccountState.ts +16 -2
  1881. package/src/custom_auth/get_account/auth_flow/state/SignOutState.ts +16 -2
  1882. package/src/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.ts +18 -13
  1883. package/src/custom_auth/index.ts +22 -0
  1884. package/src/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.ts +6 -8
  1885. package/src/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.ts +6 -2
  1886. package/src/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.ts +8 -2
  1887. package/src/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.ts +6 -2
  1888. package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.ts +8 -0
  1889. package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.ts +7 -1
  1890. package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.ts +7 -1
  1891. package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.ts +7 -0
  1892. package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.ts +2 -0
  1893. package/src/custom_auth/reset_password/interaction_client/ResetPasswordClient.ts +18 -17
  1894. package/src/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.ts +6 -2
  1895. package/src/custom_auth/sign_in/auth_flow/result/SignInResult.ts +28 -6
  1896. package/src/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.ts +38 -3
  1897. package/src/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.ts +26 -4
  1898. package/src/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.ts +17 -11
  1899. package/src/custom_auth/sign_in/auth_flow/state/SignInCompletedState.ts +7 -1
  1900. package/src/custom_auth/sign_in/auth_flow/state/SignInContinuationState.ts +14 -50
  1901. package/src/custom_auth/sign_in/auth_flow/state/SignInFailedState.ts +7 -1
  1902. package/src/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.ts +18 -49
  1903. package/src/custom_auth/sign_in/auth_flow/state/SignInState.ts +108 -0
  1904. package/src/custom_auth/sign_in/auth_flow/state/SignInStateParameters.ts +2 -0
  1905. package/src/custom_auth/sign_in/interaction_client/SignInClient.ts +162 -73
  1906. package/src/custom_auth/sign_in/interaction_client/result/SignInActionResult.ts +15 -0
  1907. package/src/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.ts +6 -6
  1908. package/src/custom_auth/sign_up/auth_flow/result/SignUpResult.ts +10 -4
  1909. package/src/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.ts +6 -2
  1910. package/src/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.ts +10 -4
  1911. package/src/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.ts +8 -3
  1912. package/src/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.ts +7 -0
  1913. package/src/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.ts +10 -0
  1914. package/src/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.ts +8 -2
  1915. package/src/custom_auth/sign_up/auth_flow/state/SignUpFailedState.ts +7 -1
  1916. package/src/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.ts +8 -0
  1917. package/src/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.ts +2 -0
  1918. package/src/custom_auth/sign_up/interaction_client/SignUpClient.ts +62 -46
  1919. package/src/error/BrowserAuthErrorCodes.ts +4 -2
  1920. package/src/error/NativeAuthError.ts +1 -0
  1921. package/src/error/NativeAuthErrorCodes.ts +1 -0
  1922. package/src/index.ts +6 -11
  1923. package/src/interaction_client/PlatformAuthInteractionClient.ts +13 -6
  1924. package/src/interaction_client/PopupClient.ts +239 -105
  1925. package/src/interaction_client/RedirectClient.ts +109 -80
  1926. package/src/interaction_client/SilentIframeClient.ts +123 -59
  1927. package/src/interaction_client/StandardInteractionClient.ts +35 -19
  1928. package/src/interaction_handler/InteractionHandler.ts +0 -11
  1929. package/src/interaction_handler/SilentHandler.ts +25 -90
  1930. package/src/packageMetadata.ts +1 -1
  1931. package/src/protocol/Authorize.ts +65 -6
  1932. package/src/redirect_bridge/index.ts +131 -0
  1933. package/src/request/AuthorizationCodeRequest.ts +18 -0
  1934. package/src/request/ClearCacheRequest.ts +6 -2
  1935. package/src/request/EndSessionPopupRequest.ts +13 -12
  1936. package/src/request/EndSessionRequest.ts +4 -11
  1937. package/src/request/HandleRedirectPromiseOptions.ts +9 -0
  1938. package/src/request/InitializeApplicationRequest.ts +3 -2
  1939. package/src/request/PopupRequest.ts +13 -24
  1940. package/src/request/RedirectRequest.ts +6 -23
  1941. package/src/request/RequestHelpers.ts +34 -0
  1942. package/src/request/SilentRequest.ts +33 -14
  1943. package/src/request/SsoSilentRequest.ts +0 -22
  1944. package/src/telemetry/BrowserPerformanceClient.ts +5 -2
  1945. package/src/telemetry/BrowserPerformanceEvents.ts +5 -1
  1946. package/src/telemetry/BrowserRootPerformanceEvents.ts +2 -0
  1947. package/src/utils/BrowserConstants.ts +0 -4
  1948. package/src/utils/BrowserProtocolUtils.ts +1 -1
  1949. package/src/utils/BrowserUtils.ts +228 -9
  1950. package/dist/app/PublicClientNext.d.ts.map +0 -1
  1951. package/dist/app/PublicClientNext.mjs +0 -303
  1952. package/dist/app/PublicClientNext.mjs.map +0 -1
  1953. package/dist/controllers/ControllerFactory.d.ts +0 -6
  1954. package/dist/controllers/ControllerFactory.d.ts.map +0 -1
  1955. package/dist/controllers/ControllerFactory.mjs +0 -41
  1956. package/dist/controllers/ControllerFactory.mjs.map +0 -1
  1957. package/dist/controllers/UnknownOperatingContextController.mjs +0 -255
  1958. package/dist/controllers/UnknownOperatingContextController.mjs.map +0 -1
  1959. package/dist/custom-auth-path/app/PublicClientNext.d.ts.map +0 -1
  1960. package/dist/custom-auth-path/controllers/ControllerFactory.d.ts +0 -6
  1961. package/dist/custom-auth-path/controllers/ControllerFactory.d.ts.map +0 -1
  1962. package/dist/custom-auth-path/controllers/ControllerFactory.mjs +0 -19
  1963. package/dist/custom-auth-path/controllers/ControllerFactory.mjs.map +0 -1
  1964. package/dist/custom-auth-path/utils/PopupUtils.d.ts +0 -33
  1965. package/dist/custom-auth-path/utils/PopupUtils.d.ts.map +0 -1
  1966. package/dist/custom-auth-path/utils/PopupUtils.mjs +0 -90
  1967. package/dist/custom-auth-path/utils/PopupUtils.mjs.map +0 -1
  1968. package/dist/operatingcontext/UnknownOperatingContext.mjs +0 -49
  1969. package/dist/operatingcontext/UnknownOperatingContext.mjs.map +0 -1
  1970. package/dist/utils/PopupUtils.d.ts +0 -33
  1971. package/dist/utils/PopupUtils.d.ts.map +0 -1
  1972. package/dist/utils/PopupUtils.mjs +0 -90
  1973. package/dist/utils/PopupUtils.mjs.map +0 -1
  1974. package/lib/custom-auth-path/types/app/PublicClientNext.d.ts +0 -231
  1975. package/lib/custom-auth-path/types/app/PublicClientNext.d.ts.map +0 -1
  1976. package/lib/custom-auth-path/types/controllers/ControllerFactory.d.ts +0 -6
  1977. package/lib/custom-auth-path/types/controllers/ControllerFactory.d.ts.map +0 -1
  1978. package/lib/custom-auth-path/types/utils/PopupUtils.d.ts +0 -33
  1979. package/lib/custom-auth-path/types/utils/PopupUtils.d.ts.map +0 -1
  1980. package/lib/types/app/PublicClientNext.d.ts +0 -231
  1981. package/lib/types/app/PublicClientNext.d.ts.map +0 -1
  1982. package/lib/types/controllers/ControllerFactory.d.ts +0 -6
  1983. package/lib/types/controllers/ControllerFactory.d.ts.map +0 -1
  1984. package/lib/types/utils/PopupUtils.d.ts +0 -33
  1985. package/lib/types/utils/PopupUtils.d.ts.map +0 -1
  1986. package/src/app/PublicClientNext.ts +0 -389
  1987. package/src/controllers/ControllerFactory.ts +0 -49
  1988. package/src/utils/PopupUtils.ts +0 -117
@@ -1,9 +1,9 @@
1
- /*! @azure/msal-browser v5.0.0-alpha.0 2025-10-02 */
1
+ /*! @azure/msal-browser v5.0.1 2026-01-16 */
2
2
  'use strict';
3
- import { CacheManager, CacheHelpers, TimeUtils, Constants, createCacheError, CacheErrorCodes, invokeAsync, PerformanceEvents, AccountEntityUtils, StringUtils, CacheError, DEFAULT_CRYPTO_IMPLEMENTATION } from '@azure/msal-common/browser';
3
+ import { CacheManager, TimeUtils, CacheHelpers, Constants, AuthToken, getTenantIdFromIdTokenClaims, buildTenantProfile, AccountEntityUtils, createCacheError, CacheErrorCodes, invokeAsync, PerformanceEvents, StringUtils, CacheError, DEFAULT_CRYPTO_IMPLEMENTATION } from '@azure/msal-common/browser';
4
4
  import { createBrowserAuthError } from '../error/BrowserAuthError.mjs';
5
- import { BrowserCacheLocation, InMemoryCacheKeys, TemporaryCacheKeys, INTERACTION_TYPE } from '../utils/BrowserConstants.mjs';
6
- import { ACCOUNT_SCHEMA_VERSION, CREDENTIAL_SCHEMA_VERSION, getAccountKeysCacheKey, PREFIX, CACHE_KEY_SEPARATOR, VERSION_CACHE_KEY, getTokenKeysCacheKey } from './CacheKeys.mjs';
5
+ import { InMemoryCacheKeys, BrowserCacheLocation, TemporaryCacheKeys, INTERACTION_TYPE } from '../utils/BrowserConstants.mjs';
6
+ import { ACCOUNT_SCHEMA_VERSION, CREDENTIAL_SCHEMA_VERSION, VERSION_CACHE_KEY, getTokenKeysCacheKey, getAccountKeysCacheKey, PREFIX, CACHE_KEY_SEPARATOR } from './CacheKeys.mjs';
7
7
  import { LocalStorage } from './LocalStorage.mjs';
8
8
  import { SessionStorage } from './SessionStorage.mjs';
9
9
  import { MemoryStorage } from './MemoryStorage.mjs';
@@ -12,7 +12,7 @@ import { base64Encode } from '../encode/Base64Encode.mjs';
12
12
  import { CookieStorage } from './CookieStorage.mjs';
13
13
  import { getAccountKeys, getTokenKeys } from './CacheHelpers.mjs';
14
14
  import { EventType } from '../event/EventType.mjs';
15
- import { clearHash } from '../utils/BrowserUtils.mjs';
15
+ import { clearHash, cancelPendingBridgeResponse } from '../utils/BrowserUtils.mjs';
16
16
  import { version } from '../packageMetadata.mjs';
17
17
  import { removeElementFromArray } from '../utils/Helpers.mjs';
18
18
  import { isEncrypted } from './EncryptedData.mjs';
@@ -49,108 +49,338 @@ class BrowserCacheManager extends CacheManager {
49
49
  * Migrates any existing cache data from previous versions of MSAL.js into the current cache structure.
50
50
  */
51
51
  async migrateExistingCache(correlationId) {
52
- const accountKeys0 = getAccountKeys(this.browserStorage, 0);
53
- const tokenKeys0 = getTokenKeys(this.clientId, this.browserStorage, 0);
52
+ let accountKeys = getAccountKeys(this.browserStorage);
53
+ let tokenKeys = getTokenKeys(this.clientId, this.browserStorage);
54
54
  this.performanceClient.addFields({
55
- oldAccountCount: accountKeys0.length,
56
- oldAccessCount: tokenKeys0.accessToken.length,
57
- oldIdCount: tokenKeys0.idToken.length,
58
- oldRefreshCount: tokenKeys0.refreshToken.length,
55
+ preMigrateAcntCount: accountKeys.length,
56
+ preMigrateATCount: tokenKeys.accessToken.length,
57
+ preMigrateITCount: tokenKeys.idToken.length,
58
+ preMigrateRTCount: tokenKeys.refreshToken.length,
59
59
  }, correlationId);
60
- const accountKeys1 = getAccountKeys(this.browserStorage, 1);
61
- const tokenKeys1 = getTokenKeys(this.clientId, this.browserStorage, 1);
60
+ for (let i = 0; i < ACCOUNT_SCHEMA_VERSION; i++) {
61
+ const credentialSchema = i; // For now account and credential schemas are the same, but may diverge in future
62
+ await this.removeStaleAccounts(i, credentialSchema, correlationId);
63
+ }
64
+ // Must migrate idTokens first to ensure we have KMSI info for the rest
65
+ for (let i = 0; i < CREDENTIAL_SCHEMA_VERSION; i++) {
66
+ const accountSchema = i; // For now account and credential schemas are the same, but may diverge in future
67
+ await this.migrateIdTokens(i, accountSchema, correlationId);
68
+ }
69
+ const kmsiMap = this.getKMSIValues();
70
+ for (let i = 0; i < CREDENTIAL_SCHEMA_VERSION; i++) {
71
+ await this.migrateAccessTokens(i, kmsiMap, correlationId);
72
+ await this.migrateRefreshTokens(i, kmsiMap, correlationId);
73
+ }
74
+ accountKeys = getAccountKeys(this.browserStorage);
75
+ tokenKeys = getTokenKeys(this.clientId, this.browserStorage);
62
76
  this.performanceClient.addFields({
63
- currAccountCount: accountKeys1.length,
64
- currAccessCount: tokenKeys1.accessToken.length,
65
- currIdCount: tokenKeys1.idToken.length,
66
- currRefreshCount: tokenKeys1.refreshToken.length,
77
+ postMigrateAcntCount: accountKeys.length,
78
+ postMigrateATCount: tokenKeys.accessToken.length,
79
+ postMigrateITCount: tokenKeys.idToken.length,
80
+ postMigrateRTCount: tokenKeys.refreshToken.length,
67
81
  }, correlationId);
68
- await Promise.all([
69
- this.updateV0ToCurrent(ACCOUNT_SCHEMA_VERSION, accountKeys0, accountKeys1, correlationId),
70
- this.updateV0ToCurrent(CREDENTIAL_SCHEMA_VERSION, tokenKeys0.idToken, tokenKeys1.idToken, correlationId),
71
- this.updateV0ToCurrent(CREDENTIAL_SCHEMA_VERSION, tokenKeys0.accessToken, tokenKeys1.accessToken, correlationId),
72
- this.updateV0ToCurrent(CREDENTIAL_SCHEMA_VERSION, tokenKeys0.refreshToken, tokenKeys1.refreshToken, correlationId),
73
- ]);
74
- if (accountKeys0.length > 0) {
75
- this.browserStorage.setItem(getAccountKeysCacheKey(0), JSON.stringify(accountKeys0));
82
+ }
83
+ /**
84
+ * Parses entry, adds lastUpdatedAt if it doesn't exist, removes entry if expired or invalid
85
+ * @param key
86
+ * @param correlationId
87
+ * @returns
88
+ */
89
+ async updateOldEntry(key, correlationId) {
90
+ const rawValue = this.browserStorage.getItem(key);
91
+ const parsedValue = this.validateAndParseJson(rawValue || "");
92
+ if (!parsedValue) {
93
+ this.browserStorage.removeItem(key);
94
+ return null;
76
95
  }
77
- else {
78
- this.browserStorage.removeItem(getAccountKeysCacheKey(0));
96
+ if (!parsedValue.lastUpdatedAt) {
97
+ // Add lastUpdatedAt to the existing v0 entry if it doesnt exist so we know when it's safe to remove it
98
+ parsedValue.lastUpdatedAt = Date.now().toString();
99
+ this.setItem(key, JSON.stringify(parsedValue), correlationId);
79
100
  }
80
- if (accountKeys1.length > 0) {
81
- this.browserStorage.setItem(getAccountKeysCacheKey(1), JSON.stringify(accountKeys1));
101
+ else if (TimeUtils.isCacheExpired(parsedValue.lastUpdatedAt, this.cacheConfig.cacheRetentionDays)) {
102
+ this.browserStorage.removeItem(key);
103
+ this.performanceClient.incrementFields({ expiredCacheRemovedCount: 1 }, correlationId);
104
+ return null;
82
105
  }
83
- else {
84
- this.browserStorage.removeItem(getAccountKeysCacheKey(1));
85
- }
86
- this.setTokenKeys(tokenKeys0, correlationId, 0);
87
- this.setTokenKeys(tokenKeys1, correlationId, 1);
88
- }
89
- async updateV0ToCurrent(currentSchema, v0Keys, v1Keys, correlationId) {
90
- const upgradePromises = [];
91
- for (const v0Key of [...v0Keys]) {
92
- const rawV0Value = this.browserStorage.getItem(v0Key);
93
- const parsedV0Value = this.validateAndParseJson(rawV0Value || "");
94
- if (!parsedV0Value) {
95
- removeElementFromArray(v0Keys, v0Key);
106
+ const decryptedData = isEncrypted(parsedValue)
107
+ ? await this.browserStorage.decryptData(key, parsedValue, correlationId)
108
+ : parsedValue;
109
+ if (!decryptedData || !CacheHelpers.isCredentialEntity(decryptedData)) {
110
+ this.performanceClient.incrementFields({ invalidCacheCount: 1 }, correlationId);
111
+ return null;
112
+ }
113
+ if ((CacheHelpers.isAccessTokenEntity(decryptedData) ||
114
+ CacheHelpers.isRefreshTokenEntity(decryptedData)) &&
115
+ decryptedData.expiresOn &&
116
+ TimeUtils.isTokenExpired(decryptedData.expiresOn, Constants.DEFAULT_TOKEN_RENEWAL_OFFSET_SEC)) {
117
+ this.browserStorage.removeItem(key);
118
+ this.performanceClient.incrementFields({ expiredCacheRemovedCount: 1 }, correlationId);
119
+ return null;
120
+ }
121
+ return decryptedData;
122
+ }
123
+ /**
124
+ * Remove accounts from the cache for older schema versions if they have not been updated in the last cacheRetentionDays
125
+ * @param accountSchema
126
+ * @param credentialSchema
127
+ * @param correlationId
128
+ * @returns
129
+ */
130
+ async removeStaleAccounts(accountSchema, credentialSchema, correlationId) {
131
+ const accountKeysToCheck = getAccountKeys(this.browserStorage, accountSchema);
132
+ if (accountKeysToCheck.length === 0) {
133
+ return;
134
+ }
135
+ for (const accountKey of [...accountKeysToCheck]) {
136
+ this.performanceClient.incrementFields({ oldAcntCount: 1 }, correlationId);
137
+ const rawValue = this.browserStorage.getItem(accountKey);
138
+ const parsedValue = this.validateAndParseJson(rawValue || "");
139
+ if (!parsedValue) {
140
+ removeElementFromArray(accountKeysToCheck, accountKey);
141
+ continue;
142
+ }
143
+ if (!parsedValue.lastUpdatedAt) {
144
+ // Add lastUpdatedAt to the existing entry if it doesnt exist so we know when it's safe to remove it
145
+ parsedValue.lastUpdatedAt = Date.now().toString();
146
+ this.setItem(accountKey, JSON.stringify(parsedValue), correlationId);
96
147
  continue;
97
148
  }
98
- if (!parsedV0Value.lastUpdatedAt) {
99
- // Add lastUpdatedAt to the existing v0 entry if it doesnt exist so we know when it's safe to remove it
100
- parsedV0Value.lastUpdatedAt = Date.now().toString();
101
- this.setItem(v0Key, JSON.stringify(parsedV0Value), correlationId);
149
+ else if (TimeUtils.isCacheExpired(parsedValue.lastUpdatedAt, this.cacheConfig.cacheRetentionDays)) {
150
+ // Cache expired remove account and associated tokens
151
+ await this.removeAccountOldSchema(accountKey, parsedValue, credentialSchema, correlationId);
152
+ removeElementFromArray(accountKeysToCheck, accountKey);
102
153
  }
103
- const decryptedData = isEncrypted(parsedV0Value)
104
- ? await this.browserStorage.decryptData(v0Key, parsedV0Value, correlationId)
105
- : parsedV0Value;
106
- let expirationTime;
107
- if (decryptedData) {
108
- if (CacheHelpers.isAccessTokenEntity(decryptedData)) {
109
- expirationTime = decryptedData.expiresOn;
154
+ }
155
+ this.setAccountKeys(accountKeysToCheck, correlationId, accountSchema);
156
+ }
157
+ /**
158
+ * Remove the given account and all associated tokens from the cache
159
+ * @param accountKey
160
+ * @param rawObject
161
+ * @param credentialSchema
162
+ * @param correlationId
163
+ */
164
+ async removeAccountOldSchema(accountKey, rawObject, credentialSchema, correlationId) {
165
+ const decryptedData = isEncrypted(rawObject)
166
+ ? (await this.browserStorage.decryptData(accountKey, rawObject, correlationId))
167
+ : rawObject;
168
+ const homeAccountId = decryptedData?.homeAccountId;
169
+ if (homeAccountId) {
170
+ const tokenKeys = this.getTokenKeys(credentialSchema);
171
+ [...tokenKeys.idToken]
172
+ .filter((key) => key.includes(homeAccountId))
173
+ .forEach((key) => {
174
+ this.browserStorage.removeItem(key);
175
+ removeElementFromArray(tokenKeys.idToken, key);
176
+ });
177
+ [...tokenKeys.accessToken]
178
+ .filter((key) => key.includes(homeAccountId))
179
+ .forEach((key) => {
180
+ this.browserStorage.removeItem(key);
181
+ removeElementFromArray(tokenKeys.accessToken, key);
182
+ });
183
+ [...tokenKeys.refreshToken]
184
+ .filter((key) => key.includes(homeAccountId))
185
+ .forEach((key) => {
186
+ this.browserStorage.removeItem(key);
187
+ removeElementFromArray(tokenKeys.refreshToken, key);
188
+ });
189
+ this.setTokenKeys(tokenKeys, correlationId, credentialSchema);
190
+ }
191
+ this.performanceClient.incrementFields({ expiredAcntRemovedCount: 1 }, correlationId);
192
+ this.browserStorage.removeItem(accountKey);
193
+ }
194
+ /**
195
+ * Gets key value pair mapping homeAccountId to KMSI value
196
+ * @returns
197
+ */
198
+ getKMSIValues() {
199
+ const kmsiMap = {};
200
+ const tokenKeys = this.getTokenKeys().idToken;
201
+ for (const key of tokenKeys) {
202
+ const rawValue = this.browserStorage.getUserData(key);
203
+ if (rawValue) {
204
+ const idToken = JSON.parse(rawValue);
205
+ const claims = AuthToken.extractTokenClaims(idToken.secret, base64Decode);
206
+ if (claims) {
207
+ kmsiMap[idToken.homeAccountId] = AuthToken.isKmsi(claims);
110
208
  }
111
- else if (CacheHelpers.isRefreshTokenEntity(decryptedData)) {
112
- expirationTime = decryptedData.expiresOn;
209
+ }
210
+ }
211
+ return kmsiMap;
212
+ }
213
+ /**
214
+ * Migrates id tokens from the old schema to the new schema, also migrates associated account object if it doesn't already exist in the new schema
215
+ * @param credentialSchema
216
+ * @param accountSchema
217
+ * @param correlationId
218
+ * @returns
219
+ */
220
+ async migrateIdTokens(credentialSchema, accountSchema, correlationId) {
221
+ const credentialKeysToMigrate = getTokenKeys(this.clientId, this.browserStorage, credentialSchema);
222
+ if (credentialKeysToMigrate.idToken.length === 0) {
223
+ return;
224
+ }
225
+ const currentCredentialKeys = getTokenKeys(this.clientId, this.browserStorage, CREDENTIAL_SCHEMA_VERSION);
226
+ const currentAccountKeys = getAccountKeys(this.browserStorage);
227
+ const previousAccountKeys = getAccountKeys(this.browserStorage, accountSchema);
228
+ for (const idTokenKey of [...credentialKeysToMigrate.idToken]) {
229
+ this.performanceClient.incrementFields({ oldITCount: 1 }, correlationId);
230
+ const oldSchemaData = (await this.updateOldEntry(idTokenKey, correlationId));
231
+ if (!oldSchemaData) {
232
+ removeElementFromArray(credentialKeysToMigrate.idToken, idTokenKey);
233
+ continue;
234
+ }
235
+ const currentAccountKey = currentAccountKeys.find((key) => key.includes(oldSchemaData.homeAccountId));
236
+ const previousAccountKey = previousAccountKeys.find((key) => key.includes(oldSchemaData.homeAccountId));
237
+ let account = null;
238
+ if (currentAccountKey) {
239
+ account = this.getAccount(currentAccountKey, correlationId);
240
+ }
241
+ else if (previousAccountKey) {
242
+ const rawValue = this.browserStorage.getItem(previousAccountKey);
243
+ const parsedValue = this.validateAndParseJson(rawValue || "");
244
+ account =
245
+ parsedValue && isEncrypted(parsedValue)
246
+ ? (await this.browserStorage.decryptData(previousAccountKey, parsedValue, correlationId))
247
+ : parsedValue;
248
+ }
249
+ if (!account) {
250
+ // Don't migrate idToken if we don't have an account for it
251
+ this.performanceClient.incrementFields({ skipITMigrateCount: 1 }, correlationId);
252
+ continue;
253
+ }
254
+ const claims = AuthToken.extractTokenClaims(oldSchemaData.secret, base64Decode);
255
+ const newIdTokenKey = this.generateCredentialKey(oldSchemaData);
256
+ const currentIdToken = this.getIdTokenCredential(newIdTokenKey, correlationId);
257
+ const oldTokenHasSignInState = Object.keys(claims).includes("signin_state");
258
+ const currentTokenHasSignInState = currentIdToken &&
259
+ Object.keys(AuthToken.extractTokenClaims(currentIdToken.secret, base64Decode) || {}).includes("signin_state");
260
+ /**
261
+ * Only migrate if:
262
+ * 1. Token doesn't yet exist in current schema
263
+ * 2. Old schema token has been updated more recently than the current one AND migrating it won't result in loss of KMSI state
264
+ */
265
+ if (!currentIdToken ||
266
+ (oldSchemaData.lastUpdatedAt > currentIdToken.lastUpdatedAt &&
267
+ (oldTokenHasSignInState || !currentTokenHasSignInState))) {
268
+ const tenantProfiles = account.tenantProfiles || [];
269
+ const tenantId = getTenantIdFromIdTokenClaims(claims) || account.realm;
270
+ if (tenantId &&
271
+ !tenantProfiles.find((tenantProfile) => {
272
+ return tenantProfile.tenantId === tenantId;
273
+ })) {
274
+ const newTenantProfile = buildTenantProfile(account.homeAccountId, account.localAccountId, tenantId, claims);
275
+ tenantProfiles.push(newTenantProfile);
276
+ }
277
+ account.tenantProfiles = tenantProfiles;
278
+ const newAccountKey = this.generateAccountKey(AccountEntityUtils.getAccountInfo(account));
279
+ const kmsi = AuthToken.isKmsi(claims);
280
+ await this.setUserData(newAccountKey, JSON.stringify(account), correlationId, account.lastUpdatedAt, kmsi);
281
+ if (!currentAccountKeys.includes(newAccountKey)) {
282
+ currentAccountKeys.push(newAccountKey);
113
283
  }
284
+ await this.setUserData(newIdTokenKey, JSON.stringify(oldSchemaData), correlationId, oldSchemaData.lastUpdatedAt, kmsi);
285
+ this.performanceClient.incrementFields({ migratedITCount: 1 }, correlationId);
286
+ currentCredentialKeys.idToken.push(newIdTokenKey);
287
+ }
288
+ }
289
+ this.setTokenKeys(credentialKeysToMigrate, correlationId, credentialSchema);
290
+ this.setTokenKeys(currentCredentialKeys, correlationId);
291
+ this.setAccountKeys(currentAccountKeys, correlationId);
292
+ }
293
+ /**
294
+ * Migrates access tokens from old cache schema to current schema
295
+ * @param credentialSchema
296
+ * @param kmsiMap
297
+ * @param correlationId
298
+ * @returns
299
+ */
300
+ async migrateAccessTokens(credentialSchema, kmsiMap, correlationId) {
301
+ const credentialKeysToMigrate = getTokenKeys(this.clientId, this.browserStorage, credentialSchema);
302
+ if (credentialKeysToMigrate.accessToken.length === 0) {
303
+ return;
304
+ }
305
+ const currentCredentialKeys = getTokenKeys(this.clientId, this.browserStorage, CREDENTIAL_SCHEMA_VERSION);
306
+ for (const accessTokenKey of [...credentialKeysToMigrate.accessToken]) {
307
+ this.performanceClient.incrementFields({ oldATCount: 1 }, correlationId);
308
+ const oldSchemaData = (await this.updateOldEntry(accessTokenKey, correlationId));
309
+ if (!oldSchemaData) {
310
+ removeElementFromArray(credentialKeysToMigrate.accessToken, accessTokenKey);
311
+ continue;
114
312
  }
115
- if (!decryptedData ||
116
- TimeUtils.isCacheExpired(parsedV0Value.lastUpdatedAt, this.cacheConfig.cacheRetentionDays) ||
117
- (expirationTime &&
118
- TimeUtils.isTokenExpired(expirationTime, Constants.DEFAULT_TOKEN_RENEWAL_OFFSET_SEC))) {
119
- this.browserStorage.removeItem(v0Key);
120
- removeElementFromArray(v0Keys, v0Key);
121
- this.performanceClient.incrementFields({ expiredCacheRemovedCount: 1 }, correlationId);
313
+ if (!(oldSchemaData.homeAccountId in kmsiMap)) {
314
+ // Don't migrate tokens if we don't have an idToken for them
315
+ this.performanceClient.incrementFields({ skipATMigrateCount: 1 }, correlationId);
122
316
  continue;
123
317
  }
124
- if (this.cacheConfig.cacheLocation !==
125
- BrowserCacheLocation.LocalStorage ||
126
- isEncrypted(parsedV0Value)) {
127
- const v1Key = `${PREFIX}.${currentSchema}${CACHE_KEY_SEPARATOR}${v0Key}`;
128
- const rawV1Entry = this.browserStorage.getItem(v1Key);
129
- if (!rawV1Entry) {
130
- upgradePromises.push(this.setUserData(v1Key, JSON.stringify(decryptedData), correlationId, parsedV0Value.lastUpdatedAt).then(() => {
131
- v1Keys.push(v1Key);
132
- this.performanceClient.incrementFields({ upgradedCacheCount: 1 }, correlationId);
133
- }));
134
- continue;
318
+ const newKey = this.generateCredentialKey(oldSchemaData);
319
+ const kmsi = kmsiMap[oldSchemaData.homeAccountId];
320
+ if (!currentCredentialKeys.accessToken.includes(newKey)) {
321
+ await this.setUserData(newKey, JSON.stringify(oldSchemaData), correlationId, oldSchemaData.lastUpdatedAt, kmsi);
322
+ this.performanceClient.incrementFields({ migratedATCount: 1 }, correlationId);
323
+ currentCredentialKeys.accessToken.push(newKey);
324
+ }
325
+ else {
326
+ const currentToken = this.getAccessTokenCredential(newKey, correlationId);
327
+ if (!currentToken ||
328
+ oldSchemaData.lastUpdatedAt > currentToken.lastUpdatedAt) {
329
+ // If the token already exists, only overwrite it if the old token has a more recent lastUpdatedAt
330
+ await this.setUserData(newKey, JSON.stringify(oldSchemaData), correlationId, oldSchemaData.lastUpdatedAt, kmsi);
331
+ this.performanceClient.incrementFields({ migratedATCount: 1 }, correlationId);
135
332
  }
136
- else {
137
- const parsedV1Entry = this.validateAndParseJson(rawV1Entry);
138
- // If the entry already exists but is older than the v0 entry, replace it
139
- if (Number(parsedV0Value.lastUpdatedAt) >
140
- Number(parsedV1Entry.lastUpdatedAt)) {
141
- upgradePromises.push(this.setUserData(v1Key, JSON.stringify(decryptedData), correlationId, parsedV0Value.lastUpdatedAt).then(() => {
142
- this.performanceClient.incrementFields({ updatedCacheFromV0Count: 1 }, correlationId);
143
- }));
144
- continue;
145
- }
333
+ }
334
+ }
335
+ this.setTokenKeys(credentialKeysToMigrate, correlationId, credentialSchema);
336
+ this.setTokenKeys(currentCredentialKeys, correlationId);
337
+ }
338
+ /**
339
+ * Migrates refresh tokens from old cache schema to current schema
340
+ * @param credentialSchema
341
+ * @param kmsiMap
342
+ * @param correlationId
343
+ * @returns
344
+ */
345
+ async migrateRefreshTokens(credentialSchema, kmsiMap, correlationId) {
346
+ const credentialKeysToMigrate = getTokenKeys(this.clientId, this.browserStorage, credentialSchema);
347
+ if (credentialKeysToMigrate.refreshToken.length === 0) {
348
+ return;
349
+ }
350
+ const currentCredentialKeys = getTokenKeys(this.clientId, this.browserStorage, CREDENTIAL_SCHEMA_VERSION);
351
+ for (const refreshTokenKey of [
352
+ ...credentialKeysToMigrate.refreshToken,
353
+ ]) {
354
+ this.performanceClient.incrementFields({ oldRTCount: 1 }, correlationId);
355
+ const oldSchemaData = (await this.updateOldEntry(refreshTokenKey, correlationId));
356
+ if (!oldSchemaData) {
357
+ removeElementFromArray(credentialKeysToMigrate.refreshToken, refreshTokenKey);
358
+ continue;
359
+ }
360
+ if (!(oldSchemaData.homeAccountId in kmsiMap)) {
361
+ // Don't migrate tokens if we don't have an idToken for them
362
+ this.performanceClient.incrementFields({ skipRTMigrateCount: 1 }, correlationId);
363
+ continue;
364
+ }
365
+ const newKey = this.generateCredentialKey(oldSchemaData);
366
+ const kmsi = kmsiMap[oldSchemaData.homeAccountId];
367
+ if (!currentCredentialKeys.refreshToken.includes(newKey)) {
368
+ await this.setUserData(newKey, JSON.stringify(oldSchemaData), correlationId, oldSchemaData.lastUpdatedAt, kmsi);
369
+ this.performanceClient.incrementFields({ migratedRTCount: 1 }, correlationId);
370
+ currentCredentialKeys.refreshToken.push(newKey);
371
+ }
372
+ else {
373
+ const currentToken = this.getRefreshTokenCredential(newKey, correlationId);
374
+ if (!currentToken ||
375
+ oldSchemaData.lastUpdatedAt > currentToken.lastUpdatedAt) {
376
+ // If the token already exists, only overwrite it if the old token has a more recent lastUpdatedAt
377
+ await this.setUserData(newKey, JSON.stringify(oldSchemaData), correlationId, oldSchemaData.lastUpdatedAt, kmsi);
378
+ this.performanceClient.incrementFields({ migratedRTCount: 1 }, correlationId);
146
379
  }
147
380
  }
148
- /*
149
- * Note: If we reach here for unencrypted localStorage data, we continue without migrating
150
- * as we can't migrate unencrypted localStorage data right now since we can't guarantee KMSI=no
151
- */
152
381
  }
153
- return Promise.all(upgradePromises);
382
+ this.setTokenKeys(credentialKeysToMigrate, correlationId, credentialSchema);
383
+ this.setTokenKeys(currentCredentialKeys, correlationId);
154
384
  }
155
385
  /**
156
386
  * Tracks upgrades and downgrades for telemetry and debugging purposes
@@ -158,7 +388,7 @@ class BrowserCacheManager extends CacheManager {
158
388
  trackVersionChanges(correlationId) {
159
389
  const previousVersion = this.browserStorage.getItem(VERSION_CACHE_KEY);
160
390
  if (previousVersion) {
161
- this.logger.info(`MSAL.js was last initialized by version: '${previousVersion}'`, correlationId);
391
+ this.logger.info("1wuc87", correlationId);
162
392
  this.performanceClient.addFields({ previousLibraryVersion: previousVersion }, correlationId);
163
393
  }
164
394
  if (previousVersion !== version) {
@@ -195,20 +425,31 @@ class BrowserCacheManager extends CacheManager {
195
425
  * @param value
196
426
  */
197
427
  setItem(key, value, correlationId) {
198
- let tokenKeysV0Count = 0;
199
- let accessTokenKeys = [];
428
+ const tokenKeysCount = new Array(CREDENTIAL_SCHEMA_VERSION + 1).fill(0); // Array mapping schema version to number of token keys stored for that version
429
+ const accessTokenKeys = []; // Flat map of all access token keys stored, ordered by schema version
200
430
  const maxRetries = 20;
201
431
  for (let i = 0; i <= maxRetries; i++) {
432
+ // Attempt to store item in cache, if cache is full this call will throw and we'll attempt to clear space by removing access tokens from the cache one by one, starting with tokens stored by previous versions of MSAL.js
202
433
  try {
203
434
  this.browserStorage.setItem(key, value);
204
435
  if (i > 0) {
205
- // Finally update the token keys array with the tokens removed
206
- if (i <= tokenKeysV0Count) {
207
- this.removeAccessTokenKeys(accessTokenKeys.slice(0, i), correlationId, 0);
208
- }
209
- else {
210
- this.removeAccessTokenKeys(accessTokenKeys.slice(0, tokenKeysV0Count), correlationId, 0);
211
- this.removeAccessTokenKeys(accessTokenKeys.slice(tokenKeysV0Count, i), correlationId);
436
+ // If any tokens were removed in order to store this item update the token keys array with the tokens removed
437
+ for (let schemaVersion = 0; schemaVersion <= CREDENTIAL_SCHEMA_VERSION; schemaVersion++) {
438
+ // Get the sum of all previous token counts to use as start index for this schema version
439
+ const startIndex = tokenKeysCount
440
+ .slice(0, schemaVersion)
441
+ .reduce((sum, count) => sum + count, 0);
442
+ if (startIndex >= i) {
443
+ // Done removing tokens
444
+ break;
445
+ }
446
+ const endIndex = i > startIndex + tokenKeysCount[schemaVersion]
447
+ ? startIndex + tokenKeysCount[schemaVersion]
448
+ : i;
449
+ if (i > startIndex &&
450
+ tokenKeysCount[schemaVersion] > 0) {
451
+ this.removeAccessTokenKeys(accessTokenKeys.slice(startIndex, endIndex), correlationId, schemaVersion);
452
+ }
212
453
  }
213
454
  }
214
455
  break; // If setItem succeeds, exit the loop
@@ -220,16 +461,19 @@ class BrowserCacheManager extends CacheManager {
220
461
  i < maxRetries) {
221
462
  if (!accessTokenKeys.length) {
222
463
  // If we are currently trying to set the token keys, use the value we're trying to set
223
- const tokenKeys0 = key ===
224
- getTokenKeysCacheKey(this.clientId, 0)
225
- ? JSON.parse(value).accessToken
226
- : this.getTokenKeys(0).accessToken;
227
- const tokenKeys1 = key ===
228
- getTokenKeysCacheKey(this.clientId)
229
- ? JSON.parse(value).accessToken
230
- : this.getTokenKeys().accessToken;
231
- accessTokenKeys = [...tokenKeys0, ...tokenKeys1];
232
- tokenKeysV0Count = tokenKeys0.length;
464
+ for (let i = 0; i <= CREDENTIAL_SCHEMA_VERSION; i++) {
465
+ if (key ===
466
+ getTokenKeysCacheKey(this.clientId, i)) {
467
+ const tokenKeys = JSON.parse(value).accessToken;
468
+ accessTokenKeys.push(...tokenKeys);
469
+ tokenKeysCount[i] = tokenKeys.length;
470
+ }
471
+ else {
472
+ const tokenKeys = this.getTokenKeys(i).accessToken;
473
+ accessTokenKeys.push(...tokenKeys);
474
+ tokenKeysCount[i] = tokenKeys.length;
475
+ }
476
+ }
233
477
  }
234
478
  if (accessTokenKeys.length <= i) {
235
479
  // Nothing to remove, rethrow the error
@@ -252,21 +496,32 @@ class BrowserCacheManager extends CacheManager {
252
496
  * @param value
253
497
  * @param correlationId
254
498
  */
255
- async setUserData(key, value, correlationId, timestamp) {
256
- let tokenKeysV0Count = 0;
257
- let accessTokenKeys = [];
499
+ async setUserData(key, value, correlationId, timestamp, kmsi) {
500
+ const tokenKeysCount = new Array(CREDENTIAL_SCHEMA_VERSION + 1).fill(0); // Array mapping schema version to number of token keys stored for that version
501
+ const accessTokenKeys = []; // Flat map of all access token keys stored, ordered by schema version
258
502
  const maxRetries = 20;
259
503
  for (let i = 0; i <= maxRetries; i++) {
260
504
  try {
261
- await invokeAsync(this.browserStorage.setUserData.bind(this.browserStorage), PerformanceEvents.SetUserData, this.logger, this.performanceClient, correlationId)(key, value, correlationId, timestamp);
505
+ // Attempt to store item in cache, if cache is full this call will throw and we'll attempt to clear space by removing access tokens from the cache one by one, starting with tokens stored by previous versions of MSAL.js
506
+ await invokeAsync(this.browserStorage.setUserData.bind(this.browserStorage), PerformanceEvents.SetUserData, this.logger, this.performanceClient, correlationId)(key, value, correlationId, timestamp, kmsi);
262
507
  if (i > 0) {
263
- // Finally update the token keys array with the tokens removed
264
- if (i <= tokenKeysV0Count) {
265
- this.removeAccessTokenKeys(accessTokenKeys.slice(0, i), correlationId, 0);
266
- }
267
- else {
268
- this.removeAccessTokenKeys(accessTokenKeys.slice(0, tokenKeysV0Count), correlationId, 0);
269
- this.removeAccessTokenKeys(accessTokenKeys.slice(tokenKeysV0Count, i), correlationId);
508
+ // If any tokens were removed in order to store this item update the token keys array with the tokens removed
509
+ for (let schemaVersion = 0; schemaVersion <= CREDENTIAL_SCHEMA_VERSION; schemaVersion++) {
510
+ // Get the sum of all previous token counts to use as start index for this schema version
511
+ const startIndex = tokenKeysCount
512
+ .slice(0, schemaVersion)
513
+ .reduce((sum, count) => sum + count, 0);
514
+ if (startIndex >= i) {
515
+ // Done removing tokens
516
+ break;
517
+ }
518
+ const endIndex = i > startIndex + tokenKeysCount[schemaVersion]
519
+ ? startIndex + tokenKeysCount[schemaVersion]
520
+ : i;
521
+ if (i > startIndex &&
522
+ tokenKeysCount[schemaVersion] > 0) {
523
+ this.removeAccessTokenKeys(accessTokenKeys.slice(startIndex, endIndex), correlationId, schemaVersion);
524
+ }
270
525
  }
271
526
  }
272
527
  break; // If setItem succeeds, exit the loop
@@ -277,10 +532,12 @@ class BrowserCacheManager extends CacheManager {
277
532
  CacheErrorCodes.cacheQuotaExceeded &&
278
533
  i < maxRetries) {
279
534
  if (!accessTokenKeys.length) {
280
- const tokenKeys0 = this.getTokenKeys(0).accessToken;
281
- const tokenKeys1 = this.getTokenKeys().accessToken;
282
- accessTokenKeys = [...tokenKeys0, ...tokenKeys1];
283
- tokenKeysV0Count = tokenKeys0.length;
535
+ // If we are currently trying to set the token keys, use the value we're trying to set
536
+ for (let i = 0; i <= CREDENTIAL_SCHEMA_VERSION; i++) {
537
+ const tokenKeys = this.getTokenKeys(i).accessToken;
538
+ accessTokenKeys.push(...tokenKeys);
539
+ tokenKeysCount[i] = tokenKeys.length;
540
+ }
284
541
  }
285
542
  if (accessTokenKeys.length <= i) {
286
543
  // Nothing left to remove, rethrow the error
@@ -304,7 +561,7 @@ class BrowserCacheManager extends CacheManager {
304
561
  * @returns
305
562
  */
306
563
  getAccount(accountKey, correlationId) {
307
- this.logger.trace("BrowserCacheManager.getAccount called", correlationId);
564
+ this.logger.trace("1lfvm6", correlationId);
308
565
  const serializedAccount = this.browserStorage.getUserData(accountKey);
309
566
  if (!serializedAccount) {
310
567
  this.removeAccountKeyFromMap(accountKey, correlationId);
@@ -321,13 +578,22 @@ class BrowserCacheManager extends CacheManager {
321
578
  * set account entity in the platform cache
322
579
  * @param account
323
580
  */
324
- async setAccount(account, correlationId) {
325
- this.logger.trace("BrowserCacheManager.setAccount called", correlationId);
581
+ async setAccount(account, correlationId, kmsi) {
582
+ this.logger.trace("1bz3wr", correlationId);
326
583
  const key = this.generateAccountKey(AccountEntityUtils.getAccountInfo(account));
327
584
  const timestamp = Date.now().toString();
328
585
  account.lastUpdatedAt = timestamp;
329
- await this.setUserData(key, JSON.stringify(account), correlationId, timestamp);
586
+ await this.setUserData(key, JSON.stringify(account), correlationId, timestamp, kmsi);
330
587
  this.addAccountKeyToMap(key, correlationId);
588
+ this.performanceClient.addFields({ kmsi: kmsi }, correlationId);
589
+ }
590
+ setAccountKeys(accountKeys, correlationId, schemaVersion = ACCOUNT_SCHEMA_VERSION) {
591
+ if (accountKeys.length === 0) {
592
+ this.removeItem(getAccountKeysCacheKey(schemaVersion));
593
+ }
594
+ else {
595
+ this.setItem(getAccountKeysCacheKey(schemaVersion), JSON.stringify(accountKeys), correlationId);
596
+ }
331
597
  }
332
598
  /**
333
599
  * Returns the array of account keys currently cached
@@ -341,18 +607,18 @@ class BrowserCacheManager extends CacheManager {
341
607
  * @param key
342
608
  */
343
609
  addAccountKeyToMap(key, correlationId) {
344
- this.logger.trace("BrowserCacheManager.addAccountKeyToMap called", correlationId);
345
- this.logger.tracePii(`BrowserCacheManager.addAccountKeyToMap called with key: '${key}'`, correlationId);
610
+ this.logger.trace("0rb85k", correlationId);
611
+ this.logger.tracePii("1l9bdo", correlationId);
346
612
  const accountKeys = this.getAccountKeys();
347
613
  if (accountKeys.indexOf(key) === -1) {
348
614
  // Only add key if it does not already exist in the map
349
615
  accountKeys.push(key);
350
616
  this.setItem(getAccountKeysCacheKey(), JSON.stringify(accountKeys), correlationId);
351
- this.logger.verbose("BrowserCacheManager.addAccountKeyToMap account key added", correlationId);
617
+ this.logger.verbose("0xia39", correlationId);
352
618
  return true;
353
619
  }
354
620
  else {
355
- this.logger.verbose("BrowserCacheManager.addAccountKeyToMap account key already exists in map", correlationId);
621
+ this.logger.verbose("0161kk", correlationId);
356
622
  return false;
357
623
  }
358
624
  }
@@ -361,24 +627,16 @@ class BrowserCacheManager extends CacheManager {
361
627
  * @param key
362
628
  */
363
629
  removeAccountKeyFromMap(key, correlationId) {
364
- this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap called", correlationId);
365
- this.logger.tracePii(`BrowserCacheManager.removeAccountKeyFromMap called with key: '${key}'`, correlationId);
630
+ this.logger.trace("1jpigu", correlationId);
631
+ this.logger.tracePii("1xzspl", correlationId);
366
632
  const accountKeys = this.getAccountKeys();
367
633
  const removalIndex = accountKeys.indexOf(key);
368
634
  if (removalIndex > -1) {
369
635
  accountKeys.splice(removalIndex, 1);
370
- if (accountKeys.length === 0) {
371
- // If no keys left, remove the map
372
- this.removeItem(getAccountKeysCacheKey());
373
- return;
374
- }
375
- else {
376
- this.setItem(getAccountKeysCacheKey(), JSON.stringify(accountKeys), correlationId);
377
- }
378
- this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap account key removed", correlationId);
636
+ this.setAccountKeys(accountKeys, correlationId);
379
637
  }
380
638
  else {
381
- this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap key not found in existing map", correlationId);
639
+ this.logger.trace("1dytu2", correlationId);
382
640
  }
383
641
  }
384
642
  /**
@@ -410,7 +668,7 @@ class BrowserCacheManager extends CacheManager {
410
668
  const tokenKeys = this.getTokenKeys();
411
669
  const idRemoval = tokenKeys.idToken.indexOf(key);
412
670
  if (idRemoval > -1) {
413
- this.logger.info("idToken removed from tokenKeys map", correlationId);
671
+ this.logger.info("05udv9", correlationId);
414
672
  tokenKeys.idToken.splice(idRemoval, 1);
415
673
  this.setTokenKeys(tokenKeys, correlationId);
416
674
  }
@@ -430,7 +688,7 @@ class BrowserCacheManager extends CacheManager {
430
688
  * @param tokenKeys
431
689
  */
432
690
  removeAccessTokenKeys(keys, correlationId, schemaVersion = CREDENTIAL_SCHEMA_VERSION) {
433
- this.logger.trace("removeAccessTokenKey called", correlationId);
691
+ this.logger.trace("17o18n", correlationId);
434
692
  const tokenKeys = this.getTokenKeys(schemaVersion);
435
693
  let keysRemoved = 0;
436
694
  keys.forEach((key) => {
@@ -441,7 +699,7 @@ class BrowserCacheManager extends CacheManager {
441
699
  }
442
700
  });
443
701
  if (keysRemoved > 0) {
444
- this.logger.info(`removed '${keysRemoved}' accessToken keys from tokenKeys map`, correlationId);
702
+ this.logger.info("15i5d5", correlationId);
445
703
  this.setTokenKeys(tokenKeys, correlationId, schemaVersion);
446
704
  return;
447
705
  }
@@ -455,7 +713,7 @@ class BrowserCacheManager extends CacheManager {
455
713
  const tokenKeys = this.getTokenKeys();
456
714
  const refreshRemoval = tokenKeys.refreshToken.indexOf(key);
457
715
  if (refreshRemoval > -1) {
458
- this.logger.info("refreshToken removed from tokenKeys map", correlationId);
716
+ this.logger.info("1f4fq3", correlationId);
459
717
  tokenKeys.refreshToken.splice(refreshRemoval, 1);
460
718
  this.setTokenKeys(tokenKeys, correlationId);
461
719
  }
@@ -492,31 +750,31 @@ class BrowserCacheManager extends CacheManager {
492
750
  getIdTokenCredential(idTokenKey, correlationId) {
493
751
  const value = this.browserStorage.getUserData(idTokenKey);
494
752
  if (!value) {
495
- this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit", correlationId);
753
+ this.logger.trace("1jukz6", correlationId);
496
754
  this.removeIdToken(idTokenKey, correlationId);
497
755
  return null;
498
756
  }
499
757
  const parsedIdToken = this.validateAndParseJson(value);
500
758
  if (!parsedIdToken || !CacheHelpers.isIdTokenEntity(parsedIdToken)) {
501
- this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit", correlationId);
759
+ this.logger.trace("1jukz6", correlationId);
502
760
  return null;
503
761
  }
504
- this.logger.trace("BrowserCacheManager.getIdTokenCredential: cache hit", correlationId);
762
+ this.logger.trace("01ju66", correlationId);
505
763
  return parsedIdToken;
506
764
  }
507
765
  /**
508
766
  * set IdToken credential to the platform cache
509
767
  * @param idToken
510
768
  */
511
- async setIdTokenCredential(idToken, correlationId) {
512
- this.logger.trace("BrowserCacheManager.setIdTokenCredential called", correlationId);
769
+ async setIdTokenCredential(idToken, correlationId, kmsi) {
770
+ this.logger.trace("13hjll", correlationId);
513
771
  const idTokenKey = this.generateCredentialKey(idToken);
514
772
  const timestamp = Date.now().toString();
515
773
  idToken.lastUpdatedAt = timestamp;
516
- await this.setUserData(idTokenKey, JSON.stringify(idToken), correlationId, timestamp);
774
+ await this.setUserData(idTokenKey, JSON.stringify(idToken), correlationId, timestamp, kmsi);
517
775
  const tokenKeys = this.getTokenKeys();
518
776
  if (tokenKeys.idToken.indexOf(idTokenKey) === -1) {
519
- this.logger.info("BrowserCacheManager: addTokenKey - idToken added to map", correlationId);
777
+ this.logger.info("07jy92", correlationId);
520
778
  tokenKeys.idToken.push(idTokenKey);
521
779
  this.setTokenKeys(tokenKeys, correlationId);
522
780
  }
@@ -528,35 +786,35 @@ class BrowserCacheManager extends CacheManager {
528
786
  getAccessTokenCredential(accessTokenKey, correlationId) {
529
787
  const value = this.browserStorage.getUserData(accessTokenKey);
530
788
  if (!value) {
531
- this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit", correlationId);
789
+ this.logger.trace("0bqvx8", correlationId);
532
790
  this.removeAccessTokenKeys([accessTokenKey], correlationId);
533
791
  return null;
534
792
  }
535
793
  const parsedAccessToken = this.validateAndParseJson(value);
536
794
  if (!parsedAccessToken ||
537
795
  !CacheHelpers.isAccessTokenEntity(parsedAccessToken)) {
538
- this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit", correlationId);
796
+ this.logger.trace("0bqvx8", correlationId);
539
797
  return null;
540
798
  }
541
- this.logger.trace("BrowserCacheManager.getAccessTokenCredential: cache hit", correlationId);
799
+ this.logger.trace("1o81rl", correlationId);
542
800
  return parsedAccessToken;
543
801
  }
544
802
  /**
545
803
  * set accessToken credential to the platform cache
546
804
  * @param accessToken
547
805
  */
548
- async setAccessTokenCredential(accessToken, correlationId) {
549
- this.logger.trace("BrowserCacheManager.setAccessTokenCredential called", correlationId);
806
+ async setAccessTokenCredential(accessToken, correlationId, kmsi) {
807
+ this.logger.trace("1pondb", correlationId);
550
808
  const accessTokenKey = this.generateCredentialKey(accessToken);
551
809
  const timestamp = Date.now().toString();
552
810
  accessToken.lastUpdatedAt = timestamp;
553
- await this.setUserData(accessTokenKey, JSON.stringify(accessToken), correlationId, timestamp);
811
+ await this.setUserData(accessTokenKey, JSON.stringify(accessToken), correlationId, timestamp, kmsi);
554
812
  const tokenKeys = this.getTokenKeys();
555
813
  const index = tokenKeys.accessToken.indexOf(accessTokenKey);
556
814
  if (index !== -1) {
557
815
  tokenKeys.accessToken.splice(index, 1); // Remove existing key before pushing to the end
558
816
  }
559
- this.logger.trace(`access token '${index === -1 ? "added to" : "updated in"}' map`, correlationId);
817
+ this.logger.trace("1onhey", correlationId);
560
818
  tokenKeys.accessToken.push(accessTokenKey);
561
819
  this.setTokenKeys(tokenKeys, correlationId);
562
820
  }
@@ -567,32 +825,32 @@ class BrowserCacheManager extends CacheManager {
567
825
  getRefreshTokenCredential(refreshTokenKey, correlationId) {
568
826
  const value = this.browserStorage.getUserData(refreshTokenKey);
569
827
  if (!value) {
570
- this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit", correlationId);
828
+ this.logger.trace("0jlizt", correlationId);
571
829
  this.removeRefreshToken(refreshTokenKey, correlationId);
572
830
  return null;
573
831
  }
574
832
  const parsedRefreshToken = this.validateAndParseJson(value);
575
833
  if (!parsedRefreshToken ||
576
834
  !CacheHelpers.isRefreshTokenEntity(parsedRefreshToken)) {
577
- this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit", correlationId);
835
+ this.logger.trace("0jlizt", correlationId);
578
836
  return null;
579
837
  }
580
- this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: cache hit", correlationId);
838
+ this.logger.trace("0nokxi", correlationId);
581
839
  return parsedRefreshToken;
582
840
  }
583
841
  /**
584
842
  * set refreshToken credential to the platform cache
585
843
  * @param refreshToken
586
844
  */
587
- async setRefreshTokenCredential(refreshToken, correlationId) {
588
- this.logger.trace("BrowserCacheManager.setRefreshTokenCredential called", correlationId);
845
+ async setRefreshTokenCredential(refreshToken, correlationId, kmsi) {
846
+ this.logger.trace("0tcg8d", correlationId);
589
847
  const refreshTokenKey = this.generateCredentialKey(refreshToken);
590
848
  const timestamp = Date.now().toString();
591
849
  refreshToken.lastUpdatedAt = timestamp;
592
- await this.setUserData(refreshTokenKey, JSON.stringify(refreshToken), correlationId, timestamp);
850
+ await this.setUserData(refreshTokenKey, JSON.stringify(refreshToken), correlationId, timestamp, kmsi);
593
851
  const tokenKeys = this.getTokenKeys();
594
852
  if (tokenKeys.refreshToken.indexOf(refreshTokenKey) === -1) {
595
- this.logger.info("BrowserCacheManager: addTokenKey - refreshToken added to map", correlationId);
853
+ this.logger.info("0eckjs", correlationId);
596
854
  tokenKeys.refreshToken.push(refreshTokenKey);
597
855
  this.setTokenKeys(tokenKeys, correlationId);
598
856
  }
@@ -605,16 +863,16 @@ class BrowserCacheManager extends CacheManager {
605
863
  getAppMetadata(appMetadataKey, correlationId) {
606
864
  const value = this.browserStorage.getItem(appMetadataKey);
607
865
  if (!value) {
608
- this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit", correlationId);
866
+ this.logger.trace("1q101h", correlationId);
609
867
  return null;
610
868
  }
611
869
  const parsedMetadata = this.validateAndParseJson(value);
612
870
  if (!parsedMetadata ||
613
871
  !CacheHelpers.isAppMetadataEntity(appMetadataKey, parsedMetadata)) {
614
- this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit", correlationId);
872
+ this.logger.trace("1q101h", correlationId);
615
873
  return null;
616
874
  }
617
- this.logger.trace("BrowserCacheManager.getAppMetadata: cache hit", correlationId);
875
+ this.logger.trace("19pvg2", correlationId);
618
876
  return parsedMetadata;
619
877
  }
620
878
  /**
@@ -623,7 +881,7 @@ class BrowserCacheManager extends CacheManager {
623
881
  * @param correlationId
624
882
  */
625
883
  setAppMetadata(appMetadata, correlationId) {
626
- this.logger.trace("BrowserCacheManager.setAppMetadata called", correlationId);
884
+ this.logger.trace("0cyma6", correlationId);
627
885
  const appMetadataKey = CacheHelpers.generateAppMetadataKey(appMetadata);
628
886
  this.setItem(appMetadataKey, JSON.stringify(appMetadata), correlationId);
629
887
  }
@@ -635,16 +893,16 @@ class BrowserCacheManager extends CacheManager {
635
893
  getServerTelemetry(serverTelemetryKey, correlationId) {
636
894
  const value = this.browserStorage.getItem(serverTelemetryKey);
637
895
  if (!value) {
638
- this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit", correlationId);
896
+ this.logger.trace("0jk19c", correlationId);
639
897
  return null;
640
898
  }
641
899
  const parsedEntity = this.validateAndParseJson(value);
642
900
  if (!parsedEntity ||
643
901
  !CacheHelpers.isServerTelemetryEntity(serverTelemetryKey, parsedEntity)) {
644
- this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit", correlationId);
902
+ this.logger.trace("0jk19c", correlationId);
645
903
  return null;
646
904
  }
647
- this.logger.trace("BrowserCacheManager.getServerTelemetry: cache hit", correlationId);
905
+ this.logger.trace("12jguk", correlationId);
648
906
  return parsedEntity;
649
907
  }
650
908
  /**
@@ -653,7 +911,7 @@ class BrowserCacheManager extends CacheManager {
653
911
  * @param serverTelemetry
654
912
  */
655
913
  setServerTelemetry(serverTelemetryKey, serverTelemetry, correlationId) {
656
- this.logger.trace("BrowserCacheManager.setServerTelemetry called", correlationId);
914
+ this.logger.trace("1poh61", correlationId);
657
915
  this.setItem(serverTelemetryKey, JSON.stringify(serverTelemetry), correlationId);
658
916
  }
659
917
  /**
@@ -662,13 +920,13 @@ class BrowserCacheManager extends CacheManager {
662
920
  getAuthorityMetadata(key, correlationId) {
663
921
  const value = this.internalStorage.getItem(key);
664
922
  if (!value) {
665
- this.logger.trace("BrowserCacheManager.getAuthorityMetadata: called, no cache hit", correlationId);
923
+ this.logger.trace("1r39oe", correlationId);
666
924
  return null;
667
925
  }
668
926
  const parsedMetadata = this.validateAndParseJson(value);
669
927
  if (parsedMetadata &&
670
928
  CacheHelpers.isAuthorityMetadataEntity(key, parsedMetadata)) {
671
- this.logger.trace("BrowserCacheManager.getAuthorityMetadata: cache hit", correlationId);
929
+ this.logger.trace("1ohvk3", correlationId);
672
930
  return parsedMetadata;
673
931
  }
674
932
  return null;
@@ -706,7 +964,7 @@ class BrowserCacheManager extends CacheManager {
706
964
  * @param correlationId
707
965
  */
708
966
  setAuthorityMetadata(key, entity, correlationId) {
709
- this.logger.trace("BrowserCacheManager.setAuthorityMetadata called", correlationId);
967
+ this.logger.trace("07w8n2", correlationId);
710
968
  this.internalStorage.setItem(key, JSON.stringify(entity));
711
969
  }
712
970
  /**
@@ -716,19 +974,19 @@ class BrowserCacheManager extends CacheManager {
716
974
  const activeAccountKeyFilters = this.generateCacheKey(Constants.PersistentCacheKeys.ACTIVE_ACCOUNT_FILTERS);
717
975
  const activeAccountValueFilters = this.browserStorage.getItem(activeAccountKeyFilters);
718
976
  if (!activeAccountValueFilters) {
719
- this.logger.trace("BrowserCacheManager.getActiveAccount: No active account filters found", correlationId);
977
+ this.logger.trace("08gw0e", correlationId);
720
978
  return null;
721
979
  }
722
980
  const activeAccountValueObj = this.validateAndParseJson(activeAccountValueFilters);
723
981
  if (activeAccountValueObj) {
724
- this.logger.trace("BrowserCacheManager.getActiveAccount: Active account filters schema found", correlationId);
982
+ this.logger.trace("1t3ch7", correlationId);
725
983
  return this.getAccountInfoFilteredBy({
726
984
  homeAccountId: activeAccountValueObj.homeAccountId,
727
985
  localAccountId: activeAccountValueObj.localAccountId,
728
986
  tenantId: activeAccountValueObj.tenantId,
729
987
  }, correlationId);
730
988
  }
731
- this.logger.trace("BrowserCacheManager.getActiveAccount: No active account found", correlationId);
989
+ this.logger.trace("0me1up", correlationId);
732
990
  return null;
733
991
  }
734
992
  /**
@@ -738,7 +996,7 @@ class BrowserCacheManager extends CacheManager {
738
996
  setActiveAccount(account, correlationId) {
739
997
  const activeAccountKey = this.generateCacheKey(Constants.PersistentCacheKeys.ACTIVE_ACCOUNT_FILTERS);
740
998
  if (account) {
741
- this.logger.verbose("setActiveAccount: Active account set", correlationId);
999
+ this.logger.verbose("0rsj80", correlationId);
742
1000
  const activeAccountValue = {
743
1001
  homeAccountId: account.homeAccountId,
744
1002
  localAccountId: account.localAccountId,
@@ -747,7 +1005,7 @@ class BrowserCacheManager extends CacheManager {
747
1005
  this.setItem(activeAccountKey, JSON.stringify(activeAccountValue), correlationId);
748
1006
  }
749
1007
  else {
750
- this.logger.verbose("setActiveAccount: No account passed, active account not set", correlationId);
1008
+ this.logger.verbose("1bp5z5", correlationId);
751
1009
  this.browserStorage.removeItem(activeAccountKey);
752
1010
  }
753
1011
  this.eventHandler.emitEvent(EventType.ACTIVE_ACCOUNT_CHANGED);
@@ -760,16 +1018,16 @@ class BrowserCacheManager extends CacheManager {
760
1018
  getThrottlingCache(throttlingCacheKey, correlationId) {
761
1019
  const value = this.browserStorage.getItem(throttlingCacheKey);
762
1020
  if (!value) {
763
- this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit", correlationId);
1021
+ this.logger.trace("1h4wa6", correlationId);
764
1022
  return null;
765
1023
  }
766
1024
  const parsedThrottlingCache = this.validateAndParseJson(value);
767
1025
  if (!parsedThrottlingCache ||
768
1026
  !CacheHelpers.isThrottlingEntity(throttlingCacheKey, parsedThrottlingCache)) {
769
- this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit", correlationId);
1027
+ this.logger.trace("1h4wa6", correlationId);
770
1028
  return null;
771
1029
  }
772
- this.logger.trace("BrowserCacheManager.getThrottlingCache: cache hit", correlationId);
1030
+ this.logger.trace("0of6n8", correlationId);
773
1031
  return parsedThrottlingCache;
774
1032
  }
775
1033
  /**
@@ -778,7 +1036,7 @@ class BrowserCacheManager extends CacheManager {
778
1036
  * @param throttlingCache
779
1037
  */
780
1038
  setThrottlingCache(throttlingCacheKey, throttlingCache, correlationId) {
781
- this.logger.trace("BrowserCacheManager.setThrottlingCache called", correlationId);
1039
+ this.logger.trace("0wfgh6", correlationId);
782
1040
  this.setItem(throttlingCacheKey, JSON.stringify(throttlingCache), correlationId);
783
1041
  }
784
1042
  /**
@@ -796,11 +1054,11 @@ class BrowserCacheManager extends CacheManager {
796
1054
  BrowserCacheLocation.LocalStorage) {
797
1055
  const item = this.browserStorage.getItem(key);
798
1056
  if (item) {
799
- this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item found in local storage", correlationId);
1057
+ this.logger.trace("1yt61y", correlationId);
800
1058
  return item;
801
1059
  }
802
1060
  }
803
- this.logger.trace("BrowserCacheManager.getTemporaryCache: No cache item found in local storage", correlationId);
1061
+ this.logger.trace("1qhy81", correlationId);
804
1062
  return null;
805
1063
  }
806
1064
  return value;
@@ -918,7 +1176,7 @@ class BrowserCacheManager extends CacheManager {
918
1176
  * @param correlationId
919
1177
  */
920
1178
  resetRequestCache(correlationId) {
921
- this.logger.trace("BrowserCacheManager.resetRequestCache called", correlationId);
1179
+ this.logger.trace("0h0ynu", correlationId);
922
1180
  this.removeTemporaryItem(this.generateCacheKey(TemporaryCacheKeys.REQUEST_PARAMS));
923
1181
  this.removeTemporaryItem(this.generateCacheKey(TemporaryCacheKeys.VERIFIER));
924
1182
  this.removeTemporaryItem(this.generateCacheKey(TemporaryCacheKeys.ORIGIN_URI));
@@ -927,7 +1185,7 @@ class BrowserCacheManager extends CacheManager {
927
1185
  this.setInteractionInProgress(false, undefined);
928
1186
  }
929
1187
  cacheAuthorizeRequest(authCodeRequest, correlationId, codeVerifier) {
930
- this.logger.trace("BrowserCacheManager.cacheAuthorizeRequest called", correlationId);
1188
+ this.logger.trace("1tzef5", correlationId);
931
1189
  const encodedValue = base64Encode(JSON.stringify(authCodeRequest));
932
1190
  this.setTemporaryCache(TemporaryCacheKeys.REQUEST_PARAMS, encodedValue, true);
933
1191
  if (codeVerifier) {
@@ -940,7 +1198,7 @@ class BrowserCacheManager extends CacheManager {
940
1198
  * @param correlationId
941
1199
  */
942
1200
  getCachedRequest(correlationId) {
943
- this.logger.trace("BrowserCacheManager.getCachedRequest called", correlationId);
1201
+ this.logger.trace("0uen20", correlationId);
944
1202
  // Get token request from cache and parse as TokenExchangeParameters.
945
1203
  const encodedTokenRequest = this.getTemporaryCache(TemporaryCacheKeys.REQUEST_PARAMS, correlationId, true);
946
1204
  if (!encodedTokenRequest) {
@@ -956,8 +1214,8 @@ class BrowserCacheManager extends CacheManager {
956
1214
  }
957
1215
  }
958
1216
  catch (e) {
959
- this.logger.errorPii(`Attempted to parse: '${encodedTokenRequest}'`, correlationId);
960
- this.logger.error(`Parsing cached token request threw with error: '${e}'`, correlationId);
1217
+ this.logger.errorPii("0ewsey", correlationId);
1218
+ this.logger.error("0tvdic", correlationId);
961
1219
  throw createBrowserAuthError(unableToParseTokenRequestCacheError);
962
1220
  }
963
1221
  return [parsedRequest, verifier];
@@ -967,15 +1225,15 @@ class BrowserCacheManager extends CacheManager {
967
1225
  * @param correlationId
968
1226
  */
969
1227
  getCachedNativeRequest() {
970
- this.logger.trace("BrowserCacheManager.getCachedNativeRequest called", "");
1228
+ this.logger.trace("1yxcdm", "");
971
1229
  const cachedRequest = this.getTemporaryCache(TemporaryCacheKeys.NATIVE_REQUEST, "", true);
972
1230
  if (!cachedRequest) {
973
- this.logger.trace("BrowserCacheManager.getCachedNativeRequest: No cached native request found", "");
1231
+ this.logger.trace("0mnxd4", "");
974
1232
  return null;
975
1233
  }
976
1234
  const parsedRequest = this.validateAndParseJson(cachedRequest);
977
1235
  if (!parsedRequest) {
978
- this.logger.error("BrowserCacheManager.getCachedNativeRequest: Unable to parse native request", "");
1236
+ this.logger.error("0rrkip", "");
979
1237
  return null;
980
1238
  }
981
1239
  return parsedRequest;
@@ -997,24 +1255,32 @@ class BrowserCacheManager extends CacheManager {
997
1255
  }
998
1256
  catch (e) {
999
1257
  // Remove interaction and other temp keys if interaction status can't be parsed
1000
- this.logger.error(`Cannot parse interaction status. Removing temporary cache items and clearing url hash. Retrying interaction should fix the error`, "");
1258
+ this.logger.error("0jjyys", "");
1001
1259
  this.removeTemporaryItem(key);
1002
1260
  this.resetRequestCache("");
1003
1261
  clearHash(window);
1004
1262
  return null;
1005
1263
  }
1006
1264
  }
1007
- setInteractionInProgress(inProgress, type = INTERACTION_TYPE.SIGNIN) {
1265
+ setInteractionInProgress(inProgress, type = INTERACTION_TYPE.SIGNIN, allowOverride = false, correlationId = "") {
1008
1266
  // Ensure we don't overwrite interaction in progress for a different clientId
1009
1267
  const key = `${PREFIX}.${TemporaryCacheKeys.INTERACTION_STATUS_KEY}`;
1010
1268
  if (inProgress) {
1011
- if (this.getInteractionInProgress()) {
1012
- throw createBrowserAuthError(interactionInProgress);
1013
- }
1014
- else {
1015
- // No interaction is in progress
1016
- this.setTemporaryCache(key, JSON.stringify({ clientId: this.clientId, type }), false);
1269
+ const existingInteraction = this.getInteractionInProgress();
1270
+ if (existingInteraction) {
1271
+ if (allowOverride) {
1272
+ this.logger.warning("1pmscr", correlationId);
1273
+ // Cancel any active bridge monitor from the previous interaction
1274
+ cancelPendingBridgeResponse(this.logger, correlationId);
1275
+ // Clear existing interaction to allow new one
1276
+ this.removeTemporaryItem(key);
1277
+ }
1278
+ else {
1279
+ throw createBrowserAuthError(interactionInProgress);
1280
+ }
1017
1281
  }
1282
+ // Set new interaction
1283
+ this.setTemporaryCache(key, JSON.stringify({ clientId: this.clientId, type }), false);
1018
1284
  }
1019
1285
  else if (!inProgress &&
1020
1286
  this.getInteractionInProgress()?.clientId === this.clientId) {
@@ -1048,7 +1314,7 @@ class BrowserCacheManager extends CacheManager {
1048
1314
  idToken: idTokenEntity,
1049
1315
  accessToken: accessTokenEntity,
1050
1316
  };
1051
- return this.saveCacheRecord(cacheRecord, result.correlationId);
1317
+ return this.saveCacheRecord(cacheRecord, result.correlationId, AuthToken.isKmsi(AuthToken.extractTokenClaims(result.idToken, base64Decode)));
1052
1318
  }
1053
1319
  /**
1054
1320
  * saves a cache record
@@ -1056,9 +1322,9 @@ class BrowserCacheManager extends CacheManager {
1056
1322
  * @param storeInCache {?StoreInCache}
1057
1323
  * @param correlationId {?string} correlation id
1058
1324
  */
1059
- async saveCacheRecord(cacheRecord, correlationId, storeInCache) {
1325
+ async saveCacheRecord(cacheRecord, correlationId, kmsi, storeInCache) {
1060
1326
  try {
1061
- await super.saveCacheRecord(cacheRecord, correlationId, storeInCache);
1327
+ await super.saveCacheRecord(cacheRecord, correlationId, kmsi, storeInCache);
1062
1328
  }
1063
1329
  catch (e) {
1064
1330
  if (e instanceof CacheError &&