@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
@@ -35,6 +35,9 @@ import {
35
35
  TimeUtils,
36
36
  TokenKeys,
37
37
  CredentialEntity,
38
+ AuthToken,
39
+ getTenantIdFromIdTokenClaims,
40
+ buildTenantProfile,
38
41
  } from "@azure/msal-common/browser";
39
42
  import { CacheOptions } from "../config/Configuration.js";
40
43
  import {
@@ -63,12 +66,15 @@ import { base64Encode } from "../encode/Base64Encode.js";
63
66
  import { CookieStorage } from "./CookieStorage.js";
64
67
  import { getAccountKeys, getTokenKeys } from "./CacheHelpers.js";
65
68
  import { EventType } from "../event/EventType.js";
69
+ import * as BrowserUtils from "../utils/BrowserUtils.js";
66
70
  import { EventHandler } from "../event/EventHandler.js";
67
71
  import { clearHash } from "../utils/BrowserUtils.js";
68
72
  import { version } from "../packageMetadata.js";
69
73
  import { removeElementFromArray } from "../utils/Helpers.js";
70
74
  import { EncryptedData, isEncrypted } from "./EncryptedData.js";
71
75
 
76
+ type KmsiMap = { [homeAccountId: string]: boolean };
77
+
72
78
  /**
73
79
  * This class implements the cache storage interface for MSAL through browser local or session storage.
74
80
  */
@@ -141,200 +147,637 @@ export class BrowserCacheManager extends CacheManager {
141
147
  * Migrates any existing cache data from previous versions of MSAL.js into the current cache structure.
142
148
  */
143
149
  async migrateExistingCache(correlationId: string): Promise<void> {
144
- const accountKeys0 = getAccountKeys(this.browserStorage, 0);
145
- const tokenKeys0 = getTokenKeys(this.clientId, this.browserStorage, 0);
150
+ let accountKeys = getAccountKeys(this.browserStorage);
151
+ let tokenKeys = getTokenKeys(this.clientId, this.browserStorage);
146
152
  this.performanceClient.addFields(
147
153
  {
148
- oldAccountCount: accountKeys0.length,
149
- oldAccessCount: tokenKeys0.accessToken.length,
150
- oldIdCount: tokenKeys0.idToken.length,
151
- oldRefreshCount: tokenKeys0.refreshToken.length,
154
+ preMigrateAcntCount: accountKeys.length,
155
+ preMigrateATCount: tokenKeys.accessToken.length,
156
+ preMigrateITCount: tokenKeys.idToken.length,
157
+ preMigrateRTCount: tokenKeys.refreshToken.length,
152
158
  },
153
159
  correlationId
154
160
  );
155
161
 
156
- const accountKeys1 = getAccountKeys(this.browserStorage, 1);
157
- const tokenKeys1 = getTokenKeys(this.clientId, this.browserStorage, 1);
162
+ for (let i = 0; i < CacheKeys.ACCOUNT_SCHEMA_VERSION; i++) {
163
+ const credentialSchema = i; // For now account and credential schemas are the same, but may diverge in future
164
+ await this.removeStaleAccounts(i, credentialSchema, correlationId);
165
+ }
166
+ // Must migrate idTokens first to ensure we have KMSI info for the rest
167
+ for (let i = 0; i < CacheKeys.CREDENTIAL_SCHEMA_VERSION; i++) {
168
+ const accountSchema = i; // For now account and credential schemas are the same, but may diverge in future
169
+ await this.migrateIdTokens(i, accountSchema, correlationId);
170
+ }
171
+ const kmsiMap = this.getKMSIValues();
172
+ for (let i = 0; i < CacheKeys.CREDENTIAL_SCHEMA_VERSION; i++) {
173
+ await this.migrateAccessTokens(i, kmsiMap, correlationId);
174
+ await this.migrateRefreshTokens(i, kmsiMap, correlationId);
175
+ }
176
+
177
+ accountKeys = getAccountKeys(this.browserStorage);
178
+ tokenKeys = getTokenKeys(this.clientId, this.browserStorage);
158
179
  this.performanceClient.addFields(
159
180
  {
160
- currAccountCount: accountKeys1.length,
161
- currAccessCount: tokenKeys1.accessToken.length,
162
- currIdCount: tokenKeys1.idToken.length,
163
- currRefreshCount: tokenKeys1.refreshToken.length,
181
+ postMigrateAcntCount: accountKeys.length,
182
+ postMigrateATCount: tokenKeys.accessToken.length,
183
+ postMigrateITCount: tokenKeys.idToken.length,
184
+ postMigrateRTCount: tokenKeys.refreshToken.length,
164
185
  },
165
186
  correlationId
166
187
  );
188
+ }
167
189
 
168
- await Promise.all([
169
- this.updateV0ToCurrent(
170
- CacheKeys.ACCOUNT_SCHEMA_VERSION,
171
- accountKeys0,
172
- accountKeys1,
173
- correlationId
174
- ),
175
- this.updateV0ToCurrent(
176
- CacheKeys.CREDENTIAL_SCHEMA_VERSION,
177
- tokenKeys0.idToken,
178
- tokenKeys1.idToken,
179
- correlationId
180
- ),
181
- this.updateV0ToCurrent(
182
- CacheKeys.CREDENTIAL_SCHEMA_VERSION,
183
- tokenKeys0.accessToken,
184
- tokenKeys1.accessToken,
185
- correlationId
186
- ),
187
- this.updateV0ToCurrent(
188
- CacheKeys.CREDENTIAL_SCHEMA_VERSION,
189
- tokenKeys0.refreshToken,
190
- tokenKeys1.refreshToken,
190
+ /**
191
+ * Parses entry, adds lastUpdatedAt if it doesn't exist, removes entry if expired or invalid
192
+ * @param key
193
+ * @param correlationId
194
+ * @returns
195
+ */
196
+ async updateOldEntry(
197
+ key: string,
198
+ correlationId: string
199
+ ): Promise<CredentialEntity | null> {
200
+ const rawValue = this.browserStorage.getItem(key);
201
+ const parsedValue = this.validateAndParseJson(rawValue || "") as
202
+ | CredentialEntity
203
+ | EncryptedData
204
+ | null;
205
+
206
+ if (!parsedValue) {
207
+ this.browserStorage.removeItem(key);
208
+ return null;
209
+ }
210
+
211
+ if (!parsedValue.lastUpdatedAt) {
212
+ // Add lastUpdatedAt to the existing v0 entry if it doesnt exist so we know when it's safe to remove it
213
+ parsedValue.lastUpdatedAt = Date.now().toString();
214
+ this.setItem(key, JSON.stringify(parsedValue), correlationId);
215
+ } else if (
216
+ TimeUtils.isCacheExpired(
217
+ parsedValue.lastUpdatedAt,
218
+ this.cacheConfig.cacheRetentionDays
219
+ )
220
+ ) {
221
+ this.browserStorage.removeItem(key);
222
+ this.performanceClient.incrementFields(
223
+ { expiredCacheRemovedCount: 1 },
191
224
  correlationId
192
- ),
193
- ]);
225
+ );
226
+ return null;
227
+ }
194
228
 
195
- if (accountKeys0.length > 0) {
196
- this.browserStorage.setItem(
197
- CacheKeys.getAccountKeysCacheKey(0),
198
- JSON.stringify(accountKeys0)
229
+ const decryptedData = isEncrypted(parsedValue)
230
+ ? await this.browserStorage.decryptData(
231
+ key,
232
+ parsedValue,
233
+ correlationId
234
+ )
235
+ : parsedValue;
236
+ if (!decryptedData || !CacheHelpers.isCredentialEntity(decryptedData)) {
237
+ this.performanceClient.incrementFields(
238
+ { invalidCacheCount: 1 },
239
+ correlationId
199
240
  );
200
- } else {
201
- this.browserStorage.removeItem(CacheKeys.getAccountKeysCacheKey(0));
241
+ return null;
202
242
  }
203
243
 
204
- if (accountKeys1.length > 0) {
205
- this.browserStorage.setItem(
206
- CacheKeys.getAccountKeysCacheKey(1),
207
- JSON.stringify(accountKeys1)
244
+ if (
245
+ (CacheHelpers.isAccessTokenEntity(decryptedData) ||
246
+ CacheHelpers.isRefreshTokenEntity(decryptedData)) &&
247
+ decryptedData.expiresOn &&
248
+ TimeUtils.isTokenExpired(
249
+ decryptedData.expiresOn,
250
+ Constants.DEFAULT_TOKEN_RENEWAL_OFFSET_SEC
251
+ )
252
+ ) {
253
+ this.browserStorage.removeItem(key);
254
+ this.performanceClient.incrementFields(
255
+ { expiredCacheRemovedCount: 1 },
256
+ correlationId
208
257
  );
209
- } else {
210
- this.browserStorage.removeItem(CacheKeys.getAccountKeysCacheKey(1));
258
+ return null;
211
259
  }
212
260
 
213
- this.setTokenKeys(tokenKeys0, correlationId, 0);
214
- this.setTokenKeys(tokenKeys1, correlationId, 1);
261
+ return decryptedData;
215
262
  }
216
263
 
217
- async updateV0ToCurrent(
218
- currentSchema: number,
219
- v0Keys: Array<string>,
220
- v1Keys: Array<string>,
264
+ /**
265
+ * Remove accounts from the cache for older schema versions if they have not been updated in the last cacheRetentionDays
266
+ * @param accountSchema
267
+ * @param credentialSchema
268
+ * @param correlationId
269
+ * @returns
270
+ */
271
+ async removeStaleAccounts(
272
+ accountSchema: number,
273
+ credentialSchema: number,
221
274
  correlationId: string
222
- ): Promise<void[]> {
223
- const upgradePromises: Array<Promise<void>> = [];
224
-
225
- for (const v0Key of [...v0Keys]) {
226
- const rawV0Value = this.browserStorage.getItem(v0Key);
227
- const parsedV0Value = this.validateAndParseJson(
228
- rawV0Value || ""
229
- ) as CredentialEntity | AccountEntity | EncryptedData | null;
275
+ ): Promise<void> {
276
+ const accountKeysToCheck = getAccountKeys(
277
+ this.browserStorage,
278
+ accountSchema
279
+ );
280
+ if (accountKeysToCheck.length === 0) {
281
+ return;
282
+ }
230
283
 
231
- if (!parsedV0Value) {
232
- removeElementFromArray(v0Keys, v0Key);
284
+ for (const accountKey of [...accountKeysToCheck]) {
285
+ this.performanceClient.incrementFields(
286
+ { oldAcntCount: 1 },
287
+ correlationId
288
+ );
289
+ const rawValue = this.browserStorage.getItem(accountKey);
290
+ const parsedValue = this.validateAndParseJson(rawValue || "") as
291
+ | AccountEntity
292
+ | EncryptedData
293
+ | null;
294
+
295
+ if (!parsedValue) {
296
+ removeElementFromArray(accountKeysToCheck, accountKey);
233
297
  continue;
234
298
  }
235
299
 
236
- if (!parsedV0Value.lastUpdatedAt) {
237
- // Add lastUpdatedAt to the existing v0 entry if it doesnt exist so we know when it's safe to remove it
238
- parsedV0Value.lastUpdatedAt = Date.now().toString();
300
+ if (!parsedValue.lastUpdatedAt) {
301
+ // Add lastUpdatedAt to the existing entry if it doesnt exist so we know when it's safe to remove it
302
+ parsedValue.lastUpdatedAt = Date.now().toString();
239
303
  this.setItem(
240
- v0Key,
241
- JSON.stringify(parsedV0Value),
304
+ accountKey,
305
+ JSON.stringify(parsedValue),
242
306
  correlationId
243
307
  );
308
+ continue;
309
+ } else if (
310
+ TimeUtils.isCacheExpired(
311
+ parsedValue.lastUpdatedAt,
312
+ this.cacheConfig.cacheRetentionDays
313
+ )
314
+ ) {
315
+ // Cache expired remove account and associated tokens
316
+ await this.removeAccountOldSchema(
317
+ accountKey,
318
+ parsedValue,
319
+ credentialSchema,
320
+ correlationId
321
+ );
322
+ removeElementFromArray(accountKeysToCheck, accountKey);
244
323
  }
324
+ }
245
325
 
246
- const decryptedData = isEncrypted(parsedV0Value)
247
- ? await this.browserStorage.decryptData(
248
- v0Key,
249
- parsedV0Value,
250
- correlationId
251
- )
252
- : parsedV0Value;
253
- let expirationTime;
254
- if (decryptedData) {
255
- if (CacheHelpers.isAccessTokenEntity(decryptedData)) {
256
- expirationTime = decryptedData.expiresOn;
257
- } else if (CacheHelpers.isRefreshTokenEntity(decryptedData)) {
258
- expirationTime = decryptedData.expiresOn;
326
+ this.setAccountKeys(accountKeysToCheck, correlationId, accountSchema);
327
+ }
328
+
329
+ /**
330
+ * Remove the given account and all associated tokens from the cache
331
+ * @param accountKey
332
+ * @param rawObject
333
+ * @param credentialSchema
334
+ * @param correlationId
335
+ */
336
+ async removeAccountOldSchema(
337
+ accountKey: string,
338
+ rawObject: AccountEntity | EncryptedData,
339
+ credentialSchema: number,
340
+ correlationId: string
341
+ ): Promise<void> {
342
+ const decryptedData = isEncrypted(rawObject)
343
+ ? ((await this.browserStorage.decryptData(
344
+ accountKey,
345
+ rawObject,
346
+ correlationId
347
+ )) as AccountEntity | null)
348
+ : rawObject;
349
+
350
+ const homeAccountId = decryptedData?.homeAccountId;
351
+ if (homeAccountId) {
352
+ const tokenKeys = this.getTokenKeys(credentialSchema);
353
+ [...tokenKeys.idToken]
354
+ .filter((key) => key.includes(homeAccountId))
355
+ .forEach((key) => {
356
+ this.browserStorage.removeItem(key);
357
+ removeElementFromArray(tokenKeys.idToken, key);
358
+ });
359
+ [...tokenKeys.accessToken]
360
+ .filter((key) => key.includes(homeAccountId))
361
+ .forEach((key) => {
362
+ this.browserStorage.removeItem(key);
363
+ removeElementFromArray(tokenKeys.accessToken, key);
364
+ });
365
+ [...tokenKeys.refreshToken]
366
+ .filter((key) => key.includes(homeAccountId))
367
+ .forEach((key) => {
368
+ this.browserStorage.removeItem(key);
369
+ removeElementFromArray(tokenKeys.refreshToken, key);
370
+ });
371
+ this.setTokenKeys(tokenKeys, correlationId, credentialSchema);
372
+ }
373
+
374
+ this.performanceClient.incrementFields(
375
+ { expiredAcntRemovedCount: 1 },
376
+ correlationId
377
+ );
378
+
379
+ this.browserStorage.removeItem(accountKey);
380
+ }
381
+
382
+ /**
383
+ * Gets key value pair mapping homeAccountId to KMSI value
384
+ * @returns
385
+ */
386
+ getKMSIValues(): KmsiMap {
387
+ const kmsiMap: KmsiMap = {};
388
+ const tokenKeys = this.getTokenKeys().idToken;
389
+ for (const key of tokenKeys) {
390
+ const rawValue = this.browserStorage.getUserData(key);
391
+ if (rawValue) {
392
+ const idToken = JSON.parse(rawValue) as IdTokenEntity;
393
+ const claims = AuthToken.extractTokenClaims(
394
+ idToken.secret,
395
+ base64Decode
396
+ );
397
+ if (claims) {
398
+ kmsiMap[idToken.homeAccountId] = AuthToken.isKmsi(claims);
259
399
  }
260
400
  }
261
- if (
262
- !decryptedData ||
263
- TimeUtils.isCacheExpired(
264
- parsedV0Value.lastUpdatedAt,
265
- this.cacheConfig.cacheRetentionDays
266
- ) ||
267
- (expirationTime &&
268
- TimeUtils.isTokenExpired(
269
- expirationTime,
270
- Constants.DEFAULT_TOKEN_RENEWAL_OFFSET_SEC
271
- ))
272
- ) {
273
- this.browserStorage.removeItem(v0Key);
274
- removeElementFromArray(v0Keys, v0Key);
401
+ }
402
+ return kmsiMap;
403
+ }
404
+
405
+ /**
406
+ * 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
407
+ * @param credentialSchema
408
+ * @param accountSchema
409
+ * @param correlationId
410
+ * @returns
411
+ */
412
+ async migrateIdTokens(
413
+ credentialSchema: number,
414
+ accountSchema: number,
415
+ correlationId: string
416
+ ): Promise<void> {
417
+ const credentialKeysToMigrate = getTokenKeys(
418
+ this.clientId,
419
+ this.browserStorage,
420
+ credentialSchema
421
+ );
422
+ if (credentialKeysToMigrate.idToken.length === 0) {
423
+ return;
424
+ }
425
+
426
+ const currentCredentialKeys = getTokenKeys(
427
+ this.clientId,
428
+ this.browserStorage,
429
+ CacheKeys.CREDENTIAL_SCHEMA_VERSION
430
+ );
431
+ const currentAccountKeys = getAccountKeys(this.browserStorage);
432
+ const previousAccountKeys = getAccountKeys(
433
+ this.browserStorage,
434
+ accountSchema
435
+ );
436
+
437
+ for (const idTokenKey of [...credentialKeysToMigrate.idToken]) {
438
+ this.performanceClient.incrementFields(
439
+ { oldITCount: 1 },
440
+ correlationId
441
+ );
442
+
443
+ const oldSchemaData = (await this.updateOldEntry(
444
+ idTokenKey,
445
+ correlationId
446
+ )) as IdTokenEntity | null;
447
+ if (!oldSchemaData) {
448
+ removeElementFromArray(
449
+ credentialKeysToMigrate.idToken,
450
+ idTokenKey
451
+ );
452
+ continue;
453
+ }
454
+
455
+ const currentAccountKey = currentAccountKeys.find((key) =>
456
+ key.includes(oldSchemaData.homeAccountId)
457
+ );
458
+ const previousAccountKey = previousAccountKeys.find((key) =>
459
+ key.includes(oldSchemaData.homeAccountId)
460
+ );
461
+
462
+ let account: AccountEntity | null = null;
463
+ if (currentAccountKey) {
464
+ account = this.getAccount(currentAccountKey, correlationId);
465
+ } else if (previousAccountKey) {
466
+ const rawValue =
467
+ this.browserStorage.getItem(previousAccountKey);
468
+ const parsedValue = this.validateAndParseJson(
469
+ rawValue || ""
470
+ ) as AccountEntity | EncryptedData | null;
471
+ account =
472
+ parsedValue && isEncrypted(parsedValue)
473
+ ? ((await this.browserStorage.decryptData(
474
+ previousAccountKey,
475
+ parsedValue,
476
+ correlationId
477
+ )) as AccountEntity | null)
478
+ : parsedValue;
479
+ }
480
+
481
+ if (!account) {
482
+ // Don't migrate idToken if we don't have an account for it
275
483
  this.performanceClient.incrementFields(
276
- { expiredCacheRemovedCount: 1 },
484
+ { skipITMigrateCount: 1 },
277
485
  correlationId
278
486
  );
279
487
  continue;
280
488
  }
281
489
 
490
+ const claims = AuthToken.extractTokenClaims(
491
+ oldSchemaData.secret,
492
+ base64Decode
493
+ );
494
+
495
+ const newIdTokenKey = this.generateCredentialKey(oldSchemaData);
496
+ const currentIdToken = this.getIdTokenCredential(
497
+ newIdTokenKey,
498
+ correlationId
499
+ );
500
+ const oldTokenHasSignInState =
501
+ Object.keys(claims).includes("signin_state");
502
+ const currentTokenHasSignInState =
503
+ currentIdToken &&
504
+ Object.keys(
505
+ AuthToken.extractTokenClaims(
506
+ currentIdToken.secret,
507
+ base64Decode
508
+ ) || {}
509
+ ).includes("signin_state");
510
+
511
+ /**
512
+ * Only migrate if:
513
+ * 1. Token doesn't yet exist in current schema
514
+ * 2. Old schema token has been updated more recently than the current one AND migrating it won't result in loss of KMSI state
515
+ */
282
516
  if (
283
- this.cacheConfig.cacheLocation !==
284
- BrowserCacheLocation.LocalStorage ||
285
- isEncrypted(parsedV0Value)
517
+ !currentIdToken ||
518
+ (oldSchemaData.lastUpdatedAt > currentIdToken.lastUpdatedAt &&
519
+ (oldTokenHasSignInState || !currentTokenHasSignInState))
286
520
  ) {
287
- const v1Key = `${CacheKeys.PREFIX}.${currentSchema}${CacheKeys.CACHE_KEY_SEPARATOR}${v0Key}`;
288
- const rawV1Entry = this.browserStorage.getItem(v1Key);
289
- if (!rawV1Entry) {
290
- upgradePromises.push(
291
- this.setUserData(
292
- v1Key,
293
- JSON.stringify(decryptedData),
294
- correlationId,
295
- parsedV0Value.lastUpdatedAt
296
- ).then(() => {
297
- v1Keys.push(v1Key);
298
- this.performanceClient.incrementFields(
299
- { upgradedCacheCount: 1 },
300
- correlationId
301
- );
302
- })
521
+ const tenantProfiles = account.tenantProfiles || [];
522
+ const tenantId =
523
+ getTenantIdFromIdTokenClaims(claims) || account.realm;
524
+ if (
525
+ tenantId &&
526
+ !tenantProfiles.find((tenantProfile) => {
527
+ return tenantProfile.tenantId === tenantId;
528
+ })
529
+ ) {
530
+ const newTenantProfile = buildTenantProfile(
531
+ account.homeAccountId,
532
+ account.localAccountId,
533
+ tenantId,
534
+ claims
535
+ );
536
+ tenantProfiles.push(newTenantProfile);
537
+ }
538
+ account.tenantProfiles = tenantProfiles;
539
+ const newAccountKey = this.generateAccountKey(
540
+ AccountEntityUtils.getAccountInfo(account)
541
+ );
542
+ const kmsi = AuthToken.isKmsi(claims);
543
+ await this.setUserData(
544
+ newAccountKey,
545
+ JSON.stringify(account),
546
+ correlationId,
547
+ account.lastUpdatedAt,
548
+ kmsi
549
+ );
550
+ if (!currentAccountKeys.includes(newAccountKey)) {
551
+ currentAccountKeys.push(newAccountKey);
552
+ }
553
+ await this.setUserData(
554
+ newIdTokenKey,
555
+ JSON.stringify(oldSchemaData),
556
+ correlationId,
557
+ oldSchemaData.lastUpdatedAt,
558
+ kmsi
559
+ );
560
+ this.performanceClient.incrementFields(
561
+ { migratedITCount: 1 },
562
+ correlationId
563
+ );
564
+ currentCredentialKeys.idToken.push(newIdTokenKey);
565
+ }
566
+ }
567
+
568
+ this.setTokenKeys(
569
+ credentialKeysToMigrate,
570
+ correlationId,
571
+ credentialSchema
572
+ );
573
+ this.setTokenKeys(currentCredentialKeys, correlationId);
574
+ this.setAccountKeys(currentAccountKeys, correlationId);
575
+ }
576
+
577
+ /**
578
+ * Migrates access tokens from old cache schema to current schema
579
+ * @param credentialSchema
580
+ * @param kmsiMap
581
+ * @param correlationId
582
+ * @returns
583
+ */
584
+ async migrateAccessTokens(
585
+ credentialSchema: number,
586
+ kmsiMap: KmsiMap,
587
+ correlationId: string
588
+ ): Promise<void> {
589
+ const credentialKeysToMigrate = getTokenKeys(
590
+ this.clientId,
591
+ this.browserStorage,
592
+ credentialSchema
593
+ );
594
+ if (credentialKeysToMigrate.accessToken.length === 0) {
595
+ return;
596
+ }
597
+
598
+ const currentCredentialKeys = getTokenKeys(
599
+ this.clientId,
600
+ this.browserStorage,
601
+ CacheKeys.CREDENTIAL_SCHEMA_VERSION
602
+ );
603
+
604
+ for (const accessTokenKey of [...credentialKeysToMigrate.accessToken]) {
605
+ this.performanceClient.incrementFields(
606
+ { oldATCount: 1 },
607
+ correlationId
608
+ );
609
+
610
+ const oldSchemaData = (await this.updateOldEntry(
611
+ accessTokenKey,
612
+ correlationId
613
+ )) as AccessTokenEntity | null;
614
+ if (!oldSchemaData) {
615
+ removeElementFromArray(
616
+ credentialKeysToMigrate.accessToken,
617
+ accessTokenKey
618
+ );
619
+ continue;
620
+ }
621
+
622
+ if (!(oldSchemaData.homeAccountId in kmsiMap)) {
623
+ // Don't migrate tokens if we don't have an idToken for them
624
+ this.performanceClient.incrementFields(
625
+ { skipATMigrateCount: 1 },
626
+ correlationId
627
+ );
628
+ continue;
629
+ }
630
+
631
+ const newKey = this.generateCredentialKey(oldSchemaData);
632
+ const kmsi = kmsiMap[oldSchemaData.homeAccountId];
633
+ if (!currentCredentialKeys.accessToken.includes(newKey)) {
634
+ await this.setUserData(
635
+ newKey,
636
+ JSON.stringify(oldSchemaData),
637
+ correlationId,
638
+ oldSchemaData.lastUpdatedAt,
639
+ kmsi
640
+ );
641
+ this.performanceClient.incrementFields(
642
+ { migratedATCount: 1 },
643
+ correlationId
644
+ );
645
+ currentCredentialKeys.accessToken.push(newKey);
646
+ } else {
647
+ const currentToken = this.getAccessTokenCredential(
648
+ newKey,
649
+ correlationId
650
+ );
651
+ if (
652
+ !currentToken ||
653
+ oldSchemaData.lastUpdatedAt > currentToken.lastUpdatedAt
654
+ ) {
655
+ // If the token already exists, only overwrite it if the old token has a more recent lastUpdatedAt
656
+ await this.setUserData(
657
+ newKey,
658
+ JSON.stringify(oldSchemaData),
659
+ correlationId,
660
+ oldSchemaData.lastUpdatedAt,
661
+ kmsi
662
+ );
663
+ this.performanceClient.incrementFields(
664
+ { migratedATCount: 1 },
665
+ correlationId
303
666
  );
304
- continue;
305
- } else {
306
- const parsedV1Entry = this.validateAndParseJson(
307
- rawV1Entry
308
- ) as CredentialEntity | AccountEntity | EncryptedData;
309
- // If the entry already exists but is older than the v0 entry, replace it
310
- if (
311
- Number(parsedV0Value.lastUpdatedAt) >
312
- Number(parsedV1Entry.lastUpdatedAt)
313
- ) {
314
- upgradePromises.push(
315
- this.setUserData(
316
- v1Key,
317
- JSON.stringify(decryptedData),
318
- correlationId,
319
- parsedV0Value.lastUpdatedAt
320
- ).then(() => {
321
- this.performanceClient.incrementFields(
322
- { updatedCacheFromV0Count: 1 },
323
- correlationId
324
- );
325
- })
326
- );
327
- continue;
328
- }
329
667
  }
330
668
  }
331
- /*
332
- * Note: If we reach here for unencrypted localStorage data, we continue without migrating
333
- * as we can't migrate unencrypted localStorage data right now since we can't guarantee KMSI=no
334
- */
335
669
  }
336
670
 
337
- return Promise.all(upgradePromises);
671
+ this.setTokenKeys(
672
+ credentialKeysToMigrate,
673
+ correlationId,
674
+ credentialSchema
675
+ );
676
+ this.setTokenKeys(currentCredentialKeys, correlationId);
677
+ }
678
+
679
+ /**
680
+ * Migrates refresh tokens from old cache schema to current schema
681
+ * @param credentialSchema
682
+ * @param kmsiMap
683
+ * @param correlationId
684
+ * @returns
685
+ */
686
+ async migrateRefreshTokens(
687
+ credentialSchema: number,
688
+ kmsiMap: KmsiMap,
689
+ correlationId: string
690
+ ): Promise<void> {
691
+ const credentialKeysToMigrate = getTokenKeys(
692
+ this.clientId,
693
+ this.browserStorage,
694
+ credentialSchema
695
+ );
696
+ if (credentialKeysToMigrate.refreshToken.length === 0) {
697
+ return;
698
+ }
699
+
700
+ const currentCredentialKeys = getTokenKeys(
701
+ this.clientId,
702
+ this.browserStorage,
703
+ CacheKeys.CREDENTIAL_SCHEMA_VERSION
704
+ );
705
+
706
+ for (const refreshTokenKey of [
707
+ ...credentialKeysToMigrate.refreshToken,
708
+ ]) {
709
+ this.performanceClient.incrementFields(
710
+ { oldRTCount: 1 },
711
+ correlationId
712
+ );
713
+
714
+ const oldSchemaData = (await this.updateOldEntry(
715
+ refreshTokenKey,
716
+ correlationId
717
+ )) as RefreshTokenEntity | null;
718
+ if (!oldSchemaData) {
719
+ removeElementFromArray(
720
+ credentialKeysToMigrate.refreshToken,
721
+ refreshTokenKey
722
+ );
723
+ continue;
724
+ }
725
+
726
+ if (!(oldSchemaData.homeAccountId in kmsiMap)) {
727
+ // Don't migrate tokens if we don't have an idToken for them
728
+ this.performanceClient.incrementFields(
729
+ { skipRTMigrateCount: 1 },
730
+ correlationId
731
+ );
732
+ continue;
733
+ }
734
+
735
+ const newKey = this.generateCredentialKey(oldSchemaData);
736
+ const kmsi = kmsiMap[oldSchemaData.homeAccountId];
737
+ if (!currentCredentialKeys.refreshToken.includes(newKey)) {
738
+ await this.setUserData(
739
+ newKey,
740
+ JSON.stringify(oldSchemaData),
741
+ correlationId,
742
+ oldSchemaData.lastUpdatedAt,
743
+ kmsi
744
+ );
745
+ this.performanceClient.incrementFields(
746
+ { migratedRTCount: 1 },
747
+ correlationId
748
+ );
749
+ currentCredentialKeys.refreshToken.push(newKey);
750
+ } else {
751
+ const currentToken = this.getRefreshTokenCredential(
752
+ newKey,
753
+ correlationId
754
+ );
755
+ if (
756
+ !currentToken ||
757
+ oldSchemaData.lastUpdatedAt > currentToken.lastUpdatedAt
758
+ ) {
759
+ // If the token already exists, only overwrite it if the old token has a more recent lastUpdatedAt
760
+ await this.setUserData(
761
+ newKey,
762
+ JSON.stringify(oldSchemaData),
763
+ correlationId,
764
+ oldSchemaData.lastUpdatedAt,
765
+ kmsi
766
+ );
767
+ this.performanceClient.incrementFields(
768
+ { migratedRTCount: 1 },
769
+ correlationId
770
+ );
771
+ }
772
+ }
773
+ }
774
+
775
+ this.setTokenKeys(
776
+ credentialKeysToMigrate,
777
+ correlationId,
778
+ credentialSchema
779
+ );
780
+ this.setTokenKeys(currentCredentialKeys, correlationId);
338
781
  }
339
782
 
340
783
  /**
@@ -390,30 +833,45 @@ export class BrowserCacheManager extends CacheManager {
390
833
  * @param value
391
834
  */
392
835
  setItem(key: string, value: string, correlationId: string): void {
393
- let tokenKeysV0Count = 0;
394
- let accessTokenKeys: Array<string> = [];
836
+ const tokenKeysCount = new Array(
837
+ CacheKeys.CREDENTIAL_SCHEMA_VERSION + 1
838
+ ).fill(0); // Array mapping schema version to number of token keys stored for that version
839
+ const accessTokenKeys: Array<string> = []; // Flat map of all access token keys stored, ordered by schema version
395
840
  const maxRetries = 20;
396
841
  for (let i = 0; i <= maxRetries; i++) {
842
+ // 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
397
843
  try {
398
844
  this.browserStorage.setItem(key, value);
399
845
  if (i > 0) {
400
- // Finally update the token keys array with the tokens removed
401
- if (i <= tokenKeysV0Count) {
402
- this.removeAccessTokenKeys(
403
- accessTokenKeys.slice(0, i),
404
- correlationId,
405
- 0
406
- );
407
- } else {
408
- this.removeAccessTokenKeys(
409
- accessTokenKeys.slice(0, tokenKeysV0Count),
410
- correlationId,
411
- 0
412
- );
413
- this.removeAccessTokenKeys(
414
- accessTokenKeys.slice(tokenKeysV0Count, i),
415
- correlationId
416
- );
846
+ // If any tokens were removed in order to store this item update the token keys array with the tokens removed
847
+ for (
848
+ let schemaVersion = 0;
849
+ schemaVersion <= CacheKeys.CREDENTIAL_SCHEMA_VERSION;
850
+ schemaVersion++
851
+ ) {
852
+ // Get the sum of all previous token counts to use as start index for this schema version
853
+ const startIndex = tokenKeysCount
854
+ .slice(0, schemaVersion)
855
+ .reduce((sum, count) => sum + count, 0);
856
+ if (startIndex >= i) {
857
+ // Done removing tokens
858
+ break;
859
+ }
860
+ const endIndex =
861
+ i > startIndex + tokenKeysCount[schemaVersion]
862
+ ? startIndex + tokenKeysCount[schemaVersion]
863
+ : i;
864
+
865
+ if (
866
+ i > startIndex &&
867
+ tokenKeysCount[schemaVersion] > 0
868
+ ) {
869
+ this.removeAccessTokenKeys(
870
+ accessTokenKeys.slice(startIndex, endIndex),
871
+ correlationId,
872
+ schemaVersion
873
+ );
874
+ }
417
875
  }
418
876
  }
419
877
  break; // If setItem succeeds, exit the loop
@@ -426,18 +884,27 @@ export class BrowserCacheManager extends CacheManager {
426
884
  ) {
427
885
  if (!accessTokenKeys.length) {
428
886
  // If we are currently trying to set the token keys, use the value we're trying to set
429
- const tokenKeys0 =
430
- key ===
431
- CacheKeys.getTokenKeysCacheKey(this.clientId, 0)
432
- ? (JSON.parse(value) as TokenKeys).accessToken
433
- : this.getTokenKeys(0).accessToken;
434
- const tokenKeys1 =
435
- key ===
436
- CacheKeys.getTokenKeysCacheKey(this.clientId)
437
- ? (JSON.parse(value) as TokenKeys).accessToken
438
- : this.getTokenKeys().accessToken;
439
- accessTokenKeys = [...tokenKeys0, ...tokenKeys1];
440
- tokenKeysV0Count = tokenKeys0.length;
887
+ for (
888
+ let i = 0;
889
+ i <= CacheKeys.CREDENTIAL_SCHEMA_VERSION;
890
+ i++
891
+ ) {
892
+ if (
893
+ key ===
894
+ CacheKeys.getTokenKeysCacheKey(this.clientId, i)
895
+ ) {
896
+ const tokenKeys = (
897
+ JSON.parse(value) as TokenKeys
898
+ ).accessToken;
899
+ accessTokenKeys.push(...tokenKeys);
900
+ tokenKeysCount[i] = tokenKeys.length;
901
+ } else {
902
+ const tokenKeys =
903
+ this.getTokenKeys(i).accessToken;
904
+ accessTokenKeys.push(...tokenKeys);
905
+ tokenKeysCount[i] = tokenKeys.length;
906
+ }
907
+ }
441
908
  }
442
909
  if (accessTokenKeys.length <= i) {
443
910
  // Nothing to remove, rethrow the error
@@ -467,38 +934,54 @@ export class BrowserCacheManager extends CacheManager {
467
934
  key: string,
468
935
  value: string,
469
936
  correlationId: string,
470
- timestamp: string
937
+ timestamp: string,
938
+ kmsi: boolean
471
939
  ): Promise<void> {
472
- let tokenKeysV0Count = 0;
473
- let accessTokenKeys: Array<string> = [];
940
+ const tokenKeysCount = new Array(
941
+ CacheKeys.CREDENTIAL_SCHEMA_VERSION + 1
942
+ ).fill(0); // Array mapping schema version to number of token keys stored for that version
943
+ const accessTokenKeys: Array<string> = []; // Flat map of all access token keys stored, ordered by schema version
474
944
  const maxRetries = 20;
475
945
  for (let i = 0; i <= maxRetries; i++) {
476
946
  try {
947
+ // 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
477
948
  await invokeAsync(
478
949
  this.browserStorage.setUserData.bind(this.browserStorage),
479
950
  PerformanceEvents.SetUserData,
480
951
  this.logger,
481
952
  this.performanceClient,
482
953
  correlationId
483
- )(key, value, correlationId, timestamp);
954
+ )(key, value, correlationId, timestamp, kmsi);
484
955
  if (i > 0) {
485
- // Finally update the token keys array with the tokens removed
486
- if (i <= tokenKeysV0Count) {
487
- this.removeAccessTokenKeys(
488
- accessTokenKeys.slice(0, i),
489
- correlationId,
490
- 0
491
- );
492
- } else {
493
- this.removeAccessTokenKeys(
494
- accessTokenKeys.slice(0, tokenKeysV0Count),
495
- correlationId,
496
- 0
497
- );
498
- this.removeAccessTokenKeys(
499
- accessTokenKeys.slice(tokenKeysV0Count, i),
500
- correlationId
501
- );
956
+ // If any tokens were removed in order to store this item update the token keys array with the tokens removed
957
+ for (
958
+ let schemaVersion = 0;
959
+ schemaVersion <= CacheKeys.CREDENTIAL_SCHEMA_VERSION;
960
+ schemaVersion++
961
+ ) {
962
+ // Get the sum of all previous token counts to use as start index for this schema version
963
+ const startIndex = tokenKeysCount
964
+ .slice(0, schemaVersion)
965
+ .reduce((sum, count) => sum + count, 0);
966
+ if (startIndex >= i) {
967
+ // Done removing tokens
968
+ break;
969
+ }
970
+ const endIndex =
971
+ i > startIndex + tokenKeysCount[schemaVersion]
972
+ ? startIndex + tokenKeysCount[schemaVersion]
973
+ : i;
974
+
975
+ if (
976
+ i > startIndex &&
977
+ tokenKeysCount[schemaVersion] > 0
978
+ ) {
979
+ this.removeAccessTokenKeys(
980
+ accessTokenKeys.slice(startIndex, endIndex),
981
+ correlationId,
982
+ schemaVersion
983
+ );
984
+ }
502
985
  }
503
986
  }
504
987
  break; // If setItem succeeds, exit the loop
@@ -510,10 +993,16 @@ export class BrowserCacheManager extends CacheManager {
510
993
  i < maxRetries
511
994
  ) {
512
995
  if (!accessTokenKeys.length) {
513
- const tokenKeys0 = this.getTokenKeys(0).accessToken;
514
- const tokenKeys1 = this.getTokenKeys().accessToken;
515
- accessTokenKeys = [...tokenKeys0, ...tokenKeys1];
516
- tokenKeysV0Count = tokenKeys0.length;
996
+ // If we are currently trying to set the token keys, use the value we're trying to set
997
+ for (
998
+ let i = 0;
999
+ i <= CacheKeys.CREDENTIAL_SCHEMA_VERSION;
1000
+ i++
1001
+ ) {
1002
+ const tokenKeys = this.getTokenKeys(i).accessToken;
1003
+ accessTokenKeys.push(...tokenKeys);
1004
+ tokenKeysCount[i] = tokenKeys.length;
1005
+ }
517
1006
  }
518
1007
  if (accessTokenKeys.length <= i) {
519
1008
  // Nothing left to remove, rethrow the error
@@ -573,7 +1062,8 @@ export class BrowserCacheManager extends CacheManager {
573
1062
  */
574
1063
  async setAccount(
575
1064
  account: AccountEntity,
576
- correlationId: string
1065
+ correlationId: string,
1066
+ kmsi: boolean
577
1067
  ): Promise<void> {
578
1068
  this.logger.trace(
579
1069
  "BrowserCacheManager.setAccount called",
@@ -588,9 +1078,27 @@ export class BrowserCacheManager extends CacheManager {
588
1078
  key,
589
1079
  JSON.stringify(account),
590
1080
  correlationId,
591
- timestamp
1081
+ timestamp,
1082
+ kmsi
592
1083
  );
593
1084
  this.addAccountKeyToMap(key, correlationId);
1085
+ this.performanceClient.addFields({ kmsi: kmsi }, correlationId);
1086
+ }
1087
+
1088
+ setAccountKeys(
1089
+ accountKeys: Array<string>,
1090
+ correlationId: string,
1091
+ schemaVersion: number = CacheKeys.ACCOUNT_SCHEMA_VERSION
1092
+ ): void {
1093
+ if (accountKeys.length === 0) {
1094
+ this.removeItem(CacheKeys.getAccountKeysCacheKey(schemaVersion));
1095
+ } else {
1096
+ this.setItem(
1097
+ CacheKeys.getAccountKeysCacheKey(schemaVersion),
1098
+ JSON.stringify(accountKeys),
1099
+ correlationId
1100
+ );
1101
+ }
594
1102
  }
595
1103
 
596
1104
  /**
@@ -654,21 +1162,7 @@ export class BrowserCacheManager extends CacheManager {
654
1162
  const removalIndex = accountKeys.indexOf(key);
655
1163
  if (removalIndex > -1) {
656
1164
  accountKeys.splice(removalIndex, 1);
657
- if (accountKeys.length === 0) {
658
- // If no keys left, remove the map
659
- this.removeItem(CacheKeys.getAccountKeysCacheKey());
660
- return;
661
- } else {
662
- this.setItem(
663
- CacheKeys.getAccountKeysCacheKey(),
664
- JSON.stringify(accountKeys),
665
- correlationId
666
- );
667
- }
668
- this.logger.trace(
669
- "BrowserCacheManager.removeAccountKeyFromMap account key removed",
670
- correlationId
671
- );
1165
+ this.setAccountKeys(accountKeys, correlationId);
672
1166
  } else {
673
1167
  this.logger.trace(
674
1168
  "BrowserCacheManager.removeAccountKeyFromMap key not found in existing map",
@@ -868,7 +1362,8 @@ export class BrowserCacheManager extends CacheManager {
868
1362
  */
869
1363
  async setIdTokenCredential(
870
1364
  idToken: IdTokenEntity,
871
- correlationId: string
1365
+ correlationId: string,
1366
+ kmsi: boolean
872
1367
  ): Promise<void> {
873
1368
  this.logger.trace(
874
1369
  "BrowserCacheManager.setIdTokenCredential called",
@@ -882,7 +1377,8 @@ export class BrowserCacheManager extends CacheManager {
882
1377
  idTokenKey,
883
1378
  JSON.stringify(idToken),
884
1379
  correlationId,
885
- timestamp
1380
+ timestamp,
1381
+ kmsi
886
1382
  );
887
1383
 
888
1384
  const tokenKeys = this.getTokenKeys();
@@ -938,7 +1434,8 @@ export class BrowserCacheManager extends CacheManager {
938
1434
  */
939
1435
  async setAccessTokenCredential(
940
1436
  accessToken: AccessTokenEntity,
941
- correlationId: string
1437
+ correlationId: string,
1438
+ kmsi: boolean
942
1439
  ): Promise<void> {
943
1440
  this.logger.trace(
944
1441
  "BrowserCacheManager.setAccessTokenCredential called",
@@ -952,7 +1449,8 @@ export class BrowserCacheManager extends CacheManager {
952
1449
  accessTokenKey,
953
1450
  JSON.stringify(accessToken),
954
1451
  correlationId,
955
- timestamp
1452
+ timestamp,
1453
+ kmsi
956
1454
  );
957
1455
 
958
1456
  const tokenKeys = this.getTokenKeys();
@@ -1010,7 +1508,8 @@ export class BrowserCacheManager extends CacheManager {
1010
1508
  */
1011
1509
  async setRefreshTokenCredential(
1012
1510
  refreshToken: RefreshTokenEntity,
1013
- correlationId: string
1511
+ correlationId: string,
1512
+ kmsi: boolean
1014
1513
  ): Promise<void> {
1015
1514
  this.logger.trace(
1016
1515
  "BrowserCacheManager.setRefreshTokenCredential called",
@@ -1024,7 +1523,8 @@ export class BrowserCacheManager extends CacheManager {
1024
1523
  refreshTokenKey,
1025
1524
  JSON.stringify(refreshToken),
1026
1525
  correlationId,
1027
- timestamp
1526
+ timestamp,
1527
+ kmsi
1028
1528
  );
1029
1529
 
1030
1530
  const tokenKeys = this.getTokenKeys();
@@ -1716,23 +2216,41 @@ export class BrowserCacheManager extends CacheManager {
1716
2216
 
1717
2217
  setInteractionInProgress(
1718
2218
  inProgress: boolean,
1719
- type: INTERACTION_TYPE = INTERACTION_TYPE.SIGNIN
2219
+ type: INTERACTION_TYPE = INTERACTION_TYPE.SIGNIN,
2220
+ allowOverride: boolean = false,
2221
+ correlationId: string = ""
1720
2222
  ): void {
1721
2223
  // Ensure we don't overwrite interaction in progress for a different clientId
1722
2224
  const key = `${CacheKeys.PREFIX}.${TemporaryCacheKeys.INTERACTION_STATUS_KEY}`;
1723
2225
  if (inProgress) {
1724
- if (this.getInteractionInProgress()) {
1725
- throw createBrowserAuthError(
1726
- BrowserAuthErrorCodes.interactionInProgress
1727
- );
1728
- } else {
1729
- // No interaction is in progress
1730
- this.setTemporaryCache(
1731
- key,
1732
- JSON.stringify({ clientId: this.clientId, type }),
1733
- false
1734
- );
2226
+ const existingInteraction = this.getInteractionInProgress();
2227
+ if (existingInteraction) {
2228
+ if (allowOverride) {
2229
+ this.logger.warning(
2230
+ `Overriding existing interaction_in_progress for clientId: ${existingInteraction.clientId}, type: ${existingInteraction.type}`,
2231
+ correlationId
2232
+ );
2233
+
2234
+ // Cancel any active bridge monitor from the previous interaction
2235
+ BrowserUtils.cancelPendingBridgeResponse(
2236
+ this.logger,
2237
+ correlationId
2238
+ );
2239
+
2240
+ // Clear existing interaction to allow new one
2241
+ this.removeTemporaryItem(key);
2242
+ } else {
2243
+ throw createBrowserAuthError(
2244
+ BrowserAuthErrorCodes.interactionInProgress
2245
+ );
2246
+ }
1735
2247
  }
2248
+ // Set new interaction
2249
+ this.setTemporaryCache(
2250
+ key,
2251
+ JSON.stringify({ clientId: this.clientId, type }),
2252
+ false
2253
+ );
1736
2254
  } else if (
1737
2255
  !inProgress &&
1738
2256
  this.getInteractionInProgress()?.clientId === this.clientId
@@ -1795,7 +2313,13 @@ export class BrowserCacheManager extends CacheManager {
1795
2313
  idToken: idTokenEntity,
1796
2314
  accessToken: accessTokenEntity,
1797
2315
  };
1798
- return this.saveCacheRecord(cacheRecord, result.correlationId);
2316
+ return this.saveCacheRecord(
2317
+ cacheRecord,
2318
+ result.correlationId,
2319
+ AuthToken.isKmsi(
2320
+ AuthToken.extractTokenClaims(result.idToken, base64Decode)
2321
+ )
2322
+ );
1799
2323
  }
1800
2324
 
1801
2325
  /**
@@ -1807,12 +2331,14 @@ export class BrowserCacheManager extends CacheManager {
1807
2331
  async saveCacheRecord(
1808
2332
  cacheRecord: CacheRecord,
1809
2333
  correlationId: string,
2334
+ kmsi: boolean,
1810
2335
  storeInCache?: StoreInCache
1811
2336
  ): Promise<void> {
1812
2337
  try {
1813
2338
  await super.saveCacheRecord(
1814
2339
  cacheRecord,
1815
2340
  correlationId,
2341
+ kmsi,
1816
2342
  storeInCache
1817
2343
  );
1818
2344
  } catch (e) {