@azure/msal-browser 4.13.1 → 4.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1851) hide show
  1. package/dist/app/IPublicClientApplication.mjs +1 -1
  2. package/dist/app/PublicClientApplication.mjs +1 -1
  3. package/dist/app/PublicClientNext.mjs +1 -1
  4. package/dist/broker/nativeBroker/NativeStatusCodes.d.ts +1 -0
  5. package/dist/broker/nativeBroker/NativeStatusCodes.d.ts.map +1 -1
  6. package/dist/broker/nativeBroker/NativeStatusCodes.mjs +4 -3
  7. package/dist/broker/nativeBroker/NativeStatusCodes.mjs.map +1 -1
  8. package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
  9. package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +1 -1
  10. package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +6 -6
  11. package/dist/broker/nativeBroker/PlatformAuthProvider.mjs.map +1 -1
  12. package/dist/cache/AccountManager.d.ts +7 -7
  13. package/dist/cache/AccountManager.d.ts.map +1 -1
  14. package/dist/cache/AccountManager.mjs +17 -15
  15. package/dist/cache/AccountManager.mjs.map +1 -1
  16. package/dist/cache/AsyncMemoryStorage.mjs +1 -1
  17. package/dist/cache/BrowserCacheManager.d.ts +44 -30
  18. package/dist/cache/BrowserCacheManager.d.ts.map +1 -1
  19. package/dist/cache/BrowserCacheManager.mjs +230 -140
  20. package/dist/cache/BrowserCacheManager.mjs.map +1 -1
  21. package/dist/cache/CacheHelpers.mjs +1 -1
  22. package/dist/cache/CookieStorage.mjs +1 -1
  23. package/dist/cache/DatabaseStorage.mjs +1 -1
  24. package/dist/cache/IWindowStorage.d.ts +1 -1
  25. package/dist/cache/IWindowStorage.d.ts.map +1 -1
  26. package/dist/cache/LocalStorage.d.ts +1 -1
  27. package/dist/cache/LocalStorage.d.ts.map +1 -1
  28. package/dist/cache/LocalStorage.mjs +4 -3
  29. package/dist/cache/LocalStorage.mjs.map +1 -1
  30. package/dist/cache/MemoryStorage.mjs +1 -1
  31. package/dist/cache/SessionStorage.mjs +1 -1
  32. package/dist/cache/TokenCache.d.ts.map +1 -1
  33. package/dist/cache/TokenCache.mjs +2 -2
  34. package/dist/cache/TokenCache.mjs.map +1 -1
  35. package/dist/config/Configuration.mjs +3 -3
  36. package/dist/controllers/ControllerFactory.mjs +1 -1
  37. package/dist/controllers/NestedAppAuthController.d.ts.map +1 -1
  38. package/dist/controllers/NestedAppAuthController.mjs +19 -11
  39. package/dist/controllers/NestedAppAuthController.mjs.map +1 -1
  40. package/dist/controllers/StandardController.d.ts.map +1 -1
  41. package/dist/controllers/StandardController.mjs +18 -11
  42. package/dist/controllers/StandardController.mjs.map +1 -1
  43. package/dist/controllers/UnknownOperatingContextController.mjs +1 -1
  44. package/dist/crypto/BrowserCrypto.mjs +1 -1
  45. package/dist/crypto/CryptoOps.d.ts +1 -1
  46. package/dist/crypto/CryptoOps.d.ts.map +1 -1
  47. package/dist/crypto/CryptoOps.mjs +5 -3
  48. package/dist/crypto/CryptoOps.mjs.map +1 -1
  49. package/dist/crypto/PkceGenerator.mjs +1 -1
  50. package/dist/crypto/SignedHttpRequest.d.ts.map +1 -1
  51. package/dist/crypto/SignedHttpRequest.mjs +16 -3
  52. package/dist/crypto/SignedHttpRequest.mjs.map +1 -1
  53. package/dist/custom-auth-path/app/IPublicClientApplication.d.ts +55 -0
  54. package/dist/custom-auth-path/app/IPublicClientApplication.d.ts.map +1 -0
  55. package/dist/custom-auth-path/app/PublicClientApplication.d.ts +297 -0
  56. package/dist/custom-auth-path/app/PublicClientApplication.d.ts.map +1 -0
  57. package/dist/custom-auth-path/app/PublicClientApplication.mjs +346 -0
  58. package/dist/custom-auth-path/app/PublicClientApplication.mjs.map +1 -0
  59. package/dist/custom-auth-path/app/PublicClientNext.d.ts +278 -0
  60. package/dist/custom-auth-path/app/PublicClientNext.d.ts.map +1 -0
  61. package/dist/custom-auth-path/broker/nativeBroker/IPlatformAuthHandler.d.ts +12 -0
  62. package/dist/custom-auth-path/broker/nativeBroker/IPlatformAuthHandler.d.ts.map +1 -0
  63. package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.d.ts +9 -0
  64. package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.d.ts.map +1 -0
  65. package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs +17 -0
  66. package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs.map +1 -0
  67. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.d.ts +30 -0
  68. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -0
  69. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs +143 -0
  70. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs.map +1 -0
  71. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +63 -0
  72. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -0
  73. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +274 -0
  74. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs.map +1 -0
  75. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.d.ts +26 -0
  76. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -0
  77. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs +90 -0
  78. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs.map +1 -0
  79. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthRequest.d.ts +78 -0
  80. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthRequest.d.ts.map +1 -0
  81. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthResponse.d.ts +71 -0
  82. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthResponse.d.ts.map +1 -0
  83. package/dist/custom-auth-path/cache/AccountManager.d.ts +49 -0
  84. package/dist/custom-auth-path/cache/AccountManager.d.ts.map +1 -0
  85. package/dist/custom-auth-path/cache/AccountManager.mjs +133 -0
  86. package/dist/custom-auth-path/cache/AccountManager.mjs.map +1 -0
  87. package/dist/custom-auth-path/cache/AsyncMemoryStorage.d.ts +51 -0
  88. package/dist/custom-auth-path/cache/AsyncMemoryStorage.d.ts.map +1 -0
  89. package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs +141 -0
  90. package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs.map +1 -0
  91. package/dist/custom-auth-path/cache/BrowserCacheManager.d.ts +297 -0
  92. package/dist/custom-auth-path/cache/BrowserCacheManager.d.ts.map +1 -0
  93. package/dist/custom-auth-path/cache/BrowserCacheManager.mjs +989 -0
  94. package/dist/custom-auth-path/cache/BrowserCacheManager.mjs.map +1 -0
  95. package/dist/custom-auth-path/cache/CacheHelpers.d.ts +16 -0
  96. package/dist/custom-auth-path/cache/CacheHelpers.d.ts.map +1 -0
  97. package/dist/custom-auth-path/cache/CacheHelpers.mjs +46 -0
  98. package/dist/custom-auth-path/cache/CacheHelpers.mjs.map +1 -0
  99. package/dist/custom-auth-path/cache/CookieStorage.d.ts +22 -0
  100. package/dist/custom-auth-path/cache/CookieStorage.d.ts.map +1 -0
  101. package/dist/custom-auth-path/cache/CookieStorage.mjs +78 -0
  102. package/dist/custom-auth-path/cache/CookieStorage.mjs.map +1 -0
  103. package/dist/custom-auth-path/cache/DatabaseStorage.d.ts +57 -0
  104. package/dist/custom-auth-path/cache/DatabaseStorage.d.ts.map +1 -0
  105. package/dist/custom-auth-path/cache/DatabaseStorage.mjs +209 -0
  106. package/dist/custom-auth-path/cache/DatabaseStorage.mjs.map +1 -0
  107. package/dist/custom-auth-path/cache/IAsyncStorage.d.ts +28 -0
  108. package/dist/custom-auth-path/cache/IAsyncStorage.d.ts.map +1 -0
  109. package/dist/custom-auth-path/cache/ITokenCache.d.ts +12 -0
  110. package/dist/custom-auth-path/cache/ITokenCache.d.ts.map +1 -0
  111. package/dist/custom-auth-path/cache/IWindowStorage.d.ts +40 -0
  112. package/dist/custom-auth-path/cache/IWindowStorage.d.ts.map +1 -0
  113. package/dist/custom-auth-path/cache/LocalStorage.d.ts +49 -0
  114. package/dist/custom-auth-path/cache/LocalStorage.d.ts.map +1 -0
  115. package/dist/custom-auth-path/cache/LocalStorage.mjs +264 -0
  116. package/dist/custom-auth-path/cache/LocalStorage.mjs.map +1 -0
  117. package/dist/custom-auth-path/cache/MemoryStorage.d.ts +15 -0
  118. package/dist/custom-auth-path/cache/MemoryStorage.d.ts.map +1 -0
  119. package/dist/custom-auth-path/cache/MemoryStorage.mjs +45 -0
  120. package/dist/custom-auth-path/cache/MemoryStorage.mjs.map +1 -0
  121. package/dist/custom-auth-path/cache/SessionStorage.d.ts +13 -0
  122. package/dist/custom-auth-path/cache/SessionStorage.d.ts.map +1 -0
  123. package/dist/custom-auth-path/cache/SessionStorage.mjs +43 -0
  124. package/dist/custom-auth-path/cache/SessionStorage.mjs.map +1 -0
  125. package/dist/custom-auth-path/cache/TokenCache.d.ts +78 -0
  126. package/dist/custom-auth-path/cache/TokenCache.d.ts.map +1 -0
  127. package/dist/custom-auth-path/cache/TokenCache.mjs +207 -0
  128. package/dist/custom-auth-path/cache/TokenCache.mjs.map +1 -0
  129. package/dist/custom-auth-path/config/Configuration.d.ts +228 -0
  130. package/dist/custom-auth-path/config/Configuration.d.ts.map +1 -0
  131. package/dist/custom-auth-path/config/Configuration.mjs +141 -0
  132. package/dist/custom-auth-path/config/Configuration.mjs.map +1 -0
  133. package/dist/custom-auth-path/controllers/ControllerFactory.d.ts +6 -0
  134. package/dist/custom-auth-path/controllers/ControllerFactory.d.ts.map +1 -0
  135. package/dist/custom-auth-path/controllers/ControllerFactory.mjs +17 -0
  136. package/dist/custom-auth-path/controllers/ControllerFactory.mjs.map +1 -0
  137. package/dist/custom-auth-path/controllers/IController.d.ts +59 -0
  138. package/dist/custom-auth-path/controllers/IController.d.ts.map +1 -0
  139. package/dist/custom-auth-path/controllers/NestedAppAuthController.d.ts +203 -0
  140. package/dist/custom-auth-path/controllers/NestedAppAuthController.d.ts.map +1 -0
  141. package/dist/custom-auth-path/controllers/StandardController.d.ts +425 -0
  142. package/dist/custom-auth-path/controllers/StandardController.d.ts.map +1 -0
  143. package/dist/custom-auth-path/controllers/StandardController.mjs +1469 -0
  144. package/dist/custom-auth-path/controllers/StandardController.mjs.map +1 -0
  145. package/dist/custom-auth-path/controllers/UnknownOperatingContextController.d.ts +86 -0
  146. package/dist/custom-auth-path/controllers/UnknownOperatingContextController.d.ts.map +1 -0
  147. package/dist/custom-auth-path/crypto/BrowserCrypto.d.ts +97 -0
  148. package/dist/custom-auth-path/crypto/BrowserCrypto.d.ts.map +1 -0
  149. package/dist/custom-auth-path/crypto/BrowserCrypto.mjs +308 -0
  150. package/dist/custom-auth-path/crypto/BrowserCrypto.mjs.map +1 -0
  151. package/dist/custom-auth-path/crypto/CryptoOps.d.ts +75 -0
  152. package/dist/custom-auth-path/crypto/CryptoOps.d.ts.map +1 -0
  153. package/dist/custom-auth-path/crypto/CryptoOps.mjs +191 -0
  154. package/dist/custom-auth-path/crypto/CryptoOps.mjs.map +1 -0
  155. package/dist/custom-auth-path/crypto/PkceGenerator.d.ts +9 -0
  156. package/dist/custom-auth-path/crypto/PkceGenerator.d.ts.map +1 -0
  157. package/dist/custom-auth-path/crypto/PkceGenerator.mjs +65 -0
  158. package/dist/custom-auth-path/crypto/PkceGenerator.mjs.map +1 -0
  159. package/dist/custom-auth-path/crypto/SignedHttpRequest.d.ts +31 -0
  160. package/dist/custom-auth-path/crypto/SignedHttpRequest.d.ts.map +1 -0
  161. package/dist/custom-auth-path/custom_auth/CustomAuthActionInputs.d.ts +26 -0
  162. package/dist/custom-auth-path/custom_auth/CustomAuthActionInputs.d.ts.map +1 -0
  163. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts +33 -0
  164. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts.map +1 -0
  165. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs +47 -0
  166. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs.map +1 -0
  167. package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.d.ts +55 -0
  168. package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.d.ts.map +1 -0
  169. package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs +97 -0
  170. package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs.map +1 -0
  171. package/dist/custom-auth-path/custom_auth/ICustomAuthPublicClientApplication.d.ts +33 -0
  172. package/dist/custom-auth-path/custom_auth/ICustomAuthPublicClientApplication.d.ts.map +1 -0
  173. package/dist/custom-auth-path/custom_auth/UserAccountAttributes.d.ts +12 -0
  174. package/dist/custom-auth-path/custom_auth/UserAccountAttributes.d.ts.map +1 -0
  175. package/dist/custom-auth-path/custom_auth/configuration/CustomAuthConfiguration.d.ts +12 -0
  176. package/dist/custom-auth-path/custom_auth/configuration/CustomAuthConfiguration.d.ts.map +1 -0
  177. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.d.ts +25 -0
  178. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -0
  179. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +274 -0
  180. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs.map +1 -0
  181. package/dist/custom-auth-path/custom_auth/controller/ICustomAuthStandardController.d.ts +13 -0
  182. package/dist/custom-auth-path/custom_auth/controller/ICustomAuthStandardController.d.ts.map +1 -0
  183. package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.d.ts +29 -0
  184. package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -0
  185. package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs +83 -0
  186. package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs.map +1 -0
  187. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +28 -0
  188. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -0
  189. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +105 -0
  190. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs.map +1 -0
  191. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts +11 -0
  192. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts.map +1 -0
  193. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +47 -0
  194. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs.map +1 -0
  195. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.d.ts +27 -0
  196. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -0
  197. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs +45 -0
  198. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs.map +1 -0
  199. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.d.ts +19 -0
  200. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -0
  201. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs +33 -0
  202. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs.map +1 -0
  203. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.d.ts +9 -0
  204. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.d.ts.map +1 -0
  205. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs +22 -0
  206. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs.map +1 -0
  207. package/dist/custom-auth-path/custom_auth/core/error/HttpError.d.ts +5 -0
  208. package/dist/custom-auth-path/custom_auth/core/error/HttpError.d.ts.map +1 -0
  209. package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs +17 -0
  210. package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs.map +1 -0
  211. package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.d.ts +3 -0
  212. package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.d.ts.map +1 -0
  213. package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.mjs +11 -0
  214. package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.mjs.map +1 -0
  215. package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.d.ts +5 -0
  216. package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.d.ts.map +1 -0
  217. package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs +18 -0
  218. package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs.map +1 -0
  219. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.d.ts +5 -0
  220. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.d.ts.map +1 -0
  221. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs +17 -0
  222. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs.map +1 -0
  223. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts +4 -0
  224. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts.map +1 -0
  225. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +12 -0
  226. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs.map +1 -0
  227. package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.d.ts +5 -0
  228. package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.d.ts.map +1 -0
  229. package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs +18 -0
  230. package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs.map +1 -0
  231. package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.d.ts +6 -0
  232. package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.d.ts.map +1 -0
  233. package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs +18 -0
  234. package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs.map +1 -0
  235. package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.d.ts +5 -0
  236. package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.d.ts.map +1 -0
  237. package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs +17 -0
  238. package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs.map +1 -0
  239. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.d.ts +5 -0
  240. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.d.ts.map +1 -0
  241. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs +17 -0
  242. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs.map +1 -0
  243. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.d.ts +2 -0
  244. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.d.ts.map +1 -0
  245. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.mjs +10 -0
  246. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.mjs.map +1 -0
  247. package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.d.ts +5 -0
  248. package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.d.ts.map +1 -0
  249. package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs +30 -0
  250. package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs.map +1 -0
  251. package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.d.ts +5 -0
  252. package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.d.ts.map +1 -0
  253. package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs +17 -0
  254. package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs.map +1 -0
  255. package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.d.ts +5 -0
  256. package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.d.ts.map +1 -0
  257. package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs +18 -0
  258. package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs.map +1 -0
  259. package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts +2 -0
  260. package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts.map +1 -0
  261. package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.d.ts +5 -0
  262. package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.d.ts.map +1 -0
  263. package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs +17 -0
  264. package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs.map +1 -0
  265. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts +24 -0
  266. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -0
  267. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +47 -0
  268. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs.map +1 -0
  269. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts +22 -0
  270. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts.map +1 -0
  271. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +25 -0
  272. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs.map +1 -0
  273. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts +14 -0
  274. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts.map +1 -0
  275. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +86 -0
  276. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs.map +1 -0
  277. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +12 -0
  278. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -0
  279. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +20 -0
  280. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs.map +1 -0
  281. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +12 -0
  282. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -0
  283. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +20 -0
  284. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs.map +1 -0
  285. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts +9 -0
  286. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts.map +1 -0
  287. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts +31 -0
  288. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map +1 -0
  289. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +87 -0
  290. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs.map +1 -0
  291. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +29 -0
  292. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -0
  293. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +113 -0
  294. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs.map +1 -0
  295. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts +20 -0
  296. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts.map +1 -0
  297. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +71 -0
  298. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs.map +1 -0
  299. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts +22 -0
  300. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts.map +1 -0
  301. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +29 -0
  302. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs.map +1 -0
  303. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts +29 -0
  304. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts.map +1 -0
  305. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +65 -0
  306. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -0
  307. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +45 -0
  308. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -0
  309. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +10 -0
  310. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -0
  311. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +17 -0
  312. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs.map +1 -0
  313. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts +9 -0
  314. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts.map +1 -0
  315. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts +13 -0
  316. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -0
  317. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +54 -0
  318. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs.map +1 -0
  319. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.d.ts +35 -0
  320. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.d.ts.map +1 -0
  321. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs +15 -0
  322. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs.map +1 -0
  323. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.d.ts +21 -0
  324. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -0
  325. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs +34 -0
  326. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs.map +1 -0
  327. package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.d.ts +3 -0
  328. package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -0
  329. package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs +21 -0
  330. package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs.map +1 -0
  331. package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.d.ts +3 -0
  332. package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.d.ts.map +1 -0
  333. package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs +26 -0
  334. package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs.map +1 -0
  335. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts +47 -0
  336. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts.map +1 -0
  337. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +122 -0
  338. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs.map +1 -0
  339. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts +32 -0
  340. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts.map +1 -0
  341. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +47 -0
  342. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs.map +1 -0
  343. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts +37 -0
  344. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts.map +1 -0
  345. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +48 -0
  346. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs.map +1 -0
  347. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts +36 -0
  348. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts.map +1 -0
  349. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +47 -0
  350. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs.map +1 -0
  351. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts +35 -0
  352. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts.map +1 -0
  353. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +47 -0
  354. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs.map +1 -0
  355. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts +12 -0
  356. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts.map +1 -0
  357. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +21 -0
  358. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs.map +1 -0
  359. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts +12 -0
  360. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts.map +1 -0
  361. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +21 -0
  362. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs.map +1 -0
  363. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.d.ts +12 -0
  364. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.d.ts.map +1 -0
  365. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs +21 -0
  366. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs.map +1 -0
  367. package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts +21 -0
  368. package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -0
  369. package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +122 -0
  370. package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs.map +1 -0
  371. package/dist/custom-auth-path/custom_auth/index.d.ts +69 -0
  372. package/dist/custom-auth-path/custom_auth/index.d.ts.map +1 -0
  373. package/dist/custom-auth-path/custom_auth/index.mjs +57 -0
  374. package/dist/custom-auth-path/custom_auth/index.mjs.map +1 -0
  375. package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.d.ts +13 -0
  376. package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.d.ts.map +1 -0
  377. package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs +35 -0
  378. package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs.map +1 -0
  379. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts +55 -0
  380. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts.map +1 -0
  381. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +88 -0
  382. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs.map +1 -0
  383. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts +37 -0
  384. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts.map +1 -0
  385. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +51 -0
  386. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs.map +1 -0
  387. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts +37 -0
  388. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts.map +1 -0
  389. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +48 -0
  390. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs.map +1 -0
  391. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts +37 -0
  392. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts.map +1 -0
  393. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +48 -0
  394. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs.map +1 -0
  395. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts +32 -0
  396. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts.map +1 -0
  397. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +43 -0
  398. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs.map +1 -0
  399. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts +23 -0
  400. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -0
  401. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +94 -0
  402. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs.map +1 -0
  403. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts +7 -0
  404. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts.map +1 -0
  405. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +16 -0
  406. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs.map +1 -0
  407. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts +7 -0
  408. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts.map +1 -0
  409. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +16 -0
  410. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs.map +1 -0
  411. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts +12 -0
  412. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -0
  413. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +54 -0
  414. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs.map +1 -0
  415. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts +6 -0
  416. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts.map +1 -0
  417. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +25 -0
  418. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs.map +1 -0
  419. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +15 -0
  420. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts.map +1 -0
  421. package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts +33 -0
  422. package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -0
  423. package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +155 -0
  424. package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs.map +1 -0
  425. package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts +19 -0
  426. package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts.map +1 -0
  427. package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts +14 -0
  428. package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts.map +1 -0
  429. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.d.ts +6 -0
  430. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.d.ts.map +1 -0
  431. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs +13 -0
  432. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs.map +1 -0
  433. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +50 -0
  434. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -0
  435. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +76 -0
  436. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs.map +1 -0
  437. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts +37 -0
  438. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts.map +1 -0
  439. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +48 -0
  440. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs.map +1 -0
  441. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +54 -0
  442. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -0
  443. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +62 -0
  444. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs.map +1 -0
  445. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +25 -0
  446. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -0
  447. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +41 -0
  448. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs.map +1 -0
  449. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts +21 -0
  450. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts.map +1 -0
  451. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.mjs +24 -0
  452. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.mjs.map +1 -0
  453. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +20 -0
  454. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -0
  455. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +36 -0
  456. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs.map +1 -0
  457. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts +29 -0
  458. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -0
  459. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +95 -0
  460. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs.map +1 -0
  461. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts +8 -0
  462. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts.map +1 -0
  463. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +17 -0
  464. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs.map +1 -0
  465. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts +13 -0
  466. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -0
  467. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +46 -0
  468. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs.map +1 -0
  469. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts +7 -0
  470. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts.map +1 -0
  471. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +16 -0
  472. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs.map +1 -0
  473. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts +17 -0
  474. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -0
  475. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +54 -0
  476. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs.map +1 -0
  477. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.d.ts +6 -0
  478. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.d.ts.map +1 -0
  479. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs +26 -0
  480. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs.map +1 -0
  481. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +20 -0
  482. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -0
  483. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.d.ts +48 -0
  484. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -0
  485. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +191 -0
  486. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs.map +1 -0
  487. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts +29 -0
  488. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts.map +1 -0
  489. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +30 -0
  490. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -0
  491. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +30 -0
  492. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs.map +1 -0
  493. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts +87 -0
  494. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts.map +1 -0
  495. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +126 -0
  496. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs.map +1 -0
  497. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts +37 -0
  498. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts.map +1 -0
  499. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +51 -0
  500. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs.map +1 -0
  501. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts +53 -0
  502. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts.map +1 -0
  503. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +62 -0
  504. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs.map +1 -0
  505. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts +37 -0
  506. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts.map +1 -0
  507. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +48 -0
  508. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs.map +1 -0
  509. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts +53 -0
  510. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts.map +1 -0
  511. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +62 -0
  512. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs.map +1 -0
  513. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts +45 -0
  514. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts.map +1 -0
  515. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +55 -0
  516. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs.map +1 -0
  517. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts +21 -0
  518. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -0
  519. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +74 -0
  520. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs.map +1 -0
  521. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts +28 -0
  522. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -0
  523. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +139 -0
  524. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs.map +1 -0
  525. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts +7 -0
  526. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts.map +1 -0
  527. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +16 -0
  528. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs.map +1 -0
  529. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts +7 -0
  530. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts.map +1 -0
  531. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +16 -0
  532. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs.map +1 -0
  533. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts +12 -0
  534. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -0
  535. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +77 -0
  536. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs.map +1 -0
  537. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts +6 -0
  538. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts.map +1 -0
  539. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +26 -0
  540. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs.map +1 -0
  541. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +20 -0
  542. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -0
  543. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +41 -0
  544. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -0
  545. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs +241 -0
  546. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs.map +1 -0
  547. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts +26 -0
  548. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts.map +1 -0
  549. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts +34 -0
  550. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts.map +1 -0
  551. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +37 -0
  552. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs.map +1 -0
  553. package/dist/custom-auth-path/encode/Base64Decode.d.ts +15 -0
  554. package/dist/custom-auth-path/encode/Base64Decode.d.ts.map +1 -0
  555. package/dist/custom-auth-path/encode/Base64Decode.mjs +44 -0
  556. package/dist/custom-auth-path/encode/Base64Decode.mjs.map +1 -0
  557. package/dist/custom-auth-path/encode/Base64Encode.d.ts +20 -0
  558. package/dist/custom-auth-path/encode/Base64Encode.d.ts.map +1 -0
  559. package/dist/custom-auth-path/encode/Base64Encode.mjs +48 -0
  560. package/dist/custom-auth-path/encode/Base64Encode.mjs.map +1 -0
  561. package/dist/custom-auth-path/error/BrowserAuthError.d.ts +257 -0
  562. package/dist/custom-auth-path/error/BrowserAuthError.d.ts.map +1 -0
  563. package/dist/custom-auth-path/error/BrowserAuthError.mjs +82 -0
  564. package/dist/custom-auth-path/error/BrowserAuthError.mjs.map +1 -0
  565. package/dist/custom-auth-path/error/BrowserAuthErrorCodes.d.ts +52 -0
  566. package/dist/custom-auth-path/error/BrowserAuthErrorCodes.d.ts.map +1 -0
  567. package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +60 -0
  568. package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs.map +1 -0
  569. package/dist/custom-auth-path/error/BrowserConfigurationAuthError.d.ts +34 -0
  570. package/dist/custom-auth-path/error/BrowserConfigurationAuthError.d.ts.map +1 -0
  571. package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs +30 -0
  572. package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs.map +1 -0
  573. package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.d.ts +4 -0
  574. package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.d.ts.map +1 -0
  575. package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs +12 -0
  576. package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs.map +1 -0
  577. package/dist/custom-auth-path/error/NativeAuthError.d.ts +30 -0
  578. package/dist/custom-auth-path/error/NativeAuthError.d.ts.map +1 -0
  579. package/dist/custom-auth-path/error/NativeAuthError.mjs +73 -0
  580. package/dist/custom-auth-path/error/NativeAuthError.mjs.map +1 -0
  581. package/dist/custom-auth-path/error/NativeAuthErrorCodes.d.ts +3 -0
  582. package/dist/custom-auth-path/error/NativeAuthErrorCodes.d.ts.map +1 -0
  583. package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +11 -0
  584. package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs.map +1 -0
  585. package/dist/custom-auth-path/error/NestedAppAuthError.d.ts +15 -0
  586. package/dist/custom-auth-path/error/NestedAppAuthError.d.ts.map +1 -0
  587. package/dist/custom-auth-path/event/EventHandler.d.ts +49 -0
  588. package/dist/custom-auth-path/event/EventHandler.d.ts.map +1 -0
  589. package/dist/custom-auth-path/event/EventHandler.mjs +112 -0
  590. package/dist/custom-auth-path/event/EventHandler.mjs.map +1 -0
  591. package/dist/custom-auth-path/event/EventMessage.d.ts +40 -0
  592. package/dist/custom-auth-path/event/EventMessage.d.ts.map +1 -0
  593. package/dist/custom-auth-path/event/EventType.d.ts +31 -0
  594. package/dist/custom-auth-path/event/EventType.d.ts.map +1 -0
  595. package/dist/custom-auth-path/event/EventType.mjs +38 -0
  596. package/dist/custom-auth-path/event/EventType.mjs.map +1 -0
  597. package/dist/custom-auth-path/index.d.ts +45 -0
  598. package/dist/custom-auth-path/index.d.ts.map +1 -0
  599. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.d.ts +59 -0
  600. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.d.ts.map +1 -0
  601. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +128 -0
  602. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs.map +1 -0
  603. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +5 -0
  604. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -0
  605. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +17 -0
  606. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs.map +1 -0
  607. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts +149 -0
  608. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -0
  609. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +630 -0
  610. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -0
  611. package/dist/custom-auth-path/interaction_client/PopupClient.d.ts +120 -0
  612. package/dist/custom-auth-path/interaction_client/PopupClient.d.ts.map +1 -0
  613. package/dist/custom-auth-path/interaction_client/PopupClient.mjs +469 -0
  614. package/dist/custom-auth-path/interaction_client/PopupClient.mjs.map +1 -0
  615. package/dist/custom-auth-path/interaction_client/RedirectClient.d.ts +68 -0
  616. package/dist/custom-auth-path/interaction_client/RedirectClient.d.ts.map +1 -0
  617. package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +427 -0
  618. package/dist/custom-auth-path/interaction_client/RedirectClient.mjs.map +1 -0
  619. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.d.ts +24 -0
  620. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.d.ts.map +1 -0
  621. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +76 -0
  622. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs.map +1 -0
  623. package/dist/custom-auth-path/interaction_client/SilentCacheClient.d.ts +17 -0
  624. package/dist/custom-auth-path/interaction_client/SilentCacheClient.d.ts.map +1 -0
  625. package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +58 -0
  626. package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs.map +1 -0
  627. package/dist/custom-auth-path/interaction_client/SilentIframeClient.d.ts +43 -0
  628. package/dist/custom-auth-path/interaction_client/SilentIframeClient.d.ts.map +1 -0
  629. package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +154 -0
  630. package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs.map +1 -0
  631. package/dist/custom-auth-path/interaction_client/SilentRefreshClient.d.ts +32 -0
  632. package/dist/custom-auth-path/interaction_client/SilentRefreshClient.d.ts.map +1 -0
  633. package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +75 -0
  634. package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs.map +1 -0
  635. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.d.ts +64 -0
  636. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.d.ts.map +1 -0
  637. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +209 -0
  638. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs.map +1 -0
  639. package/dist/custom-auth-path/interaction_handler/InteractionHandler.d.ts +33 -0
  640. package/dist/custom-auth-path/interaction_handler/InteractionHandler.d.ts.map +1 -0
  641. package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +102 -0
  642. package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs.map +1 -0
  643. package/dist/custom-auth-path/interaction_handler/SilentHandler.d.ts +16 -0
  644. package/dist/custom-auth-path/interaction_handler/SilentHandler.d.ts.map +1 -0
  645. package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +154 -0
  646. package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs.map +1 -0
  647. package/dist/custom-auth-path/naa/AccountInfo.d.ts +12 -0
  648. package/dist/custom-auth-path/naa/AccountInfo.d.ts.map +1 -0
  649. package/dist/custom-auth-path/naa/AuthBridge.d.ts +9 -0
  650. package/dist/custom-auth-path/naa/AuthBridge.d.ts.map +1 -0
  651. package/dist/custom-auth-path/naa/AuthResult.d.ts +7 -0
  652. package/dist/custom-auth-path/naa/AuthResult.d.ts.map +1 -0
  653. package/dist/custom-auth-path/naa/BridgeAccountContext.d.ts +13 -0
  654. package/dist/custom-auth-path/naa/BridgeAccountContext.d.ts.map +1 -0
  655. package/dist/custom-auth-path/naa/BridgeCapabilities.d.ts +4 -0
  656. package/dist/custom-auth-path/naa/BridgeCapabilities.d.ts.map +1 -0
  657. package/dist/custom-auth-path/naa/BridgeError.d.ts +10 -0
  658. package/dist/custom-auth-path/naa/BridgeError.d.ts.map +1 -0
  659. package/dist/custom-auth-path/naa/BridgeProxy.d.ts +69 -0
  660. package/dist/custom-auth-path/naa/BridgeProxy.d.ts.map +1 -0
  661. package/dist/custom-auth-path/naa/BridgeRequest.d.ts +8 -0
  662. package/dist/custom-auth-path/naa/BridgeRequest.d.ts.map +1 -0
  663. package/dist/custom-auth-path/naa/BridgeRequestEnvelope.d.ts +13 -0
  664. package/dist/custom-auth-path/naa/BridgeRequestEnvelope.d.ts.map +1 -0
  665. package/dist/custom-auth-path/naa/BridgeResponseEnvelope.d.ts +14 -0
  666. package/dist/custom-auth-path/naa/BridgeResponseEnvelope.d.ts.map +1 -0
  667. package/dist/custom-auth-path/naa/BridgeStatusCode.d.ts +12 -0
  668. package/dist/custom-auth-path/naa/BridgeStatusCode.d.ts.map +1 -0
  669. package/dist/custom-auth-path/naa/IBridgeProxy.d.ts +11 -0
  670. package/dist/custom-auth-path/naa/IBridgeProxy.d.ts.map +1 -0
  671. package/dist/custom-auth-path/naa/InitContext.d.ts +9 -0
  672. package/dist/custom-auth-path/naa/InitContext.d.ts.map +1 -0
  673. package/dist/custom-auth-path/naa/TokenRequest.d.ts +19 -0
  674. package/dist/custom-auth-path/naa/TokenRequest.d.ts.map +1 -0
  675. package/dist/custom-auth-path/naa/TokenResponse.d.ts +14 -0
  676. package/dist/custom-auth-path/naa/TokenResponse.d.ts.map +1 -0
  677. package/dist/custom-auth-path/naa/mapping/NestedAppAuthAdapter.d.ts +36 -0
  678. package/dist/custom-auth-path/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -0
  679. package/dist/custom-auth-path/navigation/INavigationClient.d.ts +17 -0
  680. package/dist/custom-auth-path/navigation/INavigationClient.d.ts.map +1 -0
  681. package/dist/custom-auth-path/navigation/NavigationClient.d.ts +23 -0
  682. package/dist/custom-auth-path/navigation/NavigationClient.d.ts.map +1 -0
  683. package/dist/custom-auth-path/navigation/NavigationClient.mjs +48 -0
  684. package/dist/custom-auth-path/navigation/NavigationClient.mjs.map +1 -0
  685. package/dist/custom-auth-path/navigation/NavigationOptions.d.ts +13 -0
  686. package/dist/custom-auth-path/navigation/NavigationOptions.d.ts.map +1 -0
  687. package/dist/custom-auth-path/network/FetchClient.d.ts +21 -0
  688. package/dist/custom-auth-path/network/FetchClient.d.ts.map +1 -0
  689. package/dist/custom-auth-path/network/FetchClient.mjs +128 -0
  690. package/dist/custom-auth-path/network/FetchClient.mjs.map +1 -0
  691. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.d.ts +42 -0
  692. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.d.ts.map +1 -0
  693. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +104 -0
  694. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs.map +1 -0
  695. package/dist/custom-auth-path/operatingcontext/NestedAppOperatingContext.d.ts +40 -0
  696. package/dist/custom-auth-path/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -0
  697. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.d.ts +26 -0
  698. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.d.ts.map +1 -0
  699. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +50 -0
  700. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs.map +1 -0
  701. package/dist/custom-auth-path/operatingcontext/UnknownOperatingContext.d.ts +26 -0
  702. package/dist/custom-auth-path/operatingcontext/UnknownOperatingContext.d.ts.map +1 -0
  703. package/dist/custom-auth-path/packageMetadata.d.ts +3 -0
  704. package/dist/custom-auth-path/packageMetadata.d.ts.map +1 -0
  705. package/dist/custom-auth-path/packageMetadata.mjs +8 -0
  706. package/dist/custom-auth-path/packageMetadata.mjs.map +1 -0
  707. package/dist/custom-auth-path/protocol/Authorize.d.ts +65 -0
  708. package/dist/custom-auth-path/protocol/Authorize.d.ts.map +1 -0
  709. package/dist/custom-auth-path/protocol/Authorize.mjs +218 -0
  710. package/dist/custom-auth-path/protocol/Authorize.mjs.map +1 -0
  711. package/dist/custom-auth-path/request/AuthorizationCodeRequest.d.ts +9 -0
  712. package/dist/custom-auth-path/request/AuthorizationCodeRequest.d.ts.map +1 -0
  713. package/dist/custom-auth-path/request/AuthorizationUrlRequest.d.ts +7 -0
  714. package/dist/custom-auth-path/request/AuthorizationUrlRequest.d.ts.map +1 -0
  715. package/dist/custom-auth-path/request/ClearCacheRequest.d.ts +11 -0
  716. package/dist/custom-auth-path/request/ClearCacheRequest.d.ts.map +1 -0
  717. package/dist/custom-auth-path/request/EndSessionPopupRequest.d.ts +21 -0
  718. package/dist/custom-auth-path/request/EndSessionPopupRequest.d.ts.map +1 -0
  719. package/dist/custom-auth-path/request/EndSessionRequest.d.ts +16 -0
  720. package/dist/custom-auth-path/request/EndSessionRequest.d.ts.map +1 -0
  721. package/dist/custom-auth-path/request/InitializeApplicationRequest.d.ts +9 -0
  722. package/dist/custom-auth-path/request/InitializeApplicationRequest.d.ts.map +1 -0
  723. package/dist/custom-auth-path/request/PopupRequest.d.ts +36 -0
  724. package/dist/custom-auth-path/request/PopupRequest.d.ts.map +1 -0
  725. package/dist/custom-auth-path/request/PopupWindowAttributes.d.ts +16 -0
  726. package/dist/custom-auth-path/request/PopupWindowAttributes.d.ts.map +1 -0
  727. package/dist/custom-auth-path/request/RedirectRequest.d.ts +40 -0
  728. package/dist/custom-auth-path/request/RedirectRequest.d.ts.map +1 -0
  729. package/dist/custom-auth-path/request/RequestHelpers.d.ts +14 -0
  730. package/dist/custom-auth-path/request/RequestHelpers.d.ts.map +1 -0
  731. package/dist/custom-auth-path/request/RequestHelpers.mjs +61 -0
  732. package/dist/custom-auth-path/request/RequestHelpers.mjs.map +1 -0
  733. package/dist/custom-auth-path/request/SilentRequest.d.ts +33 -0
  734. package/dist/custom-auth-path/request/SilentRequest.d.ts.map +1 -0
  735. package/dist/custom-auth-path/request/SsoSilentRequest.d.ts +28 -0
  736. package/dist/custom-auth-path/request/SsoSilentRequest.d.ts.map +1 -0
  737. package/dist/custom-auth-path/response/AuthenticationResult.d.ts +5 -0
  738. package/dist/custom-auth-path/response/AuthenticationResult.d.ts.map +1 -0
  739. package/dist/custom-auth-path/response/ResponseHandler.d.ts +8 -0
  740. package/dist/custom-auth-path/response/ResponseHandler.d.ts.map +1 -0
  741. package/dist/custom-auth-path/response/ResponseHandler.mjs +46 -0
  742. package/dist/custom-auth-path/response/ResponseHandler.mjs.map +1 -0
  743. package/dist/custom-auth-path/telemetry/BrowserPerformanceClient.d.ts +35 -0
  744. package/dist/custom-auth-path/telemetry/BrowserPerformanceClient.d.ts.map +1 -0
  745. package/dist/custom-auth-path/telemetry/BrowserPerformanceMeasurement.d.ts +22 -0
  746. package/dist/custom-auth-path/telemetry/BrowserPerformanceMeasurement.d.ts.map +1 -0
  747. package/dist/custom-auth-path/utils/BrowserConstants.d.ts +184 -0
  748. package/dist/custom-auth-path/utils/BrowserConstants.d.ts.map +1 -0
  749. package/dist/custom-auth-path/utils/BrowserConstants.mjs +177 -0
  750. package/dist/custom-auth-path/utils/BrowserConstants.mjs.map +1 -0
  751. package/dist/custom-auth-path/utils/BrowserProtocolUtils.d.ts +12 -0
  752. package/dist/custom-auth-path/utils/BrowserProtocolUtils.d.ts.map +1 -0
  753. package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +28 -0
  754. package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs.map +1 -0
  755. package/dist/custom-auth-path/utils/BrowserUtils.d.ts +76 -0
  756. package/dist/custom-auth-path/utils/BrowserUtils.d.ts.map +1 -0
  757. package/dist/custom-auth-path/utils/BrowserUtils.mjs +173 -0
  758. package/dist/custom-auth-path/utils/BrowserUtils.mjs.map +1 -0
  759. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.d.ts +3 -0
  760. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.d.ts.map +1 -0
  761. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +23 -0
  762. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs.map +1 -0
  763. package/dist/custom_auth/CustomAuthActionInputs.d.ts +26 -0
  764. package/dist/custom_auth/CustomAuthActionInputs.d.ts.map +1 -0
  765. package/dist/custom_auth/CustomAuthConstants.d.ts +33 -0
  766. package/dist/custom_auth/CustomAuthConstants.d.ts.map +1 -0
  767. package/dist/custom_auth/CustomAuthPublicClientApplication.d.ts +55 -0
  768. package/dist/custom_auth/CustomAuthPublicClientApplication.d.ts.map +1 -0
  769. package/dist/custom_auth/ICustomAuthPublicClientApplication.d.ts +33 -0
  770. package/dist/custom_auth/ICustomAuthPublicClientApplication.d.ts.map +1 -0
  771. package/dist/custom_auth/UserAccountAttributes.d.ts +12 -0
  772. package/dist/custom_auth/UserAccountAttributes.d.ts.map +1 -0
  773. package/dist/custom_auth/configuration/CustomAuthConfiguration.d.ts +12 -0
  774. package/dist/custom_auth/configuration/CustomAuthConfiguration.d.ts.map +1 -0
  775. package/dist/custom_auth/controller/CustomAuthStandardController.d.ts +25 -0
  776. package/dist/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -0
  777. package/dist/custom_auth/controller/ICustomAuthStandardController.d.ts +13 -0
  778. package/dist/custom_auth/controller/ICustomAuthStandardController.d.ts.map +1 -0
  779. package/dist/custom_auth/core/CustomAuthAuthority.d.ts +29 -0
  780. package/dist/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -0
  781. package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +28 -0
  782. package/dist/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -0
  783. package/dist/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts +11 -0
  784. package/dist/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts.map +1 -0
  785. package/dist/custom_auth/core/auth_flow/AuthFlowState.d.ts +27 -0
  786. package/dist/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -0
  787. package/dist/custom_auth/core/error/CustomAuthApiError.d.ts +19 -0
  788. package/dist/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -0
  789. package/dist/custom_auth/core/error/CustomAuthError.d.ts +9 -0
  790. package/dist/custom_auth/core/error/CustomAuthError.d.ts.map +1 -0
  791. package/dist/custom_auth/core/error/HttpError.d.ts +5 -0
  792. package/dist/custom_auth/core/error/HttpError.d.ts.map +1 -0
  793. package/dist/custom_auth/core/error/HttpErrorCodes.d.ts +3 -0
  794. package/dist/custom_auth/core/error/HttpErrorCodes.d.ts.map +1 -0
  795. package/dist/custom_auth/core/error/InvalidArgumentError.d.ts +5 -0
  796. package/dist/custom_auth/core/error/InvalidArgumentError.d.ts.map +1 -0
  797. package/dist/custom_auth/core/error/InvalidConfigurationError.d.ts +5 -0
  798. package/dist/custom_auth/core/error/InvalidConfigurationError.d.ts.map +1 -0
  799. package/dist/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts +4 -0
  800. package/dist/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts.map +1 -0
  801. package/dist/custom_auth/core/error/MethodNotImplementedError.d.ts +5 -0
  802. package/dist/custom_auth/core/error/MethodNotImplementedError.d.ts.map +1 -0
  803. package/dist/custom_auth/core/error/MsalCustomAuthError.d.ts +6 -0
  804. package/dist/custom_auth/core/error/MsalCustomAuthError.d.ts.map +1 -0
  805. package/dist/custom_auth/core/error/NoCachedAccountFoundError.d.ts +5 -0
  806. package/dist/custom_auth/core/error/NoCachedAccountFoundError.d.ts.map +1 -0
  807. package/dist/custom_auth/core/error/ParsedUrlError.d.ts +5 -0
  808. package/dist/custom_auth/core/error/ParsedUrlError.d.ts.map +1 -0
  809. package/dist/custom_auth/core/error/ParsedUrlErrorCodes.d.ts +2 -0
  810. package/dist/custom_auth/core/error/ParsedUrlErrorCodes.d.ts.map +1 -0
  811. package/dist/custom_auth/core/error/UnexpectedError.d.ts +5 -0
  812. package/dist/custom_auth/core/error/UnexpectedError.d.ts.map +1 -0
  813. package/dist/custom_auth/core/error/UnsupportedEnvironmentError.d.ts +5 -0
  814. package/dist/custom_auth/core/error/UnsupportedEnvironmentError.d.ts.map +1 -0
  815. package/dist/custom_auth/core/error/UserAccountAttributeError.d.ts +5 -0
  816. package/dist/custom_auth/core/error/UserAccountAttributeError.d.ts.map +1 -0
  817. package/dist/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts +2 -0
  818. package/dist/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts.map +1 -0
  819. package/dist/custom_auth/core/error/UserAlreadySignedInError.d.ts +5 -0
  820. package/dist/custom_auth/core/error/UserAlreadySignedInError.d.ts.map +1 -0
  821. package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts +24 -0
  822. package/dist/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -0
  823. package/dist/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts +22 -0
  824. package/dist/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts.map +1 -0
  825. package/dist/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts +14 -0
  826. package/dist/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts.map +1 -0
  827. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +12 -0
  828. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -0
  829. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +12 -0
  830. package/dist/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -0
  831. package/dist/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts +9 -0
  832. package/dist/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts.map +1 -0
  833. package/dist/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts +31 -0
  834. package/dist/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map +1 -0
  835. package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +29 -0
  836. package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -0
  837. package/dist/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts +20 -0
  838. package/dist/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts.map +1 -0
  839. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts +22 -0
  840. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts.map +1 -0
  841. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts +29 -0
  842. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts.map +1 -0
  843. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +65 -0
  844. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -0
  845. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +45 -0
  846. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -0
  847. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +10 -0
  848. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -0
  849. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts +9 -0
  850. package/dist/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts.map +1 -0
  851. package/dist/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts +13 -0
  852. package/dist/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -0
  853. package/dist/custom_auth/core/network_client/http_client/IHttpClient.d.ts +35 -0
  854. package/dist/custom_auth/core/network_client/http_client/IHttpClient.d.ts.map +1 -0
  855. package/dist/custom_auth/core/telemetry/PublicApiId.d.ts +21 -0
  856. package/dist/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -0
  857. package/dist/custom_auth/core/utils/ArgumentValidator.d.ts +3 -0
  858. package/dist/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -0
  859. package/dist/custom_auth/core/utils/UrlUtils.d.ts +3 -0
  860. package/dist/custom_auth/core/utils/UrlUtils.d.ts.map +1 -0
  861. package/dist/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts +47 -0
  862. package/dist/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts.map +1 -0
  863. package/dist/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts +32 -0
  864. package/dist/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts.map +1 -0
  865. package/dist/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts +37 -0
  866. package/dist/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts.map +1 -0
  867. package/dist/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts +36 -0
  868. package/dist/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts.map +1 -0
  869. package/dist/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts +35 -0
  870. package/dist/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts.map +1 -0
  871. package/dist/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts +12 -0
  872. package/dist/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts.map +1 -0
  873. package/dist/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts +12 -0
  874. package/dist/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts.map +1 -0
  875. package/dist/custom_auth/get_account/auth_flow/state/SignOutState.d.ts +12 -0
  876. package/dist/custom_auth/get_account/auth_flow/state/SignOutState.d.ts.map +1 -0
  877. package/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts +21 -0
  878. package/dist/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -0
  879. package/dist/custom_auth/index.d.ts +69 -0
  880. package/dist/custom_auth/index.d.ts.map +1 -0
  881. package/dist/custom_auth/operating_context/CustomAuthOperatingContext.d.ts +13 -0
  882. package/dist/custom_auth/operating_context/CustomAuthOperatingContext.d.ts.map +1 -0
  883. package/dist/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts +55 -0
  884. package/dist/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts.map +1 -0
  885. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts +37 -0
  886. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts.map +1 -0
  887. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts +37 -0
  888. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts.map +1 -0
  889. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts +37 -0
  890. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts.map +1 -0
  891. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts +32 -0
  892. package/dist/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts.map +1 -0
  893. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts +23 -0
  894. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -0
  895. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts +7 -0
  896. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts.map +1 -0
  897. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts +7 -0
  898. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts.map +1 -0
  899. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts +12 -0
  900. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -0
  901. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts +6 -0
  902. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts.map +1 -0
  903. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +15 -0
  904. package/dist/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts.map +1 -0
  905. package/dist/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts +33 -0
  906. package/dist/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -0
  907. package/dist/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts +19 -0
  908. package/dist/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts.map +1 -0
  909. package/dist/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts +14 -0
  910. package/dist/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts.map +1 -0
  911. package/dist/custom_auth/sign_in/auth_flow/SignInScenario.d.ts +6 -0
  912. package/dist/custom_auth/sign_in/auth_flow/SignInScenario.d.ts.map +1 -0
  913. package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +50 -0
  914. package/dist/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -0
  915. package/dist/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts +37 -0
  916. package/dist/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts.map +1 -0
  917. package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +54 -0
  918. package/dist/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -0
  919. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +25 -0
  920. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -0
  921. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts +21 -0
  922. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts.map +1 -0
  923. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +20 -0
  924. package/dist/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -0
  925. package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts +29 -0
  926. package/dist/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -0
  927. package/dist/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts +8 -0
  928. package/dist/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts.map +1 -0
  929. package/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts +13 -0
  930. package/dist/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -0
  931. package/dist/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts +7 -0
  932. package/dist/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts.map +1 -0
  933. package/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts +17 -0
  934. package/dist/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -0
  935. package/dist/custom_auth/sign_in/auth_flow/state/SignInState.d.ts +6 -0
  936. package/dist/custom_auth/sign_in/auth_flow/state/SignInState.d.ts.map +1 -0
  937. package/dist/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +20 -0
  938. package/dist/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -0
  939. package/dist/custom_auth/sign_in/interaction_client/SignInClient.d.ts +48 -0
  940. package/dist/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -0
  941. package/dist/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts +29 -0
  942. package/dist/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts.map +1 -0
  943. package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +30 -0
  944. package/dist/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -0
  945. package/dist/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts +87 -0
  946. package/dist/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts.map +1 -0
  947. package/dist/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts +37 -0
  948. package/dist/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts.map +1 -0
  949. package/dist/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts +53 -0
  950. package/dist/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts.map +1 -0
  951. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts +37 -0
  952. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts.map +1 -0
  953. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts +53 -0
  954. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts.map +1 -0
  955. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts +45 -0
  956. package/dist/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts.map +1 -0
  957. package/dist/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts +21 -0
  958. package/dist/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -0
  959. package/dist/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts +28 -0
  960. package/dist/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -0
  961. package/dist/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts +7 -0
  962. package/dist/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts.map +1 -0
  963. package/dist/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts +7 -0
  964. package/dist/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts.map +1 -0
  965. package/dist/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts +12 -0
  966. package/dist/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -0
  967. package/dist/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts +6 -0
  968. package/dist/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts.map +1 -0
  969. package/dist/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +20 -0
  970. package/dist/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -0
  971. package/dist/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +41 -0
  972. package/dist/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -0
  973. package/dist/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts +26 -0
  974. package/dist/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts.map +1 -0
  975. package/dist/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts +34 -0
  976. package/dist/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts.map +1 -0
  977. package/dist/encode/Base64Decode.mjs +1 -1
  978. package/dist/encode/Base64Encode.mjs +1 -1
  979. package/dist/error/BrowserAuthError.d.ts +1 -0
  980. package/dist/error/BrowserAuthError.d.ts.map +1 -1
  981. package/dist/error/BrowserAuthError.mjs +3 -2
  982. package/dist/error/BrowserAuthError.mjs.map +1 -1
  983. package/dist/error/BrowserAuthErrorCodes.d.ts +1 -0
  984. package/dist/error/BrowserAuthErrorCodes.d.ts.map +1 -1
  985. package/dist/error/BrowserAuthErrorCodes.mjs +4 -3
  986. package/dist/error/BrowserAuthErrorCodes.mjs.map +1 -1
  987. package/dist/error/BrowserConfigurationAuthError.mjs +2 -2
  988. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  989. package/dist/error/NativeAuthError.d.ts.map +1 -1
  990. package/dist/error/NativeAuthError.mjs +5 -3
  991. package/dist/error/NativeAuthError.mjs.map +1 -1
  992. package/dist/error/NativeAuthErrorCodes.mjs +1 -1
  993. package/dist/error/NestedAppAuthError.mjs +1 -1
  994. package/dist/event/EventHandler.mjs +1 -1
  995. package/dist/event/EventMessage.mjs +1 -1
  996. package/dist/event/EventType.mjs +1 -1
  997. package/dist/index.mjs +1 -1
  998. package/dist/interaction_client/BaseInteractionClient.d.ts +1 -1
  999. package/dist/interaction_client/BaseInteractionClient.d.ts.map +1 -1
  1000. package/dist/interaction_client/BaseInteractionClient.mjs +6 -6
  1001. package/dist/interaction_client/BaseInteractionClient.mjs.map +1 -1
  1002. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  1003. package/dist/interaction_client/PlatformAuthInteractionClient.d.ts +1 -1
  1004. package/dist/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  1005. package/dist/interaction_client/PlatformAuthInteractionClient.mjs +9 -11
  1006. package/dist/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
  1007. package/dist/interaction_client/PopupClient.d.ts.map +1 -1
  1008. package/dist/interaction_client/PopupClient.mjs +3 -3
  1009. package/dist/interaction_client/PopupClient.mjs.map +1 -1
  1010. package/dist/interaction_client/RedirectClient.d.ts.map +1 -1
  1011. package/dist/interaction_client/RedirectClient.mjs +9 -4
  1012. package/dist/interaction_client/RedirectClient.mjs.map +1 -1
  1013. package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
  1014. package/dist/interaction_client/SilentCacheClient.d.ts.map +1 -1
  1015. package/dist/interaction_client/SilentCacheClient.mjs +2 -2
  1016. package/dist/interaction_client/SilentCacheClient.mjs.map +1 -1
  1017. package/dist/interaction_client/SilentIframeClient.mjs +1 -1
  1018. package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
  1019. package/dist/interaction_client/StandardInteractionClient.d.ts.map +1 -1
  1020. package/dist/interaction_client/StandardInteractionClient.mjs +3 -2
  1021. package/dist/interaction_client/StandardInteractionClient.mjs.map +1 -1
  1022. package/dist/interaction_handler/InteractionHandler.mjs +1 -1
  1023. package/dist/interaction_handler/SilentHandler.mjs +3 -3
  1024. package/dist/naa/BridgeError.mjs +1 -1
  1025. package/dist/naa/BridgeProxy.mjs +1 -1
  1026. package/dist/naa/BridgeStatusCode.mjs +1 -1
  1027. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +2 -2
  1028. package/dist/navigation/NavigationClient.d.ts.map +1 -1
  1029. package/dist/navigation/NavigationClient.mjs +6 -3
  1030. package/dist/navigation/NavigationClient.mjs.map +1 -1
  1031. package/dist/network/FetchClient.mjs +1 -1
  1032. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  1033. package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
  1034. package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
  1035. package/dist/operatingcontext/UnknownOperatingContext.mjs +1 -1
  1036. package/dist/packageMetadata.d.ts +1 -1
  1037. package/dist/packageMetadata.mjs +2 -2
  1038. package/dist/protocol/Authorize.mjs +1 -1
  1039. package/dist/request/RequestHelpers.mjs +1 -1
  1040. package/dist/response/ResponseHandler.mjs +1 -1
  1041. package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
  1042. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  1043. package/dist/utils/BrowserConstants.mjs +1 -5
  1044. package/dist/utils/BrowserConstants.mjs.map +1 -1
  1045. package/dist/utils/BrowserProtocolUtils.mjs +1 -1
  1046. package/dist/utils/BrowserUtils.mjs +1 -1
  1047. package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
  1048. package/lib/custom-auth-path/msal-custom-auth.cjs +20624 -0
  1049. package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -0
  1050. package/lib/custom-auth-path/types/app/IPublicClientApplication.d.ts +55 -0
  1051. package/lib/custom-auth-path/types/app/IPublicClientApplication.d.ts.map +1 -0
  1052. package/lib/custom-auth-path/types/app/PublicClientApplication.d.ts +297 -0
  1053. package/lib/custom-auth-path/types/app/PublicClientApplication.d.ts.map +1 -0
  1054. package/lib/custom-auth-path/types/app/PublicClientNext.d.ts +278 -0
  1055. package/lib/custom-auth-path/types/app/PublicClientNext.d.ts.map +1 -0
  1056. package/lib/custom-auth-path/types/broker/nativeBroker/IPlatformAuthHandler.d.ts +12 -0
  1057. package/lib/custom-auth-path/types/broker/nativeBroker/IPlatformAuthHandler.d.ts.map +1 -0
  1058. package/lib/custom-auth-path/types/broker/nativeBroker/NativeStatusCodes.d.ts +9 -0
  1059. package/lib/custom-auth-path/types/broker/nativeBroker/NativeStatusCodes.d.ts.map +1 -0
  1060. package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts +30 -0
  1061. package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -0
  1062. package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +63 -0
  1063. package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -0
  1064. package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthProvider.d.ts +26 -0
  1065. package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -0
  1066. package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthRequest.d.ts +78 -0
  1067. package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthRequest.d.ts.map +1 -0
  1068. package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthResponse.d.ts +71 -0
  1069. package/lib/custom-auth-path/types/broker/nativeBroker/PlatformAuthResponse.d.ts.map +1 -0
  1070. package/lib/custom-auth-path/types/cache/AccountManager.d.ts +49 -0
  1071. package/lib/custom-auth-path/types/cache/AccountManager.d.ts.map +1 -0
  1072. package/lib/custom-auth-path/types/cache/AsyncMemoryStorage.d.ts +51 -0
  1073. package/lib/custom-auth-path/types/cache/AsyncMemoryStorage.d.ts.map +1 -0
  1074. package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts +297 -0
  1075. package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts.map +1 -0
  1076. package/lib/custom-auth-path/types/cache/CacheHelpers.d.ts +16 -0
  1077. package/lib/custom-auth-path/types/cache/CacheHelpers.d.ts.map +1 -0
  1078. package/lib/custom-auth-path/types/cache/CookieStorage.d.ts +22 -0
  1079. package/lib/custom-auth-path/types/cache/CookieStorage.d.ts.map +1 -0
  1080. package/lib/custom-auth-path/types/cache/DatabaseStorage.d.ts +57 -0
  1081. package/lib/custom-auth-path/types/cache/DatabaseStorage.d.ts.map +1 -0
  1082. package/lib/custom-auth-path/types/cache/IAsyncStorage.d.ts +28 -0
  1083. package/lib/custom-auth-path/types/cache/IAsyncStorage.d.ts.map +1 -0
  1084. package/lib/custom-auth-path/types/cache/ITokenCache.d.ts +12 -0
  1085. package/lib/custom-auth-path/types/cache/ITokenCache.d.ts.map +1 -0
  1086. package/lib/custom-auth-path/types/cache/IWindowStorage.d.ts +40 -0
  1087. package/lib/custom-auth-path/types/cache/IWindowStorage.d.ts.map +1 -0
  1088. package/lib/custom-auth-path/types/cache/LocalStorage.d.ts +49 -0
  1089. package/lib/custom-auth-path/types/cache/LocalStorage.d.ts.map +1 -0
  1090. package/lib/custom-auth-path/types/cache/MemoryStorage.d.ts +15 -0
  1091. package/lib/custom-auth-path/types/cache/MemoryStorage.d.ts.map +1 -0
  1092. package/lib/custom-auth-path/types/cache/SessionStorage.d.ts +13 -0
  1093. package/lib/custom-auth-path/types/cache/SessionStorage.d.ts.map +1 -0
  1094. package/lib/custom-auth-path/types/cache/TokenCache.d.ts +78 -0
  1095. package/lib/custom-auth-path/types/cache/TokenCache.d.ts.map +1 -0
  1096. package/lib/custom-auth-path/types/config/Configuration.d.ts +228 -0
  1097. package/lib/custom-auth-path/types/config/Configuration.d.ts.map +1 -0
  1098. package/lib/custom-auth-path/types/controllers/ControllerFactory.d.ts +6 -0
  1099. package/lib/custom-auth-path/types/controllers/ControllerFactory.d.ts.map +1 -0
  1100. package/lib/custom-auth-path/types/controllers/IController.d.ts +59 -0
  1101. package/lib/custom-auth-path/types/controllers/IController.d.ts.map +1 -0
  1102. package/lib/custom-auth-path/types/controllers/NestedAppAuthController.d.ts +203 -0
  1103. package/lib/custom-auth-path/types/controllers/NestedAppAuthController.d.ts.map +1 -0
  1104. package/lib/custom-auth-path/types/controllers/StandardController.d.ts +425 -0
  1105. package/lib/custom-auth-path/types/controllers/StandardController.d.ts.map +1 -0
  1106. package/lib/custom-auth-path/types/controllers/UnknownOperatingContextController.d.ts +86 -0
  1107. package/lib/custom-auth-path/types/controllers/UnknownOperatingContextController.d.ts.map +1 -0
  1108. package/lib/custom-auth-path/types/crypto/BrowserCrypto.d.ts +97 -0
  1109. package/lib/custom-auth-path/types/crypto/BrowserCrypto.d.ts.map +1 -0
  1110. package/lib/custom-auth-path/types/crypto/CryptoOps.d.ts +75 -0
  1111. package/lib/custom-auth-path/types/crypto/CryptoOps.d.ts.map +1 -0
  1112. package/lib/custom-auth-path/types/crypto/PkceGenerator.d.ts +9 -0
  1113. package/lib/custom-auth-path/types/crypto/PkceGenerator.d.ts.map +1 -0
  1114. package/lib/custom-auth-path/types/crypto/SignedHttpRequest.d.ts +31 -0
  1115. package/lib/custom-auth-path/types/crypto/SignedHttpRequest.d.ts.map +1 -0
  1116. package/lib/custom-auth-path/types/custom_auth/CustomAuthActionInputs.d.ts +26 -0
  1117. package/lib/custom-auth-path/types/custom_auth/CustomAuthActionInputs.d.ts.map +1 -0
  1118. package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +33 -0
  1119. package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts.map +1 -0
  1120. package/lib/custom-auth-path/types/custom_auth/CustomAuthPublicClientApplication.d.ts +55 -0
  1121. package/lib/custom-auth-path/types/custom_auth/CustomAuthPublicClientApplication.d.ts.map +1 -0
  1122. package/lib/custom-auth-path/types/custom_auth/ICustomAuthPublicClientApplication.d.ts +33 -0
  1123. package/lib/custom-auth-path/types/custom_auth/ICustomAuthPublicClientApplication.d.ts.map +1 -0
  1124. package/lib/custom-auth-path/types/custom_auth/UserAccountAttributes.d.ts +12 -0
  1125. package/lib/custom-auth-path/types/custom_auth/UserAccountAttributes.d.ts.map +1 -0
  1126. package/lib/custom-auth-path/types/custom_auth/configuration/CustomAuthConfiguration.d.ts +12 -0
  1127. package/lib/custom-auth-path/types/custom_auth/configuration/CustomAuthConfiguration.d.ts.map +1 -0
  1128. package/lib/custom-auth-path/types/custom_auth/controller/CustomAuthStandardController.d.ts +25 -0
  1129. package/lib/custom-auth-path/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -0
  1130. package/lib/custom-auth-path/types/custom_auth/controller/ICustomAuthStandardController.d.ts +13 -0
  1131. package/lib/custom-auth-path/types/custom_auth/controller/ICustomAuthStandardController.d.ts.map +1 -0
  1132. package/lib/custom-auth-path/types/custom_auth/core/CustomAuthAuthority.d.ts +29 -0
  1133. package/lib/custom-auth-path/types/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -0
  1134. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +28 -0
  1135. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -0
  1136. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts +11 -0
  1137. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts.map +1 -0
  1138. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowState.d.ts +27 -0
  1139. package/lib/custom-auth-path/types/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -0
  1140. package/lib/custom-auth-path/types/custom_auth/core/error/CustomAuthApiError.d.ts +19 -0
  1141. package/lib/custom-auth-path/types/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -0
  1142. package/lib/custom-auth-path/types/custom_auth/core/error/CustomAuthError.d.ts +9 -0
  1143. package/lib/custom-auth-path/types/custom_auth/core/error/CustomAuthError.d.ts.map +1 -0
  1144. package/lib/custom-auth-path/types/custom_auth/core/error/HttpError.d.ts +5 -0
  1145. package/lib/custom-auth-path/types/custom_auth/core/error/HttpError.d.ts.map +1 -0
  1146. package/lib/custom-auth-path/types/custom_auth/core/error/HttpErrorCodes.d.ts +3 -0
  1147. package/lib/custom-auth-path/types/custom_auth/core/error/HttpErrorCodes.d.ts.map +1 -0
  1148. package/lib/custom-auth-path/types/custom_auth/core/error/InvalidArgumentError.d.ts +5 -0
  1149. package/lib/custom-auth-path/types/custom_auth/core/error/InvalidArgumentError.d.ts.map +1 -0
  1150. package/lib/custom-auth-path/types/custom_auth/core/error/InvalidConfigurationError.d.ts +5 -0
  1151. package/lib/custom-auth-path/types/custom_auth/core/error/InvalidConfigurationError.d.ts.map +1 -0
  1152. package/lib/custom-auth-path/types/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts +4 -0
  1153. package/lib/custom-auth-path/types/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts.map +1 -0
  1154. package/lib/custom-auth-path/types/custom_auth/core/error/MethodNotImplementedError.d.ts +5 -0
  1155. package/lib/custom-auth-path/types/custom_auth/core/error/MethodNotImplementedError.d.ts.map +1 -0
  1156. package/lib/custom-auth-path/types/custom_auth/core/error/MsalCustomAuthError.d.ts +6 -0
  1157. package/lib/custom-auth-path/types/custom_auth/core/error/MsalCustomAuthError.d.ts.map +1 -0
  1158. package/lib/custom-auth-path/types/custom_auth/core/error/NoCachedAccountFoundError.d.ts +5 -0
  1159. package/lib/custom-auth-path/types/custom_auth/core/error/NoCachedAccountFoundError.d.ts.map +1 -0
  1160. package/lib/custom-auth-path/types/custom_auth/core/error/ParsedUrlError.d.ts +5 -0
  1161. package/lib/custom-auth-path/types/custom_auth/core/error/ParsedUrlError.d.ts.map +1 -0
  1162. package/lib/custom-auth-path/types/custom_auth/core/error/ParsedUrlErrorCodes.d.ts +2 -0
  1163. package/lib/custom-auth-path/types/custom_auth/core/error/ParsedUrlErrorCodes.d.ts.map +1 -0
  1164. package/lib/custom-auth-path/types/custom_auth/core/error/UnexpectedError.d.ts +5 -0
  1165. package/lib/custom-auth-path/types/custom_auth/core/error/UnexpectedError.d.ts.map +1 -0
  1166. package/lib/custom-auth-path/types/custom_auth/core/error/UnsupportedEnvironmentError.d.ts +5 -0
  1167. package/lib/custom-auth-path/types/custom_auth/core/error/UnsupportedEnvironmentError.d.ts.map +1 -0
  1168. package/lib/custom-auth-path/types/custom_auth/core/error/UserAccountAttributeError.d.ts +5 -0
  1169. package/lib/custom-auth-path/types/custom_auth/core/error/UserAccountAttributeError.d.ts.map +1 -0
  1170. package/lib/custom-auth-path/types/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts +2 -0
  1171. package/lib/custom-auth-path/types/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts.map +1 -0
  1172. package/lib/custom-auth-path/types/custom_auth/core/error/UserAlreadySignedInError.d.ts +5 -0
  1173. package/lib/custom-auth-path/types/custom_auth/core/error/UserAlreadySignedInError.d.ts.map +1 -0
  1174. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts +24 -0
  1175. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -0
  1176. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts +22 -0
  1177. package/lib/custom-auth-path/types/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts.map +1 -0
  1178. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts +14 -0
  1179. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts.map +1 -0
  1180. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +12 -0
  1181. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -0
  1182. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +12 -0
  1183. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -0
  1184. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts +9 -0
  1185. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts.map +1 -0
  1186. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts +31 -0
  1187. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map +1 -0
  1188. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +29 -0
  1189. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -0
  1190. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts +20 -0
  1191. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts.map +1 -0
  1192. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts +22 -0
  1193. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts.map +1 -0
  1194. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts +29 -0
  1195. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts.map +1 -0
  1196. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +65 -0
  1197. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -0
  1198. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +45 -0
  1199. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -0
  1200. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +10 -0
  1201. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -0
  1202. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts +9 -0
  1203. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts.map +1 -0
  1204. package/lib/custom-auth-path/types/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts +13 -0
  1205. package/lib/custom-auth-path/types/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -0
  1206. package/lib/custom-auth-path/types/custom_auth/core/network_client/http_client/IHttpClient.d.ts +35 -0
  1207. package/lib/custom-auth-path/types/custom_auth/core/network_client/http_client/IHttpClient.d.ts.map +1 -0
  1208. package/lib/custom-auth-path/types/custom_auth/core/telemetry/PublicApiId.d.ts +21 -0
  1209. package/lib/custom-auth-path/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -0
  1210. package/lib/custom-auth-path/types/custom_auth/core/utils/ArgumentValidator.d.ts +3 -0
  1211. package/lib/custom-auth-path/types/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -0
  1212. package/lib/custom-auth-path/types/custom_auth/core/utils/UrlUtils.d.ts +3 -0
  1213. package/lib/custom-auth-path/types/custom_auth/core/utils/UrlUtils.d.ts.map +1 -0
  1214. package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts +47 -0
  1215. package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts.map +1 -0
  1216. package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts +32 -0
  1217. package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts.map +1 -0
  1218. package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts +37 -0
  1219. package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts.map +1 -0
  1220. package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts +36 -0
  1221. package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts.map +1 -0
  1222. package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts +35 -0
  1223. package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts.map +1 -0
  1224. package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts +12 -0
  1225. package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts.map +1 -0
  1226. package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts +12 -0
  1227. package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts.map +1 -0
  1228. package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/state/SignOutState.d.ts +12 -0
  1229. package/lib/custom-auth-path/types/custom_auth/get_account/auth_flow/state/SignOutState.d.ts.map +1 -0
  1230. package/lib/custom-auth-path/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts +21 -0
  1231. package/lib/custom-auth-path/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -0
  1232. package/lib/custom-auth-path/types/custom_auth/index.d.ts +69 -0
  1233. package/lib/custom-auth-path/types/custom_auth/index.d.ts.map +1 -0
  1234. package/lib/custom-auth-path/types/custom_auth/operating_context/CustomAuthOperatingContext.d.ts +13 -0
  1235. package/lib/custom-auth-path/types/custom_auth/operating_context/CustomAuthOperatingContext.d.ts.map +1 -0
  1236. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts +55 -0
  1237. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts.map +1 -0
  1238. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts +37 -0
  1239. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts.map +1 -0
  1240. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts +37 -0
  1241. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts.map +1 -0
  1242. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts +37 -0
  1243. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts.map +1 -0
  1244. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts +32 -0
  1245. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts.map +1 -0
  1246. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts +23 -0
  1247. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -0
  1248. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts +7 -0
  1249. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts.map +1 -0
  1250. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts +7 -0
  1251. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts.map +1 -0
  1252. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts +12 -0
  1253. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -0
  1254. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts +6 -0
  1255. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts.map +1 -0
  1256. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +15 -0
  1257. package/lib/custom-auth-path/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts.map +1 -0
  1258. package/lib/custom-auth-path/types/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts +33 -0
  1259. package/lib/custom-auth-path/types/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -0
  1260. package/lib/custom-auth-path/types/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts +19 -0
  1261. package/lib/custom-auth-path/types/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts.map +1 -0
  1262. package/lib/custom-auth-path/types/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts +14 -0
  1263. package/lib/custom-auth-path/types/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts.map +1 -0
  1264. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/SignInScenario.d.ts +6 -0
  1265. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/SignInScenario.d.ts.map +1 -0
  1266. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +50 -0
  1267. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -0
  1268. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts +37 -0
  1269. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts.map +1 -0
  1270. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +54 -0
  1271. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -0
  1272. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +25 -0
  1273. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -0
  1274. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts +21 -0
  1275. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts.map +1 -0
  1276. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +20 -0
  1277. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -0
  1278. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts +29 -0
  1279. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -0
  1280. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts +8 -0
  1281. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts.map +1 -0
  1282. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts +13 -0
  1283. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -0
  1284. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts +7 -0
  1285. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts.map +1 -0
  1286. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts +17 -0
  1287. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -0
  1288. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInState.d.ts +6 -0
  1289. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInState.d.ts.map +1 -0
  1290. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +20 -0
  1291. package/lib/custom-auth-path/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -0
  1292. package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts +48 -0
  1293. package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -0
  1294. package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts +29 -0
  1295. package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts.map +1 -0
  1296. package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +30 -0
  1297. package/lib/custom-auth-path/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -0
  1298. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts +87 -0
  1299. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts.map +1 -0
  1300. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts +37 -0
  1301. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts.map +1 -0
  1302. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts +53 -0
  1303. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts.map +1 -0
  1304. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts +37 -0
  1305. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts.map +1 -0
  1306. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts +53 -0
  1307. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts.map +1 -0
  1308. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts +45 -0
  1309. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts.map +1 -0
  1310. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts +21 -0
  1311. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -0
  1312. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts +28 -0
  1313. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -0
  1314. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts +7 -0
  1315. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts.map +1 -0
  1316. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts +7 -0
  1317. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts.map +1 -0
  1318. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts +12 -0
  1319. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -0
  1320. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts +6 -0
  1321. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts.map +1 -0
  1322. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +20 -0
  1323. package/lib/custom-auth-path/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -0
  1324. package/lib/custom-auth-path/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +41 -0
  1325. package/lib/custom-auth-path/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -0
  1326. package/lib/custom-auth-path/types/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts +26 -0
  1327. package/lib/custom-auth-path/types/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts.map +1 -0
  1328. package/lib/custom-auth-path/types/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts +34 -0
  1329. package/lib/custom-auth-path/types/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts.map +1 -0
  1330. package/lib/custom-auth-path/types/encode/Base64Decode.d.ts +15 -0
  1331. package/lib/custom-auth-path/types/encode/Base64Decode.d.ts.map +1 -0
  1332. package/lib/custom-auth-path/types/encode/Base64Encode.d.ts +20 -0
  1333. package/lib/custom-auth-path/types/encode/Base64Encode.d.ts.map +1 -0
  1334. package/lib/custom-auth-path/types/error/BrowserAuthError.d.ts +257 -0
  1335. package/lib/custom-auth-path/types/error/BrowserAuthError.d.ts.map +1 -0
  1336. package/lib/custom-auth-path/types/error/BrowserAuthErrorCodes.d.ts +52 -0
  1337. package/lib/custom-auth-path/types/error/BrowserAuthErrorCodes.d.ts.map +1 -0
  1338. package/lib/custom-auth-path/types/error/BrowserConfigurationAuthError.d.ts +34 -0
  1339. package/lib/custom-auth-path/types/error/BrowserConfigurationAuthError.d.ts.map +1 -0
  1340. package/lib/custom-auth-path/types/error/BrowserConfigurationAuthErrorCodes.d.ts +4 -0
  1341. package/lib/custom-auth-path/types/error/BrowserConfigurationAuthErrorCodes.d.ts.map +1 -0
  1342. package/lib/custom-auth-path/types/error/NativeAuthError.d.ts +30 -0
  1343. package/lib/custom-auth-path/types/error/NativeAuthError.d.ts.map +1 -0
  1344. package/lib/custom-auth-path/types/error/NativeAuthErrorCodes.d.ts +3 -0
  1345. package/lib/custom-auth-path/types/error/NativeAuthErrorCodes.d.ts.map +1 -0
  1346. package/lib/custom-auth-path/types/error/NestedAppAuthError.d.ts +15 -0
  1347. package/lib/custom-auth-path/types/error/NestedAppAuthError.d.ts.map +1 -0
  1348. package/lib/custom-auth-path/types/event/EventHandler.d.ts +49 -0
  1349. package/lib/custom-auth-path/types/event/EventHandler.d.ts.map +1 -0
  1350. package/lib/custom-auth-path/types/event/EventMessage.d.ts +40 -0
  1351. package/lib/custom-auth-path/types/event/EventMessage.d.ts.map +1 -0
  1352. package/lib/custom-auth-path/types/event/EventType.d.ts +31 -0
  1353. package/lib/custom-auth-path/types/event/EventType.d.ts.map +1 -0
  1354. package/lib/custom-auth-path/types/index.d.ts +45 -0
  1355. package/lib/custom-auth-path/types/index.d.ts.map +1 -0
  1356. package/lib/custom-auth-path/types/interaction_client/BaseInteractionClient.d.ts +59 -0
  1357. package/lib/custom-auth-path/types/interaction_client/BaseInteractionClient.d.ts.map +1 -0
  1358. package/lib/custom-auth-path/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +5 -0
  1359. package/lib/custom-auth-path/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -0
  1360. package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts +149 -0
  1361. package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -0
  1362. package/lib/custom-auth-path/types/interaction_client/PopupClient.d.ts +120 -0
  1363. package/lib/custom-auth-path/types/interaction_client/PopupClient.d.ts.map +1 -0
  1364. package/lib/custom-auth-path/types/interaction_client/RedirectClient.d.ts +68 -0
  1365. package/lib/custom-auth-path/types/interaction_client/RedirectClient.d.ts.map +1 -0
  1366. package/lib/custom-auth-path/types/interaction_client/SilentAuthCodeClient.d.ts +24 -0
  1367. package/lib/custom-auth-path/types/interaction_client/SilentAuthCodeClient.d.ts.map +1 -0
  1368. package/lib/custom-auth-path/types/interaction_client/SilentCacheClient.d.ts +17 -0
  1369. package/lib/custom-auth-path/types/interaction_client/SilentCacheClient.d.ts.map +1 -0
  1370. package/lib/custom-auth-path/types/interaction_client/SilentIframeClient.d.ts +43 -0
  1371. package/lib/custom-auth-path/types/interaction_client/SilentIframeClient.d.ts.map +1 -0
  1372. package/lib/custom-auth-path/types/interaction_client/SilentRefreshClient.d.ts +32 -0
  1373. package/lib/custom-auth-path/types/interaction_client/SilentRefreshClient.d.ts.map +1 -0
  1374. package/lib/custom-auth-path/types/interaction_client/StandardInteractionClient.d.ts +64 -0
  1375. package/lib/custom-auth-path/types/interaction_client/StandardInteractionClient.d.ts.map +1 -0
  1376. package/lib/custom-auth-path/types/interaction_handler/InteractionHandler.d.ts +33 -0
  1377. package/lib/custom-auth-path/types/interaction_handler/InteractionHandler.d.ts.map +1 -0
  1378. package/lib/custom-auth-path/types/interaction_handler/SilentHandler.d.ts +16 -0
  1379. package/lib/custom-auth-path/types/interaction_handler/SilentHandler.d.ts.map +1 -0
  1380. package/lib/custom-auth-path/types/naa/AccountInfo.d.ts +12 -0
  1381. package/lib/custom-auth-path/types/naa/AccountInfo.d.ts.map +1 -0
  1382. package/lib/custom-auth-path/types/naa/AuthBridge.d.ts +9 -0
  1383. package/lib/custom-auth-path/types/naa/AuthBridge.d.ts.map +1 -0
  1384. package/lib/custom-auth-path/types/naa/AuthResult.d.ts +7 -0
  1385. package/lib/custom-auth-path/types/naa/AuthResult.d.ts.map +1 -0
  1386. package/lib/custom-auth-path/types/naa/BridgeAccountContext.d.ts +13 -0
  1387. package/lib/custom-auth-path/types/naa/BridgeAccountContext.d.ts.map +1 -0
  1388. package/lib/custom-auth-path/types/naa/BridgeCapabilities.d.ts +4 -0
  1389. package/lib/custom-auth-path/types/naa/BridgeCapabilities.d.ts.map +1 -0
  1390. package/lib/custom-auth-path/types/naa/BridgeError.d.ts +10 -0
  1391. package/lib/custom-auth-path/types/naa/BridgeError.d.ts.map +1 -0
  1392. package/lib/custom-auth-path/types/naa/BridgeProxy.d.ts +69 -0
  1393. package/lib/custom-auth-path/types/naa/BridgeProxy.d.ts.map +1 -0
  1394. package/lib/custom-auth-path/types/naa/BridgeRequest.d.ts +8 -0
  1395. package/lib/custom-auth-path/types/naa/BridgeRequest.d.ts.map +1 -0
  1396. package/lib/custom-auth-path/types/naa/BridgeRequestEnvelope.d.ts +13 -0
  1397. package/lib/custom-auth-path/types/naa/BridgeRequestEnvelope.d.ts.map +1 -0
  1398. package/lib/custom-auth-path/types/naa/BridgeResponseEnvelope.d.ts +14 -0
  1399. package/lib/custom-auth-path/types/naa/BridgeResponseEnvelope.d.ts.map +1 -0
  1400. package/lib/custom-auth-path/types/naa/BridgeStatusCode.d.ts +12 -0
  1401. package/lib/custom-auth-path/types/naa/BridgeStatusCode.d.ts.map +1 -0
  1402. package/lib/custom-auth-path/types/naa/IBridgeProxy.d.ts +11 -0
  1403. package/lib/custom-auth-path/types/naa/IBridgeProxy.d.ts.map +1 -0
  1404. package/lib/custom-auth-path/types/naa/InitContext.d.ts +9 -0
  1405. package/lib/custom-auth-path/types/naa/InitContext.d.ts.map +1 -0
  1406. package/lib/custom-auth-path/types/naa/TokenRequest.d.ts +19 -0
  1407. package/lib/custom-auth-path/types/naa/TokenRequest.d.ts.map +1 -0
  1408. package/lib/custom-auth-path/types/naa/TokenResponse.d.ts +14 -0
  1409. package/lib/custom-auth-path/types/naa/TokenResponse.d.ts.map +1 -0
  1410. package/lib/custom-auth-path/types/naa/mapping/NestedAppAuthAdapter.d.ts +36 -0
  1411. package/lib/custom-auth-path/types/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -0
  1412. package/lib/custom-auth-path/types/navigation/INavigationClient.d.ts +17 -0
  1413. package/lib/custom-auth-path/types/navigation/INavigationClient.d.ts.map +1 -0
  1414. package/lib/custom-auth-path/types/navigation/NavigationClient.d.ts +23 -0
  1415. package/lib/custom-auth-path/types/navigation/NavigationClient.d.ts.map +1 -0
  1416. package/lib/custom-auth-path/types/navigation/NavigationOptions.d.ts +13 -0
  1417. package/lib/custom-auth-path/types/navigation/NavigationOptions.d.ts.map +1 -0
  1418. package/lib/custom-auth-path/types/network/FetchClient.d.ts +21 -0
  1419. package/lib/custom-auth-path/types/network/FetchClient.d.ts.map +1 -0
  1420. package/lib/custom-auth-path/types/operatingcontext/BaseOperatingContext.d.ts +42 -0
  1421. package/lib/custom-auth-path/types/operatingcontext/BaseOperatingContext.d.ts.map +1 -0
  1422. package/lib/custom-auth-path/types/operatingcontext/NestedAppOperatingContext.d.ts +40 -0
  1423. package/lib/custom-auth-path/types/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -0
  1424. package/lib/custom-auth-path/types/operatingcontext/StandardOperatingContext.d.ts +26 -0
  1425. package/lib/custom-auth-path/types/operatingcontext/StandardOperatingContext.d.ts.map +1 -0
  1426. package/lib/custom-auth-path/types/operatingcontext/UnknownOperatingContext.d.ts +26 -0
  1427. package/lib/custom-auth-path/types/operatingcontext/UnknownOperatingContext.d.ts.map +1 -0
  1428. package/lib/custom-auth-path/types/packageMetadata.d.ts +3 -0
  1429. package/lib/custom-auth-path/types/packageMetadata.d.ts.map +1 -0
  1430. package/lib/custom-auth-path/types/protocol/Authorize.d.ts +65 -0
  1431. package/lib/custom-auth-path/types/protocol/Authorize.d.ts.map +1 -0
  1432. package/lib/custom-auth-path/types/request/AuthorizationCodeRequest.d.ts +9 -0
  1433. package/lib/custom-auth-path/types/request/AuthorizationCodeRequest.d.ts.map +1 -0
  1434. package/lib/custom-auth-path/types/request/AuthorizationUrlRequest.d.ts +7 -0
  1435. package/lib/custom-auth-path/types/request/AuthorizationUrlRequest.d.ts.map +1 -0
  1436. package/lib/custom-auth-path/types/request/ClearCacheRequest.d.ts +11 -0
  1437. package/lib/custom-auth-path/types/request/ClearCacheRequest.d.ts.map +1 -0
  1438. package/lib/custom-auth-path/types/request/EndSessionPopupRequest.d.ts +21 -0
  1439. package/lib/custom-auth-path/types/request/EndSessionPopupRequest.d.ts.map +1 -0
  1440. package/lib/custom-auth-path/types/request/EndSessionRequest.d.ts +16 -0
  1441. package/lib/custom-auth-path/types/request/EndSessionRequest.d.ts.map +1 -0
  1442. package/lib/custom-auth-path/types/request/InitializeApplicationRequest.d.ts +9 -0
  1443. package/lib/custom-auth-path/types/request/InitializeApplicationRequest.d.ts.map +1 -0
  1444. package/lib/custom-auth-path/types/request/PopupRequest.d.ts +36 -0
  1445. package/lib/custom-auth-path/types/request/PopupRequest.d.ts.map +1 -0
  1446. package/lib/custom-auth-path/types/request/PopupWindowAttributes.d.ts +16 -0
  1447. package/lib/custom-auth-path/types/request/PopupWindowAttributes.d.ts.map +1 -0
  1448. package/lib/custom-auth-path/types/request/RedirectRequest.d.ts +40 -0
  1449. package/lib/custom-auth-path/types/request/RedirectRequest.d.ts.map +1 -0
  1450. package/lib/custom-auth-path/types/request/RequestHelpers.d.ts +14 -0
  1451. package/lib/custom-auth-path/types/request/RequestHelpers.d.ts.map +1 -0
  1452. package/lib/custom-auth-path/types/request/SilentRequest.d.ts +33 -0
  1453. package/lib/custom-auth-path/types/request/SilentRequest.d.ts.map +1 -0
  1454. package/lib/custom-auth-path/types/request/SsoSilentRequest.d.ts +28 -0
  1455. package/lib/custom-auth-path/types/request/SsoSilentRequest.d.ts.map +1 -0
  1456. package/lib/custom-auth-path/types/response/AuthenticationResult.d.ts +5 -0
  1457. package/lib/custom-auth-path/types/response/AuthenticationResult.d.ts.map +1 -0
  1458. package/lib/custom-auth-path/types/response/ResponseHandler.d.ts +8 -0
  1459. package/lib/custom-auth-path/types/response/ResponseHandler.d.ts.map +1 -0
  1460. package/lib/custom-auth-path/types/telemetry/BrowserPerformanceClient.d.ts +35 -0
  1461. package/lib/custom-auth-path/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -0
  1462. package/lib/custom-auth-path/types/telemetry/BrowserPerformanceMeasurement.d.ts +22 -0
  1463. package/lib/custom-auth-path/types/telemetry/BrowserPerformanceMeasurement.d.ts.map +1 -0
  1464. package/lib/custom-auth-path/types/utils/BrowserConstants.d.ts +184 -0
  1465. package/lib/custom-auth-path/types/utils/BrowserConstants.d.ts.map +1 -0
  1466. package/lib/custom-auth-path/types/utils/BrowserProtocolUtils.d.ts +12 -0
  1467. package/lib/custom-auth-path/types/utils/BrowserProtocolUtils.d.ts.map +1 -0
  1468. package/lib/custom-auth-path/types/utils/BrowserUtils.d.ts +76 -0
  1469. package/lib/custom-auth-path/types/utils/BrowserUtils.d.ts.map +1 -0
  1470. package/lib/custom-auth-path/types/utils/MsalFrameStatsUtils.d.ts +3 -0
  1471. package/lib/custom-auth-path/types/utils/MsalFrameStatsUtils.d.ts.map +1 -0
  1472. package/lib/msal-browser.cjs +1193 -1080
  1473. package/lib/msal-browser.cjs.map +1 -1
  1474. package/lib/msal-browser.js +1193 -1080
  1475. package/lib/msal-browser.js.map +1 -1
  1476. package/lib/msal-browser.min.js +68 -66
  1477. package/lib/types/broker/nativeBroker/NativeStatusCodes.d.ts +1 -0
  1478. package/lib/types/broker/nativeBroker/NativeStatusCodes.d.ts.map +1 -1
  1479. package/lib/types/cache/AccountManager.d.ts +7 -7
  1480. package/lib/types/cache/AccountManager.d.ts.map +1 -1
  1481. package/lib/types/cache/BrowserCacheManager.d.ts +44 -30
  1482. package/lib/types/cache/BrowserCacheManager.d.ts.map +1 -1
  1483. package/lib/types/cache/IWindowStorage.d.ts +1 -1
  1484. package/lib/types/cache/IWindowStorage.d.ts.map +1 -1
  1485. package/lib/types/cache/LocalStorage.d.ts +1 -1
  1486. package/lib/types/cache/LocalStorage.d.ts.map +1 -1
  1487. package/lib/types/cache/TokenCache.d.ts.map +1 -1
  1488. package/lib/types/controllers/NestedAppAuthController.d.ts.map +1 -1
  1489. package/lib/types/controllers/StandardController.d.ts.map +1 -1
  1490. package/lib/types/crypto/CryptoOps.d.ts +1 -1
  1491. package/lib/types/crypto/CryptoOps.d.ts.map +1 -1
  1492. package/lib/types/crypto/SignedHttpRequest.d.ts.map +1 -1
  1493. package/lib/types/custom_auth/CustomAuthActionInputs.d.ts +26 -0
  1494. package/lib/types/custom_auth/CustomAuthActionInputs.d.ts.map +1 -0
  1495. package/lib/types/custom_auth/CustomAuthConstants.d.ts +33 -0
  1496. package/lib/types/custom_auth/CustomAuthConstants.d.ts.map +1 -0
  1497. package/lib/types/custom_auth/CustomAuthPublicClientApplication.d.ts +55 -0
  1498. package/lib/types/custom_auth/CustomAuthPublicClientApplication.d.ts.map +1 -0
  1499. package/lib/types/custom_auth/ICustomAuthPublicClientApplication.d.ts +33 -0
  1500. package/lib/types/custom_auth/ICustomAuthPublicClientApplication.d.ts.map +1 -0
  1501. package/lib/types/custom_auth/UserAccountAttributes.d.ts +12 -0
  1502. package/lib/types/custom_auth/UserAccountAttributes.d.ts.map +1 -0
  1503. package/lib/types/custom_auth/configuration/CustomAuthConfiguration.d.ts +12 -0
  1504. package/lib/types/custom_auth/configuration/CustomAuthConfiguration.d.ts.map +1 -0
  1505. package/lib/types/custom_auth/controller/CustomAuthStandardController.d.ts +25 -0
  1506. package/lib/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -0
  1507. package/lib/types/custom_auth/controller/ICustomAuthStandardController.d.ts +13 -0
  1508. package/lib/types/custom_auth/controller/ICustomAuthStandardController.d.ts.map +1 -0
  1509. package/lib/types/custom_auth/core/CustomAuthAuthority.d.ts +29 -0
  1510. package/lib/types/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -0
  1511. package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +28 -0
  1512. package/lib/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -0
  1513. package/lib/types/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts +11 -0
  1514. package/lib/types/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts.map +1 -0
  1515. package/lib/types/custom_auth/core/auth_flow/AuthFlowState.d.ts +27 -0
  1516. package/lib/types/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -0
  1517. package/lib/types/custom_auth/core/error/CustomAuthApiError.d.ts +19 -0
  1518. package/lib/types/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -0
  1519. package/lib/types/custom_auth/core/error/CustomAuthError.d.ts +9 -0
  1520. package/lib/types/custom_auth/core/error/CustomAuthError.d.ts.map +1 -0
  1521. package/lib/types/custom_auth/core/error/HttpError.d.ts +5 -0
  1522. package/lib/types/custom_auth/core/error/HttpError.d.ts.map +1 -0
  1523. package/lib/types/custom_auth/core/error/HttpErrorCodes.d.ts +3 -0
  1524. package/lib/types/custom_auth/core/error/HttpErrorCodes.d.ts.map +1 -0
  1525. package/lib/types/custom_auth/core/error/InvalidArgumentError.d.ts +5 -0
  1526. package/lib/types/custom_auth/core/error/InvalidArgumentError.d.ts.map +1 -0
  1527. package/lib/types/custom_auth/core/error/InvalidConfigurationError.d.ts +5 -0
  1528. package/lib/types/custom_auth/core/error/InvalidConfigurationError.d.ts.map +1 -0
  1529. package/lib/types/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts +4 -0
  1530. package/lib/types/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts.map +1 -0
  1531. package/lib/types/custom_auth/core/error/MethodNotImplementedError.d.ts +5 -0
  1532. package/lib/types/custom_auth/core/error/MethodNotImplementedError.d.ts.map +1 -0
  1533. package/lib/types/custom_auth/core/error/MsalCustomAuthError.d.ts +6 -0
  1534. package/lib/types/custom_auth/core/error/MsalCustomAuthError.d.ts.map +1 -0
  1535. package/lib/types/custom_auth/core/error/NoCachedAccountFoundError.d.ts +5 -0
  1536. package/lib/types/custom_auth/core/error/NoCachedAccountFoundError.d.ts.map +1 -0
  1537. package/lib/types/custom_auth/core/error/ParsedUrlError.d.ts +5 -0
  1538. package/lib/types/custom_auth/core/error/ParsedUrlError.d.ts.map +1 -0
  1539. package/lib/types/custom_auth/core/error/ParsedUrlErrorCodes.d.ts +2 -0
  1540. package/lib/types/custom_auth/core/error/ParsedUrlErrorCodes.d.ts.map +1 -0
  1541. package/lib/types/custom_auth/core/error/UnexpectedError.d.ts +5 -0
  1542. package/lib/types/custom_auth/core/error/UnexpectedError.d.ts.map +1 -0
  1543. package/lib/types/custom_auth/core/error/UnsupportedEnvironmentError.d.ts +5 -0
  1544. package/lib/types/custom_auth/core/error/UnsupportedEnvironmentError.d.ts.map +1 -0
  1545. package/lib/types/custom_auth/core/error/UserAccountAttributeError.d.ts +5 -0
  1546. package/lib/types/custom_auth/core/error/UserAccountAttributeError.d.ts.map +1 -0
  1547. package/lib/types/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts +2 -0
  1548. package/lib/types/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts.map +1 -0
  1549. package/lib/types/custom_auth/core/error/UserAlreadySignedInError.d.ts +5 -0
  1550. package/lib/types/custom_auth/core/error/UserAlreadySignedInError.d.ts.map +1 -0
  1551. package/lib/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts +24 -0
  1552. package/lib/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -0
  1553. package/lib/types/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts +22 -0
  1554. package/lib/types/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts.map +1 -0
  1555. package/lib/types/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts +14 -0
  1556. package/lib/types/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts.map +1 -0
  1557. package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +12 -0
  1558. package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -0
  1559. package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +12 -0
  1560. package/lib/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -0
  1561. package/lib/types/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts +9 -0
  1562. package/lib/types/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts.map +1 -0
  1563. package/lib/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts +31 -0
  1564. package/lib/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map +1 -0
  1565. package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +29 -0
  1566. package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -0
  1567. package/lib/types/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts +20 -0
  1568. package/lib/types/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts.map +1 -0
  1569. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts +22 -0
  1570. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts.map +1 -0
  1571. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts +29 -0
  1572. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts.map +1 -0
  1573. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +65 -0
  1574. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -0
  1575. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +45 -0
  1576. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -0
  1577. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +10 -0
  1578. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -0
  1579. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts +9 -0
  1580. package/lib/types/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts.map +1 -0
  1581. package/lib/types/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts +13 -0
  1582. package/lib/types/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -0
  1583. package/lib/types/custom_auth/core/network_client/http_client/IHttpClient.d.ts +35 -0
  1584. package/lib/types/custom_auth/core/network_client/http_client/IHttpClient.d.ts.map +1 -0
  1585. package/lib/types/custom_auth/core/telemetry/PublicApiId.d.ts +21 -0
  1586. package/lib/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -0
  1587. package/lib/types/custom_auth/core/utils/ArgumentValidator.d.ts +3 -0
  1588. package/lib/types/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -0
  1589. package/lib/types/custom_auth/core/utils/UrlUtils.d.ts +3 -0
  1590. package/lib/types/custom_auth/core/utils/UrlUtils.d.ts.map +1 -0
  1591. package/lib/types/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts +47 -0
  1592. package/lib/types/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts.map +1 -0
  1593. package/lib/types/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts +32 -0
  1594. package/lib/types/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts.map +1 -0
  1595. package/lib/types/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts +37 -0
  1596. package/lib/types/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts.map +1 -0
  1597. package/lib/types/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts +36 -0
  1598. package/lib/types/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts.map +1 -0
  1599. package/lib/types/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts +35 -0
  1600. package/lib/types/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts.map +1 -0
  1601. package/lib/types/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts +12 -0
  1602. package/lib/types/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts.map +1 -0
  1603. package/lib/types/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts +12 -0
  1604. package/lib/types/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts.map +1 -0
  1605. package/lib/types/custom_auth/get_account/auth_flow/state/SignOutState.d.ts +12 -0
  1606. package/lib/types/custom_auth/get_account/auth_flow/state/SignOutState.d.ts.map +1 -0
  1607. package/lib/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts +21 -0
  1608. package/lib/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -0
  1609. package/lib/types/custom_auth/index.d.ts +69 -0
  1610. package/lib/types/custom_auth/index.d.ts.map +1 -0
  1611. package/lib/types/custom_auth/operating_context/CustomAuthOperatingContext.d.ts +13 -0
  1612. package/lib/types/custom_auth/operating_context/CustomAuthOperatingContext.d.ts.map +1 -0
  1613. package/lib/types/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts +55 -0
  1614. package/lib/types/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts.map +1 -0
  1615. package/lib/types/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts +37 -0
  1616. package/lib/types/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts.map +1 -0
  1617. package/lib/types/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts +37 -0
  1618. package/lib/types/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts.map +1 -0
  1619. package/lib/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts +37 -0
  1620. package/lib/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts.map +1 -0
  1621. package/lib/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts +32 -0
  1622. package/lib/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts.map +1 -0
  1623. package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts +23 -0
  1624. package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -0
  1625. package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts +7 -0
  1626. package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts.map +1 -0
  1627. package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts +7 -0
  1628. package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts.map +1 -0
  1629. package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts +12 -0
  1630. package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -0
  1631. package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts +6 -0
  1632. package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts.map +1 -0
  1633. package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +15 -0
  1634. package/lib/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts.map +1 -0
  1635. package/lib/types/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts +33 -0
  1636. package/lib/types/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -0
  1637. package/lib/types/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts +19 -0
  1638. package/lib/types/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts.map +1 -0
  1639. package/lib/types/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts +14 -0
  1640. package/lib/types/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts.map +1 -0
  1641. package/lib/types/custom_auth/sign_in/auth_flow/SignInScenario.d.ts +6 -0
  1642. package/lib/types/custom_auth/sign_in/auth_flow/SignInScenario.d.ts.map +1 -0
  1643. package/lib/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +50 -0
  1644. package/lib/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -0
  1645. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts +37 -0
  1646. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts.map +1 -0
  1647. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +54 -0
  1648. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -0
  1649. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +25 -0
  1650. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -0
  1651. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts +21 -0
  1652. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.d.ts.map +1 -0
  1653. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +20 -0
  1654. package/lib/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -0
  1655. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts +29 -0
  1656. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -0
  1657. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts +8 -0
  1658. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts.map +1 -0
  1659. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts +13 -0
  1660. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -0
  1661. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts +7 -0
  1662. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts.map +1 -0
  1663. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts +17 -0
  1664. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -0
  1665. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInState.d.ts +6 -0
  1666. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInState.d.ts.map +1 -0
  1667. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +20 -0
  1668. package/lib/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -0
  1669. package/lib/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts +48 -0
  1670. package/lib/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -0
  1671. package/lib/types/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts +29 -0
  1672. package/lib/types/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts.map +1 -0
  1673. package/lib/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +30 -0
  1674. package/lib/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -0
  1675. package/lib/types/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts +87 -0
  1676. package/lib/types/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts.map +1 -0
  1677. package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts +37 -0
  1678. package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts.map +1 -0
  1679. package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts +53 -0
  1680. package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts.map +1 -0
  1681. package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts +37 -0
  1682. package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts.map +1 -0
  1683. package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts +53 -0
  1684. package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts.map +1 -0
  1685. package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts +45 -0
  1686. package/lib/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts.map +1 -0
  1687. package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts +21 -0
  1688. package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -0
  1689. package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts +28 -0
  1690. package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -0
  1691. package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts +7 -0
  1692. package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts.map +1 -0
  1693. package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts +7 -0
  1694. package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts.map +1 -0
  1695. package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts +12 -0
  1696. package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -0
  1697. package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts +6 -0
  1698. package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts.map +1 -0
  1699. package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +20 -0
  1700. package/lib/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -0
  1701. package/lib/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +41 -0
  1702. package/lib/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -0
  1703. package/lib/types/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts +26 -0
  1704. package/lib/types/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts.map +1 -0
  1705. package/lib/types/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts +34 -0
  1706. package/lib/types/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts.map +1 -0
  1707. package/lib/types/error/BrowserAuthError.d.ts +1 -0
  1708. package/lib/types/error/BrowserAuthError.d.ts.map +1 -1
  1709. package/lib/types/error/BrowserAuthErrorCodes.d.ts +1 -0
  1710. package/lib/types/error/BrowserAuthErrorCodes.d.ts.map +1 -1
  1711. package/lib/types/error/NativeAuthError.d.ts.map +1 -1
  1712. package/lib/types/interaction_client/BaseInteractionClient.d.ts +1 -1
  1713. package/lib/types/interaction_client/BaseInteractionClient.d.ts.map +1 -1
  1714. package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts +1 -1
  1715. package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  1716. package/lib/types/interaction_client/PopupClient.d.ts.map +1 -1
  1717. package/lib/types/interaction_client/RedirectClient.d.ts.map +1 -1
  1718. package/lib/types/interaction_client/SilentCacheClient.d.ts.map +1 -1
  1719. package/lib/types/interaction_client/StandardInteractionClient.d.ts.map +1 -1
  1720. package/lib/types/navigation/NavigationClient.d.ts.map +1 -1
  1721. package/lib/types/packageMetadata.d.ts +1 -1
  1722. package/package.json +12 -2
  1723. package/src/broker/nativeBroker/NativeStatusCodes.ts +1 -0
  1724. package/src/broker/nativeBroker/PlatformAuthProvider.ts +5 -5
  1725. package/src/cache/AccountManager.ts +40 -20
  1726. package/src/cache/BrowserCacheManager.ts +344 -224
  1727. package/src/cache/IWindowStorage.ts +6 -1
  1728. package/src/cache/LocalStorage.ts +4 -1
  1729. package/src/cache/TokenCache.ts +1 -0
  1730. package/src/controllers/NestedAppAuthController.ts +32 -12
  1731. package/src/controllers/StandardController.ts +28 -8
  1732. package/src/crypto/CryptoOps.ts +8 -2
  1733. package/src/crypto/SignedHttpRequest.ts +19 -1
  1734. package/src/custom_auth/CustomAuthActionInputs.ts +37 -0
  1735. package/src/custom_auth/CustomAuthConstants.ts +50 -0
  1736. package/src/custom_auth/CustomAuthPublicClientApplication.ts +158 -0
  1737. package/src/custom_auth/ICustomAuthPublicClientApplication.ts +51 -0
  1738. package/src/custom_auth/UserAccountAttributes.ts +16 -0
  1739. package/src/custom_auth/configuration/CustomAuthConfiguration.ts +22 -0
  1740. package/src/custom_auth/controller/CustomAuthStandardController.ts +509 -0
  1741. package/src/custom_auth/controller/ICustomAuthStandardController.ts +53 -0
  1742. package/src/custom_auth/core/CustomAuthAuthority.ts +112 -0
  1743. package/src/custom_auth/core/auth_flow/AuthFlowErrorBase.ts +140 -0
  1744. package/src/custom_auth/core/auth_flow/AuthFlowResultBase.ts +55 -0
  1745. package/src/custom_auth/core/auth_flow/AuthFlowState.ts +73 -0
  1746. package/src/custom_auth/core/error/CustomAuthApiError.ts +41 -0
  1747. package/src/custom_auth/core/error/CustomAuthError.ts +20 -0
  1748. package/src/custom_auth/core/error/HttpError.ts +13 -0
  1749. package/src/custom_auth/core/error/HttpErrorCodes.ts +7 -0
  1750. package/src/custom_auth/core/error/InvalidArgumentError.ts +15 -0
  1751. package/src/custom_auth/core/error/InvalidConfigurationError.ts +13 -0
  1752. package/src/custom_auth/core/error/InvalidConfigurationErrorCodes.ts +8 -0
  1753. package/src/custom_auth/core/error/MethodNotImplementedError.ts +15 -0
  1754. package/src/custom_auth/core/error/MsalCustomAuthError.ts +22 -0
  1755. package/src/custom_auth/core/error/NoCachedAccountFoundError.ts +17 -0
  1756. package/src/custom_auth/core/error/ParsedUrlError.ts +13 -0
  1757. package/src/custom_auth/core/error/ParsedUrlErrorCodes.ts +6 -0
  1758. package/src/custom_auth/core/error/UnexpectedError.ts +25 -0
  1759. package/src/custom_auth/core/error/UnsupportedEnvironmentError.ts +17 -0
  1760. package/src/custom_auth/core/error/UserAccountAttributeError.ts +15 -0
  1761. package/src/custom_auth/core/error/UserAccountAttributeErrorCodes.ts +6 -0
  1762. package/src/custom_auth/core/error/UserAlreadySignedInError.ts +17 -0
  1763. package/src/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.ts +92 -0
  1764. package/src/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.ts +57 -0
  1765. package/src/custom_auth/core/network_client/custom_auth_api/BaseApiClient.ts +168 -0
  1766. package/src/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.ts +38 -0
  1767. package/src/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.ts +18 -0
  1768. package/src/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.ts +13 -0
  1769. package/src/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.ts +172 -0
  1770. package/src/custom_auth/core/network_client/custom_auth_api/SignInApiClient.ts +186 -0
  1771. package/src/custom_auth/core/network_client/custom_auth_api/SignupApiClient.ts +141 -0
  1772. package/src/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.ts +26 -0
  1773. package/src/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.ts +36 -0
  1774. package/src/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.ts +91 -0
  1775. package/src/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.ts +66 -0
  1776. package/src/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.ts +14 -0
  1777. package/src/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.ts +15 -0
  1778. package/src/custom_auth/core/network_client/http_client/FetchHttpClient.ts +86 -0
  1779. package/src/custom_auth/core/network_client/http_client/IHttpClient.ts +54 -0
  1780. package/src/custom_auth/core/telemetry/PublicApiId.ts +37 -0
  1781. package/src/custom_auth/core/utils/ArgumentValidator.ts +26 -0
  1782. package/src/custom_auth/core/utils/UrlUtils.ts +25 -0
  1783. package/src/custom_auth/get_account/auth_flow/CustomAuthAccountData.ts +185 -0
  1784. package/src/custom_auth/get_account/auth_flow/error_type/GetAccountError.ts +45 -0
  1785. package/src/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.ts +72 -0
  1786. package/src/custom_auth/get_account/auth_flow/result/GetAccountResult.ts +69 -0
  1787. package/src/custom_auth/get_account/auth_flow/result/SignOutResult.ts +62 -0
  1788. package/src/custom_auth/get_account/auth_flow/state/GetAccessTokenState.ts +16 -0
  1789. package/src/custom_auth/get_account/auth_flow/state/GetAccountState.ts +16 -0
  1790. package/src/custom_auth/get_account/auth_flow/state/SignOutState.ts +16 -0
  1791. package/src/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.ts +215 -0
  1792. package/src/custom_auth/index.ts +185 -0
  1793. package/src/custom_auth/operating_context/CustomAuthOperatingContext.ts +43 -0
  1794. package/src/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.ts +96 -0
  1795. package/src/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.ts +76 -0
  1796. package/src/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.ts +70 -0
  1797. package/src/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.ts +70 -0
  1798. package/src/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.ts +65 -0
  1799. package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.ts +130 -0
  1800. package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.ts +11 -0
  1801. package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.ts +11 -0
  1802. package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.ts +73 -0
  1803. package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordState.ts +29 -0
  1804. package/src/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.ts +25 -0
  1805. package/src/custom_auth/reset_password/interaction_client/ResetPasswordClient.ts +311 -0
  1806. package/src/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.ts +28 -0
  1807. package/src/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.ts +21 -0
  1808. package/src/custom_auth/sign_in/auth_flow/SignInScenario.ts +12 -0
  1809. package/src/custom_auth/sign_in/auth_flow/error_type/SignInError.ts +79 -0
  1810. package/src/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.ts +67 -0
  1811. package/src/custom_auth/sign_in/auth_flow/result/SignInResult.ts +87 -0
  1812. package/src/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.ts +44 -0
  1813. package/src/custom_auth/sign_in/auth_flow/result/SignInSubmitCredentialResult.ts +43 -0
  1814. package/src/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.ts +41 -0
  1815. package/src/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.ts +141 -0
  1816. package/src/custom_auth/sign_in/auth_flow/state/SignInCompletedState.ts +12 -0
  1817. package/src/custom_auth/sign_in/auth_flow/state/SignInContinuationState.ts +71 -0
  1818. package/src/custom_auth/sign_in/auth_flow/state/SignInFailedState.ts +11 -0
  1819. package/src/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.ts +83 -0
  1820. package/src/custom_auth/sign_in/auth_flow/state/SignInState.ts +34 -0
  1821. package/src/custom_auth/sign_in/auth_flow/state/SignInStateParameters.ts +32 -0
  1822. package/src/custom_auth/sign_in/interaction_client/SignInClient.ts +396 -0
  1823. package/src/custom_auth/sign_in/interaction_client/parameter/SignInParams.ts +39 -0
  1824. package/src/custom_auth/sign_in/interaction_client/result/SignInActionResult.ts +65 -0
  1825. package/src/custom_auth/sign_up/auth_flow/error_type/SignUpError.ts +138 -0
  1826. package/src/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.ts +70 -0
  1827. package/src/custom_auth/sign_up/auth_flow/result/SignUpResult.ts +88 -0
  1828. package/src/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.ts +70 -0
  1829. package/src/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.ts +90 -0
  1830. package/src/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.ts +80 -0
  1831. package/src/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.ts +115 -0
  1832. package/src/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.ts +196 -0
  1833. package/src/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.ts +11 -0
  1834. package/src/custom_auth/sign_up/auth_flow/state/SignUpFailedState.ts +11 -0
  1835. package/src/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.ts +112 -0
  1836. package/src/custom_auth/sign_up/auth_flow/state/SignUpState.ts +34 -0
  1837. package/src/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.ts +31 -0
  1838. package/src/custom_auth/sign_up/interaction_client/SignUpClient.ts +496 -0
  1839. package/src/custom_auth/sign_up/interaction_client/parameter/SignUpParams.ts +36 -0
  1840. package/src/custom_auth/sign_up/interaction_client/result/SignUpActionResult.ts +77 -0
  1841. package/src/error/BrowserAuthError.ts +1 -0
  1842. package/src/error/BrowserAuthErrorCodes.ts +1 -0
  1843. package/src/error/NativeAuthError.ts +4 -0
  1844. package/src/interaction_client/BaseInteractionClient.ts +7 -5
  1845. package/src/interaction_client/PlatformAuthInteractionClient.ts +19 -13
  1846. package/src/interaction_client/PopupClient.ts +7 -3
  1847. package/src/interaction_client/RedirectClient.ts +17 -3
  1848. package/src/interaction_client/SilentCacheClient.ts +4 -1
  1849. package/src/interaction_client/StandardInteractionClient.ts +2 -1
  1850. package/src/navigation/NavigationClient.ts +11 -2
  1851. package/src/packageMetadata.ts +1 -1
@@ -0,0 +1,1469 @@
1
+ /*! @azure/msal-browser v4.14.0 2025-07-01 */
2
+ 'use strict';
3
+ import { CryptoOps } from '../crypto/CryptoOps.mjs';
4
+ import { DEFAULT_CRYPTO_IMPLEMENTATION, buildStaticAuthorityOptions, PerformanceEvents, invokeAsync, invoke, InteractionRequiredAuthError, createClientAuthError, ClientAuthErrorCodes, AccountEntity, PromptValue, Constants, AuthError, getRequestThumbprint, InteractionRequiredAuthErrorCodes } from '@azure/msal-common/browser';
5
+ import { BrowserCacheManager, DEFAULT_BROWSER_CACHE_MANAGER } from '../cache/BrowserCacheManager.mjs';
6
+ import { getAllAccounts, getAccount, getAccountByUsername, getAccountByHomeId, getAccountByLocalId, setActiveAccount, getActiveAccount } from '../cache/AccountManager.mjs';
7
+ import { BrowserCacheLocation, INTERACTION_TYPE, InteractionType, ApiId, CacheLookupPolicy, DEFAULT_REQUEST, iFrameRenewalPolicies, BrowserConstants } from '../utils/BrowserConstants.mjs';
8
+ import { blockAPICallsBeforeInitialize, redirectPreflightCheck, preflightCheck as preflightCheck$1, blockNonBrowserEnvironment } from '../utils/BrowserUtils.mjs';
9
+ import { EventType } from '../event/EventType.mjs';
10
+ import { EventHandler } from '../event/EventHandler.mjs';
11
+ import { PopupClient } from '../interaction_client/PopupClient.mjs';
12
+ import { RedirectClient } from '../interaction_client/RedirectClient.mjs';
13
+ import { SilentIframeClient } from '../interaction_client/SilentIframeClient.mjs';
14
+ import { SilentRefreshClient } from '../interaction_client/SilentRefreshClient.mjs';
15
+ import { TokenCache } from '../cache/TokenCache.mjs';
16
+ import { PlatformAuthInteractionClient } from '../interaction_client/PlatformAuthInteractionClient.mjs';
17
+ import { NativeAuthError, isFatalNativeAuthError } from '../error/NativeAuthError.mjs';
18
+ import { SilentCacheClient } from '../interaction_client/SilentCacheClient.mjs';
19
+ import { SilentAuthCodeClient } from '../interaction_client/SilentAuthCodeClient.mjs';
20
+ import { createBrowserAuthError } from '../error/BrowserAuthError.mjs';
21
+ import { createNewGuid } from '../crypto/BrowserCrypto.mjs';
22
+ import { initializeSilentRequest } from '../request/RequestHelpers.mjs';
23
+ import { generatePkceCodes } from '../crypto/PkceGenerator.mjs';
24
+ import { getPlatformAuthProvider, isPlatformAuthAllowed } from '../broker/nativeBroker/PlatformAuthProvider.mjs';
25
+ import { collectInstanceStats } from '../utils/MsalFrameStatsUtils.mjs';
26
+ import { spaCodeAndNativeAccountIdPresent, unableToAcquireTokenFromNativePlatform, authCodeOrNativeAccountIdRequired, nativeConnectionNotEstablished, noAccountError } from '../error/BrowserAuthErrorCodes.mjs';
27
+
28
+ /*
29
+ * Copyright (c) Microsoft Corporation. All rights reserved.
30
+ * Licensed under the MIT License.
31
+ */
32
+ function getAccountType(account) {
33
+ const idTokenClaims = account?.idTokenClaims;
34
+ if (idTokenClaims?.tfp || idTokenClaims?.acr) {
35
+ return "B2C";
36
+ }
37
+ if (!idTokenClaims?.tid) {
38
+ return undefined;
39
+ }
40
+ else if (idTokenClaims?.tid === "9188040d-6c67-4c5b-b112-36a304b66dad") {
41
+ return "MSA";
42
+ }
43
+ return "AAD";
44
+ }
45
+ function preflightCheck(initialized, performanceEvent) {
46
+ try {
47
+ preflightCheck$1(initialized);
48
+ }
49
+ catch (e) {
50
+ performanceEvent.end({ success: false }, e);
51
+ throw e;
52
+ }
53
+ }
54
+ class StandardController {
55
+ /**
56
+ * @constructor
57
+ * Constructor for the PublicClientApplication used to instantiate the PublicClientApplication object
58
+ *
59
+ * Important attributes in the Configuration object for auth are:
60
+ * - clientID: the application ID of your application. You can obtain one by registering your application with our Application registration portal : https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/RegisteredAppsPreview
61
+ * - authority: the authority URL for your application.
62
+ * - redirect_uri: the uri of your application registered in the portal.
63
+ *
64
+ * In Azure AD, authority is a URL indicating the Azure active directory that MSAL uses to obtain tokens.
65
+ * It is of the form https://login.microsoftonline.com/{Enter_the_Tenant_Info_Here}
66
+ * If your application supports Accounts in one organizational directory, replace "Enter_the_Tenant_Info_Here" value with the Tenant Id or Tenant name (for example, contoso.microsoft.com).
67
+ * If your application supports Accounts in any organizational directory, replace "Enter_the_Tenant_Info_Here" value with organizations.
68
+ * If your application supports Accounts in any organizational directory and personal Microsoft accounts, replace "Enter_the_Tenant_Info_Here" value with common.
69
+ * To restrict support to Personal Microsoft accounts only, replace "Enter_the_Tenant_Info_Here" value with consumers.
70
+ *
71
+ * In Azure B2C, authority is of the form https://{instance}/tfp/{tenant}/{policyName}/
72
+ * Full B2C functionality will be available in this library in future versions.
73
+ *
74
+ * @param configuration Object for the MSAL PublicClientApplication instance
75
+ */
76
+ constructor(operatingContext) {
77
+ this.operatingContext = operatingContext;
78
+ this.isBrowserEnvironment =
79
+ this.operatingContext.isBrowserEnvironment();
80
+ // Set the configuration.
81
+ this.config = operatingContext.getConfig();
82
+ this.initialized = false;
83
+ // Initialize logger
84
+ this.logger = this.operatingContext.getLogger();
85
+ // Initialize the network module class.
86
+ this.networkClient = this.config.system.networkClient;
87
+ // Initialize the navigation client class.
88
+ this.navigationClient = this.config.system.navigationClient;
89
+ // Initialize redirectResponse Map
90
+ this.redirectResponse = new Map();
91
+ // Initial hybrid spa map
92
+ this.hybridAuthCodeResponses = new Map();
93
+ // Initialize performance client
94
+ this.performanceClient = this.config.telemetry.client;
95
+ // Initialize the crypto class.
96
+ this.browserCrypto = this.isBrowserEnvironment
97
+ ? new CryptoOps(this.logger, this.performanceClient)
98
+ : DEFAULT_CRYPTO_IMPLEMENTATION;
99
+ this.eventHandler = new EventHandler(this.logger);
100
+ // Initialize the browser storage class.
101
+ this.browserStorage = this.isBrowserEnvironment
102
+ ? new BrowserCacheManager(this.config.auth.clientId, this.config.cache, this.browserCrypto, this.logger, this.performanceClient, this.eventHandler, buildStaticAuthorityOptions(this.config.auth))
103
+ : DEFAULT_BROWSER_CACHE_MANAGER(this.config.auth.clientId, this.logger, this.performanceClient, this.eventHandler);
104
+ // initialize in memory storage for native flows
105
+ const nativeCacheOptions = {
106
+ cacheLocation: BrowserCacheLocation.MemoryStorage,
107
+ temporaryCacheLocation: BrowserCacheLocation.MemoryStorage,
108
+ storeAuthStateInCookie: false,
109
+ secureCookies: false,
110
+ cacheMigrationEnabled: false,
111
+ claimsBasedCachingEnabled: false,
112
+ };
113
+ this.nativeInternalStorage = new BrowserCacheManager(this.config.auth.clientId, nativeCacheOptions, this.browserCrypto, this.logger, this.performanceClient, this.eventHandler);
114
+ // Initialize the token cache
115
+ this.tokenCache = new TokenCache(this.config, this.browserStorage, this.logger, this.browserCrypto);
116
+ this.activeSilentTokenRequests = new Map();
117
+ // Register listener functions
118
+ this.trackPageVisibility = this.trackPageVisibility.bind(this);
119
+ // Register listener functions
120
+ this.trackPageVisibilityWithMeasurement =
121
+ this.trackPageVisibilityWithMeasurement.bind(this);
122
+ }
123
+ static async createController(operatingContext, request) {
124
+ const controller = new StandardController(operatingContext);
125
+ await controller.initialize(request);
126
+ return controller;
127
+ }
128
+ trackPageVisibility(correlationId) {
129
+ if (!correlationId) {
130
+ return;
131
+ }
132
+ this.logger.info("Perf: Visibility change detected");
133
+ this.performanceClient.incrementFields({ visibilityChangeCount: 1 }, correlationId);
134
+ }
135
+ /**
136
+ * Initializer function to perform async startup tasks such as connecting to WAM extension
137
+ * @param request {?InitializeApplicationRequest} correlation id
138
+ */
139
+ async initialize(request, isBroker) {
140
+ this.logger.trace("initialize called");
141
+ if (this.initialized) {
142
+ this.logger.info("initialize has already been called, exiting early.");
143
+ return;
144
+ }
145
+ if (!this.isBrowserEnvironment) {
146
+ this.logger.info("in non-browser environment, exiting early.");
147
+ this.initialized = true;
148
+ this.eventHandler.emitEvent(EventType.INITIALIZE_END);
149
+ return;
150
+ }
151
+ const initCorrelationId = request?.correlationId || this.getRequestCorrelationId();
152
+ const allowPlatformBroker = this.config.system.allowPlatformBroker;
153
+ const initMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.InitializeClientApplication, initCorrelationId);
154
+ this.eventHandler.emitEvent(EventType.INITIALIZE_START);
155
+ // Broker applications are initialized twice, so we avoid double-counting it
156
+ if (!isBroker) {
157
+ try {
158
+ this.logMultipleInstances(initMeasurement);
159
+ }
160
+ catch { }
161
+ }
162
+ await invokeAsync(this.browserStorage.initialize.bind(this.browserStorage), PerformanceEvents.InitializeCache, this.logger, this.performanceClient, initCorrelationId)(initCorrelationId);
163
+ if (allowPlatformBroker) {
164
+ try {
165
+ // check if platform authentication is available via DOM or browser extension and create relevant handlers
166
+ this.platformAuthProvider = await getPlatformAuthProvider(this.logger, this.performanceClient, initCorrelationId, this.config.system.nativeBrokerHandshakeTimeout);
167
+ }
168
+ catch (e) {
169
+ this.logger.verbose(e);
170
+ }
171
+ }
172
+ if (!this.config.cache.claimsBasedCachingEnabled) {
173
+ this.logger.verbose("Claims-based caching is disabled. Clearing the previous cache with claims");
174
+ invoke(this.browserStorage.clearTokensAndKeysWithClaims.bind(this.browserStorage), PerformanceEvents.ClearTokensAndKeysWithClaims, this.logger, this.performanceClient, initCorrelationId)(initCorrelationId);
175
+ }
176
+ this.config.system.asyncPopups &&
177
+ (await this.preGeneratePkceCodes(initCorrelationId));
178
+ this.initialized = true;
179
+ this.eventHandler.emitEvent(EventType.INITIALIZE_END);
180
+ initMeasurement.end({
181
+ allowPlatformBroker: allowPlatformBroker,
182
+ success: true,
183
+ });
184
+ }
185
+ // #region Redirect Flow
186
+ /**
187
+ * Event handler function which allows users to fire events after the PublicClientApplication object
188
+ * has loaded during redirect flows. This should be invoked on all page loads involved in redirect
189
+ * auth flows.
190
+ * @param hash Hash to process. Defaults to the current value of window.location.hash. Only needs to be provided explicitly if the response to be handled is not contained in the current value.
191
+ * @returns Token response or null. If the return value is null, then no auth redirect was detected.
192
+ */
193
+ async handleRedirectPromise(hash) {
194
+ this.logger.verbose("handleRedirectPromise called");
195
+ // Block token acquisition before initialize has been called
196
+ blockAPICallsBeforeInitialize(this.initialized);
197
+ if (this.isBrowserEnvironment) {
198
+ /**
199
+ * Store the promise on the PublicClientApplication instance if this is the first invocation of handleRedirectPromise,
200
+ * otherwise return the promise from the first invocation. Prevents race conditions when handleRedirectPromise is called
201
+ * several times concurrently.
202
+ */
203
+ const redirectResponseKey = hash || "";
204
+ let response = this.redirectResponse.get(redirectResponseKey);
205
+ if (typeof response === "undefined") {
206
+ response = this.handleRedirectPromiseInternal(hash);
207
+ this.redirectResponse.set(redirectResponseKey, response);
208
+ this.logger.verbose("handleRedirectPromise has been called for the first time, storing the promise");
209
+ }
210
+ else {
211
+ this.logger.verbose("handleRedirectPromise has been called previously, returning the result from the first call");
212
+ }
213
+ return response;
214
+ }
215
+ this.logger.verbose("handleRedirectPromise returns null, not browser environment");
216
+ return null;
217
+ }
218
+ /**
219
+ * The internal details of handleRedirectPromise. This is separated out to a helper to allow handleRedirectPromise to memoize requests
220
+ * @param hash
221
+ * @returns
222
+ */
223
+ async handleRedirectPromiseInternal(hash) {
224
+ if (!this.browserStorage.isInteractionInProgress(true)) {
225
+ this.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null.");
226
+ return null;
227
+ }
228
+ const interactionType = this.browserStorage.getInteractionInProgress()?.type;
229
+ if (interactionType === INTERACTION_TYPE.SIGNOUT) {
230
+ this.logger.verbose("handleRedirectPromise removing interaction_in_progress flag and returning null after sign-out");
231
+ this.browserStorage.setInteractionInProgress(false);
232
+ return Promise.resolve(null);
233
+ }
234
+ const loggedInAccounts = this.getAllAccounts();
235
+ const platformBrokerRequest = this.browserStorage.getCachedNativeRequest();
236
+ const useNative = platformBrokerRequest && this.platformAuthProvider && !hash;
237
+ let rootMeasurement;
238
+ this.eventHandler.emitEvent(EventType.HANDLE_REDIRECT_START, InteractionType.Redirect);
239
+ let redirectResponse;
240
+ try {
241
+ if (useNative && this.platformAuthProvider) {
242
+ rootMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.AcquireTokenRedirect, platformBrokerRequest?.correlationId || "");
243
+ this.logger.trace("handleRedirectPromise - acquiring token from native platform");
244
+ const nativeClient = new PlatformAuthInteractionClient(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, ApiId.handleRedirectPromise, this.performanceClient, this.platformAuthProvider, platformBrokerRequest.accountId, this.nativeInternalStorage, platformBrokerRequest.correlationId);
245
+ redirectResponse = invokeAsync(nativeClient.handleRedirectPromise.bind(nativeClient), PerformanceEvents.HandleNativeRedirectPromiseMeasurement, this.logger, this.performanceClient, rootMeasurement.event.correlationId)(this.performanceClient, rootMeasurement.event.correlationId);
246
+ }
247
+ else {
248
+ const [standardRequest, codeVerifier] = this.browserStorage.getCachedRequest();
249
+ const correlationId = standardRequest.correlationId;
250
+ // Reset rootMeasurement now that we have correlationId
251
+ rootMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.AcquireTokenRedirect, correlationId);
252
+ this.logger.trace("handleRedirectPromise - acquiring token from web flow");
253
+ const redirectClient = this.createRedirectClient(correlationId);
254
+ redirectResponse = invokeAsync(redirectClient.handleRedirectPromise.bind(redirectClient), PerformanceEvents.HandleRedirectPromiseMeasurement, this.logger, this.performanceClient, rootMeasurement.event.correlationId)(hash, standardRequest, codeVerifier, rootMeasurement);
255
+ }
256
+ }
257
+ catch (e) {
258
+ this.browserStorage.resetRequestCache();
259
+ throw e;
260
+ }
261
+ return redirectResponse
262
+ .then((result) => {
263
+ if (result) {
264
+ this.browserStorage.resetRequestCache();
265
+ // Emit login event if number of accounts change
266
+ const isLoggingIn = loggedInAccounts.length < this.getAllAccounts().length;
267
+ if (isLoggingIn) {
268
+ this.eventHandler.emitEvent(EventType.LOGIN_SUCCESS, InteractionType.Redirect, result);
269
+ this.logger.verbose("handleRedirectResponse returned result, login success");
270
+ }
271
+ else {
272
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, InteractionType.Redirect, result);
273
+ this.logger.verbose("handleRedirectResponse returned result, acquire token success");
274
+ }
275
+ rootMeasurement.end({
276
+ success: true,
277
+ accountType: getAccountType(result.account),
278
+ });
279
+ }
280
+ else {
281
+ /*
282
+ * Instrument an event only if an error code is set. Otherwise, discard it when the redirect response
283
+ * is empty and the error code is missing.
284
+ */
285
+ if (rootMeasurement.event.errorCode) {
286
+ rootMeasurement.end({ success: false });
287
+ }
288
+ else {
289
+ rootMeasurement.discard();
290
+ }
291
+ }
292
+ this.eventHandler.emitEvent(EventType.HANDLE_REDIRECT_END, InteractionType.Redirect);
293
+ return result;
294
+ })
295
+ .catch((e) => {
296
+ this.browserStorage.resetRequestCache();
297
+ const eventError = e;
298
+ // Emit login event if there is an account
299
+ if (loggedInAccounts.length > 0) {
300
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, InteractionType.Redirect, null, eventError);
301
+ }
302
+ else {
303
+ this.eventHandler.emitEvent(EventType.LOGIN_FAILURE, InteractionType.Redirect, null, eventError);
304
+ }
305
+ this.eventHandler.emitEvent(EventType.HANDLE_REDIRECT_END, InteractionType.Redirect);
306
+ rootMeasurement.end({
307
+ success: false,
308
+ }, eventError);
309
+ throw e;
310
+ });
311
+ }
312
+ /**
313
+ * Use when you want to obtain an access_token for your API by redirecting the user's browser window to the authorization endpoint. This function redirects
314
+ * the page, so any code that follows this function will not execute.
315
+ *
316
+ * IMPORTANT: It is NOT recommended to have code that is dependent on the resolution of the Promise. This function will navigate away from the current
317
+ * browser window. It currently returns a Promise in order to reflect the asynchronous nature of the code running in this function.
318
+ *
319
+ * @param request
320
+ */
321
+ async acquireTokenRedirect(request) {
322
+ // Preflight request
323
+ const correlationId = this.getRequestCorrelationId(request);
324
+ this.logger.verbose("acquireTokenRedirect called", correlationId);
325
+ const atrMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.AcquireTokenPreRedirect, correlationId);
326
+ atrMeasurement.add({
327
+ accountType: getAccountType(request.account),
328
+ scenarioId: request.scenarioId,
329
+ });
330
+ // Override on request only if set, as onRedirectNavigate field is deprecated
331
+ const onRedirectNavigateCb = request.onRedirectNavigate;
332
+ if (onRedirectNavigateCb) {
333
+ request.onRedirectNavigate = (url) => {
334
+ const navigate = typeof onRedirectNavigateCb === "function"
335
+ ? onRedirectNavigateCb(url)
336
+ : undefined;
337
+ if (navigate !== false) {
338
+ atrMeasurement.end({ success: true });
339
+ }
340
+ else {
341
+ atrMeasurement.discard();
342
+ }
343
+ return navigate;
344
+ };
345
+ }
346
+ else {
347
+ const configOnRedirectNavigateCb = this.config.auth.onRedirectNavigate;
348
+ this.config.auth.onRedirectNavigate = (url) => {
349
+ const navigate = typeof configOnRedirectNavigateCb === "function"
350
+ ? configOnRedirectNavigateCb(url)
351
+ : undefined;
352
+ if (navigate !== false) {
353
+ atrMeasurement.end({ success: true });
354
+ }
355
+ else {
356
+ atrMeasurement.discard();
357
+ }
358
+ return navigate;
359
+ };
360
+ }
361
+ // If logged in, emit acquire token events
362
+ const isLoggedIn = this.getAllAccounts().length > 0;
363
+ try {
364
+ redirectPreflightCheck(this.initialized, this.config);
365
+ this.browserStorage.setInteractionInProgress(true, INTERACTION_TYPE.SIGNIN);
366
+ if (isLoggedIn) {
367
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, InteractionType.Redirect, request);
368
+ }
369
+ else {
370
+ this.eventHandler.emitEvent(EventType.LOGIN_START, InteractionType.Redirect, request);
371
+ }
372
+ let result;
373
+ if (this.platformAuthProvider &&
374
+ this.canUsePlatformBroker(request)) {
375
+ const nativeClient = new PlatformAuthInteractionClient(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, ApiId.acquireTokenRedirect, this.performanceClient, this.platformAuthProvider, this.getNativeAccountId(request), this.nativeInternalStorage, correlationId);
376
+ result = nativeClient
377
+ .acquireTokenRedirect(request, atrMeasurement)
378
+ .catch((e) => {
379
+ if (e instanceof NativeAuthError &&
380
+ isFatalNativeAuthError(e)) {
381
+ this.platformAuthProvider = undefined; // If extension gets uninstalled during session prevent future requests from continuing to attempt
382
+ const redirectClient = this.createRedirectClient(correlationId);
383
+ return redirectClient.acquireToken(request);
384
+ }
385
+ else if (e instanceof InteractionRequiredAuthError) {
386
+ this.logger.verbose("acquireTokenRedirect - Resolving interaction required error thrown by native broker by falling back to web flow");
387
+ const redirectClient = this.createRedirectClient(correlationId);
388
+ return redirectClient.acquireToken(request);
389
+ }
390
+ throw e;
391
+ });
392
+ }
393
+ else {
394
+ const redirectClient = this.createRedirectClient(correlationId);
395
+ result = redirectClient.acquireToken(request);
396
+ }
397
+ return await result;
398
+ }
399
+ catch (e) {
400
+ this.browserStorage.resetRequestCache();
401
+ atrMeasurement.end({ success: false }, e);
402
+ if (isLoggedIn) {
403
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, InteractionType.Redirect, null, e);
404
+ }
405
+ else {
406
+ this.eventHandler.emitEvent(EventType.LOGIN_FAILURE, InteractionType.Redirect, null, e);
407
+ }
408
+ throw e;
409
+ }
410
+ }
411
+ // #endregion
412
+ // #region Popup Flow
413
+ /**
414
+ * Use when you want to obtain an access_token for your API via opening a popup window in the user's browser
415
+ *
416
+ * @param request
417
+ *
418
+ * @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
419
+ */
420
+ acquireTokenPopup(request) {
421
+ const correlationId = this.getRequestCorrelationId(request);
422
+ const atPopupMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.AcquireTokenPopup, correlationId);
423
+ atPopupMeasurement.add({
424
+ scenarioId: request.scenarioId,
425
+ accountType: getAccountType(request.account),
426
+ });
427
+ try {
428
+ this.logger.verbose("acquireTokenPopup called", correlationId);
429
+ preflightCheck(this.initialized, atPopupMeasurement);
430
+ this.browserStorage.setInteractionInProgress(true, INTERACTION_TYPE.SIGNIN);
431
+ }
432
+ catch (e) {
433
+ // Since this function is syncronous we need to reject
434
+ return Promise.reject(e);
435
+ }
436
+ // If logged in, emit acquire token events
437
+ const loggedInAccounts = this.getAllAccounts();
438
+ if (loggedInAccounts.length > 0) {
439
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, InteractionType.Popup, request);
440
+ }
441
+ else {
442
+ this.eventHandler.emitEvent(EventType.LOGIN_START, InteractionType.Popup, request);
443
+ }
444
+ let result;
445
+ const pkce = this.getPreGeneratedPkceCodes(correlationId);
446
+ if (this.canUsePlatformBroker(request)) {
447
+ result = this.acquireTokenNative({
448
+ ...request,
449
+ correlationId,
450
+ }, ApiId.acquireTokenPopup)
451
+ .then((response) => {
452
+ atPopupMeasurement.end({
453
+ success: true,
454
+ isNativeBroker: true,
455
+ accountType: getAccountType(response.account),
456
+ });
457
+ return response;
458
+ })
459
+ .catch((e) => {
460
+ if (e instanceof NativeAuthError &&
461
+ isFatalNativeAuthError(e)) {
462
+ this.platformAuthProvider = undefined; // If extension gets uninstalled during session prevent future requests from continuing to attempt
463
+ const popupClient = this.createPopupClient(correlationId);
464
+ return popupClient.acquireToken(request, pkce);
465
+ }
466
+ else if (e instanceof InteractionRequiredAuthError) {
467
+ this.logger.verbose("acquireTokenPopup - Resolving interaction required error thrown by native broker by falling back to web flow");
468
+ const popupClient = this.createPopupClient(correlationId);
469
+ return popupClient.acquireToken(request, pkce);
470
+ }
471
+ throw e;
472
+ });
473
+ }
474
+ else {
475
+ const popupClient = this.createPopupClient(correlationId);
476
+ result = popupClient.acquireToken(request, pkce);
477
+ }
478
+ return result
479
+ .then((result) => {
480
+ /*
481
+ * If logged in, emit acquire token events
482
+ */
483
+ const isLoggingIn = loggedInAccounts.length < this.getAllAccounts().length;
484
+ if (isLoggingIn) {
485
+ this.eventHandler.emitEvent(EventType.LOGIN_SUCCESS, InteractionType.Popup, result);
486
+ }
487
+ else {
488
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, InteractionType.Popup, result);
489
+ }
490
+ atPopupMeasurement.end({
491
+ success: true,
492
+ accessTokenSize: result.accessToken.length,
493
+ idTokenSize: result.idToken.length,
494
+ accountType: getAccountType(result.account),
495
+ });
496
+ return result;
497
+ })
498
+ .catch((e) => {
499
+ if (loggedInAccounts.length > 0) {
500
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, InteractionType.Popup, null, e);
501
+ }
502
+ else {
503
+ this.eventHandler.emitEvent(EventType.LOGIN_FAILURE, InteractionType.Popup, null, e);
504
+ }
505
+ atPopupMeasurement.end({
506
+ success: false,
507
+ }, e);
508
+ // Since this function is syncronous we need to reject
509
+ return Promise.reject(e);
510
+ })
511
+ .finally(async () => {
512
+ this.browserStorage.setInteractionInProgress(false);
513
+ if (this.config.system.asyncPopups) {
514
+ await this.preGeneratePkceCodes(correlationId);
515
+ }
516
+ });
517
+ }
518
+ trackPageVisibilityWithMeasurement() {
519
+ const measurement = this.ssoSilentMeasurement ||
520
+ this.acquireTokenByCodeAsyncMeasurement;
521
+ if (!measurement) {
522
+ return;
523
+ }
524
+ this.logger.info("Perf: Visibility change detected in ", measurement.event.name);
525
+ measurement.increment({
526
+ visibilityChangeCount: 1,
527
+ });
528
+ }
529
+ // #endregion
530
+ // #region Silent Flow
531
+ /**
532
+ * This function uses a hidden iframe to fetch an authorization code from the eSTS. There are cases where this may not work:
533
+ * - Any browser using a form of Intelligent Tracking Prevention
534
+ * - If there is not an established session with the service
535
+ *
536
+ * In these cases, the request must be done inside a popup or full frame redirect.
537
+ *
538
+ * For the cases where interaction is required, you cannot send a request with prompt=none.
539
+ *
540
+ * If your refresh token has expired, you can use this function to fetch a new set of tokens silently as long as
541
+ * you session on the server still exists.
542
+ * @param request {@link SsoSilentRequest}
543
+ *
544
+ * @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
545
+ */
546
+ async ssoSilent(request) {
547
+ const correlationId = this.getRequestCorrelationId(request);
548
+ const validRequest = {
549
+ ...request,
550
+ // will be PromptValue.NONE or PromptValue.NO_SESSION
551
+ prompt: request.prompt,
552
+ correlationId: correlationId,
553
+ };
554
+ this.ssoSilentMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.SsoSilent, correlationId);
555
+ this.ssoSilentMeasurement?.add({
556
+ scenarioId: request.scenarioId,
557
+ accountType: getAccountType(request.account),
558
+ });
559
+ preflightCheck(this.initialized, this.ssoSilentMeasurement);
560
+ this.ssoSilentMeasurement?.increment({
561
+ visibilityChangeCount: 0,
562
+ });
563
+ document.addEventListener("visibilitychange", this.trackPageVisibilityWithMeasurement);
564
+ this.logger.verbose("ssoSilent called", correlationId);
565
+ this.eventHandler.emitEvent(EventType.SSO_SILENT_START, InteractionType.Silent, validRequest);
566
+ let result;
567
+ if (this.canUsePlatformBroker(validRequest)) {
568
+ result = this.acquireTokenNative(validRequest, ApiId.ssoSilent).catch((e) => {
569
+ // If native token acquisition fails for availability reasons fallback to standard flow
570
+ if (e instanceof NativeAuthError && isFatalNativeAuthError(e)) {
571
+ this.platformAuthProvider = undefined; // If extension gets uninstalled during session prevent future requests from continuing to attempt
572
+ const silentIframeClient = this.createSilentIframeClient(validRequest.correlationId);
573
+ return silentIframeClient.acquireToken(validRequest);
574
+ }
575
+ throw e;
576
+ });
577
+ }
578
+ else {
579
+ const silentIframeClient = this.createSilentIframeClient(validRequest.correlationId);
580
+ result = silentIframeClient.acquireToken(validRequest);
581
+ }
582
+ return result
583
+ .then((response) => {
584
+ this.eventHandler.emitEvent(EventType.SSO_SILENT_SUCCESS, InteractionType.Silent, response);
585
+ this.ssoSilentMeasurement?.end({
586
+ success: true,
587
+ isNativeBroker: response.fromNativeBroker,
588
+ accessTokenSize: response.accessToken.length,
589
+ idTokenSize: response.idToken.length,
590
+ accountType: getAccountType(response.account),
591
+ });
592
+ return response;
593
+ })
594
+ .catch((e) => {
595
+ this.eventHandler.emitEvent(EventType.SSO_SILENT_FAILURE, InteractionType.Silent, null, e);
596
+ this.ssoSilentMeasurement?.end({
597
+ success: false,
598
+ }, e);
599
+ throw e;
600
+ })
601
+ .finally(() => {
602
+ document.removeEventListener("visibilitychange", this.trackPageVisibilityWithMeasurement);
603
+ });
604
+ }
605
+ /**
606
+ * This function redeems an authorization code (passed as code) from the eSTS token endpoint.
607
+ * This authorization code should be acquired server-side using a confidential client to acquire a spa_code.
608
+ * This API is not indended for normal authorization code acquisition and redemption.
609
+ *
610
+ * Redemption of this authorization code will not require PKCE, as it was acquired by a confidential client.
611
+ *
612
+ * @param request {@link AuthorizationCodeRequest}
613
+ * @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
614
+ */
615
+ async acquireTokenByCode(request) {
616
+ const correlationId = this.getRequestCorrelationId(request);
617
+ this.logger.trace("acquireTokenByCode called", correlationId);
618
+ const atbcMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.AcquireTokenByCode, correlationId);
619
+ preflightCheck(this.initialized, atbcMeasurement);
620
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_BY_CODE_START, InteractionType.Silent, request);
621
+ atbcMeasurement.add({ scenarioId: request.scenarioId });
622
+ try {
623
+ if (request.code && request.nativeAccountId) {
624
+ // Throw error in case server returns both spa_code and spa_accountid in exchange for auth code.
625
+ throw createBrowserAuthError(spaCodeAndNativeAccountIdPresent);
626
+ }
627
+ else if (request.code) {
628
+ const hybridAuthCode = request.code;
629
+ let response = this.hybridAuthCodeResponses.get(hybridAuthCode);
630
+ if (!response) {
631
+ this.logger.verbose("Initiating new acquireTokenByCode request", correlationId);
632
+ response = this.acquireTokenByCodeAsync({
633
+ ...request,
634
+ correlationId,
635
+ })
636
+ .then((result) => {
637
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_BY_CODE_SUCCESS, InteractionType.Silent, result);
638
+ this.hybridAuthCodeResponses.delete(hybridAuthCode);
639
+ atbcMeasurement.end({
640
+ success: true,
641
+ isNativeBroker: result.fromNativeBroker,
642
+ accessTokenSize: result.accessToken.length,
643
+ idTokenSize: result.idToken.length,
644
+ accountType: getAccountType(result.account),
645
+ });
646
+ return result;
647
+ })
648
+ .catch((error) => {
649
+ this.hybridAuthCodeResponses.delete(hybridAuthCode);
650
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_BY_CODE_FAILURE, InteractionType.Silent, null, error);
651
+ atbcMeasurement.end({
652
+ success: false,
653
+ }, error);
654
+ throw error;
655
+ });
656
+ this.hybridAuthCodeResponses.set(hybridAuthCode, response);
657
+ }
658
+ else {
659
+ this.logger.verbose("Existing acquireTokenByCode request found", correlationId);
660
+ atbcMeasurement.discard();
661
+ }
662
+ return await response;
663
+ }
664
+ else if (request.nativeAccountId) {
665
+ if (this.canUsePlatformBroker(request, request.nativeAccountId)) {
666
+ const result = await this.acquireTokenNative({
667
+ ...request,
668
+ correlationId,
669
+ }, ApiId.acquireTokenByCode, request.nativeAccountId).catch((e) => {
670
+ // If native token acquisition fails for availability reasons fallback to standard flow
671
+ if (e instanceof NativeAuthError &&
672
+ isFatalNativeAuthError(e)) {
673
+ this.platformAuthProvider = undefined; // If extension gets uninstalled during session prevent future requests from continuing to attempt
674
+ }
675
+ throw e;
676
+ });
677
+ atbcMeasurement.end({
678
+ accountType: getAccountType(result.account),
679
+ success: true,
680
+ });
681
+ return result;
682
+ }
683
+ else {
684
+ throw createBrowserAuthError(unableToAcquireTokenFromNativePlatform);
685
+ }
686
+ }
687
+ else {
688
+ throw createBrowserAuthError(authCodeOrNativeAccountIdRequired);
689
+ }
690
+ }
691
+ catch (e) {
692
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_BY_CODE_FAILURE, InteractionType.Silent, null, e);
693
+ atbcMeasurement.end({
694
+ success: false,
695
+ }, e);
696
+ throw e;
697
+ }
698
+ }
699
+ /**
700
+ * Creates a SilentAuthCodeClient to redeem an authorization code.
701
+ * @param request
702
+ * @returns Result of the operation to redeem the authorization code
703
+ */
704
+ async acquireTokenByCodeAsync(request) {
705
+ this.logger.trace("acquireTokenByCodeAsync called", request.correlationId);
706
+ this.acquireTokenByCodeAsyncMeasurement =
707
+ this.performanceClient.startMeasurement(PerformanceEvents.AcquireTokenByCodeAsync, request.correlationId);
708
+ this.acquireTokenByCodeAsyncMeasurement?.increment({
709
+ visibilityChangeCount: 0,
710
+ });
711
+ document.addEventListener("visibilitychange", this.trackPageVisibilityWithMeasurement);
712
+ const silentAuthCodeClient = this.createSilentAuthCodeClient(request.correlationId);
713
+ const silentTokenResult = await silentAuthCodeClient
714
+ .acquireToken(request)
715
+ .then((response) => {
716
+ this.acquireTokenByCodeAsyncMeasurement?.end({
717
+ success: true,
718
+ fromCache: response.fromCache,
719
+ isNativeBroker: response.fromNativeBroker,
720
+ });
721
+ return response;
722
+ })
723
+ .catch((tokenRenewalError) => {
724
+ this.acquireTokenByCodeAsyncMeasurement?.end({
725
+ success: false,
726
+ }, tokenRenewalError);
727
+ throw tokenRenewalError;
728
+ })
729
+ .finally(() => {
730
+ document.removeEventListener("visibilitychange", this.trackPageVisibilityWithMeasurement);
731
+ });
732
+ return silentTokenResult;
733
+ }
734
+ /**
735
+ * Attempt to acquire an access token from the cache
736
+ * @param silentCacheClient SilentCacheClient
737
+ * @param commonRequest CommonSilentFlowRequest
738
+ * @param silentRequest SilentRequest
739
+ * @returns A promise that, when resolved, returns the access token
740
+ */
741
+ async acquireTokenFromCache(commonRequest, cacheLookupPolicy) {
742
+ this.performanceClient.addQueueMeasurement(PerformanceEvents.AcquireTokenFromCache, commonRequest.correlationId);
743
+ switch (cacheLookupPolicy) {
744
+ case CacheLookupPolicy.Default:
745
+ case CacheLookupPolicy.AccessToken:
746
+ case CacheLookupPolicy.AccessTokenAndRefreshToken:
747
+ const silentCacheClient = this.createSilentCacheClient(commonRequest.correlationId);
748
+ return invokeAsync(silentCacheClient.acquireToken.bind(silentCacheClient), PerformanceEvents.SilentCacheClientAcquireToken, this.logger, this.performanceClient, commonRequest.correlationId)(commonRequest);
749
+ default:
750
+ throw createClientAuthError(ClientAuthErrorCodes.tokenRefreshRequired);
751
+ }
752
+ }
753
+ /**
754
+ * Attempt to acquire an access token via a refresh token
755
+ * @param commonRequest CommonSilentFlowRequest
756
+ * @param cacheLookupPolicy CacheLookupPolicy
757
+ * @returns A promise that, when resolved, returns the access token
758
+ */
759
+ async acquireTokenByRefreshToken(commonRequest, cacheLookupPolicy) {
760
+ this.performanceClient.addQueueMeasurement(PerformanceEvents.AcquireTokenByRefreshToken, commonRequest.correlationId);
761
+ switch (cacheLookupPolicy) {
762
+ case CacheLookupPolicy.Default:
763
+ case CacheLookupPolicy.AccessTokenAndRefreshToken:
764
+ case CacheLookupPolicy.RefreshToken:
765
+ case CacheLookupPolicy.RefreshTokenAndNetwork:
766
+ const silentRefreshClient = this.createSilentRefreshClient(commonRequest.correlationId);
767
+ return invokeAsync(silentRefreshClient.acquireToken.bind(silentRefreshClient), PerformanceEvents.SilentRefreshClientAcquireToken, this.logger, this.performanceClient, commonRequest.correlationId)(commonRequest);
768
+ default:
769
+ throw createClientAuthError(ClientAuthErrorCodes.tokenRefreshRequired);
770
+ }
771
+ }
772
+ /**
773
+ * Attempt to acquire an access token via an iframe
774
+ * @param request CommonSilentFlowRequest
775
+ * @returns A promise that, when resolved, returns the access token
776
+ */
777
+ async acquireTokenBySilentIframe(request) {
778
+ this.performanceClient.addQueueMeasurement(PerformanceEvents.AcquireTokenBySilentIframe, request.correlationId);
779
+ const silentIframeClient = this.createSilentIframeClient(request.correlationId);
780
+ return invokeAsync(silentIframeClient.acquireToken.bind(silentIframeClient), PerformanceEvents.SilentIframeClientAcquireToken, this.logger, this.performanceClient, request.correlationId)(request);
781
+ }
782
+ // #endregion
783
+ // #region Logout
784
+ /**
785
+ * Deprecated logout function. Use logoutRedirect or logoutPopup instead
786
+ * @param logoutRequest
787
+ * @deprecated
788
+ */
789
+ async logout(logoutRequest) {
790
+ const correlationId = this.getRequestCorrelationId(logoutRequest);
791
+ this.logger.warning("logout API is deprecated and will be removed in msal-browser v3.0.0. Use logoutRedirect instead.", correlationId);
792
+ return this.logoutRedirect({
793
+ correlationId,
794
+ ...logoutRequest,
795
+ });
796
+ }
797
+ /**
798
+ * Use to log out the current user, and redirect the user to the postLogoutRedirectUri.
799
+ * Default behaviour is to redirect the user to `window.location.href`.
800
+ * @param logoutRequest
801
+ */
802
+ async logoutRedirect(logoutRequest) {
803
+ const correlationId = this.getRequestCorrelationId(logoutRequest);
804
+ redirectPreflightCheck(this.initialized, this.config);
805
+ this.browserStorage.setInteractionInProgress(true, INTERACTION_TYPE.SIGNOUT);
806
+ const redirectClient = this.createRedirectClient(correlationId);
807
+ return redirectClient.logout(logoutRequest);
808
+ }
809
+ /**
810
+ * Clears local cache for the current user then opens a popup window prompting the user to sign-out of the server
811
+ * @param logoutRequest
812
+ */
813
+ logoutPopup(logoutRequest) {
814
+ try {
815
+ const correlationId = this.getRequestCorrelationId(logoutRequest);
816
+ preflightCheck$1(this.initialized);
817
+ this.browserStorage.setInteractionInProgress(true, INTERACTION_TYPE.SIGNOUT);
818
+ const popupClient = this.createPopupClient(correlationId);
819
+ return popupClient.logout(logoutRequest).finally(() => {
820
+ this.browserStorage.setInteractionInProgress(false);
821
+ });
822
+ }
823
+ catch (e) {
824
+ // Since this function is syncronous we need to reject
825
+ return Promise.reject(e);
826
+ }
827
+ }
828
+ /**
829
+ * Creates a cache interaction client to clear broswer cache.
830
+ * @param logoutRequest
831
+ */
832
+ async clearCache(logoutRequest) {
833
+ if (!this.isBrowserEnvironment) {
834
+ this.logger.info("in non-browser environment, returning early.");
835
+ return;
836
+ }
837
+ const correlationId = this.getRequestCorrelationId(logoutRequest);
838
+ const cacheClient = this.createSilentCacheClient(correlationId);
839
+ return cacheClient.logout(logoutRequest);
840
+ }
841
+ // #endregion
842
+ // #region Account APIs
843
+ /**
844
+ * Returns all the accounts in the cache that match the optional filter. If no filter is provided, all accounts are returned.
845
+ * @param accountFilter - (Optional) filter to narrow down the accounts returned
846
+ * @returns Array of AccountInfo objects in cache
847
+ */
848
+ getAllAccounts(accountFilter) {
849
+ const correlationId = this.getRequestCorrelationId();
850
+ return getAllAccounts(this.logger, this.browserStorage, this.isBrowserEnvironment, correlationId, accountFilter);
851
+ }
852
+ /**
853
+ * Returns the first account found in the cache that matches the account filter passed in.
854
+ * @param accountFilter
855
+ * @returns The first account found in the cache matching the provided filter or null if no account could be found.
856
+ */
857
+ getAccount(accountFilter) {
858
+ const correlationId = this.getRequestCorrelationId();
859
+ return getAccount(accountFilter, this.logger, this.browserStorage, correlationId);
860
+ }
861
+ /**
862
+ * Returns the signed in account matching username.
863
+ * (the account object is created at the time of successful login)
864
+ * or null when no matching account is found.
865
+ * This API is provided for convenience but getAccountById should be used for best reliability
866
+ * @param username
867
+ * @returns The account object stored in MSAL
868
+ */
869
+ getAccountByUsername(username) {
870
+ const correlationId = this.getRequestCorrelationId();
871
+ return getAccountByUsername(username, this.logger, this.browserStorage, correlationId);
872
+ }
873
+ /**
874
+ * Returns the signed in account matching homeAccountId.
875
+ * (the account object is created at the time of successful login)
876
+ * or null when no matching account is found
877
+ * @param homeAccountId
878
+ * @returns The account object stored in MSAL
879
+ */
880
+ getAccountByHomeId(homeAccountId) {
881
+ const correlationId = this.getRequestCorrelationId();
882
+ return getAccountByHomeId(homeAccountId, this.logger, this.browserStorage, correlationId);
883
+ }
884
+ /**
885
+ * Returns the signed in account matching localAccountId.
886
+ * (the account object is created at the time of successful login)
887
+ * or null when no matching account is found
888
+ * @param localAccountId
889
+ * @returns The account object stored in MSAL
890
+ */
891
+ getAccountByLocalId(localAccountId) {
892
+ const correlationId = this.getRequestCorrelationId();
893
+ return getAccountByLocalId(localAccountId, this.logger, this.browserStorage, correlationId);
894
+ }
895
+ /**
896
+ * Sets the account to use as the active account. If no account is passed to the acquireToken APIs, then MSAL will use this active account.
897
+ * @param account
898
+ */
899
+ setActiveAccount(account) {
900
+ const correlationId = this.getRequestCorrelationId();
901
+ setActiveAccount(account, this.browserStorage, correlationId);
902
+ }
903
+ /**
904
+ * Gets the currently active account
905
+ */
906
+ getActiveAccount() {
907
+ const correlationId = this.getRequestCorrelationId();
908
+ return getActiveAccount(this.browserStorage, correlationId);
909
+ }
910
+ // #endregion
911
+ /**
912
+ * Hydrates the cache with the tokens from an AuthenticationResult
913
+ * @param result
914
+ * @param request
915
+ * @returns
916
+ */
917
+ async hydrateCache(result, request) {
918
+ this.logger.verbose("hydrateCache called");
919
+ // Account gets saved to browser storage regardless of native or not
920
+ const accountEntity = AccountEntity.createFromAccountInfo(result.account, result.cloudGraphHostName, result.msGraphHost);
921
+ await this.browserStorage.setAccount(accountEntity, result.correlationId);
922
+ if (result.fromNativeBroker) {
923
+ this.logger.verbose("Response was from native broker, storing in-memory");
924
+ // Tokens from native broker are stored in-memory
925
+ return this.nativeInternalStorage.hydrateCache(result, request);
926
+ }
927
+ else {
928
+ return this.browserStorage.hydrateCache(result, request);
929
+ }
930
+ }
931
+ // #region Helpers
932
+ /**
933
+ * Acquire a token from native device (e.g. WAM)
934
+ * @param request
935
+ */
936
+ async acquireTokenNative(request, apiId, accountId, cacheLookupPolicy) {
937
+ this.logger.trace("acquireTokenNative called");
938
+ if (!this.platformAuthProvider) {
939
+ throw createBrowserAuthError(nativeConnectionNotEstablished);
940
+ }
941
+ const nativeClient = new PlatformAuthInteractionClient(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, apiId, this.performanceClient, this.platformAuthProvider, accountId || this.getNativeAccountId(request), this.nativeInternalStorage, request.correlationId);
942
+ return nativeClient.acquireToken(request, cacheLookupPolicy);
943
+ }
944
+ /**
945
+ * Returns boolean indicating if this request can use the platform broker
946
+ * @param request
947
+ */
948
+ canUsePlatformBroker(request, accountId) {
949
+ this.logger.trace("canUsePlatformBroker called");
950
+ if (!this.platformAuthProvider) {
951
+ this.logger.trace("canUsePlatformBroker: platform broker unavilable, returning false");
952
+ return false;
953
+ }
954
+ if (!isPlatformAuthAllowed(this.config, this.logger, this.platformAuthProvider, request.authenticationScheme)) {
955
+ this.logger.trace("canUsePlatformBroker: isBrokerAvailable returned false, returning false");
956
+ return false;
957
+ }
958
+ if (request.prompt) {
959
+ switch (request.prompt) {
960
+ case PromptValue.NONE:
961
+ case PromptValue.CONSENT:
962
+ case PromptValue.LOGIN:
963
+ this.logger.trace("canUsePlatformBroker: prompt is compatible with platform broker flow");
964
+ break;
965
+ default:
966
+ this.logger.trace(`canUsePlatformBroker: prompt = ${request.prompt} is not compatible with platform broker flow, returning false`);
967
+ return false;
968
+ }
969
+ }
970
+ if (!accountId && !this.getNativeAccountId(request)) {
971
+ this.logger.trace("canUsePlatformBroker: nativeAccountId is not available, returning false");
972
+ return false;
973
+ }
974
+ return true;
975
+ }
976
+ /**
977
+ * Get the native accountId from the account
978
+ * @param request
979
+ * @returns
980
+ */
981
+ getNativeAccountId(request) {
982
+ const account = request.account ||
983
+ this.getAccount({
984
+ loginHint: request.loginHint,
985
+ sid: request.sid,
986
+ }) ||
987
+ this.getActiveAccount();
988
+ return (account && account.nativeAccountId) || "";
989
+ }
990
+ /**
991
+ * Returns new instance of the Popup Interaction Client
992
+ * @param correlationId
993
+ */
994
+ createPopupClient(correlationId) {
995
+ return new PopupClient(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.performanceClient, this.nativeInternalStorage, this.platformAuthProvider, correlationId);
996
+ }
997
+ /**
998
+ * Returns new instance of the Redirect Interaction Client
999
+ * @param correlationId
1000
+ */
1001
+ createRedirectClient(correlationId) {
1002
+ return new RedirectClient(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.performanceClient, this.nativeInternalStorage, this.platformAuthProvider, correlationId);
1003
+ }
1004
+ /**
1005
+ * Returns new instance of the Silent Iframe Interaction Client
1006
+ * @param correlationId
1007
+ */
1008
+ createSilentIframeClient(correlationId) {
1009
+ return new SilentIframeClient(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, ApiId.ssoSilent, this.performanceClient, this.nativeInternalStorage, this.platformAuthProvider, correlationId);
1010
+ }
1011
+ /**
1012
+ * Returns new instance of the Silent Cache Interaction Client
1013
+ */
1014
+ createSilentCacheClient(correlationId) {
1015
+ return new SilentCacheClient(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.performanceClient, this.platformAuthProvider, correlationId);
1016
+ }
1017
+ /**
1018
+ * Returns new instance of the Silent Refresh Interaction Client
1019
+ */
1020
+ createSilentRefreshClient(correlationId) {
1021
+ return new SilentRefreshClient(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, this.performanceClient, this.platformAuthProvider, correlationId);
1022
+ }
1023
+ /**
1024
+ * Returns new instance of the Silent AuthCode Interaction Client
1025
+ */
1026
+ createSilentAuthCodeClient(correlationId) {
1027
+ return new SilentAuthCodeClient(this.config, this.browserStorage, this.browserCrypto, this.logger, this.eventHandler, this.navigationClient, ApiId.acquireTokenByCode, this.performanceClient, this.platformAuthProvider, correlationId);
1028
+ }
1029
+ /**
1030
+ * Adds event callbacks to array
1031
+ * @param callback
1032
+ */
1033
+ addEventCallback(callback, eventTypes) {
1034
+ return this.eventHandler.addEventCallback(callback, eventTypes);
1035
+ }
1036
+ /**
1037
+ * Removes callback with provided id from callback array
1038
+ * @param callbackId
1039
+ */
1040
+ removeEventCallback(callbackId) {
1041
+ this.eventHandler.removeEventCallback(callbackId);
1042
+ }
1043
+ /**
1044
+ * Registers a callback to receive performance events.
1045
+ *
1046
+ * @param {PerformanceCallbackFunction} callback
1047
+ * @returns {string}
1048
+ */
1049
+ addPerformanceCallback(callback) {
1050
+ blockNonBrowserEnvironment();
1051
+ return this.performanceClient.addPerformanceCallback(callback);
1052
+ }
1053
+ /**
1054
+ * Removes a callback registered with addPerformanceCallback.
1055
+ *
1056
+ * @param {string} callbackId
1057
+ * @returns {boolean}
1058
+ */
1059
+ removePerformanceCallback(callbackId) {
1060
+ return this.performanceClient.removePerformanceCallback(callbackId);
1061
+ }
1062
+ /**
1063
+ * Adds event listener that emits an event when a user account is added or removed from localstorage in a different browser tab or window
1064
+ * @deprecated These events will be raised by default and this method will be removed in a future major version.
1065
+ */
1066
+ enableAccountStorageEvents() {
1067
+ if (this.config.cache.cacheLocation !==
1068
+ BrowserCacheLocation.LocalStorage) {
1069
+ this.logger.info("Account storage events are only available when cacheLocation is set to localStorage");
1070
+ return;
1071
+ }
1072
+ this.eventHandler.subscribeCrossTab();
1073
+ }
1074
+ /**
1075
+ * Removes event listener that emits an event when a user account is added or removed from localstorage in a different browser tab or window
1076
+ * @deprecated These events will be raised by default and this method will be removed in a future major version.
1077
+ */
1078
+ disableAccountStorageEvents() {
1079
+ if (this.config.cache.cacheLocation !==
1080
+ BrowserCacheLocation.LocalStorage) {
1081
+ this.logger.info("Account storage events are only available when cacheLocation is set to localStorage");
1082
+ return;
1083
+ }
1084
+ this.eventHandler.unsubscribeCrossTab();
1085
+ }
1086
+ /**
1087
+ * Gets the token cache for the application.
1088
+ */
1089
+ getTokenCache() {
1090
+ return this.tokenCache;
1091
+ }
1092
+ /**
1093
+ * Returns the logger instance
1094
+ */
1095
+ getLogger() {
1096
+ return this.logger;
1097
+ }
1098
+ /**
1099
+ * Replaces the default logger set in configurations with new Logger with new configurations
1100
+ * @param logger Logger instance
1101
+ */
1102
+ setLogger(logger) {
1103
+ this.logger = logger;
1104
+ }
1105
+ /**
1106
+ * Called by wrapper libraries (Angular & React) to set SKU and Version passed down to telemetry, logger, etc.
1107
+ * @param sku
1108
+ * @param version
1109
+ */
1110
+ initializeWrapperLibrary(sku, version) {
1111
+ // Validate the SKU passed in is one we expect
1112
+ this.browserStorage.setWrapperMetadata(sku, version);
1113
+ }
1114
+ /**
1115
+ * Sets navigation client
1116
+ * @param navigationClient
1117
+ */
1118
+ setNavigationClient(navigationClient) {
1119
+ this.navigationClient = navigationClient;
1120
+ }
1121
+ /**
1122
+ * Returns the configuration object
1123
+ */
1124
+ getConfiguration() {
1125
+ return this.config;
1126
+ }
1127
+ /**
1128
+ * Returns the performance client
1129
+ */
1130
+ getPerformanceClient() {
1131
+ return this.performanceClient;
1132
+ }
1133
+ /**
1134
+ * Returns the browser env indicator
1135
+ */
1136
+ isBrowserEnv() {
1137
+ return this.isBrowserEnvironment;
1138
+ }
1139
+ /**
1140
+ * Generates a correlation id for a request if none is provided.
1141
+ *
1142
+ * @protected
1143
+ * @param {?Partial<BaseAuthRequest>} [request]
1144
+ * @returns {string}
1145
+ */
1146
+ getRequestCorrelationId(request) {
1147
+ if (request?.correlationId) {
1148
+ return request.correlationId;
1149
+ }
1150
+ if (this.isBrowserEnvironment) {
1151
+ return createNewGuid();
1152
+ }
1153
+ /*
1154
+ * Included for fallback for non-browser environments,
1155
+ * and to ensure this method always returns a string.
1156
+ */
1157
+ return Constants.EMPTY_STRING;
1158
+ }
1159
+ // #endregion
1160
+ /**
1161
+ * Use when initiating the login process by redirecting the user's browser to the authorization endpoint. This function redirects the page, so
1162
+ * any code that follows this function will not execute.
1163
+ *
1164
+ * IMPORTANT: It is NOT recommended to have code that is dependent on the resolution of the Promise. This function will navigate away from the current
1165
+ * browser window. It currently returns a Promise in order to reflect the asynchronous nature of the code running in this function.
1166
+ *
1167
+ * @param request
1168
+ */
1169
+ async loginRedirect(request) {
1170
+ const correlationId = this.getRequestCorrelationId(request);
1171
+ this.logger.verbose("loginRedirect called", correlationId);
1172
+ return this.acquireTokenRedirect({
1173
+ correlationId,
1174
+ ...(request || DEFAULT_REQUEST),
1175
+ });
1176
+ }
1177
+ /**
1178
+ * Use when initiating the login process via opening a popup window in the user's browser
1179
+ *
1180
+ * @param request
1181
+ *
1182
+ * @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
1183
+ */
1184
+ loginPopup(request) {
1185
+ const correlationId = this.getRequestCorrelationId(request);
1186
+ this.logger.verbose("loginPopup called", correlationId);
1187
+ return this.acquireTokenPopup({
1188
+ correlationId,
1189
+ ...(request || DEFAULT_REQUEST),
1190
+ });
1191
+ }
1192
+ /**
1193
+ * Silently acquire an access token for a given set of scopes. Returns currently processing promise if parallel requests are made.
1194
+ *
1195
+ * @param {@link (SilentRequest:type)}
1196
+ * @returns {Promise.<AuthenticationResult>} - a promise that is fulfilled when this function has completed, or rejected if an error was raised. Returns the {@link AuthResponse} object
1197
+ */
1198
+ async acquireTokenSilent(request) {
1199
+ const correlationId = this.getRequestCorrelationId(request);
1200
+ const atsMeasurement = this.performanceClient.startMeasurement(PerformanceEvents.AcquireTokenSilent, correlationId);
1201
+ atsMeasurement.add({
1202
+ cacheLookupPolicy: request.cacheLookupPolicy,
1203
+ scenarioId: request.scenarioId,
1204
+ });
1205
+ preflightCheck(this.initialized, atsMeasurement);
1206
+ this.logger.verbose("acquireTokenSilent called", correlationId);
1207
+ const account = request.account || this.getActiveAccount();
1208
+ if (!account) {
1209
+ throw createBrowserAuthError(noAccountError);
1210
+ }
1211
+ atsMeasurement.add({ accountType: getAccountType(account) });
1212
+ return this.acquireTokenSilentDeduped(request, account, correlationId)
1213
+ .then((result) => {
1214
+ atsMeasurement.end({
1215
+ success: true,
1216
+ fromCache: result.fromCache,
1217
+ isNativeBroker: result.fromNativeBroker,
1218
+ accessTokenSize: result.accessToken.length,
1219
+ idTokenSize: result.idToken.length,
1220
+ });
1221
+ return {
1222
+ ...result,
1223
+ state: request.state,
1224
+ correlationId: correlationId, // Ensures PWB scenarios can correctly match request to response
1225
+ };
1226
+ })
1227
+ .catch((error) => {
1228
+ if (error instanceof AuthError) {
1229
+ // Ensures PWB scenarios can correctly match request to response
1230
+ error.setCorrelationId(correlationId);
1231
+ }
1232
+ atsMeasurement.end({
1233
+ success: false,
1234
+ }, error);
1235
+ throw error;
1236
+ });
1237
+ }
1238
+ /**
1239
+ * Checks if identical request is already in flight and returns reference to the existing promise or fires off a new one if this is the first
1240
+ * @param request
1241
+ * @param account
1242
+ * @param correlationId
1243
+ * @returns
1244
+ */
1245
+ async acquireTokenSilentDeduped(request, account, correlationId) {
1246
+ const thumbprint = getRequestThumbprint(this.config.auth.clientId, {
1247
+ ...request,
1248
+ authority: request.authority || this.config.auth.authority,
1249
+ correlationId: correlationId,
1250
+ }, account.homeAccountId);
1251
+ const silentRequestKey = JSON.stringify(thumbprint);
1252
+ const inProgressRequest = this.activeSilentTokenRequests.get(silentRequestKey);
1253
+ if (typeof inProgressRequest === "undefined") {
1254
+ this.logger.verbose("acquireTokenSilent called for the first time, storing active request", correlationId);
1255
+ this.performanceClient.addFields({ deduped: false }, correlationId);
1256
+ const activeRequest = invokeAsync(this.acquireTokenSilentAsync.bind(this), PerformanceEvents.AcquireTokenSilentAsync, this.logger, this.performanceClient, correlationId)({
1257
+ ...request,
1258
+ correlationId,
1259
+ }, account);
1260
+ this.activeSilentTokenRequests.set(silentRequestKey, activeRequest);
1261
+ return activeRequest.finally(() => {
1262
+ this.activeSilentTokenRequests.delete(silentRequestKey);
1263
+ });
1264
+ }
1265
+ else {
1266
+ this.logger.verbose("acquireTokenSilent has been called previously, returning the result from the first call", correlationId);
1267
+ this.performanceClient.addFields({ deduped: true }, correlationId);
1268
+ return inProgressRequest;
1269
+ }
1270
+ }
1271
+ /**
1272
+ * Silently acquire an access token for a given set of scopes. Will use cached token if available, otherwise will attempt to acquire a new token from the network via refresh token.
1273
+ * @param {@link (SilentRequest:type)}
1274
+ * @param {@link (AccountInfo:type)}
1275
+ * @returns {Promise.<AuthenticationResult>} - a promise that is fulfilled when this function has completed, or rejected if an error was raised. Returns the {@link AuthResponse}
1276
+ */
1277
+ async acquireTokenSilentAsync(request, account) {
1278
+ const trackPageVisibility = () => this.trackPageVisibility(request.correlationId);
1279
+ this.performanceClient.addQueueMeasurement(PerformanceEvents.AcquireTokenSilentAsync, request.correlationId);
1280
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_START, InteractionType.Silent, request);
1281
+ if (request.correlationId) {
1282
+ this.performanceClient.incrementFields({ visibilityChangeCount: 0 }, request.correlationId);
1283
+ }
1284
+ document.addEventListener("visibilitychange", trackPageVisibility);
1285
+ const silentRequest = await invokeAsync(initializeSilentRequest, PerformanceEvents.InitializeSilentRequest, this.logger, this.performanceClient, request.correlationId)(request, account, this.config, this.performanceClient, this.logger);
1286
+ const cacheLookupPolicy = request.cacheLookupPolicy || CacheLookupPolicy.Default;
1287
+ const result = this.acquireTokenSilentNoIframe(silentRequest, cacheLookupPolicy).catch(async (refreshTokenError) => {
1288
+ const shouldTryToResolveSilently = checkIfRefreshTokenErrorCanBeResolvedSilently(refreshTokenError, cacheLookupPolicy);
1289
+ if (shouldTryToResolveSilently) {
1290
+ if (!this.activeIframeRequest) {
1291
+ let _resolve;
1292
+ // Always set the active request tracker immediately after checking it to prevent races
1293
+ this.activeIframeRequest = [
1294
+ new Promise((resolve) => {
1295
+ _resolve = resolve;
1296
+ }),
1297
+ silentRequest.correlationId,
1298
+ ];
1299
+ this.logger.verbose("Refresh token expired/invalid or CacheLookupPolicy is set to Skip, attempting acquire token by iframe.", silentRequest.correlationId);
1300
+ return invokeAsync(this.acquireTokenBySilentIframe.bind(this), PerformanceEvents.AcquireTokenBySilentIframe, this.logger, this.performanceClient, silentRequest.correlationId)(silentRequest)
1301
+ .then((iframeResult) => {
1302
+ _resolve(true);
1303
+ return iframeResult;
1304
+ })
1305
+ .catch((e) => {
1306
+ _resolve(false);
1307
+ throw e;
1308
+ })
1309
+ .finally(() => {
1310
+ this.activeIframeRequest = undefined;
1311
+ });
1312
+ }
1313
+ else if (cacheLookupPolicy !== CacheLookupPolicy.Skip) {
1314
+ const [activePromise, activeCorrelationId] = this.activeIframeRequest;
1315
+ this.logger.verbose(`Iframe request is already in progress, awaiting resolution for request with correlationId: ${activeCorrelationId}`, silentRequest.correlationId);
1316
+ const awaitConcurrentIframeMeasure = this.performanceClient.startMeasurement(PerformanceEvents.AwaitConcurrentIframe, silentRequest.correlationId);
1317
+ awaitConcurrentIframeMeasure.add({
1318
+ awaitIframeCorrelationId: activeCorrelationId,
1319
+ });
1320
+ const activePromiseResult = await activePromise;
1321
+ awaitConcurrentIframeMeasure.end({
1322
+ success: activePromiseResult,
1323
+ });
1324
+ if (activePromiseResult) {
1325
+ this.logger.verbose(`Parallel iframe request with correlationId: ${activeCorrelationId} succeeded. Retrying cache and/or RT redemption`, silentRequest.correlationId);
1326
+ // Retry cache lookup and/or RT exchange after iframe completes
1327
+ return this.acquireTokenSilentNoIframe(silentRequest, cacheLookupPolicy);
1328
+ }
1329
+ else {
1330
+ this.logger.info(`Iframe request with correlationId: ${activeCorrelationId} failed. Interaction is required.`);
1331
+ // If previous iframe request failed, it's unlikely to succeed this time. Throw original error.
1332
+ throw refreshTokenError;
1333
+ }
1334
+ }
1335
+ else {
1336
+ // Cache policy set to skip and another iframe request is already in progress
1337
+ this.logger.warning("Another iframe request is currently in progress and CacheLookupPolicy is set to Skip. This may result in degraded performance and/or reliability for both calls. Please consider changing the CacheLookupPolicy to take advantage of request queuing and token cache.", silentRequest.correlationId);
1338
+ return invokeAsync(this.acquireTokenBySilentIframe.bind(this), PerformanceEvents.AcquireTokenBySilentIframe, this.logger, this.performanceClient, silentRequest.correlationId)(silentRequest);
1339
+ }
1340
+ }
1341
+ else {
1342
+ // Error cannot be silently resolved or iframe renewal is not allowed, interaction required
1343
+ throw refreshTokenError;
1344
+ }
1345
+ });
1346
+ return result
1347
+ .then((response) => {
1348
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_SUCCESS, InteractionType.Silent, response);
1349
+ if (request.correlationId) {
1350
+ this.performanceClient.addFields({
1351
+ fromCache: response.fromCache,
1352
+ isNativeBroker: response.fromNativeBroker,
1353
+ }, request.correlationId);
1354
+ }
1355
+ return response;
1356
+ })
1357
+ .catch((tokenRenewalError) => {
1358
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_FAILURE, InteractionType.Silent, null, tokenRenewalError);
1359
+ throw tokenRenewalError;
1360
+ })
1361
+ .finally(() => {
1362
+ document.removeEventListener("visibilitychange", trackPageVisibility);
1363
+ });
1364
+ }
1365
+ /**
1366
+ * AcquireTokenSilent without the iframe fallback. This is used to enable the correct fallbacks in cases where there's a potential for multiple silent requests to be made in parallel and prevent those requests from making concurrent iframe requests.
1367
+ * @param silentRequest
1368
+ * @param cacheLookupPolicy
1369
+ * @returns
1370
+ */
1371
+ async acquireTokenSilentNoIframe(silentRequest, cacheLookupPolicy) {
1372
+ // if the cache policy is set to access_token only, we should not be hitting the native layer yet
1373
+ if (isPlatformAuthAllowed(this.config, this.logger, this.platformAuthProvider, silentRequest.authenticationScheme) &&
1374
+ silentRequest.account.nativeAccountId) {
1375
+ this.logger.verbose("acquireTokenSilent - attempting to acquire token from native platform");
1376
+ return this.acquireTokenNative(silentRequest, ApiId.acquireTokenSilent_silentFlow, silentRequest.account.nativeAccountId, cacheLookupPolicy).catch(async (e) => {
1377
+ // If native token acquisition fails for availability reasons fallback to web flow
1378
+ if (e instanceof NativeAuthError && isFatalNativeAuthError(e)) {
1379
+ this.logger.verbose("acquireTokenSilent - native platform unavailable, falling back to web flow");
1380
+ this.platformAuthProvider = undefined; // Prevent future requests from continuing to attempt
1381
+ // Cache will not contain tokens, given that previous WAM requests succeeded. Skip cache and RT renewal and go straight to iframe renewal
1382
+ throw createClientAuthError(ClientAuthErrorCodes.tokenRefreshRequired);
1383
+ }
1384
+ throw e;
1385
+ });
1386
+ }
1387
+ else {
1388
+ this.logger.verbose("acquireTokenSilent - attempting to acquire token from web flow");
1389
+ // add logs to identify embedded cache retrieval
1390
+ if (cacheLookupPolicy === CacheLookupPolicy.AccessToken) {
1391
+ this.logger.verbose("acquireTokenSilent - cache lookup policy set to AccessToken, attempting to acquire token from local cache");
1392
+ }
1393
+ return invokeAsync(this.acquireTokenFromCache.bind(this), PerformanceEvents.AcquireTokenFromCache, this.logger, this.performanceClient, silentRequest.correlationId)(silentRequest, cacheLookupPolicy).catch((cacheError) => {
1394
+ if (cacheLookupPolicy === CacheLookupPolicy.AccessToken) {
1395
+ throw cacheError;
1396
+ }
1397
+ this.eventHandler.emitEvent(EventType.ACQUIRE_TOKEN_NETWORK_START, InteractionType.Silent, silentRequest);
1398
+ return invokeAsync(this.acquireTokenByRefreshToken.bind(this), PerformanceEvents.AcquireTokenByRefreshToken, this.logger, this.performanceClient, silentRequest.correlationId)(silentRequest, cacheLookupPolicy);
1399
+ });
1400
+ }
1401
+ }
1402
+ /**
1403
+ * Pre-generates PKCE codes and stores it in local variable
1404
+ * @param correlationId
1405
+ */
1406
+ async preGeneratePkceCodes(correlationId) {
1407
+ this.logger.verbose("Generating new PKCE codes");
1408
+ this.pkceCode = await invokeAsync(generatePkceCodes, PerformanceEvents.GeneratePkceCodes, this.logger, this.performanceClient, correlationId)(this.performanceClient, this.logger, correlationId);
1409
+ return Promise.resolve();
1410
+ }
1411
+ /**
1412
+ * Provides pre-generated PKCE codes, if any
1413
+ * @param correlationId
1414
+ */
1415
+ getPreGeneratedPkceCodes(correlationId) {
1416
+ this.logger.verbose("Attempting to pick up pre-generated PKCE codes");
1417
+ const res = this.pkceCode ? { ...this.pkceCode } : undefined;
1418
+ this.pkceCode = undefined;
1419
+ this.logger.verbose(`${res ? "Found" : "Did not find"} pre-generated PKCE codes`);
1420
+ this.performanceClient.addFields({ usePreGeneratedPkce: !!res }, correlationId);
1421
+ return res;
1422
+ }
1423
+ logMultipleInstances(performanceEvent) {
1424
+ const clientId = this.config.auth.clientId;
1425
+ if (!window)
1426
+ return;
1427
+ // @ts-ignore
1428
+ window.msal = window.msal || {};
1429
+ // @ts-ignore
1430
+ window.msal.clientIds = window.msal.clientIds || [];
1431
+ // @ts-ignore
1432
+ const clientIds = window.msal.clientIds;
1433
+ if (clientIds.length > 0) {
1434
+ this.logger.verbose("There is already an instance of MSAL.js in the window.");
1435
+ }
1436
+ // @ts-ignore
1437
+ window.msal.clientIds.push(clientId);
1438
+ collectInstanceStats(clientId, performanceEvent, this.logger);
1439
+ }
1440
+ }
1441
+ /**
1442
+ * Determines whether an error thrown by the refresh token endpoint can be resolved without interaction
1443
+ * @param refreshTokenError
1444
+ * @param silentRequest
1445
+ * @param cacheLookupPolicy
1446
+ * @returns
1447
+ */
1448
+ function checkIfRefreshTokenErrorCanBeResolvedSilently(refreshTokenError, cacheLookupPolicy) {
1449
+ const noInteractionRequired = !(refreshTokenError instanceof InteractionRequiredAuthError &&
1450
+ // For refresh token errors, bad_token does not always require interaction (silently resolvable)
1451
+ refreshTokenError.subError !==
1452
+ InteractionRequiredAuthErrorCodes.badToken);
1453
+ // Errors that result when the refresh token needs to be replaced
1454
+ const refreshTokenRefreshRequired = refreshTokenError.errorCode === BrowserConstants.INVALID_GRANT_ERROR ||
1455
+ refreshTokenError.errorCode ===
1456
+ ClientAuthErrorCodes.tokenRefreshRequired;
1457
+ // Errors that may be resolved before falling back to interaction (through iframe renewal)
1458
+ const isSilentlyResolvable = (noInteractionRequired && refreshTokenRefreshRequired) ||
1459
+ refreshTokenError.errorCode ===
1460
+ InteractionRequiredAuthErrorCodes.noTokensFound ||
1461
+ refreshTokenError.errorCode ===
1462
+ InteractionRequiredAuthErrorCodes.refreshTokenExpired;
1463
+ // Only these policies allow for an iframe renewal attempt
1464
+ const tryIframeRenewal = iFrameRenewalPolicies.includes(cacheLookupPolicy);
1465
+ return isSilentlyResolvable && tryIframeRenewal;
1466
+ }
1467
+
1468
+ export { StandardController };
1469
+ //# sourceMappingURL=StandardController.mjs.map