@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
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v4.13.1 2025-06-10 */
1
+ /*! @azure/msal-browser v4.14.0 2025-07-01 */
2
2
  'use strict';
3
3
  (function (global, factory) {
4
4
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
@@ -6,7 +6,7 @@
6
6
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.msal = {}));
7
7
  })(this, (function (exports) { 'use strict';
8
8
 
9
- /*! @azure/msal-common v15.7.0 2025-06-10 */
9
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
10
10
  /*
11
11
  * Copyright (c) Microsoft Corporation. All rights reserved.
12
12
  * Licensed under the MIT License.
@@ -151,7 +151,6 @@
151
151
  */
152
152
  const OAuthResponseType = {
153
153
  CODE: "code",
154
- IDTOKEN_TOKEN: "id_token token",
155
154
  IDTOKEN_TOKEN_REFRESHTOKEN: "id_token token refresh_token",
156
155
  };
157
156
  /**
@@ -166,29 +165,19 @@
166
165
  * allowed values for response_mode
167
166
  */
168
167
  const ResponseMode = {
169
- QUERY: "query",
170
- FRAGMENT: "fragment",
171
- FORM_POST: "form_post",
172
- };
168
+ QUERY: "query"};
173
169
  /**
174
170
  * allowed grant_type
175
171
  */
176
172
  const GrantType = {
177
- IMPLICIT_GRANT: "implicit",
178
173
  AUTHORIZATION_CODE_GRANT: "authorization_code",
179
- CLIENT_CREDENTIALS_GRANT: "client_credentials",
180
- RESOURCE_OWNER_PASSWORD_GRANT: "password",
181
- REFRESH_TOKEN_GRANT: "refresh_token",
182
- DEVICE_CODE_GRANT: "device_code",
183
- JWT_BEARER: "urn:ietf:params:oauth:grant-type:jwt-bearer",
184
- };
174
+ REFRESH_TOKEN_GRANT: "refresh_token"};
185
175
  /**
186
176
  * Account types in Cache
187
177
  */
188
178
  const CacheAccountType = {
189
179
  MSSTS_ACCOUNT_TYPE: "MSSTS",
190
180
  ADFS_ACCOUNT_TYPE: "ADFS",
191
- MSAV1_ACCOUNT_TYPE: "MSA",
192
181
  GENERIC_ACCOUNT_TYPE: "Generic", // NTLM, Kerberos, FBA, Basic etc
193
182
  };
194
183
  /**
@@ -225,7 +214,6 @@
225
214
  };
226
215
  const SERVER_TELEM_CONSTANTS = {
227
216
  SCHEMA_VERSION: 5,
228
- MAX_CUR_HEADER_BYTES: 80,
229
217
  MAX_LAST_HEADER_BYTES: 330,
230
218
  MAX_CACHED_ERRORS: 50,
231
219
  CACHE_KEY: "server-telemetry",
@@ -273,9 +261,7 @@
273
261
  * Region Discovery Outcomes
274
262
  */
275
263
  const RegionDiscoveryOutcomes = {
276
- CONFIGURED_MATCHES_DETECTED: "1",
277
264
  CONFIGURED_NO_AUTO_DETECTION: "2",
278
- CONFIGURED_NOT_DETECTED: "3",
279
265
  AUTO_DETECTION_REQUESTED_SUCCESSFUL: "4",
280
266
  AUTO_DETECTION_REQUESTED_FAILED: "5",
281
267
  };
@@ -302,7 +288,7 @@
302
288
  // Token renewal offset default in seconds
303
289
  const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
304
290
 
305
- /*! @azure/msal-common v15.7.0 2025-06-10 */
291
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
306
292
  /*
307
293
  * Copyright (c) Microsoft Corporation. All rights reserved.
308
294
  * Licensed under the MIT License.
@@ -319,7 +305,7 @@
319
305
  unexpectedError: unexpectedError
320
306
  });
321
307
 
322
- /*! @azure/msal-common v15.7.0 2025-06-10 */
308
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
323
309
 
324
310
  /*
325
311
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -368,7 +354,7 @@
368
354
  : AuthErrorMessages[code]);
369
355
  }
370
356
 
371
- /*! @azure/msal-common v15.7.0 2025-06-10 */
357
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
372
358
  /*
373
359
  * Copyright (c) Microsoft Corporation. All rights reserved.
374
360
  * Licensed under the MIT License.
@@ -466,7 +452,7 @@
466
452
  userTimeoutReached: userTimeoutReached
467
453
  });
468
454
 
469
- /*! @azure/msal-common v15.7.0 2025-06-10 */
455
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
470
456
 
471
457
  /*
472
458
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -718,7 +704,7 @@
718
704
  return new ClientAuthError(errorCode, additionalMessage);
719
705
  }
720
706
 
721
- /*! @azure/msal-common v15.7.0 2025-06-10 */
707
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
722
708
 
723
709
  /*
724
710
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -757,7 +743,7 @@
757
743
  },
758
744
  };
759
745
 
760
- /*! @azure/msal-common v15.7.0 2025-06-10 */
746
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
761
747
 
762
748
  /*
763
749
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -948,12 +934,12 @@
948
934
  }
949
935
  }
950
936
 
951
- /*! @azure/msal-common v15.7.0 2025-06-10 */
937
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
952
938
  /* eslint-disable header/header */
953
939
  const name$1 = "@azure/msal-common";
954
- const version$1 = "15.7.0";
940
+ const version$1 = "15.8.0";
955
941
 
956
- /*! @azure/msal-common v15.7.0 2025-06-10 */
942
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
957
943
  /*
958
944
  * Copyright (c) Microsoft Corporation. All rights reserved.
959
945
  * Licensed under the MIT License.
@@ -973,7 +959,7 @@
973
959
  AzureUsGovernment: "https://login.microsoftonline.us",
974
960
  };
975
961
 
976
- /*! @azure/msal-common v15.7.0 2025-06-10 */
962
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
977
963
 
978
964
  /*
979
965
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1034,7 +1020,7 @@
1034
1020
  }
1035
1021
  }
1036
1022
 
1037
- /*! @azure/msal-common v15.7.0 2025-06-10 */
1023
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
1038
1024
  /*
1039
1025
  * Copyright (c) Microsoft Corporation. All rights reserved.
1040
1026
  * Licensed under the MIT License.
@@ -1089,7 +1075,7 @@
1089
1075
  return cachedAtSec > nowSeconds();
1090
1076
  }
1091
1077
 
1092
- /*! @azure/msal-common v15.7.0 2025-06-10 */
1078
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
1093
1079
 
1094
1080
  /*
1095
1081
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1416,7 +1402,7 @@
1416
1402
  return metadata.expiresAt <= nowSeconds();
1417
1403
  }
1418
1404
 
1419
- /*! @azure/msal-common v15.7.0 2025-06-10 */
1405
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
1420
1406
  /*
1421
1407
  * Copyright (c) Microsoft Corporation. All rights reserved.
1422
1408
  * Licensed under the MIT License.
@@ -1470,7 +1456,7 @@
1470
1456
  urlParseError: urlParseError
1471
1457
  });
1472
1458
 
1473
- /*! @azure/msal-common v15.7.0 2025-06-10 */
1459
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
1474
1460
 
1475
1461
  /*
1476
1462
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1608,7 +1594,7 @@
1608
1594
  return new ClientConfigurationError(errorCode);
1609
1595
  }
1610
1596
 
1611
- /*! @azure/msal-common v15.7.0 2025-06-10 */
1597
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
1612
1598
  /*
1613
1599
  * Copyright (c) Microsoft Corporation. All rights reserved.
1614
1600
  * Licensed under the MIT License.
@@ -1705,7 +1691,7 @@
1705
1691
  }
1706
1692
  }
1707
1693
 
1708
- /*! @azure/msal-common v15.7.0 2025-06-10 */
1694
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
1709
1695
 
1710
1696
  /*
1711
1697
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1896,7 +1882,7 @@
1896
1882
  }
1897
1883
  }
1898
1884
 
1899
- /*! @azure/msal-common v15.7.0 2025-06-10 */
1885
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
1900
1886
 
1901
1887
  /*
1902
1888
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1936,7 +1922,7 @@
1936
1922
  };
1937
1923
  }
1938
1924
 
1939
- /*! @azure/msal-common v15.7.0 2025-06-10 */
1925
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
1940
1926
  /*
1941
1927
  * Copyright (c) Microsoft Corporation. All rights reserved.
1942
1928
  * Licensed under the MIT License.
@@ -2015,7 +2001,7 @@
2015
2001
  return updatedAccountInfo;
2016
2002
  }
2017
2003
 
2018
- /*! @azure/msal-common v15.7.0 2025-06-10 */
2004
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
2019
2005
  /*
2020
2006
  * Copyright (c) Microsoft Corporation. All rights reserved.
2021
2007
  * Licensed under the MIT License.
@@ -2030,7 +2016,7 @@
2030
2016
  Ciam: 3,
2031
2017
  };
2032
2018
 
2033
- /*! @azure/msal-common v15.7.0 2025-06-10 */
2019
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
2034
2020
  /*
2035
2021
  * Copyright (c) Microsoft Corporation. All rights reserved.
2036
2022
  * Licensed under the MIT License.
@@ -2052,7 +2038,7 @@
2052
2038
  return null;
2053
2039
  }
2054
2040
 
2055
- /*! @azure/msal-common v15.7.0 2025-06-10 */
2041
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
2056
2042
  /*
2057
2043
  * Copyright (c) Microsoft Corporation. All rights reserved.
2058
2044
  * Licensed under the MIT License.
@@ -2076,7 +2062,7 @@
2076
2062
  EAR: "EAR",
2077
2063
  };
2078
2064
 
2079
- /*! @azure/msal-common v15.7.0 2025-06-10 */
2065
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
2080
2066
 
2081
2067
  /*
2082
2068
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2319,7 +2305,7 @@
2319
2305
  }
2320
2306
  }
2321
2307
 
2322
- /*! @azure/msal-common v15.7.0 2025-06-10 */
2308
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
2323
2309
 
2324
2310
  /*
2325
2311
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2384,7 +2370,7 @@
2384
2370
  return queryParameterArray.join("&");
2385
2371
  }
2386
2372
 
2387
- /*! @azure/msal-common v15.7.0 2025-06-10 */
2373
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
2388
2374
 
2389
2375
  /*
2390
2376
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2548,7 +2534,7 @@
2548
2534
  }
2549
2535
  }
2550
2536
 
2551
- /*! @azure/msal-common v15.7.0 2025-06-10 */
2537
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
2552
2538
 
2553
2539
  /*
2554
2540
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2579,7 +2565,6 @@
2579
2565
  },
2580
2566
  },
2581
2567
  instanceDiscoveryMetadata: {
2582
- tenant_discovery_endpoint: "https://{canonicalAuthority}/v2.0/.well-known/openid-configuration",
2583
2568
  metadata: [
2584
2569
  {
2585
2570
  preferred_network: "login.microsoftonline.com",
@@ -2688,42 +2673,60 @@
2688
2673
  return null;
2689
2674
  }
2690
2675
 
2691
- /*! @azure/msal-common v15.7.0 2025-06-10 */
2676
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
2692
2677
  /*
2693
2678
  * Copyright (c) Microsoft Corporation. All rights reserved.
2694
2679
  * Licensed under the MIT License.
2695
2680
  */
2696
- const cacheQuotaExceededErrorCode = "cache_quota_exceeded";
2697
- const cacheUnknownErrorCode = "cache_error_unknown";
2681
+ const cacheQuotaExceeded = "cache_quota_exceeded";
2682
+ const cacheErrorUnknown = "cache_error_unknown";
2698
2683
 
2699
- /*! @azure/msal-common v15.7.0 2025-06-10 */
2684
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
2700
2685
 
2701
2686
  /*
2702
2687
  * Copyright (c) Microsoft Corporation. All rights reserved.
2703
2688
  * Licensed under the MIT License.
2704
2689
  */
2705
2690
  const CacheErrorMessages = {
2706
- [cacheQuotaExceededErrorCode]: "Exceeded cache storage capacity.",
2707
- [cacheUnknownErrorCode]: "Unexpected error occurred when using cache storage.",
2691
+ [cacheQuotaExceeded]: "Exceeded cache storage capacity.",
2692
+ [cacheErrorUnknown]: "Unexpected error occurred when using cache storage.",
2708
2693
  };
2709
2694
  /**
2710
2695
  * Error thrown when there is an error with the cache
2711
2696
  */
2712
- class CacheError extends Error {
2697
+ class CacheError extends AuthError {
2713
2698
  constructor(errorCode, errorMessage) {
2714
2699
  const message = errorMessage ||
2715
2700
  (CacheErrorMessages[errorCode]
2716
2701
  ? CacheErrorMessages[errorCode]
2717
- : CacheErrorMessages[cacheUnknownErrorCode]);
2702
+ : CacheErrorMessages[cacheErrorUnknown]);
2718
2703
  super(`${errorCode}: ${message}`);
2719
2704
  Object.setPrototypeOf(this, CacheError.prototype);
2720
2705
  this.name = "CacheError";
2721
2706
  this.errorCode = errorCode;
2722
2707
  this.errorMessage = message;
2723
2708
  }
2709
+ }
2710
+ /**
2711
+ * Helper function to wrap browser errors in a CacheError object
2712
+ * @param e
2713
+ * @returns
2714
+ */
2715
+ function createCacheError(e) {
2716
+ if (!(e instanceof Error)) {
2717
+ return new CacheError(cacheErrorUnknown);
2718
+ }
2719
+ if (e.name === "QuotaExceededError" ||
2720
+ e.name === "NS_ERROR_DOM_QUOTA_REACHED" ||
2721
+ e.message.includes("exceeded the quota")) {
2722
+ return new CacheError(cacheQuotaExceeded);
2723
+ }
2724
+ else {
2725
+ return new CacheError(e.name, e.message);
2726
+ }
2724
2727
  }
2725
2728
 
2726
- /*! @azure/msal-common v15.7.0 2025-06-10 */
2729
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
2727
2730
 
2728
2731
  /*
2729
2732
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2734,25 +2737,26 @@
2734
2737
  * @internal
2735
2738
  */
2736
2739
  class CacheManager {
2737
- constructor(clientId, cryptoImpl, logger, staticAuthorityOptions) {
2740
+ constructor(clientId, cryptoImpl, logger, performanceClient, staticAuthorityOptions) {
2738
2741
  this.clientId = clientId;
2739
2742
  this.cryptoImpl = cryptoImpl;
2740
2743
  this.commonLogger = logger.clone(name$1, version$1);
2741
2744
  this.staticAuthorityOptions = staticAuthorityOptions;
2745
+ this.performanceClient = performanceClient;
2742
2746
  }
2743
2747
  /**
2744
2748
  * Returns all the accounts in the cache that match the optional filter. If no filter is provided, all accounts are returned.
2745
2749
  * @param accountFilter - (Optional) filter to narrow down the accounts returned
2746
2750
  * @returns Array of AccountInfo objects in cache
2747
2751
  */
2748
- getAllAccounts(accountFilter) {
2749
- return this.buildTenantProfiles(this.getAccountsFilteredBy(accountFilter || {}), accountFilter);
2752
+ getAllAccounts(accountFilter, correlationId) {
2753
+ return this.buildTenantProfiles(this.getAccountsFilteredBy(accountFilter, correlationId), correlationId, accountFilter);
2750
2754
  }
2751
2755
  /**
2752
2756
  * Gets first tenanted AccountInfo object found based on provided filters
2753
2757
  */
2754
- getAccountInfoFilteredBy(accountFilter) {
2755
- const allAccounts = this.getAllAccounts(accountFilter);
2758
+ getAccountInfoFilteredBy(accountFilter, correlationId) {
2759
+ const allAccounts = this.getAllAccounts(accountFilter, correlationId);
2756
2760
  if (allAccounts.length > 1) {
2757
2761
  // If one or more accounts are found, prioritize accounts that have an ID token
2758
2762
  const sortedAccounts = allAccounts.sort((account) => {
@@ -2773,8 +2777,8 @@
2773
2777
  * @param accountFilter
2774
2778
  * @returns
2775
2779
  */
2776
- getBaseAccountInfo(accountFilter) {
2777
- const accountEntities = this.getAccountsFilteredBy(accountFilter);
2780
+ getBaseAccountInfo(accountFilter, correlationId) {
2781
+ const accountEntities = this.getAccountsFilteredBy(accountFilter, correlationId);
2778
2782
  if (accountEntities.length > 0) {
2779
2783
  return accountEntities[0].getAccountInfo();
2780
2784
  }
@@ -2789,12 +2793,12 @@
2789
2793
  * @param accountFilter
2790
2794
  * @returns Array of AccountInfo objects that match account and tenant profile filters
2791
2795
  */
2792
- buildTenantProfiles(cachedAccounts, accountFilter) {
2796
+ buildTenantProfiles(cachedAccounts, correlationId, accountFilter) {
2793
2797
  return cachedAccounts.flatMap((accountEntity) => {
2794
- return this.getTenantProfilesFromAccountEntity(accountEntity, accountFilter?.tenantId, accountFilter);
2798
+ return this.getTenantProfilesFromAccountEntity(accountEntity, correlationId, accountFilter?.tenantId, accountFilter);
2795
2799
  });
2796
2800
  }
2797
- getTenantedAccountInfoByFilter(accountInfo, tokenKeys, tenantProfile, tenantProfileFilter) {
2801
+ getTenantedAccountInfoByFilter(accountInfo, tokenKeys, tenantProfile, correlationId, tenantProfileFilter) {
2798
2802
  let tenantedAccountInfo = null;
2799
2803
  let idTokenClaims;
2800
2804
  if (tenantProfileFilter) {
@@ -2802,7 +2806,7 @@
2802
2806
  return null;
2803
2807
  }
2804
2808
  }
2805
- const idToken = this.getIdToken(accountInfo, tokenKeys, tenantProfile.tenantId);
2809
+ const idToken = this.getIdToken(accountInfo, correlationId, tokenKeys, tenantProfile.tenantId);
2806
2810
  if (idToken) {
2807
2811
  idTokenClaims = extractTokenClaims(idToken.secret, this.cryptoImpl.base64Decode);
2808
2812
  if (!this.idTokenClaimsMatchTenantProfileFilter(idTokenClaims, tenantProfileFilter)) {
@@ -2814,7 +2818,7 @@
2814
2818
  tenantedAccountInfo = updateAccountTenantProfileData(accountInfo, tenantProfile, idTokenClaims, idToken?.secret);
2815
2819
  return tenantedAccountInfo;
2816
2820
  }
2817
- getTenantProfilesFromAccountEntity(accountEntity, targetTenantId, tenantProfileFilter) {
2821
+ getTenantProfilesFromAccountEntity(accountEntity, correlationId, targetTenantId, tenantProfileFilter) {
2818
2822
  const accountInfo = accountEntity.getAccountInfo();
2819
2823
  let searchTenantProfiles = accountInfo.tenantProfiles || new Map();
2820
2824
  const tokenKeys = this.getTokenKeys();
@@ -2834,7 +2838,7 @@
2834
2838
  }
2835
2839
  const matchingTenantProfiles = [];
2836
2840
  searchTenantProfiles.forEach((tenantProfile) => {
2837
- const tenantedAccountInfo = this.getTenantedAccountInfoByFilter(accountInfo, tokenKeys, tenantProfile, tenantProfileFilter);
2841
+ const tenantedAccountInfo = this.getTenantedAccountInfoByFilter(accountInfo, tokenKeys, tenantProfile, correlationId, tenantProfileFilter);
2838
2842
  if (tenantedAccountInfo) {
2839
2843
  matchingTenantProfiles.push(tenantedAccountInfo);
2840
2844
  }
@@ -2908,26 +2912,16 @@
2908
2912
  await this.setRefreshTokenCredential(cacheRecord.refreshToken, correlationId);
2909
2913
  }
2910
2914
  if (!!cacheRecord.appMetadata) {
2911
- this.setAppMetadata(cacheRecord.appMetadata);
2915
+ this.setAppMetadata(cacheRecord.appMetadata, correlationId);
2912
2916
  }
2913
2917
  }
2914
2918
  catch (e) {
2915
2919
  this.commonLogger?.error(`CacheManager.saveCacheRecord: failed`);
2916
- if (e instanceof Error) {
2917
- this.commonLogger?.errorPii(`CacheManager.saveCacheRecord: ${e.message}`, correlationId);
2918
- if (e.name === "QuotaExceededError" ||
2919
- e.name === "NS_ERROR_DOM_QUOTA_REACHED" ||
2920
- e.message.includes("exceeded the quota")) {
2921
- this.commonLogger?.error(`CacheManager.saveCacheRecord: exceeded storage quota`, correlationId);
2922
- throw new CacheError(cacheQuotaExceededErrorCode);
2923
- }
2924
- else {
2925
- throw new CacheError(e.name, e.message);
2926
- }
2920
+ if (e instanceof AuthError) {
2921
+ throw e;
2927
2922
  }
2928
2923
  else {
2929
- this.commonLogger?.errorPii(`CacheManager.saveCacheRecord: ${e}`, correlationId);
2930
- throw new CacheError(cacheUnknownErrorCode);
2924
+ throw createCacheError(e);
2931
2925
  }
2932
2926
  }
2933
2927
  }
@@ -2947,21 +2941,19 @@
2947
2941
  };
2948
2942
  const tokenKeys = this.getTokenKeys();
2949
2943
  const currentScopes = ScopeSet.fromString(credential.target);
2950
- const removedAccessTokens = [];
2951
2944
  tokenKeys.accessToken.forEach((key) => {
2952
2945
  if (!this.accessTokenKeyMatchesFilter(key, accessTokenFilter, false)) {
2953
2946
  return;
2954
2947
  }
2955
- const tokenEntity = this.getAccessTokenCredential(key);
2948
+ const tokenEntity = this.getAccessTokenCredential(key, correlationId);
2956
2949
  if (tokenEntity &&
2957
2950
  this.credentialMatchesFilter(tokenEntity, accessTokenFilter)) {
2958
2951
  const tokenScopeSet = ScopeSet.fromString(tokenEntity.target);
2959
2952
  if (tokenScopeSet.intersectingScopeSets(currentScopes)) {
2960
- removedAccessTokens.push(this.removeAccessToken(key));
2953
+ this.removeAccessToken(key, correlationId);
2961
2954
  }
2962
2955
  }
2963
2956
  });
2964
- await Promise.all(removedAccessTokens);
2965
2957
  await this.setAccessTokenCredential(credential, correlationId);
2966
2958
  }
2967
2959
  /**
@@ -2969,7 +2961,7 @@
2969
2961
  * Not checking for casing as keys are all generated in lower case, remember to convert to lower case if object properties are compared
2970
2962
  * @param accountFilter - An object containing Account properties to filter by
2971
2963
  */
2972
- getAccountsFilteredBy(accountFilter) {
2964
+ getAccountsFilteredBy(accountFilter, correlationId) {
2973
2965
  const allAccountKeys = this.getAccountKeys();
2974
2966
  const matchingAccounts = [];
2975
2967
  allAccountKeys.forEach((cacheKey) => {
@@ -2977,7 +2969,7 @@
2977
2969
  // Don't parse value if the key doesn't match the account filters
2978
2970
  return;
2979
2971
  }
2980
- const entity = this.getAccount(cacheKey, this.commonLogger);
2972
+ const entity = this.getAccount(cacheKey, correlationId);
2981
2973
  // Match base account fields
2982
2974
  if (!entity) {
2983
2975
  return;
@@ -3203,86 +3195,80 @@
3203
3195
  /**
3204
3196
  * Removes all accounts and related tokens from cache.
3205
3197
  */
3206
- async removeAllAccounts() {
3198
+ removeAllAccounts(correlationId) {
3207
3199
  const allAccountKeys = this.getAccountKeys();
3208
- const removedAccounts = [];
3209
3200
  allAccountKeys.forEach((cacheKey) => {
3210
- removedAccounts.push(this.removeAccount(cacheKey));
3201
+ this.removeAccount(cacheKey, correlationId);
3211
3202
  });
3212
- await Promise.all(removedAccounts);
3213
3203
  }
3214
3204
  /**
3215
3205
  * Removes the account and related tokens for a given account key
3216
3206
  * @param account
3217
3207
  */
3218
- async removeAccount(accountKey) {
3219
- const account = this.getAccount(accountKey, this.commonLogger);
3208
+ removeAccount(accountKey, correlationId) {
3209
+ const account = this.getAccount(accountKey, correlationId);
3220
3210
  if (!account) {
3221
3211
  return;
3222
3212
  }
3223
- await this.removeAccountContext(account);
3224
- this.removeItem(accountKey);
3213
+ this.removeAccountContext(account, correlationId);
3214
+ this.removeItem(accountKey, correlationId);
3225
3215
  }
3226
3216
  /**
3227
3217
  * Removes credentials associated with the provided account
3228
3218
  * @param account
3229
3219
  */
3230
- async removeAccountContext(account) {
3220
+ removeAccountContext(account, correlationId) {
3231
3221
  const allTokenKeys = this.getTokenKeys();
3232
3222
  const accountId = account.generateAccountId();
3233
- const removedCredentials = [];
3234
3223
  allTokenKeys.idToken.forEach((key) => {
3235
3224
  if (key.indexOf(accountId) === 0) {
3236
- this.removeIdToken(key);
3225
+ this.removeIdToken(key, correlationId);
3237
3226
  }
3238
3227
  });
3239
3228
  allTokenKeys.accessToken.forEach((key) => {
3240
3229
  if (key.indexOf(accountId) === 0) {
3241
- removedCredentials.push(this.removeAccessToken(key));
3230
+ this.removeAccessToken(key, correlationId);
3242
3231
  }
3243
3232
  });
3244
3233
  allTokenKeys.refreshToken.forEach((key) => {
3245
3234
  if (key.indexOf(accountId) === 0) {
3246
- this.removeRefreshToken(key);
3235
+ this.removeRefreshToken(key, correlationId);
3247
3236
  }
3248
3237
  });
3249
- await Promise.all(removedCredentials);
3250
3238
  }
3251
3239
  /**
3252
- * returns a boolean if the given credential is removed
3253
- * @param credential
3240
+ * Removes accessToken from the cache
3241
+ * @param key
3242
+ * @param correlationId
3254
3243
  */
3255
- async removeAccessToken(key) {
3256
- const credential = this.getAccessTokenCredential(key);
3257
- if (!credential) {
3244
+ removeAccessToken(key, correlationId) {
3245
+ const credential = this.getAccessTokenCredential(key, correlationId);
3246
+ this.removeItem(key, correlationId);
3247
+ this.performanceClient.incrementFields({ accessTokensRemoved: 1 }, correlationId);
3248
+ if (!credential ||
3249
+ credential.credentialType.toLowerCase() !==
3250
+ CredentialType.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase() ||
3251
+ credential.tokenType !== AuthenticationScheme.POP) {
3252
+ // If the credential is not a PoP token, we can return
3258
3253
  return;
3259
3254
  }
3260
3255
  // Remove Token Binding Key from key store for PoP Tokens Credentials
3261
- if (credential.credentialType.toLowerCase() ===
3262
- CredentialType.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase()) {
3263
- if (credential.tokenType === AuthenticationScheme.POP) {
3264
- const accessTokenWithAuthSchemeEntity = credential;
3265
- const kid = accessTokenWithAuthSchemeEntity.keyId;
3266
- if (kid) {
3267
- try {
3268
- await this.cryptoImpl.removeTokenBindingKey(kid);
3269
- }
3270
- catch (error) {
3271
- throw createClientAuthError(bindingKeyNotRemoved);
3272
- }
3273
- }
3274
- }
3256
+ const kid = credential.keyId;
3257
+ if (kid) {
3258
+ void this.cryptoImpl.removeTokenBindingKey(kid).catch(() => {
3259
+ this.commonLogger.error(`Failed to remove token binding key ${kid}`, correlationId);
3260
+ this.performanceClient?.incrementFields({ removeTokenBindingKeyFailure: 1 }, correlationId);
3261
+ });
3275
3262
  }
3276
- return this.removeItem(key);
3277
3263
  }
3278
3264
  /**
3279
3265
  * Removes all app metadata objects from cache.
3280
3266
  */
3281
- removeAppMetadata() {
3267
+ removeAppMetadata(correlationId) {
3282
3268
  const allCacheKeys = this.getKeys();
3283
3269
  allCacheKeys.forEach((cacheKey) => {
3284
3270
  if (this.isAppMetadata(cacheKey)) {
3285
- this.removeItem(cacheKey);
3271
+ this.removeItem(cacheKey, correlationId);
3286
3272
  }
3287
3273
  });
3288
3274
  return true;
@@ -3291,9 +3277,9 @@
3291
3277
  * Retrieve AccountEntity from cache
3292
3278
  * @param account
3293
3279
  */
3294
- readAccountFromCache(account) {
3280
+ readAccountFromCache(account, correlationId) {
3295
3281
  const accountKey = AccountEntity.generateAccountCacheKey(account);
3296
- return this.getAccount(accountKey, this.commonLogger);
3282
+ return this.getAccount(accountKey, correlationId);
3297
3283
  }
3298
3284
  /**
3299
3285
  * Retrieve IdTokenEntity from cache
@@ -3303,7 +3289,7 @@
3303
3289
  * @param performanceClient {?IPerformanceClient}
3304
3290
  * @param correlationId {?string}
3305
3291
  */
3306
- getIdToken(account, tokenKeys, targetRealm, performanceClient, correlationId) {
3292
+ getIdToken(account, correlationId, tokenKeys, targetRealm, performanceClient) {
3307
3293
  this.commonLogger.trace("CacheManager - getIdToken called");
3308
3294
  const idTokenFilter = {
3309
3295
  homeAccountId: account.homeAccountId,
@@ -3312,7 +3298,7 @@
3312
3298
  clientId: this.clientId,
3313
3299
  realm: targetRealm,
3314
3300
  };
3315
- const idTokenMap = this.getIdTokensByFilter(idTokenFilter, tokenKeys);
3301
+ const idTokenMap = this.getIdTokensByFilter(idTokenFilter, correlationId, tokenKeys);
3316
3302
  const numIdTokens = idTokenMap.size;
3317
3303
  if (numIdTokens < 1) {
3318
3304
  this.commonLogger.info("CacheManager:getIdToken - No token found");
@@ -3345,7 +3331,7 @@
3345
3331
  // Multiple tokens for a single tenant profile, remove all and return null
3346
3332
  this.commonLogger.info("CacheManager:getIdToken - Multiple matching ID tokens found, clearing them");
3347
3333
  tokensToBeRemoved.forEach((idToken, key) => {
3348
- this.removeIdToken(key);
3334
+ this.removeIdToken(key, correlationId);
3349
3335
  });
3350
3336
  if (performanceClient && correlationId) {
3351
3337
  performanceClient.addFields({ multiMatchedID: idTokenMap.size }, correlationId);
@@ -3360,7 +3346,7 @@
3360
3346
  * @param filter
3361
3347
  * @returns
3362
3348
  */
3363
- getIdTokensByFilter(filter, tokenKeys) {
3349
+ getIdTokensByFilter(filter, correlationId, tokenKeys) {
3364
3350
  const idTokenKeys = (tokenKeys && tokenKeys.idToken) || this.getTokenKeys().idToken;
3365
3351
  const idTokens = new Map();
3366
3352
  idTokenKeys.forEach((key) => {
@@ -3370,7 +3356,7 @@
3370
3356
  })) {
3371
3357
  return;
3372
3358
  }
3373
- const idToken = this.getIdTokenCredential(key);
3359
+ const idToken = this.getIdTokenCredential(key, correlationId);
3374
3360
  if (idToken && this.credentialMatchesFilter(idToken, filter)) {
3375
3361
  idTokens.set(key, idToken);
3376
3362
  }
@@ -3399,26 +3385,27 @@
3399
3385
  * Removes idToken from the cache
3400
3386
  * @param key
3401
3387
  */
3402
- removeIdToken(key) {
3403
- this.removeItem(key);
3388
+ removeIdToken(key, correlationId) {
3389
+ this.removeItem(key, correlationId);
3404
3390
  }
3405
3391
  /**
3406
3392
  * Removes refresh token from the cache
3407
3393
  * @param key
3408
3394
  */
3409
- removeRefreshToken(key) {
3410
- this.removeItem(key);
3395
+ removeRefreshToken(key, correlationId) {
3396
+ this.removeItem(key, correlationId);
3411
3397
  }
3412
3398
  /**
3413
3399
  * Retrieve AccessTokenEntity from cache
3414
3400
  * @param account {AccountInfo}
3415
3401
  * @param request {BaseAuthRequest}
3402
+ * @param correlationId {?string}
3416
3403
  * @param tokenKeys {?TokenKeys}
3417
3404
  * @param performanceClient {?IPerformanceClient}
3418
- * @param correlationId {?string}
3419
3405
  */
3420
- getAccessToken(account, request, tokenKeys, targetRealm, performanceClient, correlationId) {
3421
- this.commonLogger.trace("CacheManager - getAccessToken called");
3406
+ getAccessToken(account, request, tokenKeys, targetRealm) {
3407
+ const correlationId = request.correlationId;
3408
+ this.commonLogger.trace("CacheManager - getAccessToken called", correlationId);
3422
3409
  const scopes = ScopeSet.createSearchScopes(request.scopes);
3423
3410
  const authScheme = request.authenticationScheme || AuthenticationScheme.BEARER;
3424
3411
  /*
@@ -3447,7 +3434,7 @@
3447
3434
  accessTokenKeys.forEach((key) => {
3448
3435
  // Validate key
3449
3436
  if (this.accessTokenKeyMatchesFilter(key, accessTokenFilter, true)) {
3450
- const accessToken = this.getAccessTokenCredential(key);
3437
+ const accessToken = this.getAccessTokenCredential(key, correlationId);
3451
3438
  // Validate value
3452
3439
  if (accessToken &&
3453
3440
  this.credentialMatchesFilter(accessToken, accessTokenFilter)) {
@@ -3457,20 +3444,18 @@
3457
3444
  });
3458
3445
  const numAccessTokens = accessTokens.length;
3459
3446
  if (numAccessTokens < 1) {
3460
- this.commonLogger.info("CacheManager:getAccessToken - No token found");
3447
+ this.commonLogger.info("CacheManager:getAccessToken - No token found", correlationId);
3461
3448
  return null;
3462
3449
  }
3463
3450
  else if (numAccessTokens > 1) {
3464
- this.commonLogger.info("CacheManager:getAccessToken - Multiple access tokens found, clearing them");
3451
+ this.commonLogger.info("CacheManager:getAccessToken - Multiple access tokens found, clearing them", correlationId);
3465
3452
  accessTokens.forEach((accessToken) => {
3466
- void this.removeAccessToken(generateCredentialKey(accessToken));
3453
+ this.removeAccessToken(generateCredentialKey(accessToken), correlationId);
3467
3454
  });
3468
- if (performanceClient && correlationId) {
3469
- performanceClient.addFields({ multiMatchedAT: accessTokens.length }, correlationId);
3470
- }
3455
+ this.performanceClient.addFields({ multiMatchedAT: accessTokens.length }, correlationId);
3471
3456
  return null;
3472
3457
  }
3473
- this.commonLogger.info("CacheManager:getAccessToken - Returning access token");
3458
+ this.commonLogger.info("CacheManager:getAccessToken - Returning access token", correlationId);
3474
3459
  return accessTokens[0];
3475
3460
  }
3476
3461
  /**
@@ -3519,14 +3504,14 @@
3519
3504
  * @param filter
3520
3505
  * @returns
3521
3506
  */
3522
- getAccessTokensByFilter(filter) {
3507
+ getAccessTokensByFilter(filter, correlationId) {
3523
3508
  const tokenKeys = this.getTokenKeys();
3524
3509
  const accessTokens = [];
3525
3510
  tokenKeys.accessToken.forEach((key) => {
3526
3511
  if (!this.accessTokenKeyMatchesFilter(key, filter, true)) {
3527
3512
  return;
3528
3513
  }
3529
- const accessToken = this.getAccessTokenCredential(key);
3514
+ const accessToken = this.getAccessTokenCredential(key, correlationId);
3530
3515
  if (accessToken &&
3531
3516
  this.credentialMatchesFilter(accessToken, filter)) {
3532
3517
  accessTokens.push(accessToken);
@@ -3538,11 +3523,11 @@
3538
3523
  * Helper to retrieve the appropriate refresh token from cache
3539
3524
  * @param account {AccountInfo}
3540
3525
  * @param familyRT {boolean}
3526
+ * @param correlationId {?string}
3541
3527
  * @param tokenKeys {?TokenKeys}
3542
3528
  * @param performanceClient {?IPerformanceClient}
3543
- * @param correlationId {?string}
3544
3529
  */
3545
- getRefreshToken(account, familyRT, tokenKeys, performanceClient, correlationId) {
3530
+ getRefreshToken(account, familyRT, correlationId, tokenKeys, performanceClient) {
3546
3531
  this.commonLogger.trace("CacheManager - getRefreshToken called");
3547
3532
  const id = familyRT ? THE_FAMILY_ID : undefined;
3548
3533
  const refreshTokenFilter = {
@@ -3558,7 +3543,7 @@
3558
3543
  refreshTokenKeys.forEach((key) => {
3559
3544
  // Validate key
3560
3545
  if (this.refreshTokenKeyMatchesFilter(key, refreshTokenFilter)) {
3561
- const refreshToken = this.getRefreshTokenCredential(key);
3546
+ const refreshToken = this.getRefreshTokenCredential(key, correlationId);
3562
3547
  // Validate value
3563
3548
  if (refreshToken &&
3564
3549
  this.credentialMatchesFilter(refreshToken, refreshTokenFilter)) {
@@ -3908,576 +3893,16 @@
3908
3893
  }
3909
3894
  }
3910
3895
 
3911
- /*! @azure/msal-common v15.7.0 2025-06-10 */
3912
-
3896
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
3913
3897
  /*
3914
3898
  * Copyright (c) Microsoft Corporation. All rights reserved.
3915
3899
  * Licensed under the MIT License.
3916
3900
  */
3917
- const DEFAULT_SYSTEM_OPTIONS = {
3918
- tokenRenewalOffsetSeconds: DEFAULT_TOKEN_RENEWAL_OFFSET_SEC,
3919
- preventCorsPreflight: false,
3920
- };
3921
- const DEFAULT_LOGGER_IMPLEMENTATION = {
3922
- loggerCallback: () => {
3923
- // allow users to not set loggerCallback
3924
- },
3925
- piiLoggingEnabled: false,
3926
- logLevel: exports.LogLevel.Info,
3927
- correlationId: Constants.EMPTY_STRING,
3928
- };
3929
- const DEFAULT_CACHE_OPTIONS = {
3930
- claimsBasedCachingEnabled: false,
3931
- };
3932
- const DEFAULT_NETWORK_IMPLEMENTATION = {
3933
- async sendGetRequestAsync() {
3934
- throw createClientAuthError(methodNotImplemented);
3935
- },
3936
- async sendPostRequestAsync() {
3937
- throw createClientAuthError(methodNotImplemented);
3938
- },
3939
- };
3940
- const DEFAULT_LIBRARY_INFO = {
3941
- sku: Constants.SKU,
3942
- version: version$1,
3943
- cpu: Constants.EMPTY_STRING,
3944
- os: Constants.EMPTY_STRING,
3945
- };
3946
- const DEFAULT_CLIENT_CREDENTIALS = {
3947
- clientSecret: Constants.EMPTY_STRING,
3948
- clientAssertion: undefined,
3949
- };
3950
- const DEFAULT_AZURE_CLOUD_OPTIONS = {
3951
- azureCloudInstance: AzureCloudInstance.None,
3952
- tenant: `${Constants.DEFAULT_COMMON_TENANT}`,
3953
- };
3954
- const DEFAULT_TELEMETRY_OPTIONS = {
3955
- application: {
3956
- appName: "",
3957
- appVersion: "",
3958
- },
3959
- };
3960
3901
  /**
3961
- * Function that sets the default options when not explicitly configured from app developer
3962
- *
3963
- * @param Configuration
3902
+ * Enumeration of operations that are instrumented by have their performance measured by the PerformanceClient.
3964
3903
  *
3965
- * @returns Configuration
3966
- */
3967
- function buildClientConfiguration({ authOptions: userAuthOptions, systemOptions: userSystemOptions, loggerOptions: userLoggerOption, cacheOptions: userCacheOptions, storageInterface: storageImplementation, networkInterface: networkImplementation, cryptoInterface: cryptoImplementation, clientCredentials: clientCredentials, libraryInfo: libraryInfo, telemetry: telemetry, serverTelemetryManager: serverTelemetryManager, persistencePlugin: persistencePlugin, serializableCache: serializableCache, }) {
3968
- const loggerOptions = {
3969
- ...DEFAULT_LOGGER_IMPLEMENTATION,
3970
- ...userLoggerOption,
3971
- };
3972
- return {
3973
- authOptions: buildAuthOptions(userAuthOptions),
3974
- systemOptions: { ...DEFAULT_SYSTEM_OPTIONS, ...userSystemOptions },
3975
- loggerOptions: loggerOptions,
3976
- cacheOptions: { ...DEFAULT_CACHE_OPTIONS, ...userCacheOptions },
3977
- storageInterface: storageImplementation ||
3978
- new DefaultStorageClass(userAuthOptions.clientId, DEFAULT_CRYPTO_IMPLEMENTATION, new Logger(loggerOptions)),
3979
- networkInterface: networkImplementation || DEFAULT_NETWORK_IMPLEMENTATION,
3980
- cryptoInterface: cryptoImplementation || DEFAULT_CRYPTO_IMPLEMENTATION,
3981
- clientCredentials: clientCredentials || DEFAULT_CLIENT_CREDENTIALS,
3982
- libraryInfo: { ...DEFAULT_LIBRARY_INFO, ...libraryInfo },
3983
- telemetry: { ...DEFAULT_TELEMETRY_OPTIONS, ...telemetry },
3984
- serverTelemetryManager: serverTelemetryManager || null,
3985
- persistencePlugin: persistencePlugin || null,
3986
- serializableCache: serializableCache || null,
3987
- };
3988
- }
3989
- /**
3990
- * Construct authoptions from the client and platform passed values
3991
- * @param authOptions
3992
- */
3993
- function buildAuthOptions(authOptions) {
3994
- return {
3995
- clientCapabilities: [],
3996
- azureCloudOptions: DEFAULT_AZURE_CLOUD_OPTIONS,
3997
- skipAuthorityMetadataCache: false,
3998
- instanceAware: false,
3999
- encodeExtraQueryParams: false,
4000
- ...authOptions,
4001
- };
4002
- }
4003
- /**
4004
- * Returns true if config has protocolMode set to ProtocolMode.OIDC, false otherwise
4005
- * @param ClientConfiguration
4006
- */
4007
- function isOidcProtocolMode(config) {
4008
- return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
4009
- }
4010
-
4011
- /*! @azure/msal-common v15.7.0 2025-06-10 */
4012
- /*
4013
- * Copyright (c) Microsoft Corporation. All rights reserved.
4014
- * Licensed under the MIT License.
4015
- */
4016
- const CcsCredentialType = {
4017
- HOME_ACCOUNT_ID: "home_account_id",
4018
- UPN: "UPN",
4019
- };
4020
-
4021
- /*! @azure/msal-common v15.7.0 2025-06-10 */
4022
- /*
4023
- * Copyright (c) Microsoft Corporation. All rights reserved.
4024
- * Licensed under the MIT License.
4025
- */
4026
- const CLIENT_ID = "client_id";
4027
- const REDIRECT_URI = "redirect_uri";
4028
- const RESPONSE_TYPE = "response_type";
4029
- const RESPONSE_MODE = "response_mode";
4030
- const GRANT_TYPE = "grant_type";
4031
- const CLAIMS = "claims";
4032
- const SCOPE = "scope";
4033
- const REFRESH_TOKEN = "refresh_token";
4034
- const STATE = "state";
4035
- const NONCE = "nonce";
4036
- const PROMPT = "prompt";
4037
- const CODE = "code";
4038
- const CODE_CHALLENGE = "code_challenge";
4039
- const CODE_CHALLENGE_METHOD = "code_challenge_method";
4040
- const CODE_VERIFIER = "code_verifier";
4041
- const CLIENT_REQUEST_ID = "client-request-id";
4042
- const X_CLIENT_SKU = "x-client-SKU";
4043
- const X_CLIENT_VER = "x-client-VER";
4044
- const X_CLIENT_OS = "x-client-OS";
4045
- const X_CLIENT_CPU = "x-client-CPU";
4046
- const X_CLIENT_CURR_TELEM = "x-client-current-telemetry";
4047
- const X_CLIENT_LAST_TELEM = "x-client-last-telemetry";
4048
- const X_MS_LIB_CAPABILITY = "x-ms-lib-capability";
4049
- const X_APP_NAME = "x-app-name";
4050
- const X_APP_VER = "x-app-ver";
4051
- const POST_LOGOUT_URI = "post_logout_redirect_uri";
4052
- const ID_TOKEN_HINT = "id_token_hint";
4053
- const CLIENT_SECRET = "client_secret";
4054
- const CLIENT_ASSERTION = "client_assertion";
4055
- const CLIENT_ASSERTION_TYPE = "client_assertion_type";
4056
- const TOKEN_TYPE = "token_type";
4057
- const REQ_CNF = "req_cnf";
4058
- const RETURN_SPA_CODE = "return_spa_code";
4059
- const NATIVE_BROKER = "nativebroker";
4060
- const LOGOUT_HINT = "logout_hint";
4061
- const SID = "sid";
4062
- const LOGIN_HINT = "login_hint";
4063
- const DOMAIN_HINT = "domain_hint";
4064
- const X_CLIENT_EXTRA_SKU = "x-client-xtra-sku";
4065
- const BROKER_CLIENT_ID = "brk_client_id";
4066
- const BROKER_REDIRECT_URI = "brk_redirect_uri";
4067
- const INSTANCE_AWARE = "instance_aware";
4068
- const EAR_JWK = "ear_jwk";
4069
- const EAR_JWE_CRYPTO = "ear_jwe_crypto";
4070
-
4071
- /*! @azure/msal-common v15.7.0 2025-06-10 */
4072
-
4073
- /*
4074
- * Copyright (c) Microsoft Corporation. All rights reserved.
4075
- * Licensed under the MIT License.
4076
- */
4077
- function instrumentBrokerParams(parameters, correlationId, performanceClient) {
4078
- if (!correlationId) {
4079
- return;
4080
- }
4081
- const clientId = parameters.get(CLIENT_ID);
4082
- if (clientId && parameters.has(BROKER_CLIENT_ID)) {
4083
- performanceClient?.addFields({
4084
- embeddedClientId: clientId,
4085
- embeddedRedirectUri: parameters.get(REDIRECT_URI),
4086
- }, correlationId);
4087
- }
4088
- }
4089
- /**
4090
- * Add the given response_type
4091
- * @param parameters
4092
- * @param responseType
4093
- */
4094
- function addResponseType(parameters, responseType) {
4095
- parameters.set(RESPONSE_TYPE, responseType);
4096
- }
4097
- /**
4098
- * add response_mode. defaults to query.
4099
- * @param responseMode
4100
- */
4101
- function addResponseMode(parameters, responseMode) {
4102
- parameters.set(RESPONSE_MODE, responseMode ? responseMode : ResponseMode.QUERY);
4103
- }
4104
- /**
4105
- * Add flag to indicate STS should attempt to use WAM if available
4106
- */
4107
- function addNativeBroker(parameters) {
4108
- parameters.set(NATIVE_BROKER, "1");
4109
- }
4110
- /**
4111
- * add scopes. set addOidcScopes to false to prevent default scopes in non-user scenarios
4112
- * @param scopeSet
4113
- * @param addOidcScopes
4114
- */
4115
- function addScopes(parameters, scopes, addOidcScopes = true, defaultScopes = OIDC_DEFAULT_SCOPES) {
4116
- // Always add openid to the scopes when adding OIDC scopes
4117
- if (addOidcScopes &&
4118
- !defaultScopes.includes("openid") &&
4119
- !scopes.includes("openid")) {
4120
- defaultScopes.push("openid");
4121
- }
4122
- const requestScopes = addOidcScopes
4123
- ? [...(scopes || []), ...defaultScopes]
4124
- : scopes || [];
4125
- const scopeSet = new ScopeSet(requestScopes);
4126
- parameters.set(SCOPE, scopeSet.printScopes());
4127
- }
4128
- /**
4129
- * add clientId
4130
- * @param clientId
4131
- */
4132
- function addClientId(parameters, clientId) {
4133
- parameters.set(CLIENT_ID, clientId);
4134
- }
4135
- /**
4136
- * add redirect_uri
4137
- * @param redirectUri
4138
- */
4139
- function addRedirectUri(parameters, redirectUri) {
4140
- parameters.set(REDIRECT_URI, redirectUri);
4141
- }
4142
- /**
4143
- * add post logout redirectUri
4144
- * @param redirectUri
4145
- */
4146
- function addPostLogoutRedirectUri(parameters, redirectUri) {
4147
- parameters.set(POST_LOGOUT_URI, redirectUri);
4148
- }
4149
- /**
4150
- * add id_token_hint to logout request
4151
- * @param idTokenHint
4152
- */
4153
- function addIdTokenHint(parameters, idTokenHint) {
4154
- parameters.set(ID_TOKEN_HINT, idTokenHint);
4155
- }
4156
- /**
4157
- * add domain_hint
4158
- * @param domainHint
4159
- */
4160
- function addDomainHint(parameters, domainHint) {
4161
- parameters.set(DOMAIN_HINT, domainHint);
4162
- }
4163
- /**
4164
- * add login_hint
4165
- * @param loginHint
4166
- */
4167
- function addLoginHint(parameters, loginHint) {
4168
- parameters.set(LOGIN_HINT, loginHint);
4169
- }
4170
- /**
4171
- * Adds the CCS (Cache Credential Service) query parameter for login_hint
4172
- * @param loginHint
4173
- */
4174
- function addCcsUpn(parameters, loginHint) {
4175
- parameters.set(HeaderNames.CCS_HEADER, `UPN:${loginHint}`);
4176
- }
4177
- /**
4178
- * Adds the CCS (Cache Credential Service) query parameter for account object
4179
- * @param loginHint
4180
- */
4181
- function addCcsOid(parameters, clientInfo) {
4182
- parameters.set(HeaderNames.CCS_HEADER, `Oid:${clientInfo.uid}@${clientInfo.utid}`);
4183
- }
4184
- /**
4185
- * add sid
4186
- * @param sid
4187
- */
4188
- function addSid(parameters, sid) {
4189
- parameters.set(SID, sid);
4190
- }
4191
- /**
4192
- * add claims
4193
- * @param claims
4194
- */
4195
- function addClaims(parameters, claims, clientCapabilities) {
4196
- const mergedClaims = addClientCapabilitiesToClaims(claims, clientCapabilities);
4197
- try {
4198
- JSON.parse(mergedClaims);
4199
- }
4200
- catch (e) {
4201
- throw createClientConfigurationError(invalidClaims);
4202
- }
4203
- parameters.set(CLAIMS, mergedClaims);
4204
- }
4205
- /**
4206
- * add correlationId
4207
- * @param correlationId
4208
- */
4209
- function addCorrelationId(parameters, correlationId) {
4210
- parameters.set(CLIENT_REQUEST_ID, correlationId);
4211
- }
4212
- /**
4213
- * add library info query params
4214
- * @param libraryInfo
4215
- */
4216
- function addLibraryInfo(parameters, libraryInfo) {
4217
- // Telemetry Info
4218
- parameters.set(X_CLIENT_SKU, libraryInfo.sku);
4219
- parameters.set(X_CLIENT_VER, libraryInfo.version);
4220
- if (libraryInfo.os) {
4221
- parameters.set(X_CLIENT_OS, libraryInfo.os);
4222
- }
4223
- if (libraryInfo.cpu) {
4224
- parameters.set(X_CLIENT_CPU, libraryInfo.cpu);
4225
- }
4226
- }
4227
- /**
4228
- * Add client telemetry parameters
4229
- * @param appTelemetry
4230
- */
4231
- function addApplicationTelemetry(parameters, appTelemetry) {
4232
- if (appTelemetry?.appName) {
4233
- parameters.set(X_APP_NAME, appTelemetry.appName);
4234
- }
4235
- if (appTelemetry?.appVersion) {
4236
- parameters.set(X_APP_VER, appTelemetry.appVersion);
4237
- }
4238
- }
4239
- /**
4240
- * add prompt
4241
- * @param prompt
4242
- */
4243
- function addPrompt(parameters, prompt) {
4244
- parameters.set(PROMPT, prompt);
4245
- }
4246
- /**
4247
- * add state
4248
- * @param state
4249
- */
4250
- function addState(parameters, state) {
4251
- if (state) {
4252
- parameters.set(STATE, state);
4253
- }
4254
- }
4255
- /**
4256
- * add nonce
4257
- * @param nonce
4258
- */
4259
- function addNonce(parameters, nonce) {
4260
- parameters.set(NONCE, nonce);
4261
- }
4262
- /**
4263
- * add code_challenge and code_challenge_method
4264
- * - throw if either of them are not passed
4265
- * @param codeChallenge
4266
- * @param codeChallengeMethod
4267
- */
4268
- function addCodeChallengeParams(parameters, codeChallenge, codeChallengeMethod) {
4269
- if (codeChallenge && codeChallengeMethod) {
4270
- parameters.set(CODE_CHALLENGE, codeChallenge);
4271
- parameters.set(CODE_CHALLENGE_METHOD, codeChallengeMethod);
4272
- }
4273
- else {
4274
- throw createClientConfigurationError(pkceParamsMissing);
4275
- }
4276
- }
4277
- /**
4278
- * add the `authorization_code` passed by the user to exchange for a token
4279
- * @param code
4280
- */
4281
- function addAuthorizationCode(parameters, code) {
4282
- parameters.set(CODE, code);
4283
- }
4284
- /**
4285
- * add the `refreshToken` passed by the user
4286
- * @param refreshToken
4287
- */
4288
- function addRefreshToken(parameters, refreshToken) {
4289
- parameters.set(REFRESH_TOKEN, refreshToken);
4290
- }
4291
- /**
4292
- * add the `code_verifier` passed by the user to exchange for a token
4293
- * @param codeVerifier
4294
- */
4295
- function addCodeVerifier(parameters, codeVerifier) {
4296
- parameters.set(CODE_VERIFIER, codeVerifier);
4297
- }
4298
- /**
4299
- * add client_secret
4300
- * @param clientSecret
4301
- */
4302
- function addClientSecret(parameters, clientSecret) {
4303
- parameters.set(CLIENT_SECRET, clientSecret);
4304
- }
4305
- /**
4306
- * add clientAssertion for confidential client flows
4307
- * @param clientAssertion
4308
- */
4309
- function addClientAssertion(parameters, clientAssertion) {
4310
- if (clientAssertion) {
4311
- parameters.set(CLIENT_ASSERTION, clientAssertion);
4312
- }
4313
- }
4314
- /**
4315
- * add clientAssertionType for confidential client flows
4316
- * @param clientAssertionType
4317
- */
4318
- function addClientAssertionType(parameters, clientAssertionType) {
4319
- if (clientAssertionType) {
4320
- parameters.set(CLIENT_ASSERTION_TYPE, clientAssertionType);
4321
- }
4322
- }
4323
- /**
4324
- * add grant type
4325
- * @param grantType
4326
- */
4327
- function addGrantType(parameters, grantType) {
4328
- parameters.set(GRANT_TYPE, grantType);
4329
- }
4330
- /**
4331
- * add client info
4332
- *
4333
- */
4334
- function addClientInfo(parameters) {
4335
- parameters.set(CLIENT_INFO, "1");
4336
- }
4337
- function addInstanceAware(parameters) {
4338
- if (!parameters.has(INSTANCE_AWARE)) {
4339
- parameters.set(INSTANCE_AWARE, "true");
4340
- }
4341
- }
4342
- /**
4343
- * add extraQueryParams
4344
- * @param eQParams
4345
- */
4346
- function addExtraQueryParameters(parameters, eQParams) {
4347
- Object.entries(eQParams).forEach(([key, value]) => {
4348
- if (!parameters.has(key) && value) {
4349
- parameters.set(key, value);
4350
- }
4351
- });
4352
- }
4353
- function addClientCapabilitiesToClaims(claims, clientCapabilities) {
4354
- let mergedClaims;
4355
- // Parse provided claims into JSON object or initialize empty object
4356
- if (!claims) {
4357
- mergedClaims = {};
4358
- }
4359
- else {
4360
- try {
4361
- mergedClaims = JSON.parse(claims);
4362
- }
4363
- catch (e) {
4364
- throw createClientConfigurationError(invalidClaims);
4365
- }
4366
- }
4367
- if (clientCapabilities && clientCapabilities.length > 0) {
4368
- if (!mergedClaims.hasOwnProperty(ClaimsRequestKeys.ACCESS_TOKEN)) {
4369
- // Add access_token key to claims object
4370
- mergedClaims[ClaimsRequestKeys.ACCESS_TOKEN] = {};
4371
- }
4372
- // Add xms_cc claim with provided clientCapabilities to access_token key
4373
- mergedClaims[ClaimsRequestKeys.ACCESS_TOKEN][ClaimsRequestKeys.XMS_CC] =
4374
- {
4375
- values: clientCapabilities,
4376
- };
4377
- }
4378
- return JSON.stringify(mergedClaims);
4379
- }
4380
- /**
4381
- * add pop_jwk to query params
4382
- * @param cnfString
4383
- */
4384
- function addPopToken(parameters, cnfString) {
4385
- if (cnfString) {
4386
- parameters.set(TOKEN_TYPE, AuthenticationScheme.POP);
4387
- parameters.set(REQ_CNF, cnfString);
4388
- }
4389
- }
4390
- /**
4391
- * add SSH JWK and key ID to query params
4392
- */
4393
- function addSshJwk(parameters, sshJwkString) {
4394
- if (sshJwkString) {
4395
- parameters.set(TOKEN_TYPE, AuthenticationScheme.SSH);
4396
- parameters.set(REQ_CNF, sshJwkString);
4397
- }
4398
- }
4399
- /**
4400
- * add server telemetry fields
4401
- * @param serverTelemetryManager
4402
- */
4403
- function addServerTelemetry(parameters, serverTelemetryManager) {
4404
- parameters.set(X_CLIENT_CURR_TELEM, serverTelemetryManager.generateCurrentRequestHeaderValue());
4405
- parameters.set(X_CLIENT_LAST_TELEM, serverTelemetryManager.generateLastRequestHeaderValue());
4406
- }
4407
- /**
4408
- * Adds parameter that indicates to the server that throttling is supported
4409
- */
4410
- function addThrottling(parameters) {
4411
- parameters.set(X_MS_LIB_CAPABILITY, ThrottlingConstants.X_MS_LIB_CAPABILITY_VALUE);
4412
- }
4413
- /**
4414
- * Adds logout_hint parameter for "silent" logout which prevent server account picker
4415
- */
4416
- function addLogoutHint(parameters, logoutHint) {
4417
- parameters.set(LOGOUT_HINT, logoutHint);
4418
- }
4419
- function addBrokerParameters(parameters, brokerClientId, brokerRedirectUri) {
4420
- if (!parameters.has(BROKER_CLIENT_ID)) {
4421
- parameters.set(BROKER_CLIENT_ID, brokerClientId);
4422
- }
4423
- if (!parameters.has(BROKER_REDIRECT_URI)) {
4424
- parameters.set(BROKER_REDIRECT_URI, brokerRedirectUri);
4425
- }
4426
- }
4427
- /**
4428
- * Add EAR (Encrypted Authorize Response) request parameters
4429
- * @param parameters
4430
- * @param jwk
4431
- */
4432
- function addEARParameters(parameters, jwk) {
4433
- parameters.set(EAR_JWK, encodeURIComponent(jwk));
4434
- // ear_jwe_crypto will always have value: {"alg":"dir","enc":"A256GCM"} so we can hardcode this
4435
- const jweCryptoB64Encoded = "eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIn0";
4436
- parameters.set(EAR_JWE_CRYPTO, jweCryptoB64Encoded);
4437
- }
4438
-
4439
- /*! @azure/msal-common v15.7.0 2025-06-10 */
4440
- /*
4441
- * Copyright (c) Microsoft Corporation. All rights reserved.
4442
- * Licensed under the MIT License.
4443
- */
4444
- function isOpenIdConfigResponse(response) {
4445
- return (response.hasOwnProperty("authorization_endpoint") &&
4446
- response.hasOwnProperty("token_endpoint") &&
4447
- response.hasOwnProperty("issuer") &&
4448
- response.hasOwnProperty("jwks_uri"));
4449
- }
4450
-
4451
- /*! @azure/msal-common v15.7.0 2025-06-10 */
4452
- /*
4453
- * Copyright (c) Microsoft Corporation. All rights reserved.
4454
- * Licensed under the MIT License.
4455
- */
4456
- function isCloudInstanceDiscoveryResponse(response) {
4457
- return (response.hasOwnProperty("tenant_discovery_endpoint") &&
4458
- response.hasOwnProperty("metadata"));
4459
- }
4460
-
4461
- /*! @azure/msal-common v15.7.0 2025-06-10 */
4462
- /*
4463
- * Copyright (c) Microsoft Corporation. All rights reserved.
4464
- * Licensed under the MIT License.
4465
- */
4466
- function isCloudInstanceDiscoveryErrorResponse(response) {
4467
- return (response.hasOwnProperty("error") &&
4468
- response.hasOwnProperty("error_description"));
4469
- }
4470
-
4471
- /*! @azure/msal-common v15.7.0 2025-06-10 */
4472
- /*
4473
- * Copyright (c) Microsoft Corporation. All rights reserved.
4474
- * Licensed under the MIT License.
4475
- */
4476
- /**
4477
- * Enumeration of operations that are instrumented by have their performance measured by the PerformanceClient.
4478
- *
4479
- * @export
4480
- * @enum {number}
3904
+ * @export
3905
+ * @enum {number}
4481
3906
  */
4482
3907
  const PerformanceEvents = {
4483
3908
  /**
@@ -4954,34 +4379,672 @@
4954
4379
  [PerformanceEvents.DecryptEarResponse, "decryptEarResp"],
4955
4380
  ]);
4956
4381
  /**
4957
- * State of the performance event.
4382
+ * State of the performance event.
4383
+ *
4384
+ * @export
4385
+ * @enum {number}
4386
+ */
4387
+ const PerformanceEventStatus = {
4388
+ InProgress: 1,
4389
+ Completed: 2,
4390
+ };
4391
+ const IntFields = new Set([
4392
+ "accessTokenSize",
4393
+ "durationMs",
4394
+ "idTokenSize",
4395
+ "matsSilentStatus",
4396
+ "matsHttpStatus",
4397
+ "refreshTokenSize",
4398
+ "queuedTimeMs",
4399
+ "startTimeMs",
4400
+ "status",
4401
+ "multiMatchedAT",
4402
+ "multiMatchedID",
4403
+ "multiMatchedRT",
4404
+ "unencryptedCacheCount",
4405
+ "encryptedCacheExpiredCount",
4406
+ ]);
4407
+
4408
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
4409
+
4410
+ /*
4411
+ * Copyright (c) Microsoft Corporation. All rights reserved.
4412
+ * Licensed under the MIT License.
4413
+ */
4414
+ class StubPerformanceMeasurement {
4415
+ startMeasurement() {
4416
+ return;
4417
+ }
4418
+ endMeasurement() {
4419
+ return;
4420
+ }
4421
+ flushMeasurement() {
4422
+ return null;
4423
+ }
4424
+ }
4425
+ class StubPerformanceClient {
4426
+ generateId() {
4427
+ return "callback-id";
4428
+ }
4429
+ startMeasurement(measureName, correlationId) {
4430
+ return {
4431
+ end: () => null,
4432
+ discard: () => { },
4433
+ add: () => { },
4434
+ increment: () => { },
4435
+ event: {
4436
+ eventId: this.generateId(),
4437
+ status: PerformanceEventStatus.InProgress,
4438
+ authority: "",
4439
+ libraryName: "",
4440
+ libraryVersion: "",
4441
+ clientId: "",
4442
+ name: measureName,
4443
+ startTimeMs: Date.now(),
4444
+ correlationId: correlationId || "",
4445
+ },
4446
+ measurement: new StubPerformanceMeasurement(),
4447
+ };
4448
+ }
4449
+ startPerformanceMeasurement() {
4450
+ return new StubPerformanceMeasurement();
4451
+ }
4452
+ calculateQueuedTime() {
4453
+ return 0;
4454
+ }
4455
+ addQueueMeasurement() {
4456
+ return;
4457
+ }
4458
+ setPreQueueTime() {
4459
+ return;
4460
+ }
4461
+ endMeasurement() {
4462
+ return null;
4463
+ }
4464
+ discardMeasurements() {
4465
+ return;
4466
+ }
4467
+ removePerformanceCallback() {
4468
+ return true;
4469
+ }
4470
+ addPerformanceCallback() {
4471
+ return "";
4472
+ }
4473
+ emitEvents() {
4474
+ return;
4475
+ }
4476
+ addFields() {
4477
+ return;
4478
+ }
4479
+ incrementFields() {
4480
+ return;
4481
+ }
4482
+ cacheEventByCorrelationId() {
4483
+ return;
4484
+ }
4485
+ }
4486
+
4487
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
4488
+
4489
+ /*
4490
+ * Copyright (c) Microsoft Corporation. All rights reserved.
4491
+ * Licensed under the MIT License.
4492
+ */
4493
+ const DEFAULT_SYSTEM_OPTIONS = {
4494
+ tokenRenewalOffsetSeconds: DEFAULT_TOKEN_RENEWAL_OFFSET_SEC,
4495
+ preventCorsPreflight: false,
4496
+ };
4497
+ const DEFAULT_LOGGER_IMPLEMENTATION = {
4498
+ loggerCallback: () => {
4499
+ // allow users to not set loggerCallback
4500
+ },
4501
+ piiLoggingEnabled: false,
4502
+ logLevel: exports.LogLevel.Info,
4503
+ correlationId: Constants.EMPTY_STRING,
4504
+ };
4505
+ const DEFAULT_CACHE_OPTIONS = {
4506
+ claimsBasedCachingEnabled: false,
4507
+ };
4508
+ const DEFAULT_NETWORK_IMPLEMENTATION = {
4509
+ async sendGetRequestAsync() {
4510
+ throw createClientAuthError(methodNotImplemented);
4511
+ },
4512
+ async sendPostRequestAsync() {
4513
+ throw createClientAuthError(methodNotImplemented);
4514
+ },
4515
+ };
4516
+ const DEFAULT_LIBRARY_INFO = {
4517
+ sku: Constants.SKU,
4518
+ version: version$1,
4519
+ cpu: Constants.EMPTY_STRING,
4520
+ os: Constants.EMPTY_STRING,
4521
+ };
4522
+ const DEFAULT_CLIENT_CREDENTIALS = {
4523
+ clientSecret: Constants.EMPTY_STRING,
4524
+ clientAssertion: undefined,
4525
+ };
4526
+ const DEFAULT_AZURE_CLOUD_OPTIONS = {
4527
+ azureCloudInstance: AzureCloudInstance.None,
4528
+ tenant: `${Constants.DEFAULT_COMMON_TENANT}`,
4529
+ };
4530
+ const DEFAULT_TELEMETRY_OPTIONS = {
4531
+ application: {
4532
+ appName: "",
4533
+ appVersion: "",
4534
+ },
4535
+ };
4536
+ /**
4537
+ * Function that sets the default options when not explicitly configured from app developer
4538
+ *
4539
+ * @param Configuration
4540
+ *
4541
+ * @returns Configuration
4542
+ */
4543
+ function buildClientConfiguration({ authOptions: userAuthOptions, systemOptions: userSystemOptions, loggerOptions: userLoggerOption, cacheOptions: userCacheOptions, storageInterface: storageImplementation, networkInterface: networkImplementation, cryptoInterface: cryptoImplementation, clientCredentials: clientCredentials, libraryInfo: libraryInfo, telemetry: telemetry, serverTelemetryManager: serverTelemetryManager, persistencePlugin: persistencePlugin, serializableCache: serializableCache, }) {
4544
+ const loggerOptions = {
4545
+ ...DEFAULT_LOGGER_IMPLEMENTATION,
4546
+ ...userLoggerOption,
4547
+ };
4548
+ return {
4549
+ authOptions: buildAuthOptions(userAuthOptions),
4550
+ systemOptions: { ...DEFAULT_SYSTEM_OPTIONS, ...userSystemOptions },
4551
+ loggerOptions: loggerOptions,
4552
+ cacheOptions: { ...DEFAULT_CACHE_OPTIONS, ...userCacheOptions },
4553
+ storageInterface: storageImplementation ||
4554
+ new DefaultStorageClass(userAuthOptions.clientId, DEFAULT_CRYPTO_IMPLEMENTATION, new Logger(loggerOptions), new StubPerformanceClient()),
4555
+ networkInterface: networkImplementation || DEFAULT_NETWORK_IMPLEMENTATION,
4556
+ cryptoInterface: cryptoImplementation || DEFAULT_CRYPTO_IMPLEMENTATION,
4557
+ clientCredentials: clientCredentials || DEFAULT_CLIENT_CREDENTIALS,
4558
+ libraryInfo: { ...DEFAULT_LIBRARY_INFO, ...libraryInfo },
4559
+ telemetry: { ...DEFAULT_TELEMETRY_OPTIONS, ...telemetry },
4560
+ serverTelemetryManager: serverTelemetryManager || null,
4561
+ persistencePlugin: persistencePlugin || null,
4562
+ serializableCache: serializableCache || null,
4563
+ };
4564
+ }
4565
+ /**
4566
+ * Construct authoptions from the client and platform passed values
4567
+ * @param authOptions
4568
+ */
4569
+ function buildAuthOptions(authOptions) {
4570
+ return {
4571
+ clientCapabilities: [],
4572
+ azureCloudOptions: DEFAULT_AZURE_CLOUD_OPTIONS,
4573
+ skipAuthorityMetadataCache: false,
4574
+ instanceAware: false,
4575
+ encodeExtraQueryParams: false,
4576
+ ...authOptions,
4577
+ };
4578
+ }
4579
+ /**
4580
+ * Returns true if config has protocolMode set to ProtocolMode.OIDC, false otherwise
4581
+ * @param ClientConfiguration
4582
+ */
4583
+ function isOidcProtocolMode(config) {
4584
+ return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
4585
+ }
4586
+
4587
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
4588
+ /*
4589
+ * Copyright (c) Microsoft Corporation. All rights reserved.
4590
+ * Licensed under the MIT License.
4591
+ */
4592
+ const CcsCredentialType = {
4593
+ HOME_ACCOUNT_ID: "home_account_id",
4594
+ UPN: "UPN",
4595
+ };
4596
+
4597
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
4598
+ /*
4599
+ * Copyright (c) Microsoft Corporation. All rights reserved.
4600
+ * Licensed under the MIT License.
4601
+ */
4602
+ const CLIENT_ID = "client_id";
4603
+ const REDIRECT_URI = "redirect_uri";
4604
+ const RESPONSE_TYPE = "response_type";
4605
+ const RESPONSE_MODE = "response_mode";
4606
+ const GRANT_TYPE = "grant_type";
4607
+ const CLAIMS = "claims";
4608
+ const SCOPE = "scope";
4609
+ const REFRESH_TOKEN = "refresh_token";
4610
+ const STATE = "state";
4611
+ const NONCE = "nonce";
4612
+ const PROMPT = "prompt";
4613
+ const CODE = "code";
4614
+ const CODE_CHALLENGE = "code_challenge";
4615
+ const CODE_CHALLENGE_METHOD = "code_challenge_method";
4616
+ const CODE_VERIFIER = "code_verifier";
4617
+ const CLIENT_REQUEST_ID = "client-request-id";
4618
+ const X_CLIENT_SKU = "x-client-SKU";
4619
+ const X_CLIENT_VER = "x-client-VER";
4620
+ const X_CLIENT_OS = "x-client-OS";
4621
+ const X_CLIENT_CPU = "x-client-CPU";
4622
+ const X_CLIENT_CURR_TELEM = "x-client-current-telemetry";
4623
+ const X_CLIENT_LAST_TELEM = "x-client-last-telemetry";
4624
+ const X_MS_LIB_CAPABILITY = "x-ms-lib-capability";
4625
+ const X_APP_NAME = "x-app-name";
4626
+ const X_APP_VER = "x-app-ver";
4627
+ const POST_LOGOUT_URI = "post_logout_redirect_uri";
4628
+ const ID_TOKEN_HINT = "id_token_hint";
4629
+ const CLIENT_SECRET = "client_secret";
4630
+ const CLIENT_ASSERTION = "client_assertion";
4631
+ const CLIENT_ASSERTION_TYPE = "client_assertion_type";
4632
+ const TOKEN_TYPE = "token_type";
4633
+ const REQ_CNF = "req_cnf";
4634
+ const RETURN_SPA_CODE = "return_spa_code";
4635
+ const NATIVE_BROKER = "nativebroker";
4636
+ const LOGOUT_HINT = "logout_hint";
4637
+ const SID = "sid";
4638
+ const LOGIN_HINT = "login_hint";
4639
+ const DOMAIN_HINT = "domain_hint";
4640
+ const X_CLIENT_EXTRA_SKU = "x-client-xtra-sku";
4641
+ const BROKER_CLIENT_ID = "brk_client_id";
4642
+ const BROKER_REDIRECT_URI = "brk_redirect_uri";
4643
+ const INSTANCE_AWARE = "instance_aware";
4644
+ const EAR_JWK = "ear_jwk";
4645
+ const EAR_JWE_CRYPTO = "ear_jwe_crypto";
4646
+
4647
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
4648
+
4649
+ /*
4650
+ * Copyright (c) Microsoft Corporation. All rights reserved.
4651
+ * Licensed under the MIT License.
4652
+ */
4653
+ function instrumentBrokerParams(parameters, correlationId, performanceClient) {
4654
+ if (!correlationId) {
4655
+ return;
4656
+ }
4657
+ const clientId = parameters.get(CLIENT_ID);
4658
+ if (clientId && parameters.has(BROKER_CLIENT_ID)) {
4659
+ performanceClient?.addFields({
4660
+ embeddedClientId: clientId,
4661
+ embeddedRedirectUri: parameters.get(REDIRECT_URI),
4662
+ }, correlationId);
4663
+ }
4664
+ }
4665
+ /**
4666
+ * Add the given response_type
4667
+ * @param parameters
4668
+ * @param responseType
4669
+ */
4670
+ function addResponseType(parameters, responseType) {
4671
+ parameters.set(RESPONSE_TYPE, responseType);
4672
+ }
4673
+ /**
4674
+ * add response_mode. defaults to query.
4675
+ * @param responseMode
4676
+ */
4677
+ function addResponseMode(parameters, responseMode) {
4678
+ parameters.set(RESPONSE_MODE, responseMode ? responseMode : ResponseMode.QUERY);
4679
+ }
4680
+ /**
4681
+ * Add flag to indicate STS should attempt to use WAM if available
4682
+ */
4683
+ function addNativeBroker(parameters) {
4684
+ parameters.set(NATIVE_BROKER, "1");
4685
+ }
4686
+ /**
4687
+ * add scopes. set addOidcScopes to false to prevent default scopes in non-user scenarios
4688
+ * @param scopeSet
4689
+ * @param addOidcScopes
4690
+ */
4691
+ function addScopes(parameters, scopes, addOidcScopes = true, defaultScopes = OIDC_DEFAULT_SCOPES) {
4692
+ // Always add openid to the scopes when adding OIDC scopes
4693
+ if (addOidcScopes &&
4694
+ !defaultScopes.includes("openid") &&
4695
+ !scopes.includes("openid")) {
4696
+ defaultScopes.push("openid");
4697
+ }
4698
+ const requestScopes = addOidcScopes
4699
+ ? [...(scopes || []), ...defaultScopes]
4700
+ : scopes || [];
4701
+ const scopeSet = new ScopeSet(requestScopes);
4702
+ parameters.set(SCOPE, scopeSet.printScopes());
4703
+ }
4704
+ /**
4705
+ * add clientId
4706
+ * @param clientId
4707
+ */
4708
+ function addClientId(parameters, clientId) {
4709
+ parameters.set(CLIENT_ID, clientId);
4710
+ }
4711
+ /**
4712
+ * add redirect_uri
4713
+ * @param redirectUri
4714
+ */
4715
+ function addRedirectUri(parameters, redirectUri) {
4716
+ parameters.set(REDIRECT_URI, redirectUri);
4717
+ }
4718
+ /**
4719
+ * add post logout redirectUri
4720
+ * @param redirectUri
4721
+ */
4722
+ function addPostLogoutRedirectUri(parameters, redirectUri) {
4723
+ parameters.set(POST_LOGOUT_URI, redirectUri);
4724
+ }
4725
+ /**
4726
+ * add id_token_hint to logout request
4727
+ * @param idTokenHint
4728
+ */
4729
+ function addIdTokenHint(parameters, idTokenHint) {
4730
+ parameters.set(ID_TOKEN_HINT, idTokenHint);
4731
+ }
4732
+ /**
4733
+ * add domain_hint
4734
+ * @param domainHint
4735
+ */
4736
+ function addDomainHint(parameters, domainHint) {
4737
+ parameters.set(DOMAIN_HINT, domainHint);
4738
+ }
4739
+ /**
4740
+ * add login_hint
4741
+ * @param loginHint
4742
+ */
4743
+ function addLoginHint(parameters, loginHint) {
4744
+ parameters.set(LOGIN_HINT, loginHint);
4745
+ }
4746
+ /**
4747
+ * Adds the CCS (Cache Credential Service) query parameter for login_hint
4748
+ * @param loginHint
4749
+ */
4750
+ function addCcsUpn(parameters, loginHint) {
4751
+ parameters.set(HeaderNames.CCS_HEADER, `UPN:${loginHint}`);
4752
+ }
4753
+ /**
4754
+ * Adds the CCS (Cache Credential Service) query parameter for account object
4755
+ * @param loginHint
4756
+ */
4757
+ function addCcsOid(parameters, clientInfo) {
4758
+ parameters.set(HeaderNames.CCS_HEADER, `Oid:${clientInfo.uid}@${clientInfo.utid}`);
4759
+ }
4760
+ /**
4761
+ * add sid
4762
+ * @param sid
4763
+ */
4764
+ function addSid(parameters, sid) {
4765
+ parameters.set(SID, sid);
4766
+ }
4767
+ /**
4768
+ * add claims
4769
+ * @param claims
4770
+ */
4771
+ function addClaims(parameters, claims, clientCapabilities) {
4772
+ const mergedClaims = addClientCapabilitiesToClaims(claims, clientCapabilities);
4773
+ try {
4774
+ JSON.parse(mergedClaims);
4775
+ }
4776
+ catch (e) {
4777
+ throw createClientConfigurationError(invalidClaims);
4778
+ }
4779
+ parameters.set(CLAIMS, mergedClaims);
4780
+ }
4781
+ /**
4782
+ * add correlationId
4783
+ * @param correlationId
4784
+ */
4785
+ function addCorrelationId(parameters, correlationId) {
4786
+ parameters.set(CLIENT_REQUEST_ID, correlationId);
4787
+ }
4788
+ /**
4789
+ * add library info query params
4790
+ * @param libraryInfo
4791
+ */
4792
+ function addLibraryInfo(parameters, libraryInfo) {
4793
+ // Telemetry Info
4794
+ parameters.set(X_CLIENT_SKU, libraryInfo.sku);
4795
+ parameters.set(X_CLIENT_VER, libraryInfo.version);
4796
+ if (libraryInfo.os) {
4797
+ parameters.set(X_CLIENT_OS, libraryInfo.os);
4798
+ }
4799
+ if (libraryInfo.cpu) {
4800
+ parameters.set(X_CLIENT_CPU, libraryInfo.cpu);
4801
+ }
4802
+ }
4803
+ /**
4804
+ * Add client telemetry parameters
4805
+ * @param appTelemetry
4806
+ */
4807
+ function addApplicationTelemetry(parameters, appTelemetry) {
4808
+ if (appTelemetry?.appName) {
4809
+ parameters.set(X_APP_NAME, appTelemetry.appName);
4810
+ }
4811
+ if (appTelemetry?.appVersion) {
4812
+ parameters.set(X_APP_VER, appTelemetry.appVersion);
4813
+ }
4814
+ }
4815
+ /**
4816
+ * add prompt
4817
+ * @param prompt
4818
+ */
4819
+ function addPrompt(parameters, prompt) {
4820
+ parameters.set(PROMPT, prompt);
4821
+ }
4822
+ /**
4823
+ * add state
4824
+ * @param state
4825
+ */
4826
+ function addState(parameters, state) {
4827
+ if (state) {
4828
+ parameters.set(STATE, state);
4829
+ }
4830
+ }
4831
+ /**
4832
+ * add nonce
4833
+ * @param nonce
4834
+ */
4835
+ function addNonce(parameters, nonce) {
4836
+ parameters.set(NONCE, nonce);
4837
+ }
4838
+ /**
4839
+ * add code_challenge and code_challenge_method
4840
+ * - throw if either of them are not passed
4841
+ * @param codeChallenge
4842
+ * @param codeChallengeMethod
4843
+ */
4844
+ function addCodeChallengeParams(parameters, codeChallenge, codeChallengeMethod) {
4845
+ if (codeChallenge && codeChallengeMethod) {
4846
+ parameters.set(CODE_CHALLENGE, codeChallenge);
4847
+ parameters.set(CODE_CHALLENGE_METHOD, codeChallengeMethod);
4848
+ }
4849
+ else {
4850
+ throw createClientConfigurationError(pkceParamsMissing);
4851
+ }
4852
+ }
4853
+ /**
4854
+ * add the `authorization_code` passed by the user to exchange for a token
4855
+ * @param code
4856
+ */
4857
+ function addAuthorizationCode(parameters, code) {
4858
+ parameters.set(CODE, code);
4859
+ }
4860
+ /**
4861
+ * add the `refreshToken` passed by the user
4862
+ * @param refreshToken
4863
+ */
4864
+ function addRefreshToken(parameters, refreshToken) {
4865
+ parameters.set(REFRESH_TOKEN, refreshToken);
4866
+ }
4867
+ /**
4868
+ * add the `code_verifier` passed by the user to exchange for a token
4869
+ * @param codeVerifier
4870
+ */
4871
+ function addCodeVerifier(parameters, codeVerifier) {
4872
+ parameters.set(CODE_VERIFIER, codeVerifier);
4873
+ }
4874
+ /**
4875
+ * add client_secret
4876
+ * @param clientSecret
4877
+ */
4878
+ function addClientSecret(parameters, clientSecret) {
4879
+ parameters.set(CLIENT_SECRET, clientSecret);
4880
+ }
4881
+ /**
4882
+ * add clientAssertion for confidential client flows
4883
+ * @param clientAssertion
4884
+ */
4885
+ function addClientAssertion(parameters, clientAssertion) {
4886
+ if (clientAssertion) {
4887
+ parameters.set(CLIENT_ASSERTION, clientAssertion);
4888
+ }
4889
+ }
4890
+ /**
4891
+ * add clientAssertionType for confidential client flows
4892
+ * @param clientAssertionType
4893
+ */
4894
+ function addClientAssertionType(parameters, clientAssertionType) {
4895
+ if (clientAssertionType) {
4896
+ parameters.set(CLIENT_ASSERTION_TYPE, clientAssertionType);
4897
+ }
4898
+ }
4899
+ /**
4900
+ * add grant type
4901
+ * @param grantType
4902
+ */
4903
+ function addGrantType(parameters, grantType) {
4904
+ parameters.set(GRANT_TYPE, grantType);
4905
+ }
4906
+ /**
4907
+ * add client info
4958
4908
  *
4959
- * @export
4960
- * @enum {number}
4961
4909
  */
4962
- const PerformanceEventStatus = {
4963
- NotStarted: 0,
4964
- InProgress: 1,
4965
- Completed: 2,
4966
- };
4967
- const IntFields = new Set([
4968
- "accessTokenSize",
4969
- "durationMs",
4970
- "idTokenSize",
4971
- "matsSilentStatus",
4972
- "matsHttpStatus",
4973
- "refreshTokenSize",
4974
- "queuedTimeMs",
4975
- "startTimeMs",
4976
- "status",
4977
- "multiMatchedAT",
4978
- "multiMatchedID",
4979
- "multiMatchedRT",
4980
- "unencryptedCacheCount",
4981
- "encryptedCacheExpiredCount",
4982
- ]);
4910
+ function addClientInfo(parameters) {
4911
+ parameters.set(CLIENT_INFO, "1");
4912
+ }
4913
+ function addInstanceAware(parameters) {
4914
+ if (!parameters.has(INSTANCE_AWARE)) {
4915
+ parameters.set(INSTANCE_AWARE, "true");
4916
+ }
4917
+ }
4918
+ /**
4919
+ * add extraQueryParams
4920
+ * @param eQParams
4921
+ */
4922
+ function addExtraQueryParameters(parameters, eQParams) {
4923
+ Object.entries(eQParams).forEach(([key, value]) => {
4924
+ if (!parameters.has(key) && value) {
4925
+ parameters.set(key, value);
4926
+ }
4927
+ });
4928
+ }
4929
+ function addClientCapabilitiesToClaims(claims, clientCapabilities) {
4930
+ let mergedClaims;
4931
+ // Parse provided claims into JSON object or initialize empty object
4932
+ if (!claims) {
4933
+ mergedClaims = {};
4934
+ }
4935
+ else {
4936
+ try {
4937
+ mergedClaims = JSON.parse(claims);
4938
+ }
4939
+ catch (e) {
4940
+ throw createClientConfigurationError(invalidClaims);
4941
+ }
4942
+ }
4943
+ if (clientCapabilities && clientCapabilities.length > 0) {
4944
+ if (!mergedClaims.hasOwnProperty(ClaimsRequestKeys.ACCESS_TOKEN)) {
4945
+ // Add access_token key to claims object
4946
+ mergedClaims[ClaimsRequestKeys.ACCESS_TOKEN] = {};
4947
+ }
4948
+ // Add xms_cc claim with provided clientCapabilities to access_token key
4949
+ mergedClaims[ClaimsRequestKeys.ACCESS_TOKEN][ClaimsRequestKeys.XMS_CC] =
4950
+ {
4951
+ values: clientCapabilities,
4952
+ };
4953
+ }
4954
+ return JSON.stringify(mergedClaims);
4955
+ }
4956
+ /**
4957
+ * add pop_jwk to query params
4958
+ * @param cnfString
4959
+ */
4960
+ function addPopToken(parameters, cnfString) {
4961
+ if (cnfString) {
4962
+ parameters.set(TOKEN_TYPE, AuthenticationScheme.POP);
4963
+ parameters.set(REQ_CNF, cnfString);
4964
+ }
4965
+ }
4966
+ /**
4967
+ * add SSH JWK and key ID to query params
4968
+ */
4969
+ function addSshJwk(parameters, sshJwkString) {
4970
+ if (sshJwkString) {
4971
+ parameters.set(TOKEN_TYPE, AuthenticationScheme.SSH);
4972
+ parameters.set(REQ_CNF, sshJwkString);
4973
+ }
4974
+ }
4975
+ /**
4976
+ * add server telemetry fields
4977
+ * @param serverTelemetryManager
4978
+ */
4979
+ function addServerTelemetry(parameters, serverTelemetryManager) {
4980
+ parameters.set(X_CLIENT_CURR_TELEM, serverTelemetryManager.generateCurrentRequestHeaderValue());
4981
+ parameters.set(X_CLIENT_LAST_TELEM, serverTelemetryManager.generateLastRequestHeaderValue());
4982
+ }
4983
+ /**
4984
+ * Adds parameter that indicates to the server that throttling is supported
4985
+ */
4986
+ function addThrottling(parameters) {
4987
+ parameters.set(X_MS_LIB_CAPABILITY, ThrottlingConstants.X_MS_LIB_CAPABILITY_VALUE);
4988
+ }
4989
+ /**
4990
+ * Adds logout_hint parameter for "silent" logout which prevent server account picker
4991
+ */
4992
+ function addLogoutHint(parameters, logoutHint) {
4993
+ parameters.set(LOGOUT_HINT, logoutHint);
4994
+ }
4995
+ function addBrokerParameters(parameters, brokerClientId, brokerRedirectUri) {
4996
+ if (!parameters.has(BROKER_CLIENT_ID)) {
4997
+ parameters.set(BROKER_CLIENT_ID, brokerClientId);
4998
+ }
4999
+ if (!parameters.has(BROKER_REDIRECT_URI)) {
5000
+ parameters.set(BROKER_REDIRECT_URI, brokerRedirectUri);
5001
+ }
5002
+ }
5003
+ /**
5004
+ * Add EAR (Encrypted Authorize Response) request parameters
5005
+ * @param parameters
5006
+ * @param jwk
5007
+ */
5008
+ function addEARParameters(parameters, jwk) {
5009
+ parameters.set(EAR_JWK, encodeURIComponent(jwk));
5010
+ // ear_jwe_crypto will always have value: {"alg":"dir","enc":"A256GCM"} so we can hardcode this
5011
+ const jweCryptoB64Encoded = "eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIn0";
5012
+ parameters.set(EAR_JWE_CRYPTO, jweCryptoB64Encoded);
5013
+ }
5014
+
5015
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
5016
+ /*
5017
+ * Copyright (c) Microsoft Corporation. All rights reserved.
5018
+ * Licensed under the MIT License.
5019
+ */
5020
+ function isOpenIdConfigResponse(response) {
5021
+ return (response.hasOwnProperty("authorization_endpoint") &&
5022
+ response.hasOwnProperty("token_endpoint") &&
5023
+ response.hasOwnProperty("issuer") &&
5024
+ response.hasOwnProperty("jwks_uri"));
5025
+ }
5026
+
5027
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
5028
+ /*
5029
+ * Copyright (c) Microsoft Corporation. All rights reserved.
5030
+ * Licensed under the MIT License.
5031
+ */
5032
+ function isCloudInstanceDiscoveryResponse(response) {
5033
+ return (response.hasOwnProperty("tenant_discovery_endpoint") &&
5034
+ response.hasOwnProperty("metadata"));
5035
+ }
5036
+
5037
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
5038
+ /*
5039
+ * Copyright (c) Microsoft Corporation. All rights reserved.
5040
+ * Licensed under the MIT License.
5041
+ */
5042
+ function isCloudInstanceDiscoveryErrorResponse(response) {
5043
+ return (response.hasOwnProperty("error") &&
5044
+ response.hasOwnProperty("error_description"));
5045
+ }
4983
5046
 
4984
- /*! @azure/msal-common v15.7.0 2025-06-10 */
5047
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
4985
5048
  /*
4986
5049
  * Copyright (c) Microsoft Corporation. All rights reserved.
4987
5050
  * Licensed under the MIT License.
@@ -5077,7 +5140,7 @@
5077
5140
  };
5078
5141
  };
5079
5142
 
5080
- /*! @azure/msal-common v15.7.0 2025-06-10 */
5143
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
5081
5144
 
5082
5145
  /*
5083
5146
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5183,7 +5246,7 @@
5183
5246
  },
5184
5247
  };
5185
5248
 
5186
- /*! @azure/msal-common v15.7.0 2025-06-10 */
5249
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
5187
5250
 
5188
5251
  /*
5189
5252
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6022,7 +6085,7 @@
6022
6085
  };
6023
6086
  }
6024
6087
 
6025
- /*! @azure/msal-common v15.7.0 2025-06-10 */
6088
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
6026
6089
 
6027
6090
  /*
6028
6091
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6053,7 +6116,7 @@
6053
6116
  }
6054
6117
  }
6055
6118
 
6056
- /*! @azure/msal-common v15.7.0 2025-06-10 */
6119
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
6057
6120
 
6058
6121
  /*
6059
6122
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6072,7 +6135,7 @@
6072
6135
  }
6073
6136
  }
6074
6137
 
6075
- /*! @azure/msal-common v15.7.0 2025-06-10 */
6138
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
6076
6139
  /*
6077
6140
  * Copyright (c) Microsoft Corporation. All rights reserved.
6078
6141
  * Licensed under the MIT License.
@@ -6093,7 +6156,7 @@
6093
6156
  };
6094
6157
  }
6095
6158
 
6096
- /*! @azure/msal-common v15.7.0 2025-06-10 */
6159
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
6097
6160
 
6098
6161
  /*
6099
6162
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6113,12 +6176,12 @@
6113
6176
  * @param cacheManager
6114
6177
  * @param thumbprint
6115
6178
  */
6116
- static preProcess(cacheManager, thumbprint) {
6179
+ static preProcess(cacheManager, thumbprint, correlationId) {
6117
6180
  const key = ThrottlingUtils.generateThrottlingStorageKey(thumbprint);
6118
6181
  const value = cacheManager.getThrottlingCache(key);
6119
6182
  if (value) {
6120
6183
  if (value.throttleTime < Date.now()) {
6121
- cacheManager.removeItem(key);
6184
+ cacheManager.removeItem(key, correlationId);
6122
6185
  return;
6123
6186
  }
6124
6187
  throw new ServerError(value.errorCodes?.join(" ") || Constants.EMPTY_STRING, value.errorMessage, value.subError);
@@ -6130,7 +6193,7 @@
6130
6193
  * @param thumbprint
6131
6194
  * @param response
6132
6195
  */
6133
- static postProcess(cacheManager, thumbprint, response) {
6196
+ static postProcess(cacheManager, thumbprint, response, correlationId) {
6134
6197
  if (ThrottlingUtils.checkResponseStatus(response) ||
6135
6198
  ThrottlingUtils.checkResponseForRetryAfter(response)) {
6136
6199
  const thumbprintValue = {
@@ -6140,7 +6203,7 @@
6140
6203
  errorMessage: response.body.error_description,
6141
6204
  subError: response.body.suberror,
6142
6205
  };
6143
- cacheManager.setThrottlingCache(ThrottlingUtils.generateThrottlingStorageKey(thumbprint), thumbprintValue);
6206
+ cacheManager.setThrottlingCache(ThrottlingUtils.generateThrottlingStorageKey(thumbprint), thumbprintValue, correlationId);
6144
6207
  }
6145
6208
  }
6146
6209
  /**
@@ -6176,11 +6239,11 @@
6176
6239
  static removeThrottle(cacheManager, clientId, request, homeAccountIdentifier) {
6177
6240
  const thumbprint = getRequestThumbprint(clientId, request, homeAccountIdentifier);
6178
6241
  const key = this.generateThrottlingStorageKey(thumbprint);
6179
- cacheManager.removeItem(key);
6242
+ cacheManager.removeItem(key, request.correlationId);
6180
6243
  }
6181
6244
  }
6182
6245
 
6183
- /*! @azure/msal-common v15.7.0 2025-06-10 */
6246
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
6184
6247
 
6185
6248
  /*
6186
6249
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6211,7 +6274,7 @@
6211
6274
  return new NetworkError(error, httpStatus, responseHeaders);
6212
6275
  }
6213
6276
 
6214
- /*! @azure/msal-common v15.7.0 2025-06-10 */
6277
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
6215
6278
 
6216
6279
  /*
6217
6280
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6293,7 +6356,7 @@
6293
6356
  * @param correlationId - CorrelationId for telemetry
6294
6357
  */
6295
6358
  async sendPostRequest(thumbprint, tokenEndpoint, options, correlationId) {
6296
- ThrottlingUtils.preProcess(this.cacheManager, thumbprint);
6359
+ ThrottlingUtils.preProcess(this.cacheManager, thumbprint, correlationId);
6297
6360
  let response;
6298
6361
  try {
6299
6362
  response = await invokeAsync((this.networkClient.sendPostRequestAsync.bind(this.networkClient)), PerformanceEvents.NetworkClientSendPostRequestAsync, this.logger, this.performanceClient, correlationId)(tokenEndpoint, options);
@@ -6328,7 +6391,7 @@
6328
6391
  throw createClientAuthError(networkError);
6329
6392
  }
6330
6393
  }
6331
- ThrottlingUtils.postProcess(this.cacheManager, thumbprint, response);
6394
+ ThrottlingUtils.postProcess(this.cacheManager, thumbprint, response, correlationId);
6332
6395
  return response;
6333
6396
  }
6334
6397
  /**
@@ -6359,7 +6422,7 @@
6359
6422
  }
6360
6423
  }
6361
6424
 
6362
- /*! @azure/msal-common v15.7.0 2025-06-10 */
6425
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
6363
6426
  /*
6364
6427
  * Copyright (c) Microsoft Corporation. All rights reserved.
6365
6428
  * Licensed under the MIT License.
@@ -6368,6 +6431,7 @@
6368
6431
  const noTokensFound = "no_tokens_found";
6369
6432
  const nativeAccountUnavailable = "native_account_unavailable";
6370
6433
  const refreshTokenExpired = "refresh_token_expired";
6434
+ const uxNotAllowed = "ux_not_allowed";
6371
6435
  // Codes potentially returned by server
6372
6436
  const interactionRequired = "interaction_required";
6373
6437
  const consentRequired = "consent_required";
@@ -6382,10 +6446,11 @@
6382
6446
  loginRequired: loginRequired,
6383
6447
  nativeAccountUnavailable: nativeAccountUnavailable,
6384
6448
  noTokensFound: noTokensFound,
6385
- refreshTokenExpired: refreshTokenExpired
6449
+ refreshTokenExpired: refreshTokenExpired,
6450
+ uxNotAllowed: uxNotAllowed
6386
6451
  });
6387
6452
 
6388
- /*! @azure/msal-common v15.7.0 2025-06-10 */
6453
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
6389
6454
 
6390
6455
  /*
6391
6456
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6399,6 +6464,7 @@
6399
6464
  consentRequired,
6400
6465
  loginRequired,
6401
6466
  badToken,
6467
+ uxNotAllowed,
6402
6468
  ];
6403
6469
  const InteractionRequiredAuthSubErrorMessage = [
6404
6470
  "message_only",
@@ -6413,6 +6479,7 @@
6413
6479
  [nativeAccountUnavailable]: "The requested account is not available in the native broker. It may have been deleted or logged out. Please sign-in again using an interactive API.",
6414
6480
  [refreshTokenExpired]: "Refresh token has expired.",
6415
6481
  [badToken]: "Identity provider returned bad_token due to an expired or invalid refresh token. Please invoke an interactive API to resolve.",
6482
+ [uxNotAllowed]: "`canShowUI` flag in Edge was set to false. User interaction required on web page. Please invoke an interactive API to resolve.",
6416
6483
  };
6417
6484
  /**
6418
6485
  * Interaction required errors defined by the SDK
@@ -6473,7 +6540,7 @@
6473
6540
  return new InteractionRequiredAuthError(errorCode, InteractionRequiredAuthErrorMessages[errorCode]);
6474
6541
  }
6475
6542
 
6476
- /*! @azure/msal-common v15.7.0 2025-06-10 */
6543
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
6477
6544
 
6478
6545
  /*
6479
6546
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6545,16 +6612,14 @@
6545
6612
  }
6546
6613
  }
6547
6614
 
6548
- /*! @azure/msal-common v15.7.0 2025-06-10 */
6615
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
6549
6616
 
6550
6617
  /*
6551
6618
  * Copyright (c) Microsoft Corporation. All rights reserved.
6552
6619
  * Licensed under the MIT License.
6553
6620
  */
6554
6621
  const KeyLocation = {
6555
- SW: "sw",
6556
- UHW: "uhw",
6557
- };
6622
+ SW: "sw"};
6558
6623
  /** @internal */
6559
6624
  class PopTokenGenerator {
6560
6625
  constructor(cryptoUtils, performanceClient) {
@@ -6629,7 +6694,7 @@
6629
6694
  }
6630
6695
  }
6631
6696
 
6632
- /*! @azure/msal-common v15.7.0 2025-06-10 */
6697
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
6633
6698
  /*
6634
6699
  * Copyright (c) Microsoft Corporation. All rights reserved.
6635
6700
  * Licensed under the MIT License.
@@ -6656,7 +6721,7 @@
6656
6721
  }
6657
6722
  }
6658
6723
 
6659
- /*! @azure/msal-common v15.7.0 2025-06-10 */
6724
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
6660
6725
 
6661
6726
  /*
6662
6727
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6769,7 +6834,7 @@
6769
6834
  !forceCacheRefreshTokenResponse &&
6770
6835
  cacheRecord.account) {
6771
6836
  const key = cacheRecord.account.generateAccountKey();
6772
- const account = this.cacheStorage.getAccount(key);
6837
+ const account = this.cacheStorage.getAccount(key, request.correlationId);
6773
6838
  if (!account) {
6774
6839
  this.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache");
6775
6840
  return await ResponseHandler.generateAuthenticationResult(this.cryptoObj, authority, cacheRecord, false, request, idTokenClaims, requestStateObj, undefined, serverRequestId);
@@ -6804,7 +6869,7 @@
6804
6869
  let cachedAccount;
6805
6870
  if (serverTokenResponse.id_token && !!idTokenClaims) {
6806
6871
  cachedIdToken = createIdTokenEntity(this.homeAccountIdentifier, env, serverTokenResponse.id_token, this.clientId, claimsTenantId || "");
6807
- cachedAccount = buildAccountToCache(this.cacheStorage, authority, this.homeAccountIdentifier, this.cryptoObj.base64Decode, idTokenClaims, serverTokenResponse.client_info, env, claimsTenantId, authCodePayload, undefined, // nativeAccountId
6872
+ cachedAccount = buildAccountToCache(this.cacheStorage, authority, this.homeAccountIdentifier, this.cryptoObj.base64Decode, request.correlationId, idTokenClaims, serverTokenResponse.client_info, env, claimsTenantId, authCodePayload, undefined, // nativeAccountId
6808
6873
  this.logger);
6809
6874
  }
6810
6875
  // AccessToken
@@ -6953,7 +7018,7 @@
6953
7018
  };
6954
7019
  }
6955
7020
  }
6956
- function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decode, idTokenClaims, clientInfo, environment, claimsTenantId, authCodePayload, nativeAccountId, logger) {
7021
+ function buildAccountToCache(cacheStorage, authority, homeAccountId, base64Decode, correlationId, idTokenClaims, clientInfo, environment, claimsTenantId, authCodePayload, nativeAccountId, logger) {
6957
7022
  logger?.verbose("setCachedAccount called");
6958
7023
  // Check if base account is already cached
6959
7024
  const accountKeys = cacheStorage.getAccountKeys();
@@ -6962,7 +7027,7 @@
6962
7027
  });
6963
7028
  let cachedAccount = null;
6964
7029
  if (baseAccountKey) {
6965
- cachedAccount = cacheStorage.getAccount(baseAccountKey);
7030
+ cachedAccount = cacheStorage.getAccount(baseAccountKey, correlationId);
6966
7031
  }
6967
7032
  const baseAccount = cachedAccount ||
6968
7033
  AccountEntity.createAccount({
@@ -6987,7 +7052,7 @@
6987
7052
  return baseAccount;
6988
7053
  }
6989
7054
 
6990
- /*! @azure/msal-common v15.7.0 2025-06-10 */
7055
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
6991
7056
 
6992
7057
  /*
6993
7058
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7054,7 +7119,7 @@
7054
7119
  }
7055
7120
  }
7056
7121
 
7057
- /*! @azure/msal-common v15.7.0 2025-06-10 */
7122
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
7058
7123
  /*
7059
7124
  * Copyright (c) Microsoft Corporation. All rights reserved.
7060
7125
  * Licensed under the MIT License.
@@ -7072,7 +7137,7 @@
7072
7137
  }
7073
7138
  }
7074
7139
 
7075
- /*! @azure/msal-common v15.7.0 2025-06-10 */
7140
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
7076
7141
 
7077
7142
  /*
7078
7143
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7305,7 +7370,7 @@
7305
7370
  }
7306
7371
  }
7307
7372
 
7308
- /*! @azure/msal-common v15.7.0 2025-06-10 */
7373
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
7309
7374
 
7310
7375
  /*
7311
7376
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7378,7 +7443,7 @@
7378
7443
  async acquireTokenWithCachedRefreshToken(request, foci) {
7379
7444
  this.performanceClient?.addQueueMeasurement(PerformanceEvents.RefreshTokenClientAcquireTokenWithCachedRefreshToken, request.correlationId);
7380
7445
  // fetches family RT or application RT based on FOCI value
7381
- const refreshToken = invoke(this.cacheManager.getRefreshToken.bind(this.cacheManager), PerformanceEvents.CacheManagerGetRefreshToken, this.logger, this.performanceClient, request.correlationId)(request.account, foci, undefined, this.performanceClient, request.correlationId);
7446
+ const refreshToken = invoke(this.cacheManager.getRefreshToken.bind(this.cacheManager), PerformanceEvents.CacheManagerGetRefreshToken, this.logger, this.performanceClient, request.correlationId)(request.account, foci, request.correlationId, undefined, this.performanceClient);
7382
7447
  if (!refreshToken) {
7383
7448
  throw createInteractionRequiredAuthError(noTokensFound);
7384
7449
  }
@@ -7408,7 +7473,7 @@
7408
7473
  // Remove bad refresh token from cache
7409
7474
  this.logger.verbose("acquireTokenWithRefreshToken: bad refresh token, removing from cache");
7410
7475
  const badRefreshTokenKey = generateCredentialKey(refreshToken);
7411
- this.cacheManager.removeRefreshToken(badRefreshTokenKey);
7476
+ this.cacheManager.removeRefreshToken(badRefreshTokenKey, request.correlationId);
7412
7477
  }
7413
7478
  }
7414
7479
  throw e;
@@ -7514,7 +7579,7 @@
7514
7579
  }
7515
7580
  }
7516
7581
 
7517
- /*! @azure/msal-common v15.7.0 2025-06-10 */
7582
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
7518
7583
 
7519
7584
  /*
7520
7585
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7546,7 +7611,7 @@
7546
7611
  const requestTenantId = request.account.tenantId ||
7547
7612
  getTenantFromAuthorityString(request.authority);
7548
7613
  const tokenKeys = this.cacheManager.getTokenKeys();
7549
- const cachedAccessToken = this.cacheManager.getAccessToken(request.account, request, tokenKeys, requestTenantId, this.performanceClient, request.correlationId);
7614
+ const cachedAccessToken = this.cacheManager.getAccessToken(request.account, request, tokenKeys, requestTenantId);
7550
7615
  if (!cachedAccessToken) {
7551
7616
  // must refresh due to non-existent access_token
7552
7617
  this.setCacheOutcome(CacheOutcome.NO_CACHED_ACCESS_TOKEN, request.correlationId);
@@ -7566,9 +7631,9 @@
7566
7631
  }
7567
7632
  const environment = request.authority || this.authority.getPreferredCache();
7568
7633
  const cacheRecord = {
7569
- account: this.cacheManager.readAccountFromCache(request.account),
7634
+ account: this.cacheManager.readAccountFromCache(request.account, request.correlationId),
7570
7635
  accessToken: cachedAccessToken,
7571
- idToken: this.cacheManager.getIdToken(request.account, tokenKeys, requestTenantId, this.performanceClient, request.correlationId),
7636
+ idToken: this.cacheManager.getIdToken(request.account, request.correlationId, tokenKeys, requestTenantId, this.performanceClient),
7572
7637
  refreshToken: null,
7573
7638
  appMetadata: this.cacheManager.readAppMetadataFromCache(environment),
7574
7639
  };
@@ -7612,7 +7677,7 @@
7612
7677
  }
7613
7678
  }
7614
7679
 
7615
- /*! @azure/msal-common v15.7.0 2025-06-10 */
7680
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
7616
7681
 
7617
7682
  /*
7618
7683
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7627,7 +7692,7 @@
7627
7692
  },
7628
7693
  };
7629
7694
 
7630
- /*! @azure/msal-common v15.7.0 2025-06-10 */
7695
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
7631
7696
 
7632
7697
  /*
7633
7698
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7851,7 +7916,7 @@
7851
7916
  return account.idTokenClaims?.login_hint || null;
7852
7917
  }
7853
7918
 
7854
- /*! @azure/msal-common v15.7.0 2025-06-10 */
7919
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
7855
7920
 
7856
7921
  /*
7857
7922
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7909,7 +7974,7 @@
7909
7974
  }
7910
7975
  }
7911
7976
 
7912
- /*! @azure/msal-common v15.7.0 2025-06-10 */
7977
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
7913
7978
 
7914
7979
  /*
7915
7980
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8048,7 +8113,7 @@
8048
8113
  else {
8049
8114
  lastRequests.errors.push(SERVER_TELEM_CONSTANTS.UNKNOWN_ERROR);
8050
8115
  }
8051
- this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests);
8116
+ this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests, this.correlationId);
8052
8117
  return;
8053
8118
  }
8054
8119
  /**
@@ -8057,7 +8122,7 @@
8057
8122
  incrementCacheHits() {
8058
8123
  const lastRequests = this.getLastRequests();
8059
8124
  lastRequests.cacheHits += 1;
8060
- this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests);
8125
+ this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests, this.correlationId);
8061
8126
  return lastRequests.cacheHits;
8062
8127
  }
8063
8128
  /**
@@ -8081,7 +8146,7 @@
8081
8146
  const errorCount = lastRequests.errors.length;
8082
8147
  if (numErrorsFlushed === errorCount) {
8083
8148
  // All errors were sent on last request, clear Telemetry cache
8084
- this.cacheManager.removeItem(this.telemetryCacheKey);
8149
+ this.cacheManager.removeItem(this.telemetryCacheKey, this.correlationId);
8085
8150
  }
8086
8151
  else {
8087
8152
  // Partial data was flushed to server, construct a new telemetry cache item with errors that were not flushed
@@ -8090,7 +8155,7 @@
8090
8155
  errors: lastRequests.errors.slice(numErrorsFlushed),
8091
8156
  cacheHits: 0,
8092
8157
  };
8093
- this.cacheManager.setServerTelemetry(this.telemetryCacheKey, serverTelemEntity);
8158
+ this.cacheManager.setServerTelemetry(this.telemetryCacheKey, serverTelemEntity, this.correlationId);
8094
8159
  }
8095
8160
  }
8096
8161
  /**
@@ -8157,7 +8222,7 @@
8157
8222
  setNativeBrokerErrorCode(errorCode) {
8158
8223
  const lastRequests = this.getLastRequests();
8159
8224
  lastRequests.nativeBrokerErrorCode = errorCode;
8160
- this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests);
8225
+ this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests, this.correlationId);
8161
8226
  }
8162
8227
  getNativeBrokerErrorCode() {
8163
8228
  return this.getLastRequests().nativeBrokerErrorCode;
@@ -8165,14 +8230,14 @@
8165
8230
  clearNativeBrokerErrorCode() {
8166
8231
  const lastRequests = this.getLastRequests();
8167
8232
  delete lastRequests.nativeBrokerErrorCode;
8168
- this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests);
8233
+ this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests, this.correlationId);
8169
8234
  }
8170
8235
  static makeExtraSkuString(params) {
8171
8236
  return makeExtraSkuString(params);
8172
8237
  }
8173
8238
  }
8174
8239
 
8175
- /*! @azure/msal-common v15.7.0 2025-06-10 */
8240
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
8176
8241
  /*
8177
8242
  * Copyright (c) Microsoft Corporation. All rights reserved.
8178
8243
  * Licensed under the MIT License.
@@ -8180,7 +8245,7 @@
8180
8245
  const missingKidError = "missing_kid_error";
8181
8246
  const missingAlgError = "missing_alg_error";
8182
8247
 
8183
- /*! @azure/msal-common v15.7.0 2025-06-10 */
8248
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
8184
8249
 
8185
8250
  /*
8186
8251
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8205,7 +8270,7 @@
8205
8270
  return new JoseHeaderError(code, JoseHeaderErrorMessages[code]);
8206
8271
  }
8207
8272
 
8208
- /*! @azure/msal-common v15.7.0 2025-06-10 */
8273
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
8209
8274
 
8210
8275
  /*
8211
8276
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8245,86 +8310,7 @@
8245
8310
  }
8246
8311
  }
8247
8312
 
8248
- /*! @azure/msal-common v15.7.0 2025-06-10 */
8249
-
8250
- /*
8251
- * Copyright (c) Microsoft Corporation. All rights reserved.
8252
- * Licensed under the MIT License.
8253
- */
8254
- class StubPerformanceMeasurement {
8255
- startMeasurement() {
8256
- return;
8257
- }
8258
- endMeasurement() {
8259
- return;
8260
- }
8261
- flushMeasurement() {
8262
- return null;
8263
- }
8264
- }
8265
- class StubPerformanceClient {
8266
- generateId() {
8267
- return "callback-id";
8268
- }
8269
- startMeasurement(measureName, correlationId) {
8270
- return {
8271
- end: () => null,
8272
- discard: () => { },
8273
- add: () => { },
8274
- increment: () => { },
8275
- event: {
8276
- eventId: this.generateId(),
8277
- status: PerformanceEventStatus.InProgress,
8278
- authority: "",
8279
- libraryName: "",
8280
- libraryVersion: "",
8281
- clientId: "",
8282
- name: measureName,
8283
- startTimeMs: Date.now(),
8284
- correlationId: correlationId || "",
8285
- },
8286
- measurement: new StubPerformanceMeasurement(),
8287
- };
8288
- }
8289
- startPerformanceMeasurement() {
8290
- return new StubPerformanceMeasurement();
8291
- }
8292
- calculateQueuedTime() {
8293
- return 0;
8294
- }
8295
- addQueueMeasurement() {
8296
- return;
8297
- }
8298
- setPreQueueTime() {
8299
- return;
8300
- }
8301
- endMeasurement() {
8302
- return null;
8303
- }
8304
- discardMeasurements() {
8305
- return;
8306
- }
8307
- removePerformanceCallback() {
8308
- return true;
8309
- }
8310
- addPerformanceCallback() {
8311
- return "";
8312
- }
8313
- emitEvents() {
8314
- return;
8315
- }
8316
- addFields() {
8317
- return;
8318
- }
8319
- incrementFields() {
8320
- return;
8321
- }
8322
- cacheEventByCorrelationId() {
8323
- return;
8324
- }
8325
- }
8326
-
8327
- /*! @azure/msal-common v15.7.0 2025-06-10 */
8313
+ /*! @azure/msal-common v15.8.0 2025-07-01 */
8328
8314
 
8329
8315
  /*
8330
8316
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -8986,7 +8972,8 @@
8986
8972
  const invalidPopTokenRequest = "invalid_pop_token_request";
8987
8973
  const failedToBuildHeaders = "failed_to_build_headers";
8988
8974
  const failedToParseHeaders = "failed_to_parse_headers";
8989
- const failedToDecryptEarResponse = "failed_to_decrypt_ear_response";
8975
+ const failedToDecryptEarResponse = "failed_to_decrypt_ear_response";
8976
+ const timedOut = "timed_out";
8990
8977
 
8991
8978
  var BrowserAuthErrorCodes = /*#__PURE__*/Object.freeze({
8992
8979
  __proto__: null,
@@ -9034,6 +9021,7 @@
9034
9021
  silentPromptValueError: silentPromptValueError,
9035
9022
  spaCodeAndNativeAccountIdPresent: spaCodeAndNativeAccountIdPresent,
9036
9023
  stateInteractionTypeMismatch: stateInteractionTypeMismatch,
9024
+ timedOut: timedOut,
9037
9025
  unableToAcquireTokenFromNativePlatform: unableToAcquireTokenFromNativePlatform,
9038
9026
  unableToLoadToken: unableToLoadToken,
9039
9027
  unableToParseState: unableToParseState,
@@ -9101,6 +9089,7 @@
9101
9089
  [failedToBuildHeaders]: "Failed to build request headers object.",
9102
9090
  [failedToParseHeaders]: "Failed to parse response headers",
9103
9091
  [failedToDecryptEarResponse]: "Failed to decrypt ear response",
9092
+ [timedOut]: "The request timed out.",
9104
9093
  };
9105
9094
  /**
9106
9095
  * BrowserAuthErrorMessage class containing string constants used by error codes and messages.
@@ -9314,10 +9303,6 @@
9314
9303
  * Constants
9315
9304
  */
9316
9305
  const BrowserConstants = {
9317
- /**
9318
- * Interaction in progress cache value
9319
- */
9320
- INTERACTION_IN_PROGRESS_VALUE: "interaction_in_progress",
9321
9306
  /**
9322
9307
  * Invalid grant error code
9323
9308
  */
@@ -10169,9 +10154,9 @@
10169
10154
  else {
10170
10155
  window.location.assign(url); // CodeQL [SM03712] Application owner controls the URL. User can't change it.
10171
10156
  }
10172
- return new Promise((resolve) => {
10157
+ return new Promise((resolve, reject) => {
10173
10158
  setTimeout(() => {
10174
- resolve(true);
10159
+ reject(createBrowserAuthError(timedOut, "failed_to_redirect"));
10175
10160
  }, options.timeout);
10176
10161
  });
10177
10162
  }
@@ -10429,7 +10414,7 @@
10429
10414
 
10430
10415
  /* eslint-disable header/header */
10431
10416
  const name = "@azure/msal-browser";
10432
- const version = "4.13.1";
10417
+ const version = "4.14.0";
10433
10418
 
10434
10419
  /*
10435
10420
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -11273,7 +11258,9 @@
11273
11258
  async removeTokenBindingKey(kid) {
11274
11259
  await this.cache.removeItem(kid);
11275
11260
  const keyFound = await this.cache.containsKey(kid);
11276
- return !keyFound;
11261
+ if (keyFound) {
11262
+ throw createClientAuthError(bindingKeyNotRemoved);
11263
+ }
11277
11264
  }
11278
11265
  /**
11279
11266
  * Removes all cryptographic keys from IndexedDB storage
@@ -11540,7 +11527,7 @@
11540
11527
  setItem(key, value) {
11541
11528
  window.localStorage.setItem(key, value);
11542
11529
  }
11543
- async setUserData(key, value, correlationId) {
11530
+ async setUserData(key, value, correlationId, timestamp) {
11544
11531
  if (!this.initialized || !this.encryptionCookie) {
11545
11532
  throw createBrowserAuthError(uninitializedPublicClientApplication);
11546
11533
  }
@@ -11549,6 +11536,7 @@
11549
11536
  id: this.encryptionCookie.id,
11550
11537
  nonce: nonce,
11551
11538
  data: data,
11539
+ lastUpdatedAt: timestamp,
11552
11540
  };
11553
11541
  this.memoryStorage.setItem(key, value);
11554
11542
  this.setItem(key, JSON.stringify(encryptedData));
@@ -11795,14 +11783,13 @@
11795
11783
  */
11796
11784
  class BrowserCacheManager extends CacheManager {
11797
11785
  constructor(clientId, cacheConfig, cryptoImpl, logger, performanceClient, eventHandler, staticAuthorityOptions) {
11798
- super(clientId, cryptoImpl, logger, staticAuthorityOptions);
11786
+ super(clientId, cryptoImpl, logger, performanceClient, staticAuthorityOptions);
11799
11787
  this.cacheConfig = cacheConfig;
11800
11788
  this.logger = logger;
11801
11789
  this.internalStorage = new MemoryStorage();
11802
11790
  this.browserStorage = getStorageImplementation(clientId, cacheConfig.cacheLocation, logger, performanceClient);
11803
11791
  this.temporaryCacheStorage = getStorageImplementation(clientId, cacheConfig.temporaryCacheLocation, logger, performanceClient);
11804
11792
  this.cookieStorage = new CookieStorage();
11805
- this.performanceClient = performanceClient;
11806
11793
  this.eventHandler = eventHandler;
11807
11794
  }
11808
11795
  async initialize(correlationId) {
@@ -11819,7 +11806,7 @@
11819
11806
  this.performanceClient.addFields({ previousLibraryVersion: previousVersion }, correlationId);
11820
11807
  }
11821
11808
  if (previousVersion !== version) {
11822
- this.browserStorage.setItem(StaticCacheKeys.VERSION, version);
11809
+ this.setItem(StaticCacheKeys.VERSION, version, correlationId);
11823
11810
  }
11824
11811
  }
11825
11812
  /**
@@ -11843,22 +11830,111 @@
11843
11830
  return null;
11844
11831
  }
11845
11832
  }
11833
+ /**
11834
+ * Helper to setItem in browser storage, with cleanup in case of quota errors
11835
+ * @param key
11836
+ * @param value
11837
+ */
11838
+ setItem(key, value, correlationId) {
11839
+ let accessTokenKeys = [];
11840
+ const maxRetries = 20;
11841
+ for (let i = 0; i <= maxRetries; i++) {
11842
+ try {
11843
+ this.browserStorage.setItem(key, value);
11844
+ if (i > 0) {
11845
+ // Finally update the token keys array with the tokens removed
11846
+ this.removeAccessTokenKeys(accessTokenKeys.slice(0, i), correlationId);
11847
+ }
11848
+ break; // If setItem succeeds, exit the loop
11849
+ }
11850
+ catch (e) {
11851
+ const cacheError = createCacheError(e);
11852
+ if (cacheError.errorCode ===
11853
+ cacheQuotaExceeded &&
11854
+ i < maxRetries) {
11855
+ if (!accessTokenKeys.length) {
11856
+ if (key ===
11857
+ `${StaticCacheKeys.TOKEN_KEYS}.${this.clientId}`) {
11858
+ // If we are currently trying to set the token keys, use the value we're trying to set
11859
+ accessTokenKeys = JSON.parse(value)
11860
+ .accessToken;
11861
+ }
11862
+ else {
11863
+ // If token keys have not been initialized, get them
11864
+ accessTokenKeys = this.getTokenKeys().accessToken;
11865
+ }
11866
+ }
11867
+ if (accessTokenKeys.length <= i) {
11868
+ // Nothing to remove, rethrow the error
11869
+ throw cacheError;
11870
+ }
11871
+ // When cache quota is exceeded, start removing access tokens until we can successfully set the item
11872
+ this.removeAccessToken(accessTokenKeys[i], correlationId, false // Don't save token keys yet, do it at the end
11873
+ );
11874
+ }
11875
+ else {
11876
+ // If the error is not a quota exceeded error, rethrow it
11877
+ throw cacheError;
11878
+ }
11879
+ }
11880
+ }
11881
+ }
11882
+ /**
11883
+ * Helper to setUserData in browser storage, with cleanup in case of quota errors
11884
+ * @param key
11885
+ * @param value
11886
+ * @param correlationId
11887
+ */
11888
+ async setUserData(key, value, correlationId, timestamp) {
11889
+ let accessTokenKeys = [];
11890
+ const maxRetries = 20;
11891
+ for (let i = 0; i <= maxRetries; i++) {
11892
+ try {
11893
+ await invokeAsync(this.browserStorage.setUserData.bind(this.browserStorage), PerformanceEvents.SetUserData, this.logger, this.performanceClient)(key, value, correlationId, timestamp);
11894
+ if (i > 0) {
11895
+ // Finally update the token keys array with the tokens removed
11896
+ this.removeAccessTokenKeys(accessTokenKeys.slice(0, i), correlationId);
11897
+ }
11898
+ break; // If setItem succeeds, exit the loop
11899
+ }
11900
+ catch (e) {
11901
+ const cacheError = createCacheError(e);
11902
+ if (cacheError.errorCode ===
11903
+ cacheQuotaExceeded &&
11904
+ i < maxRetries) {
11905
+ if (!accessTokenKeys.length) {
11906
+ accessTokenKeys = this.getTokenKeys().accessToken;
11907
+ }
11908
+ if (accessTokenKeys.length <= i) {
11909
+ // Nothing left to remove, rethrow the error
11910
+ throw cacheError;
11911
+ }
11912
+ // When cache quota is exceeded, start removing access tokens until we can successfully set the item
11913
+ this.removeAccessToken(accessTokenKeys[i], correlationId, false // Don't save token keys yet, do it at the end
11914
+ );
11915
+ }
11916
+ else {
11917
+ // If the error is not a quota exceeded error, rethrow it
11918
+ throw cacheError;
11919
+ }
11920
+ }
11921
+ }
11922
+ }
11846
11923
  /**
11847
11924
  * Reads account from cache, deserializes it into an account entity and returns it.
11848
11925
  * If account is not found from the key, returns null and removes key from map.
11849
11926
  * @param accountKey
11850
11927
  * @returns
11851
11928
  */
11852
- getAccount(accountKey) {
11929
+ getAccount(accountKey, correlationId) {
11853
11930
  this.logger.trace("BrowserCacheManager.getAccount called");
11854
11931
  const serializedAccount = this.browserStorage.getUserData(accountKey);
11855
11932
  if (!serializedAccount) {
11856
- this.removeAccountKeyFromMap(accountKey);
11933
+ this.removeAccountKeyFromMap(accountKey, correlationId);
11857
11934
  return null;
11858
11935
  }
11859
11936
  const parsedAccount = this.validateAndParseJson(serializedAccount);
11860
11937
  if (!parsedAccount || !AccountEntity.isAccountEntity(parsedAccount)) {
11861
- this.removeAccountKeyFromMap(accountKey);
11862
11938
  return null;
11863
11939
  }
11864
11940
  return CacheManager.toObject(new AccountEntity(), parsedAccount);
@@ -11870,8 +11946,10 @@
11870
11946
  async setAccount(account, correlationId) {
11871
11947
  this.logger.trace("BrowserCacheManager.setAccount called");
11872
11948
  const key = account.generateAccountKey();
11873
- await invokeAsync(this.browserStorage.setUserData.bind(this.browserStorage), PerformanceEvents.SetUserData, this.logger, this.performanceClient)(key, JSON.stringify(account), correlationId);
11874
- const wasAdded = this.addAccountKeyToMap(key);
11949
+ const timestamp = Date.now().toString();
11950
+ account.lastUpdatedAt = timestamp;
11951
+ await this.setUserData(key, JSON.stringify(account), correlationId, timestamp);
11952
+ const wasAdded = this.addAccountKeyToMap(key, correlationId);
11875
11953
  /**
11876
11954
  * @deprecated - Remove this in next major version in favor of more consistent LOGIN event
11877
11955
  */
@@ -11892,14 +11970,14 @@
11892
11970
  * Add a new account to the key map
11893
11971
  * @param key
11894
11972
  */
11895
- addAccountKeyToMap(key) {
11973
+ addAccountKeyToMap(key, correlationId) {
11896
11974
  this.logger.trace("BrowserCacheManager.addAccountKeyToMap called");
11897
11975
  this.logger.tracePii(`BrowserCacheManager.addAccountKeyToMap called with key: ${key}`);
11898
11976
  const accountKeys = this.getAccountKeys();
11899
11977
  if (accountKeys.indexOf(key) === -1) {
11900
11978
  // Only add key if it does not already exist in the map
11901
11979
  accountKeys.push(key);
11902
- this.browserStorage.setItem(StaticCacheKeys.ACCOUNT_KEYS, JSON.stringify(accountKeys));
11980
+ this.setItem(StaticCacheKeys.ACCOUNT_KEYS, JSON.stringify(accountKeys), correlationId);
11903
11981
  this.logger.verbose("BrowserCacheManager.addAccountKeyToMap account key added");
11904
11982
  return true;
11905
11983
  }
@@ -11912,14 +11990,21 @@
11912
11990
  * Remove an account from the key map
11913
11991
  * @param key
11914
11992
  */
11915
- removeAccountKeyFromMap(key) {
11993
+ removeAccountKeyFromMap(key, correlationId) {
11916
11994
  this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap called");
11917
11995
  this.logger.tracePii(`BrowserCacheManager.removeAccountKeyFromMap called with key: ${key}`);
11918
11996
  const accountKeys = this.getAccountKeys();
11919
11997
  const removalIndex = accountKeys.indexOf(key);
11920
11998
  if (removalIndex > -1) {
11921
11999
  accountKeys.splice(removalIndex, 1);
11922
- this.browserStorage.setItem(StaticCacheKeys.ACCOUNT_KEYS, JSON.stringify(accountKeys));
12000
+ if (accountKeys.length === 0) {
12001
+ // If no keys left, remove the map
12002
+ this.removeItem(StaticCacheKeys.ACCOUNT_KEYS);
12003
+ return;
12004
+ }
12005
+ else {
12006
+ this.setItem(StaticCacheKeys.ACCOUNT_KEYS, JSON.stringify(accountKeys), correlationId);
12007
+ }
11923
12008
  this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap account key removed");
11924
12009
  }
11925
12010
  else {
@@ -11930,16 +12015,16 @@
11930
12015
  * Extends inherited removeAccount function to include removal of the account key from the map
11931
12016
  * @param key
11932
12017
  */
11933
- async removeAccount(key) {
11934
- void super.removeAccount(key);
11935
- this.removeAccountKeyFromMap(key);
12018
+ removeAccount(key, correlationId) {
12019
+ super.removeAccount(key, correlationId);
12020
+ this.removeAccountKeyFromMap(key, correlationId);
11936
12021
  }
11937
12022
  /**
11938
12023
  * Removes credentials associated with the provided account
11939
12024
  * @param account
11940
12025
  */
11941
- async removeAccountContext(account) {
11942
- await super.removeAccountContext(account);
12026
+ removeAccountContext(account, correlationId) {
12027
+ super.removeAccountContext(account, correlationId);
11943
12028
  /**
11944
12029
  * @deprecated - Remove this in next major version in favor of more consistent LOGOUT event
11945
12030
  */
@@ -11951,25 +12036,60 @@
11951
12036
  * Removes given idToken from the cache and from the key map
11952
12037
  * @param key
11953
12038
  */
11954
- removeIdToken(key) {
11955
- super.removeIdToken(key);
11956
- this.removeTokenKey(key, CredentialType.ID_TOKEN);
12039
+ removeIdToken(key, correlationId) {
12040
+ super.removeIdToken(key, correlationId);
12041
+ const tokenKeys = this.getTokenKeys();
12042
+ const idRemoval = tokenKeys.idToken.indexOf(key);
12043
+ if (idRemoval > -1) {
12044
+ this.logger.info("idToken removed from tokenKeys map");
12045
+ tokenKeys.idToken.splice(idRemoval, 1);
12046
+ this.setTokenKeys(tokenKeys, correlationId);
12047
+ }
11957
12048
  }
11958
12049
  /**
11959
12050
  * Removes given accessToken from the cache and from the key map
11960
12051
  * @param key
11961
12052
  */
11962
- async removeAccessToken(key) {
11963
- void super.removeAccessToken(key);
11964
- this.removeTokenKey(key, CredentialType.ACCESS_TOKEN);
12053
+ removeAccessToken(key, correlationId, updateTokenKeys = true) {
12054
+ super.removeAccessToken(key, correlationId);
12055
+ updateTokenKeys && this.removeAccessTokenKeys([key], correlationId);
12056
+ }
12057
+ /**
12058
+ * Remove access token key from the key map
12059
+ * @param key
12060
+ * @param correlationId
12061
+ * @param tokenKeys
12062
+ */
12063
+ removeAccessTokenKeys(keys, correlationId) {
12064
+ this.logger.trace("removeAccessTokenKey called");
12065
+ const tokenKeys = this.getTokenKeys();
12066
+ let keysRemoved = 0;
12067
+ keys.forEach((key) => {
12068
+ const accessRemoval = tokenKeys.accessToken.indexOf(key);
12069
+ if (accessRemoval > -1) {
12070
+ tokenKeys.accessToken.splice(accessRemoval, 1);
12071
+ keysRemoved++;
12072
+ }
12073
+ });
12074
+ if (keysRemoved > 0) {
12075
+ this.logger.info(`removed ${keysRemoved} accessToken keys from tokenKeys map`);
12076
+ this.setTokenKeys(tokenKeys, correlationId);
12077
+ return;
12078
+ }
11965
12079
  }
11966
12080
  /**
11967
12081
  * Removes given refreshToken from the cache and from the key map
11968
12082
  * @param key
11969
12083
  */
11970
- removeRefreshToken(key) {
11971
- super.removeRefreshToken(key);
11972
- this.removeTokenKey(key, CredentialType.REFRESH_TOKEN);
12084
+ removeRefreshToken(key, correlationId) {
12085
+ super.removeRefreshToken(key, correlationId);
12086
+ const tokenKeys = this.getTokenKeys();
12087
+ const refreshRemoval = tokenKeys.refreshToken.indexOf(key);
12088
+ if (refreshRemoval > -1) {
12089
+ this.logger.info("refreshToken removed from tokenKeys map");
12090
+ tokenKeys.refreshToken.splice(refreshRemoval, 1);
12091
+ this.setTokenKeys(tokenKeys, correlationId);
12092
+ }
11973
12093
  }
11974
12094
  /**
11975
12095
  * Gets the keys for the cached tokens associated with this clientId
@@ -11979,101 +12099,37 @@
11979
12099
  return getTokenKeys(this.clientId, this.browserStorage);
11980
12100
  }
11981
12101
  /**
11982
- * Adds the given key to the token key map
11983
- * @param key
11984
- * @param type
12102
+ * Stores the token keys in the cache
12103
+ * @param tokenKeys
12104
+ * @param correlationId
12105
+ * @returns
11985
12106
  */
11986
- addTokenKey(key, type) {
11987
- this.logger.trace("BrowserCacheManager addTokenKey called");
11988
- const tokenKeys = this.getTokenKeys();
11989
- switch (type) {
11990
- case CredentialType.ID_TOKEN:
11991
- if (tokenKeys.idToken.indexOf(key) === -1) {
11992
- this.logger.info("BrowserCacheManager: addTokenKey - idToken added to map");
11993
- tokenKeys.idToken.push(key);
11994
- }
11995
- break;
11996
- case CredentialType.ACCESS_TOKEN:
11997
- if (tokenKeys.accessToken.indexOf(key) === -1) {
11998
- this.logger.info("BrowserCacheManager: addTokenKey - accessToken added to map");
11999
- tokenKeys.accessToken.push(key);
12000
- }
12001
- break;
12002
- case CredentialType.REFRESH_TOKEN:
12003
- if (tokenKeys.refreshToken.indexOf(key) === -1) {
12004
- this.logger.info("BrowserCacheManager: addTokenKey - refreshToken added to map");
12005
- tokenKeys.refreshToken.push(key);
12006
- }
12007
- break;
12008
- default:
12009
- this.logger.error(`BrowserCacheManager:addTokenKey - CredentialType provided invalid. CredentialType: ${type}`);
12010
- throw createClientAuthError(unexpectedCredentialType);
12107
+ setTokenKeys(tokenKeys, correlationId) {
12108
+ if (tokenKeys.idToken.length === 0 &&
12109
+ tokenKeys.accessToken.length === 0 &&
12110
+ tokenKeys.refreshToken.length === 0) {
12111
+ // If no keys left, remove the map
12112
+ this.removeItem(`${StaticCacheKeys.TOKEN_KEYS}.${this.clientId}`);
12113
+ return;
12011
12114
  }
12012
- this.browserStorage.setItem(`${StaticCacheKeys.TOKEN_KEYS}.${this.clientId}`, JSON.stringify(tokenKeys));
12013
- }
12014
- /**
12015
- * Removes the given key from the token key map
12016
- * @param key
12017
- * @param type
12018
- */
12019
- removeTokenKey(key, type) {
12020
- this.logger.trace("BrowserCacheManager removeTokenKey called");
12021
- const tokenKeys = this.getTokenKeys();
12022
- switch (type) {
12023
- case CredentialType.ID_TOKEN:
12024
- this.logger.infoPii(`BrowserCacheManager: removeTokenKey - attempting to remove idToken with key: ${key} from map`);
12025
- const idRemoval = tokenKeys.idToken.indexOf(key);
12026
- if (idRemoval > -1) {
12027
- this.logger.info("BrowserCacheManager: removeTokenKey - idToken removed from map");
12028
- tokenKeys.idToken.splice(idRemoval, 1);
12029
- }
12030
- else {
12031
- this.logger.info("BrowserCacheManager: removeTokenKey - idToken does not exist in map. Either it was previously removed or it was never added.");
12032
- }
12033
- break;
12034
- case CredentialType.ACCESS_TOKEN:
12035
- this.logger.infoPii(`BrowserCacheManager: removeTokenKey - attempting to remove accessToken with key: ${key} from map`);
12036
- const accessRemoval = tokenKeys.accessToken.indexOf(key);
12037
- if (accessRemoval > -1) {
12038
- this.logger.info("BrowserCacheManager: removeTokenKey - accessToken removed from map");
12039
- tokenKeys.accessToken.splice(accessRemoval, 1);
12040
- }
12041
- else {
12042
- this.logger.info("BrowserCacheManager: removeTokenKey - accessToken does not exist in map. Either it was previously removed or it was never added.");
12043
- }
12044
- break;
12045
- case CredentialType.REFRESH_TOKEN:
12046
- this.logger.infoPii(`BrowserCacheManager: removeTokenKey - attempting to remove refreshToken with key: ${key} from map`);
12047
- const refreshRemoval = tokenKeys.refreshToken.indexOf(key);
12048
- if (refreshRemoval > -1) {
12049
- this.logger.info("BrowserCacheManager: removeTokenKey - refreshToken removed from map");
12050
- tokenKeys.refreshToken.splice(refreshRemoval, 1);
12051
- }
12052
- else {
12053
- this.logger.info("BrowserCacheManager: removeTokenKey - refreshToken does not exist in map. Either it was previously removed or it was never added.");
12054
- }
12055
- break;
12056
- default:
12057
- this.logger.error(`BrowserCacheManager:removeTokenKey - CredentialType provided invalid. CredentialType: ${type}`);
12058
- throw createClientAuthError(unexpectedCredentialType);
12115
+ else {
12116
+ this.setItem(`${StaticCacheKeys.TOKEN_KEYS}.${this.clientId}`, JSON.stringify(tokenKeys), correlationId);
12059
12117
  }
12060
- this.browserStorage.setItem(`${StaticCacheKeys.TOKEN_KEYS}.${this.clientId}`, JSON.stringify(tokenKeys));
12061
12118
  }
12062
12119
  /**
12063
12120
  * generates idToken entity from a string
12064
12121
  * @param idTokenKey
12065
12122
  */
12066
- getIdTokenCredential(idTokenKey) {
12123
+ getIdTokenCredential(idTokenKey, correlationId) {
12067
12124
  const value = this.browserStorage.getUserData(idTokenKey);
12068
12125
  if (!value) {
12069
12126
  this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit");
12070
- this.removeTokenKey(idTokenKey, CredentialType.ID_TOKEN);
12127
+ this.removeIdToken(idTokenKey, correlationId);
12071
12128
  return null;
12072
12129
  }
12073
12130
  const parsedIdToken = this.validateAndParseJson(value);
12074
12131
  if (!parsedIdToken || !isIdTokenEntity(parsedIdToken)) {
12075
12132
  this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit");
12076
- this.removeTokenKey(idTokenKey, CredentialType.ID_TOKEN);
12077
12133
  return null;
12078
12134
  }
12079
12135
  this.logger.trace("BrowserCacheManager.getIdTokenCredential: cache hit");
@@ -12086,25 +12142,31 @@
12086
12142
  async setIdTokenCredential(idToken, correlationId) {
12087
12143
  this.logger.trace("BrowserCacheManager.setIdTokenCredential called");
12088
12144
  const idTokenKey = generateCredentialKey(idToken);
12089
- await invokeAsync(this.browserStorage.setUserData.bind(this.browserStorage), PerformanceEvents.SetUserData, this.logger, this.performanceClient)(idTokenKey, JSON.stringify(idToken), correlationId);
12090
- this.addTokenKey(idTokenKey, CredentialType.ID_TOKEN);
12145
+ const timestamp = Date.now().toString();
12146
+ idToken.lastUpdatedAt = timestamp;
12147
+ await this.setUserData(idTokenKey, JSON.stringify(idToken), correlationId, timestamp);
12148
+ const tokenKeys = this.getTokenKeys();
12149
+ if (tokenKeys.idToken.indexOf(idTokenKey) === -1) {
12150
+ this.logger.info("BrowserCacheManager: addTokenKey - idToken added to map");
12151
+ tokenKeys.idToken.push(idTokenKey);
12152
+ this.setTokenKeys(tokenKeys, correlationId);
12153
+ }
12091
12154
  }
12092
12155
  /**
12093
12156
  * generates accessToken entity from a string
12094
12157
  * @param key
12095
12158
  */
12096
- getAccessTokenCredential(accessTokenKey) {
12159
+ getAccessTokenCredential(accessTokenKey, correlationId) {
12097
12160
  const value = this.browserStorage.getUserData(accessTokenKey);
12098
12161
  if (!value) {
12099
12162
  this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit");
12100
- this.removeTokenKey(accessTokenKey, CredentialType.ACCESS_TOKEN);
12163
+ this.removeAccessTokenKeys([accessTokenKey], correlationId);
12101
12164
  return null;
12102
12165
  }
12103
12166
  const parsedAccessToken = this.validateAndParseJson(value);
12104
12167
  if (!parsedAccessToken ||
12105
12168
  !isAccessTokenEntity(parsedAccessToken)) {
12106
12169
  this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit");
12107
- this.removeTokenKey(accessTokenKey, CredentialType.ACCESS_TOKEN);
12108
12170
  return null;
12109
12171
  }
12110
12172
  this.logger.trace("BrowserCacheManager.getAccessTokenCredential: cache hit");
@@ -12117,25 +12179,33 @@
12117
12179
  async setAccessTokenCredential(accessToken, correlationId) {
12118
12180
  this.logger.trace("BrowserCacheManager.setAccessTokenCredential called");
12119
12181
  const accessTokenKey = generateCredentialKey(accessToken);
12120
- await invokeAsync(this.browserStorage.setUserData.bind(this.browserStorage), PerformanceEvents.SetUserData, this.logger, this.performanceClient)(accessTokenKey, JSON.stringify(accessToken), correlationId);
12121
- this.addTokenKey(accessTokenKey, CredentialType.ACCESS_TOKEN);
12182
+ const timestamp = Date.now().toString();
12183
+ accessToken.lastUpdatedAt = timestamp;
12184
+ await this.setUserData(accessTokenKey, JSON.stringify(accessToken), correlationId, timestamp);
12185
+ const tokenKeys = this.getTokenKeys();
12186
+ const index = tokenKeys.accessToken.indexOf(accessTokenKey);
12187
+ if (index !== -1) {
12188
+ tokenKeys.accessToken.splice(index, 1); // Remove existing key before pushing to the end
12189
+ }
12190
+ this.logger.trace(`access token ${index === -1 ? "added to" : "updated in"} map`);
12191
+ tokenKeys.accessToken.push(accessTokenKey);
12192
+ this.setTokenKeys(tokenKeys, correlationId);
12122
12193
  }
12123
12194
  /**
12124
12195
  * generates refreshToken entity from a string
12125
12196
  * @param refreshTokenKey
12126
12197
  */
12127
- getRefreshTokenCredential(refreshTokenKey) {
12198
+ getRefreshTokenCredential(refreshTokenKey, correlationId) {
12128
12199
  const value = this.browserStorage.getUserData(refreshTokenKey);
12129
12200
  if (!value) {
12130
12201
  this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit");
12131
- this.removeTokenKey(refreshTokenKey, CredentialType.REFRESH_TOKEN);
12202
+ this.removeRefreshToken(refreshTokenKey, correlationId);
12132
12203
  return null;
12133
12204
  }
12134
12205
  const parsedRefreshToken = this.validateAndParseJson(value);
12135
12206
  if (!parsedRefreshToken ||
12136
12207
  !isRefreshTokenEntity(parsedRefreshToken)) {
12137
12208
  this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit");
12138
- this.removeTokenKey(refreshTokenKey, CredentialType.REFRESH_TOKEN);
12139
12209
  return null;
12140
12210
  }
12141
12211
  this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: cache hit");
@@ -12148,8 +12218,15 @@
12148
12218
  async setRefreshTokenCredential(refreshToken, correlationId) {
12149
12219
  this.logger.trace("BrowserCacheManager.setRefreshTokenCredential called");
12150
12220
  const refreshTokenKey = generateCredentialKey(refreshToken);
12151
- await invokeAsync(this.browserStorage.setUserData.bind(this.browserStorage), PerformanceEvents.SetUserData, this.logger, this.performanceClient)(refreshTokenKey, JSON.stringify(refreshToken), correlationId);
12152
- this.addTokenKey(refreshTokenKey, CredentialType.REFRESH_TOKEN);
12221
+ const timestamp = Date.now().toString();
12222
+ refreshToken.lastUpdatedAt = timestamp;
12223
+ await this.setUserData(refreshTokenKey, JSON.stringify(refreshToken), correlationId, timestamp);
12224
+ const tokenKeys = this.getTokenKeys();
12225
+ if (tokenKeys.refreshToken.indexOf(refreshTokenKey) === -1) {
12226
+ this.logger.info("BrowserCacheManager: addTokenKey - refreshToken added to map");
12227
+ tokenKeys.refreshToken.push(refreshTokenKey);
12228
+ this.setTokenKeys(tokenKeys, correlationId);
12229
+ }
12153
12230
  }
12154
12231
  /**
12155
12232
  * fetch appMetadata entity from the platform cache
@@ -12174,10 +12251,10 @@
12174
12251
  * set appMetadata entity to the platform cache
12175
12252
  * @param appMetadata
12176
12253
  */
12177
- setAppMetadata(appMetadata) {
12254
+ setAppMetadata(appMetadata, correlationId) {
12178
12255
  this.logger.trace("BrowserCacheManager.setAppMetadata called");
12179
12256
  const appMetadataKey = generateAppMetadataKey(appMetadata);
12180
- this.browserStorage.setItem(appMetadataKey, JSON.stringify(appMetadata));
12257
+ this.setItem(appMetadataKey, JSON.stringify(appMetadata), correlationId);
12181
12258
  }
12182
12259
  /**
12183
12260
  * fetch server telemetry entity from the platform cache
@@ -12203,9 +12280,9 @@
12203
12280
  * @param serverTelemetryKey
12204
12281
  * @param serverTelemetry
12205
12282
  */
12206
- setServerTelemetry(serverTelemetryKey, serverTelemetry) {
12283
+ setServerTelemetry(serverTelemetryKey, serverTelemetry, correlationId) {
12207
12284
  this.logger.trace("BrowserCacheManager.setServerTelemetry called");
12208
- this.browserStorage.setItem(serverTelemetryKey, JSON.stringify(serverTelemetry));
12285
+ this.setItem(serverTelemetryKey, JSON.stringify(serverTelemetry), correlationId);
12209
12286
  }
12210
12287
  /**
12211
12288
  *
@@ -12263,7 +12340,7 @@
12263
12340
  /**
12264
12341
  * Gets the active account
12265
12342
  */
12266
- getActiveAccount() {
12343
+ getActiveAccount(correlationId) {
12267
12344
  const activeAccountKeyFilters = this.generateCacheKey(PersistentCacheKeys.ACTIVE_ACCOUNT_FILTERS);
12268
12345
  const activeAccountValueFilters = this.browserStorage.getItem(activeAccountKeyFilters);
12269
12346
  if (!activeAccountValueFilters) {
@@ -12277,7 +12354,7 @@
12277
12354
  homeAccountId: activeAccountValueObj.homeAccountId,
12278
12355
  localAccountId: activeAccountValueObj.localAccountId,
12279
12356
  tenantId: activeAccountValueObj.tenantId,
12280
- });
12357
+ }, correlationId);
12281
12358
  }
12282
12359
  this.logger.trace("BrowserCacheManager.getActiveAccount: No active account found");
12283
12360
  return null;
@@ -12286,7 +12363,7 @@
12286
12363
  * Sets the active account's localAccountId in cache
12287
12364
  * @param account
12288
12365
  */
12289
- setActiveAccount(account) {
12366
+ setActiveAccount(account, correlationId) {
12290
12367
  const activeAccountKey = this.generateCacheKey(PersistentCacheKeys.ACTIVE_ACCOUNT_FILTERS);
12291
12368
  if (account) {
12292
12369
  this.logger.verbose("setActiveAccount: Active account set");
@@ -12294,8 +12371,9 @@
12294
12371
  homeAccountId: account.homeAccountId,
12295
12372
  localAccountId: account.localAccountId,
12296
12373
  tenantId: account.tenantId,
12374
+ lastUpdatedAt: nowSeconds().toString(),
12297
12375
  };
12298
- this.browserStorage.setItem(activeAccountKey, JSON.stringify(activeAccountValue));
12376
+ this.setItem(activeAccountKey, JSON.stringify(activeAccountValue), correlationId);
12299
12377
  }
12300
12378
  else {
12301
12379
  this.logger.verbose("setActiveAccount: No account passed, active account not set");
@@ -12327,9 +12405,9 @@
12327
12405
  * @param throttlingCacheKey
12328
12406
  * @param throttlingCache
12329
12407
  */
12330
- setThrottlingCache(throttlingCacheKey, throttlingCache) {
12408
+ setThrottlingCache(throttlingCacheKey, throttlingCache, correlationId) {
12331
12409
  this.logger.trace("BrowserCacheManager.setThrottlingCache called");
12332
- this.browserStorage.setItem(throttlingCacheKey, JSON.stringify(throttlingCache));
12410
+ this.setItem(throttlingCacheKey, JSON.stringify(throttlingCache), correlationId);
12333
12411
  }
12334
12412
  /**
12335
12413
  * Gets cache item with given key.
@@ -12405,10 +12483,10 @@
12405
12483
  /**
12406
12484
  * Clears all cache entries created by MSAL.
12407
12485
  */
12408
- async clear() {
12486
+ clear(correlationId) {
12409
12487
  // Removes all accounts and their credentials
12410
- await this.removeAllAccounts();
12411
- this.removeAppMetadata();
12488
+ this.removeAllAccounts(correlationId);
12489
+ this.removeAppMetadata(correlationId);
12412
12490
  // Remove temp storage first to make sure any cookies are cleared
12413
12491
  this.temporaryCacheStorage.getKeys().forEach((cacheKey) => {
12414
12492
  if (cacheKey.indexOf(Constants.CACHE_PREFIX) !== -1 ||
@@ -12431,22 +12509,22 @@
12431
12509
  * @param correlationId {string} correlation id
12432
12510
  * @returns
12433
12511
  */
12434
- async clearTokensAndKeysWithClaims(performanceClient, correlationId) {
12435
- performanceClient.addQueueMeasurement(PerformanceEvents.ClearTokensAndKeysWithClaims, correlationId);
12512
+ clearTokensAndKeysWithClaims(correlationId) {
12513
+ this.performanceClient.addQueueMeasurement(PerformanceEvents.ClearTokensAndKeysWithClaims, correlationId);
12436
12514
  const tokenKeys = this.getTokenKeys();
12437
- const removedAccessTokens = [];
12515
+ let removedAccessTokens = 0;
12438
12516
  tokenKeys.accessToken.forEach((key) => {
12439
12517
  // if the access token has claims in its key, remove the token key and the token
12440
- const credential = this.getAccessTokenCredential(key);
12518
+ const credential = this.getAccessTokenCredential(key, correlationId);
12441
12519
  if (credential?.requestedClaimsHash &&
12442
12520
  key.includes(credential.requestedClaimsHash.toLowerCase())) {
12443
- removedAccessTokens.push(this.removeAccessToken(key));
12521
+ this.removeAccessToken(key, correlationId);
12522
+ removedAccessTokens++;
12444
12523
  }
12445
12524
  });
12446
- await Promise.all(removedAccessTokens);
12447
12525
  // warn if any access tokens are removed
12448
- if (removedAccessTokens.length > 0) {
12449
- this.logger.warning(`${removedAccessTokens.length} access tokens with claims in the cache keys have been removed from the cache.`);
12526
+ if (removedAccessTokens > 0) {
12527
+ this.logger.warning(`${removedAccessTokens} access tokens with claims in the cache keys have been removed from the cache.`);
12450
12528
  }
12451
12529
  }
12452
12530
  /**
@@ -12673,22 +12751,24 @@
12673
12751
  * @param accountFilter - (Optional) filter to narrow down the accounts returned
12674
12752
  * @returns Array of AccountInfo objects in cache
12675
12753
  */
12676
- function getAllAccounts(logger, browserStorage, isInBrowser, accountFilter) {
12754
+ function getAllAccounts(logger, browserStorage, isInBrowser, correlationId, accountFilter) {
12677
12755
  logger.verbose("getAllAccounts called");
12678
- return isInBrowser ? browserStorage.getAllAccounts(accountFilter) : [];
12756
+ return isInBrowser
12757
+ ? browserStorage.getAllAccounts(accountFilter || {}, correlationId)
12758
+ : [];
12679
12759
  }
12680
12760
  /**
12681
12761
  * Returns the first account found in the cache that matches the account filter passed in.
12682
12762
  * @param accountFilter
12683
12763
  * @returns The first account found in the cache matching the provided filter or null if no account could be found.
12684
12764
  */
12685
- function getAccount(accountFilter, logger, browserStorage) {
12765
+ function getAccount(accountFilter, logger, browserStorage, correlationId) {
12686
12766
  logger.trace("getAccount called");
12687
12767
  if (Object.keys(accountFilter).length === 0) {
12688
12768
  logger.warning("getAccount: No accountFilter provided");
12689
12769
  return null;
12690
12770
  }
12691
- const account = browserStorage.getAccountInfoFilteredBy(accountFilter);
12771
+ const account = browserStorage.getAccountInfoFilteredBy(accountFilter, correlationId);
12692
12772
  if (account) {
12693
12773
  logger.verbose("getAccount: Account matching provided filter found, returning");
12694
12774
  return account;
@@ -12706,7 +12786,7 @@
12706
12786
  * @param username
12707
12787
  * @returns The account object stored in MSAL
12708
12788
  */
12709
- function getAccountByUsername(username, logger, browserStorage) {
12789
+ function getAccountByUsername(username, logger, browserStorage, correlationId) {
12710
12790
  logger.trace("getAccountByUsername called");
12711
12791
  if (!username) {
12712
12792
  logger.warning("getAccountByUsername: No username provided");
@@ -12714,7 +12794,7 @@
12714
12794
  }
12715
12795
  const account = browserStorage.getAccountInfoFilteredBy({
12716
12796
  username,
12717
- });
12797
+ }, correlationId);
12718
12798
  if (account) {
12719
12799
  logger.verbose("getAccountByUsername: Account matching username found, returning");
12720
12800
  logger.verbosePii(`getAccountByUsername: Returning signed-in accounts matching username: ${username}`);
@@ -12732,7 +12812,7 @@
12732
12812
  * @param homeAccountId
12733
12813
  * @returns The account object stored in MSAL
12734
12814
  */
12735
- function getAccountByHomeId(homeAccountId, logger, browserStorage) {
12815
+ function getAccountByHomeId(homeAccountId, logger, browserStorage, correlationId) {
12736
12816
  logger.trace("getAccountByHomeId called");
12737
12817
  if (!homeAccountId) {
12738
12818
  logger.warning("getAccountByHomeId: No homeAccountId provided");
@@ -12740,7 +12820,7 @@
12740
12820
  }
12741
12821
  const account = browserStorage.getAccountInfoFilteredBy({
12742
12822
  homeAccountId,
12743
- });
12823
+ }, correlationId);
12744
12824
  if (account) {
12745
12825
  logger.verbose("getAccountByHomeId: Account matching homeAccountId found, returning");
12746
12826
  logger.verbosePii(`getAccountByHomeId: Returning signed-in accounts matching homeAccountId: ${homeAccountId}`);
@@ -12758,7 +12838,7 @@
12758
12838
  * @param localAccountId
12759
12839
  * @returns The account object stored in MSAL
12760
12840
  */
12761
- function getAccountByLocalId(localAccountId, logger, browserStorage) {
12841
+ function getAccountByLocalId(localAccountId, logger, browserStorage, correlationId) {
12762
12842
  logger.trace("getAccountByLocalId called");
12763
12843
  if (!localAccountId) {
12764
12844
  logger.warning("getAccountByLocalId: No localAccountId provided");
@@ -12766,7 +12846,7 @@
12766
12846
  }
12767
12847
  const account = browserStorage.getAccountInfoFilteredBy({
12768
12848
  localAccountId,
12769
- });
12849
+ }, correlationId);
12770
12850
  if (account) {
12771
12851
  logger.verbose("getAccountByLocalId: Account matching localAccountId found, returning");
12772
12852
  logger.verbosePii(`getAccountByLocalId: Returning signed-in accounts matching localAccountId: ${localAccountId}`);
@@ -12781,14 +12861,14 @@
12781
12861
  * 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.
12782
12862
  * @param account
12783
12863
  */
12784
- function setActiveAccount(account, browserStorage) {
12785
- browserStorage.setActiveAccount(account);
12864
+ function setActiveAccount(account, browserStorage, correlationId) {
12865
+ browserStorage.setActiveAccount(account, correlationId);
12786
12866
  }
12787
12867
  /**
12788
12868
  * Gets the currently active account
12789
12869
  */
12790
- function getActiveAccount(browserStorage) {
12791
- return browserStorage.getActiveAccount();
12870
+ function getActiveAccount(browserStorage, correlationId) {
12871
+ return browserStorage.getActiveAccount(correlationId);
12792
12872
  }
12793
12873
 
12794
12874
  /*
@@ -12912,15 +12992,15 @@
12912
12992
  this.logger = logger.clone(BrowserConstants.MSAL_SKU, version, this.correlationId);
12913
12993
  this.performanceClient = performanceClient;
12914
12994
  }
12915
- async clearCacheOnLogout(account) {
12995
+ async clearCacheOnLogout(correlationId, account) {
12916
12996
  if (account) {
12917
- if (AccountEntity.accountInfoIsEqual(account, this.browserStorage.getActiveAccount(), false)) {
12997
+ if (AccountEntity.accountInfoIsEqual(account, this.browserStorage.getActiveAccount(correlationId), false)) {
12918
12998
  this.logger.verbose("Setting active account to null");
12919
- this.browserStorage.setActiveAccount(null);
12999
+ this.browserStorage.setActiveAccount(null, correlationId);
12920
13000
  }
12921
13001
  // Clear given account.
12922
13002
  try {
12923
- await this.browserStorage.removeAccount(AccountEntity.generateAccountCacheKey(account));
13003
+ this.browserStorage.removeAccount(AccountEntity.generateAccountCacheKey(account), correlationId);
12924
13004
  this.logger.verbose("Cleared cache items belonging to the account provided in the logout request.");
12925
13005
  }
12926
13006
  catch (error) {
@@ -12931,7 +13011,7 @@
12931
13011
  try {
12932
13012
  this.logger.verbose("No account provided in logout request, clearing all cache items.", this.correlationId);
12933
13013
  // Clear all accounts and tokens
12934
- await this.browserStorage.clear();
13014
+ this.browserStorage.clear(correlationId);
12935
13015
  // Clear any stray keys from IndexedDB
12936
13016
  await this.browserCrypto.clearKeystore();
12937
13017
  }
@@ -13253,7 +13333,8 @@
13253
13333
  if (request.loginHint || request.sid) {
13254
13334
  return validatedRequest;
13255
13335
  }
13256
- const account = request.account || this.browserStorage.getActiveAccount();
13336
+ const account = request.account ||
13337
+ this.browserStorage.getActiveAccount(this.correlationId);
13257
13338
  if (account) {
13258
13339
  this.logger.verbose("Setting validated request account", this.correlationId);
13259
13340
  this.logger.verbosePii(`Setting validated request account: ${account.homeAccountId}`, this.correlationId);
@@ -13433,7 +13514,8 @@
13433
13514
  const NO_NETWORK = "NO_NETWORK";
13434
13515
  const PERSISTENT_ERROR = "PERSISTENT_ERROR";
13435
13516
  const DISABLED = "DISABLED";
13436
- const ACCOUNT_UNAVAILABLE = "ACCOUNT_UNAVAILABLE";
13517
+ const ACCOUNT_UNAVAILABLE = "ACCOUNT_UNAVAILABLE";
13518
+ const UX_NOT_ALLOWED = "UX_NOT_ALLOWED";
13437
13519
 
13438
13520
  /*
13439
13521
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -13491,6 +13573,8 @@
13491
13573
  return createBrowserAuthError(userCancelled);
13492
13574
  case NO_NETWORK:
13493
13575
  return createBrowserAuthError(noNetworkConnectivity);
13576
+ case UX_NOT_ALLOWED:
13577
+ return createInteractionRequiredAuthError(uxNotAllowed);
13494
13578
  }
13495
13579
  }
13496
13580
  return new NativeAuthError(code, NativeAuthErrorMessages[code] || description, ext);
@@ -13540,7 +13624,7 @@
13540
13624
  logout(logoutRequest) {
13541
13625
  this.logger.verbose("logoutRedirect called");
13542
13626
  const validLogoutRequest = this.initializeLogoutRequest(logoutRequest);
13543
- return this.clearCacheOnLogout(validLogoutRequest?.account);
13627
+ return this.clearCacheOnLogout(validLogoutRequest.correlationId, validLogoutRequest?.account);
13544
13628
  }
13545
13629
  }
13546
13630
 
@@ -13664,7 +13748,7 @@
13664
13748
  // fetch the account from browser cache
13665
13749
  const account = this.browserStorage.getBaseAccountInfo({
13666
13750
  nativeAccountId,
13667
- });
13751
+ }, this.correlationId);
13668
13752
  if (!account) {
13669
13753
  throw createClientAuthError(noAccountFound);
13670
13754
  }
@@ -13780,7 +13864,7 @@
13780
13864
  const homeAccountIdentifier = this.createHomeAccountIdentifier(response, idTokenClaims);
13781
13865
  const cachedhomeAccountId = this.browserStorage.getAccountInfoFilteredBy({
13782
13866
  nativeAccountId: request.accountId,
13783
- })?.homeAccountId;
13867
+ }, this.correlationId)?.homeAccountId;
13784
13868
  // add exception for double brokering, please note this is temporary and will be fortified in future
13785
13869
  if (request.extraParameters?.child_client_id &&
13786
13870
  response.account.id !== request.accountId) {
@@ -13795,7 +13879,7 @@
13795
13879
  const authority = await this.getDiscoveredAuthority({
13796
13880
  requestAuthority: request.authority,
13797
13881
  });
13798
- const baseAccount = buildAccountToCache(this.browserStorage, authority, homeAccountIdentifier, base64Decode, idTokenClaims, response.client_info, undefined, // environment
13882
+ const baseAccount = buildAccountToCache(this.browserStorage, authority, homeAccountIdentifier, base64Decode, this.correlationId, idTokenClaims, response.client_info, undefined, // environment
13799
13883
  idTokenClaims.tid, undefined, // auth code payload
13800
13884
  response.account.id, this.logger);
13801
13885
  // Ensure expires_in is in number format
@@ -13803,7 +13887,7 @@
13803
13887
  // generate authenticationResult
13804
13888
  const result = await this.generateAuthenticationResult(response, request, idTokenClaims, baseAccount, authority.canonicalAuthority, reqTimestamp);
13805
13889
  // cache accounts and tokens in the appropriate storage
13806
- await this.cacheAccount(baseAccount);
13890
+ await this.cacheAccount(baseAccount, this.correlationId);
13807
13891
  await this.cacheNativeTokens(response, request, homeAccountIdentifier, idTokenClaims, response.access_token, result.tenantId, reqTimestamp);
13808
13892
  return result;
13809
13893
  }
@@ -13927,13 +14011,11 @@
13927
14011
  * cache the account entity in browser storage
13928
14012
  * @param accountEntity
13929
14013
  */
13930
- async cacheAccount(accountEntity) {
14014
+ async cacheAccount(accountEntity, correlationId) {
13931
14015
  // Store the account info and hence `nativeAccountId` in browser cache
13932
14016
  await this.browserStorage.setAccount(accountEntity, this.correlationId);
13933
14017
  // Remove any existing cached tokens for this account in browser storage
13934
- this.browserStorage.removeAccountContext(accountEntity).catch((e) => {
13935
- this.logger.error(`Error occurred while removing account context from browser storage. ${e}`);
13936
- });
14018
+ this.browserStorage.removeAccountContext(accountEntity, correlationId);
13937
14019
  }
13938
14020
  /**
13939
14021
  * Stores the access_token and id_token in inmemory storage
@@ -14889,14 +14971,14 @@
14889
14971
  * @param authenticationScheme
14890
14972
  */
14891
14973
  function isPlatformAuthAllowed(config, logger, platformAuthProvider, authenticationScheme) {
14892
- logger.trace("isBrokerAvailable called");
14974
+ logger.trace("isPlatformAuthAllowed called");
14893
14975
  if (!config.system.allowPlatformBroker) {
14894
- logger.trace("isBrokerAvailable: allowPlatformBroker is not enabled, returning false");
14976
+ logger.trace("isPlatformAuthAllowed: allowPlatformBroker is not enabled, returning false");
14895
14977
  // Developer disabled WAM
14896
14978
  return false;
14897
14979
  }
14898
14980
  if (!platformAuthProvider) {
14899
- logger.trace("isBrokerAvailable: Platform auth provider is not initialized, returning false");
14981
+ logger.trace("isPlatformAuthAllowed: Platform auth provider is not initialized, returning false");
14900
14982
  // Platform broker auth providers are not available
14901
14983
  return false;
14902
14984
  }
@@ -14904,10 +14986,10 @@
14904
14986
  switch (authenticationScheme) {
14905
14987
  case AuthenticationScheme.BEARER:
14906
14988
  case AuthenticationScheme.POP:
14907
- logger.trace("isBrokerAvailable: authenticationScheme is supported, returning true");
14989
+ logger.trace("isPlatformAuthAllowed: authenticationScheme is supported, returning true");
14908
14990
  return true;
14909
14991
  default:
14910
- logger.trace("isBrokerAvailable: authenticationScheme is not supported, returning false");
14992
+ logger.trace("isPlatformAuthAllowed: authenticationScheme is not supported, returning false");
14911
14993
  return false;
14912
14994
  }
14913
14995
  }
@@ -15103,7 +15185,7 @@
15103
15185
  const serverTelemetryManager = this.initializeServerTelemetryManager(ApiId.logoutPopup);
15104
15186
  try {
15105
15187
  // Clear cache on logout
15106
- await this.clearCacheOnLogout(validRequest.account);
15188
+ await this.clearCacheOnLogout(this.correlationId, validRequest.account);
15107
15189
  // Initialize the client
15108
15190
  const authClient = await invokeAsync(this.createAuthCodeClient.bind(this), PerformanceEvents.StandardInteractionClientCreateAuthCodeClient, this.logger, this.performanceClient, this.correlationId)({
15109
15191
  serverTelemetryManager,
@@ -15117,7 +15199,7 @@
15117
15199
  if (validRequest.account?.homeAccountId &&
15118
15200
  validRequest.postLogoutRedirectUri &&
15119
15201
  authClient.authority.protocolMode === ProtocolMode.OIDC) {
15120
- void this.browserStorage.removeAccount(validRequest.account?.homeAccountId);
15202
+ this.browserStorage.removeAccount(validRequest.account?.homeAccountId, this.correlationId);
15121
15203
  this.eventHandler.emitEvent(EventType.LOGOUT_SUCCESS, exports.InteractionType.Popup, validRequest);
15122
15204
  if (mainWindowRedirectUri) {
15123
15205
  const navigationOptions = {
@@ -15481,6 +15563,11 @@
15481
15563
  this.browserStorage.cacheAuthorizeRequest(redirectRequest);
15482
15564
  const form = await getEARForm(document, this.config, discoveredAuthority, redirectRequest, this.logger, this.performanceClient);
15483
15565
  form.submit();
15566
+ return new Promise((resolve, reject) => {
15567
+ setTimeout(() => {
15568
+ reject(createBrowserAuthError(timedOut, "failed_to_redirect"));
15569
+ }, this.config.system.redirectNavigationTimeout);
15570
+ });
15484
15571
  }
15485
15572
  /**
15486
15573
  * Checks if navigateToLoginRequestUrl is set, and:
@@ -15695,7 +15782,7 @@
15695
15782
  try {
15696
15783
  this.eventHandler.emitEvent(EventType.LOGOUT_START, exports.InteractionType.Redirect, logoutRequest);
15697
15784
  // Clear cache on logout
15698
- await this.clearCacheOnLogout(validLogoutRequest.account);
15785
+ await this.clearCacheOnLogout(this.correlationId, validLogoutRequest.account);
15699
15786
  const navigationOptions = {
15700
15787
  apiId: ApiId.logout,
15701
15788
  timeout: this.config.system.redirectNavigationTimeout,
@@ -15713,7 +15800,7 @@
15713
15800
  }
15714
15801
  catch {
15715
15802
  if (validLogoutRequest.account?.homeAccountId) {
15716
- void this.browserStorage.removeAccount(validLogoutRequest.account?.homeAccountId);
15803
+ this.browserStorage.removeAccount(validLogoutRequest.account?.homeAccountId, this.correlationId);
15717
15804
  this.eventHandler.emitEvent(EventType.LOGOUT_SUCCESS, exports.InteractionType.Redirect, validLogoutRequest);
15718
15805
  return;
15719
15806
  }
@@ -16190,7 +16277,7 @@
16190
16277
  }
16191
16278
  const homeAccountId = AccountEntity.generateHomeAccountId(clientInfo, authority.authorityType, this.logger, this.cryptoObj, idTokenClaims);
16192
16279
  const claimsTenantId = idTokenClaims?.tid;
16193
- const cachedAccount = buildAccountToCache(this.storage, authority, homeAccountId, base64Decode, idTokenClaims, clientInfo, authority.hostnameAndPort, claimsTenantId, undefined, // authCodePayload
16280
+ const cachedAccount = buildAccountToCache(this.storage, authority, homeAccountId, base64Decode, correlationId, idTokenClaims, clientInfo, authority.hostnameAndPort, claimsTenantId, undefined, // authCodePayload
16194
16281
  undefined, // nativeAccountId
16195
16282
  this.logger);
16196
16283
  await this.storage.setAccount(cachedAccount, correlationId);
@@ -16553,7 +16640,7 @@
16553
16640
  }
16554
16641
  if (!this.config.cache.claimsBasedCachingEnabled) {
16555
16642
  this.logger.verbose("Claims-based caching is disabled. Clearing the previous cache with claims");
16556
- await invokeAsync(this.browserStorage.clearTokensAndKeysWithClaims.bind(this.browserStorage), PerformanceEvents.ClearTokensAndKeysWithClaims, this.logger, this.performanceClient, initCorrelationId)(this.performanceClient, initCorrelationId);
16643
+ invoke(this.browserStorage.clearTokensAndKeysWithClaims.bind(this.browserStorage), PerformanceEvents.ClearTokensAndKeysWithClaims, this.logger, this.performanceClient, initCorrelationId)(initCorrelationId);
16557
16644
  }
16558
16645
  this.config.system.asyncPopups &&
16559
16646
  (await this.preGeneratePkceCodes(initCorrelationId));
@@ -17228,7 +17315,8 @@
17228
17315
  * @returns Array of AccountInfo objects in cache
17229
17316
  */
17230
17317
  getAllAccounts(accountFilter) {
17231
- return getAllAccounts(this.logger, this.browserStorage, this.isBrowserEnvironment, accountFilter);
17318
+ const correlationId = this.getRequestCorrelationId();
17319
+ return getAllAccounts(this.logger, this.browserStorage, this.isBrowserEnvironment, correlationId, accountFilter);
17232
17320
  }
17233
17321
  /**
17234
17322
  * Returns the first account found in the cache that matches the account filter passed in.
@@ -17236,7 +17324,8 @@
17236
17324
  * @returns The first account found in the cache matching the provided filter or null if no account could be found.
17237
17325
  */
17238
17326
  getAccount(accountFilter) {
17239
- return getAccount(accountFilter, this.logger, this.browserStorage);
17327
+ const correlationId = this.getRequestCorrelationId();
17328
+ return getAccount(accountFilter, this.logger, this.browserStorage, correlationId);
17240
17329
  }
17241
17330
  /**
17242
17331
  * Returns the signed in account matching username.
@@ -17247,7 +17336,8 @@
17247
17336
  * @returns The account object stored in MSAL
17248
17337
  */
17249
17338
  getAccountByUsername(username) {
17250
- return getAccountByUsername(username, this.logger, this.browserStorage);
17339
+ const correlationId = this.getRequestCorrelationId();
17340
+ return getAccountByUsername(username, this.logger, this.browserStorage, correlationId);
17251
17341
  }
17252
17342
  /**
17253
17343
  * Returns the signed in account matching homeAccountId.
@@ -17257,7 +17347,8 @@
17257
17347
  * @returns The account object stored in MSAL
17258
17348
  */
17259
17349
  getAccountByHomeId(homeAccountId) {
17260
- return getAccountByHomeId(homeAccountId, this.logger, this.browserStorage);
17350
+ const correlationId = this.getRequestCorrelationId();
17351
+ return getAccountByHomeId(homeAccountId, this.logger, this.browserStorage, correlationId);
17261
17352
  }
17262
17353
  /**
17263
17354
  * Returns the signed in account matching localAccountId.
@@ -17267,20 +17358,23 @@
17267
17358
  * @returns The account object stored in MSAL
17268
17359
  */
17269
17360
  getAccountByLocalId(localAccountId) {
17270
- return getAccountByLocalId(localAccountId, this.logger, this.browserStorage);
17361
+ const correlationId = this.getRequestCorrelationId();
17362
+ return getAccountByLocalId(localAccountId, this.logger, this.browserStorage, correlationId);
17271
17363
  }
17272
17364
  /**
17273
17365
  * 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.
17274
17366
  * @param account
17275
17367
  */
17276
17368
  setActiveAccount(account) {
17277
- setActiveAccount(account, this.browserStorage);
17369
+ const correlationId = this.getRequestCorrelationId();
17370
+ setActiveAccount(account, this.browserStorage, correlationId);
17278
17371
  }
17279
17372
  /**
17280
17373
  * Gets the currently active account
17281
17374
  */
17282
17375
  getActiveAccount() {
17283
- return getActiveAccount(this.browserStorage);
17376
+ const correlationId = this.getRequestCorrelationId();
17377
+ return getActiveAccount(this.browserStorage, correlationId);
17284
17378
  }
17285
17379
  // #endregion
17286
17380
  /**
@@ -17620,9 +17714,7 @@
17620
17714
  async acquireTokenSilentDeduped(request, account, correlationId) {
17621
17715
  const thumbprint = getRequestThumbprint(this.config.auth.clientId, {
17622
17716
  ...request,
17623
- authority: request.authority || this.config.auth.authority,
17624
- correlationId: correlationId,
17625
- }, account.homeAccountId);
17717
+ authority: request.authority || this.config.auth.authority}, account.homeAccountId);
17626
17718
  const silentRequestKey = JSON.stringify(thumbprint);
17627
17719
  const inProgressRequest = this.activeSilentTokenRequests.get(silentRequestKey);
17628
17720
  if (typeof inProgressRequest === "undefined") {
@@ -18284,8 +18376,9 @@
18284
18376
  // always prioritize the account context from the bridge
18285
18377
  const accountContext = this.bridgeProxy.getAccountContext() || this.currentAccountContext;
18286
18378
  let currentAccount = null;
18379
+ const correlationId = request.correlationId || this.browserCrypto.createNewGuid();
18287
18380
  if (accountContext) {
18288
- currentAccount = getAccount(accountContext, this.logger, this.browserStorage);
18381
+ currentAccount = getAccount(accountContext, this.logger, this.browserStorage, correlationId);
18289
18382
  }
18290
18383
  // fall back to brokering if no cached account is found
18291
18384
  if (!currentAccount) {
@@ -18303,7 +18396,7 @@
18303
18396
  };
18304
18397
  // fetch access token and check for expiry
18305
18398
  const tokenKeys = this.browserStorage.getTokenKeys();
18306
- const cachedAccessToken = this.browserStorage.getAccessToken(currentAccount, authRequest, tokenKeys, currentAccount.tenantId, this.performanceClient, authRequest.correlationId);
18399
+ const cachedAccessToken = this.browserStorage.getAccessToken(currentAccount, authRequest, tokenKeys, currentAccount.tenantId);
18307
18400
  // If there is no access token, log it and return null
18308
18401
  if (!cachedAccessToken) {
18309
18402
  this.logger.verbose("No cached access token found");
@@ -18314,7 +18407,7 @@
18314
18407
  this.logger.verbose("Cached access token has expired");
18315
18408
  return Promise.resolve(null);
18316
18409
  }
18317
- const cachedIdToken = this.browserStorage.getIdToken(currentAccount, tokenKeys, currentAccount.tenantId, this.performanceClient, authRequest.correlationId);
18410
+ const cachedIdToken = this.browserStorage.getIdToken(currentAccount, authRequest.correlationId, tokenKeys, currentAccount.tenantId, this.performanceClient);
18318
18411
  if (!cachedIdToken) {
18319
18412
  this.logger.verbose("No cached id token found");
18320
18413
  return Promise.resolve(null);
@@ -18411,7 +18504,8 @@
18411
18504
  * @returns Array of AccountInfo objects in cache
18412
18505
  */
18413
18506
  getAllAccounts(accountFilter) {
18414
- return getAllAccounts(this.logger, this.browserStorage, this.isBrowserEnv(), accountFilter);
18507
+ const correlationId = this.browserCrypto.createNewGuid();
18508
+ return getAllAccounts(this.logger, this.browserStorage, this.isBrowserEnv(), correlationId, accountFilter);
18415
18509
  }
18416
18510
  /**
18417
18511
  * Returns the first account found in the cache that matches the account filter passed in.
@@ -18419,7 +18513,8 @@
18419
18513
  * @returns The first account found in the cache matching the provided filter or null if no account could be found.
18420
18514
  */
18421
18515
  getAccount(accountFilter) {
18422
- return getAccount(accountFilter, this.logger, this.browserStorage);
18516
+ const correlationId = this.browserCrypto.createNewGuid();
18517
+ return getAccount(accountFilter, this.logger, this.browserStorage, correlationId);
18423
18518
  }
18424
18519
  /**
18425
18520
  * Returns the signed in account matching username.
@@ -18430,7 +18525,8 @@
18430
18525
  * @returns The account object stored in MSAL
18431
18526
  */
18432
18527
  getAccountByUsername(username) {
18433
- return getAccountByUsername(username, this.logger, this.browserStorage);
18528
+ const correlationId = this.browserCrypto.createNewGuid();
18529
+ return getAccountByUsername(username, this.logger, this.browserStorage, correlationId);
18434
18530
  }
18435
18531
  /**
18436
18532
  * Returns the signed in account matching homeAccountId.
@@ -18440,7 +18536,8 @@
18440
18536
  * @returns The account object stored in MSAL
18441
18537
  */
18442
18538
  getAccountByHomeId(homeAccountId) {
18443
- return getAccountByHomeId(homeAccountId, this.logger, this.browserStorage);
18539
+ const correlationId = this.browserCrypto.createNewGuid();
18540
+ return getAccountByHomeId(homeAccountId, this.logger, this.browserStorage, correlationId);
18444
18541
  }
18445
18542
  /**
18446
18543
  * Returns the signed in account matching localAccountId.
@@ -18450,7 +18547,8 @@
18450
18547
  * @returns The account object stored in MSAL
18451
18548
  */
18452
18549
  getAccountByLocalId(localAccountId) {
18453
- return getAccountByLocalId(localAccountId, this.logger, this.browserStorage);
18550
+ const correlationId = this.browserCrypto.createNewGuid();
18551
+ return getAccountByLocalId(localAccountId, this.logger, this.browserStorage, correlationId);
18454
18552
  }
18455
18553
  /**
18456
18554
  * 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.
@@ -18461,13 +18559,15 @@
18461
18559
  * StandardController uses this to allow the developer to set the active account
18462
18560
  * in the nested app auth scenario the active account is controlled by the app hosting the nested app
18463
18561
  */
18464
- return setActiveAccount(account, this.browserStorage);
18562
+ const correlationId = this.browserCrypto.createNewGuid();
18563
+ return setActiveAccount(account, this.browserStorage, correlationId);
18465
18564
  }
18466
18565
  /**
18467
18566
  * Gets the currently active account
18468
18567
  */
18469
18568
  getActiveAccount() {
18470
- return getActiveAccount(this.browserStorage);
18569
+ const correlationId = this.browserCrypto.createNewGuid();
18570
+ return getActiveAccount(this.browserStorage, correlationId);
18471
18571
  }
18472
18572
  // #endregion
18473
18573
  handleRedirectPromise(hash // eslint-disable-line @typescript-eslint/no-unused-vars
@@ -19816,7 +19916,20 @@
19816
19916
  * @returns If keys are properly deleted
19817
19917
  */
19818
19918
  async removeKeys(publicKeyThumbprint) {
19819
- return this.cryptoOps.removeTokenBindingKey(publicKeyThumbprint);
19919
+ return this.cryptoOps
19920
+ .removeTokenBindingKey(publicKeyThumbprint)
19921
+ .then(() => true)
19922
+ .catch((error) => {
19923
+ /*
19924
+ * @deprecated - To maintain public API signature, we return false if the error is due to the key still being present in indexedDB.
19925
+ */
19926
+ if (error instanceof ClientAuthError &&
19927
+ error.errorCode ===
19928
+ bindingKeyNotRemoved) {
19929
+ return false;
19930
+ }
19931
+ throw error;
19932
+ });
19820
19933
  }
19821
19934
  }
19822
19935