@azure/msal-browser 5.7.0 → 5.8.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 (799) hide show
  1. package/dist/app/IPublicClientApplication.mjs +1 -1
  2. package/dist/app/PublicClientApplication.mjs +1 -1
  3. package/dist/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
  4. package/dist/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
  5. package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +2 -2
  6. package/dist/broker/nativeBroker/PlatformAuthExtensionHandler.mjs.map +1 -1
  7. package/dist/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
  8. package/dist/cache/AccountManager.mjs +1 -1
  9. package/dist/cache/AsyncMemoryStorage.mjs +1 -1
  10. package/dist/cache/BrowserCacheManager.d.ts +2 -4
  11. package/dist/cache/BrowserCacheManager.d.ts.map +1 -1
  12. package/dist/cache/BrowserCacheManager.mjs +6 -6
  13. package/dist/cache/BrowserCacheManager.mjs.map +1 -1
  14. package/dist/cache/CacheHelpers.mjs +1 -1
  15. package/dist/cache/CacheKeys.d.ts +2 -2
  16. package/dist/cache/CacheKeys.mjs +3 -3
  17. package/dist/cache/CookieStorage.mjs +1 -1
  18. package/dist/cache/DatabaseStorage.mjs +1 -1
  19. package/dist/cache/EncryptedData.mjs +1 -1
  20. package/dist/cache/LocalStorage.mjs +1 -1
  21. package/dist/cache/MemoryStorage.mjs +1 -1
  22. package/dist/cache/SessionStorage.mjs +1 -1
  23. package/dist/cache/TokenCache.mjs +1 -1
  24. package/dist/config/Configuration.mjs +1 -1
  25. package/dist/controllers/NestedAppAuthController.mjs +1 -1
  26. package/dist/controllers/StandardController.d.ts.map +1 -1
  27. package/dist/controllers/StandardController.mjs +25 -6
  28. package/dist/controllers/StandardController.mjs.map +1 -1
  29. package/dist/crypto/BrowserCrypto.mjs +1 -1
  30. package/dist/crypto/CryptoOps.mjs +1 -1
  31. package/dist/crypto/PkceGenerator.mjs +1 -1
  32. package/dist/crypto/SignedHttpRequest.mjs +1 -1
  33. package/dist/custom-auth-path/app/PublicClientApplication.mjs +1 -1
  34. package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
  35. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
  36. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +2 -2
  37. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs.map +1 -1
  38. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
  39. package/dist/custom-auth-path/cache/AccountManager.mjs +1 -1
  40. package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs +1 -1
  41. package/dist/custom-auth-path/cache/BrowserCacheManager.d.ts +2 -4
  42. package/dist/custom-auth-path/cache/BrowserCacheManager.d.ts.map +1 -1
  43. package/dist/custom-auth-path/cache/BrowserCacheManager.mjs +6 -6
  44. package/dist/custom-auth-path/cache/BrowserCacheManager.mjs.map +1 -1
  45. package/dist/custom-auth-path/cache/CacheHelpers.mjs +1 -1
  46. package/dist/custom-auth-path/cache/CacheKeys.d.ts +2 -2
  47. package/dist/custom-auth-path/cache/CacheKeys.mjs +3 -3
  48. package/dist/custom-auth-path/cache/CookieStorage.mjs +1 -1
  49. package/dist/custom-auth-path/cache/DatabaseStorage.mjs +1 -1
  50. package/dist/custom-auth-path/cache/EncryptedData.mjs +1 -1
  51. package/dist/custom-auth-path/cache/LocalStorage.mjs +1 -1
  52. package/dist/custom-auth-path/cache/MemoryStorage.mjs +1 -1
  53. package/dist/custom-auth-path/cache/SessionStorage.mjs +1 -1
  54. package/dist/custom-auth-path/config/Configuration.mjs +1 -1
  55. package/dist/custom-auth-path/controllers/StandardController.d.ts.map +1 -1
  56. package/dist/custom-auth-path/controllers/StandardController.mjs +25 -6
  57. package/dist/custom-auth-path/controllers/StandardController.mjs.map +1 -1
  58. package/dist/custom-auth-path/crypto/BrowserCrypto.mjs +1 -1
  59. package/dist/custom-auth-path/crypto/CryptoOps.mjs +1 -1
  60. package/dist/custom-auth-path/crypto/PkceGenerator.mjs +1 -1
  61. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts +1 -1
  62. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs +1 -1
  63. package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
  64. package/dist/custom-auth-path/custom_auth/UserAccountAttributes.d.ts +1 -0
  65. package/dist/custom-auth-path/custom_auth/UserAccountAttributes.d.ts.map +1 -1
  66. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +1 -1
  67. package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs +1 -1
  68. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +1 -1
  69. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
  70. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
  71. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +1 -1
  72. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +1 -1
  73. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
  74. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
  75. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
  76. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
  77. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
  78. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +1 -1
  79. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +1 -1
  80. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +1 -1
  81. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
  82. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
  83. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +1 -1
  84. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
  85. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs +1 -1
  86. package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs +1 -1
  87. package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
  88. package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
  89. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
  90. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
  91. package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
  92. package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
  93. package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
  94. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs +1 -1
  95. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
  96. package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs +1 -1
  97. package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
  98. package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
  99. package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
  100. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
  101. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
  102. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs +1 -1
  103. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +1 -1
  104. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.mjs +1 -1
  105. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +1 -1
  106. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
  107. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
  108. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
  109. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
  110. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
  111. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +1 -1
  112. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
  113. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
  114. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
  115. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
  116. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
  117. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs +1 -1
  118. package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
  119. package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs +1 -1
  120. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
  121. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
  122. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
  123. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
  124. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
  125. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
  126. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
  127. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
  128. package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
  129. package/dist/custom-auth-path/custom_auth/index.mjs +1 -1
  130. package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
  131. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
  132. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
  133. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
  134. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
  135. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
  136. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
  137. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
  138. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
  139. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
  140. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
  141. package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
  142. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
  143. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
  144. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
  145. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
  146. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
  147. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
  148. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +1 -1
  149. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
  150. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
  151. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
  152. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
  153. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
  154. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +1 -1
  155. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
  156. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
  157. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
  158. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
  159. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
  160. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
  161. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
  162. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
  163. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
  164. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
  165. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
  166. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
  167. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
  168. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
  169. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
  170. package/dist/custom-auth-path/encode/Base64Decode.mjs +1 -1
  171. package/dist/custom-auth-path/encode/Base64Encode.mjs +1 -1
  172. package/dist/custom-auth-path/error/BrowserAuthError.mjs +1 -1
  173. package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +1 -1
  174. package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs +1 -1
  175. package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  176. package/dist/custom-auth-path/error/NativeAuthError.mjs +1 -1
  177. package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +1 -1
  178. package/dist/custom-auth-path/event/EventHandler.mjs +1 -1
  179. package/dist/custom-auth-path/event/EventType.mjs +1 -1
  180. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +1 -1
  181. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  182. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts +1 -1
  183. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  184. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +18 -12
  185. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
  186. package/dist/custom-auth-path/interaction_client/PopupClient.mjs +1 -1
  187. package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +1 -1
  188. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +1 -1
  189. package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +1 -1
  190. package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +1 -1
  191. package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +1 -1
  192. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +1 -1
  193. package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +1 -1
  194. package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +1 -1
  195. package/dist/custom-auth-path/log-strings-mapping.json +4 -4
  196. package/dist/custom-auth-path/navigation/NavigationClient.mjs +1 -1
  197. package/dist/custom-auth-path/network/FetchClient.mjs +1 -1
  198. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +1 -1
  199. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +1 -1
  200. package/dist/custom-auth-path/packageMetadata.d.ts +1 -1
  201. package/dist/custom-auth-path/packageMetadata.mjs +2 -2
  202. package/dist/custom-auth-path/protocol/Authorize.mjs +1 -1
  203. package/dist/custom-auth-path/request/RequestHelpers.mjs +1 -1
  204. package/dist/custom-auth-path/response/ResponseHandler.mjs +1 -1
  205. package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.mjs +1 -1
  206. package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.mjs +1 -1
  207. package/dist/custom-auth-path/utils/BrowserConstants.mjs +1 -1
  208. package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +1 -1
  209. package/dist/custom-auth-path/utils/BrowserUtils.mjs +1 -1
  210. package/dist/custom-auth-path/utils/Helpers.mjs +1 -1
  211. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +1 -1
  212. package/dist/custom_auth/CustomAuthConstants.d.ts +1 -1
  213. package/dist/custom_auth/UserAccountAttributes.d.ts +1 -0
  214. package/dist/custom_auth/UserAccountAttributes.d.ts.map +1 -1
  215. package/dist/encode/Base64Decode.mjs +1 -1
  216. package/dist/encode/Base64Encode.mjs +1 -1
  217. package/dist/error/BrowserAuthError.mjs +1 -1
  218. package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
  219. package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
  220. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  221. package/dist/error/NativeAuthError.mjs +1 -1
  222. package/dist/error/NativeAuthErrorCodes.mjs +1 -1
  223. package/dist/error/NestedAppAuthError.mjs +1 -1
  224. package/dist/event/EventHandler.mjs +1 -1
  225. package/dist/event/EventMessage.mjs +1 -1
  226. package/dist/event/EventType.mjs +1 -1
  227. package/dist/index.mjs +1 -1
  228. package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
  229. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  230. package/dist/interaction_client/PlatformAuthInteractionClient.d.ts +1 -1
  231. package/dist/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  232. package/dist/interaction_client/PlatformAuthInteractionClient.mjs +18 -12
  233. package/dist/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
  234. package/dist/interaction_client/PopupClient.mjs +1 -1
  235. package/dist/interaction_client/RedirectClient.mjs +1 -1
  236. package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
  237. package/dist/interaction_client/SilentCacheClient.mjs +1 -1
  238. package/dist/interaction_client/SilentIframeClient.mjs +1 -1
  239. package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
  240. package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
  241. package/dist/interaction_handler/InteractionHandler.mjs +1 -1
  242. package/dist/interaction_handler/SilentHandler.mjs +1 -1
  243. package/dist/log-strings-mapping.json +4 -4
  244. package/dist/naa/BridgeError.mjs +1 -1
  245. package/dist/naa/BridgeProxy.mjs +1 -1
  246. package/dist/naa/BridgeStatusCode.mjs +1 -1
  247. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
  248. package/dist/navigation/NavigationClient.mjs +1 -1
  249. package/dist/network/FetchClient.mjs +1 -1
  250. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  251. package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
  252. package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
  253. package/dist/packageMetadata.d.ts +1 -1
  254. package/dist/packageMetadata.mjs +2 -2
  255. package/dist/protocol/Authorize.mjs +1 -1
  256. package/dist/redirect-bridge/cache/BrowserCacheManager.d.ts +2 -4
  257. package/dist/redirect-bridge/cache/BrowserCacheManager.d.ts.map +1 -1
  258. package/dist/redirect-bridge/cache/CacheKeys.d.ts +2 -2
  259. package/dist/redirect-bridge/cache/CacheKeys.mjs +1 -1
  260. package/dist/redirect-bridge/config/Configuration.mjs +1 -1
  261. package/dist/redirect-bridge/controllers/StandardController.d.ts.map +1 -1
  262. package/dist/redirect-bridge/custom_auth/CustomAuthConstants.d.ts +1 -1
  263. package/dist/redirect-bridge/custom_auth/UserAccountAttributes.d.ts +1 -0
  264. package/dist/redirect-bridge/custom_auth/UserAccountAttributes.d.ts.map +1 -1
  265. package/dist/redirect-bridge/encode/Base64Decode.mjs +1 -1
  266. package/dist/redirect-bridge/error/BrowserAuthError.mjs +1 -1
  267. package/dist/redirect-bridge/error/BrowserAuthErrorCodes.mjs +1 -1
  268. package/dist/redirect-bridge/interaction_client/PlatformAuthInteractionClient.d.ts +1 -1
  269. package/dist/redirect-bridge/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  270. package/dist/redirect-bridge/navigation/NavigationClient.mjs +1 -1
  271. package/dist/redirect-bridge/packageMetadata.d.ts +1 -1
  272. package/dist/redirect-bridge/redirect_bridge/index.mjs +1 -1
  273. package/dist/redirect-bridge/utils/BrowserConstants.mjs +1 -1
  274. package/dist/redirect-bridge/utils/BrowserUtils.mjs +1 -1
  275. package/dist/request/RequestHelpers.mjs +1 -1
  276. package/dist/response/ResponseHandler.mjs +1 -1
  277. package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
  278. package/dist/telemetry/BrowserPerformanceEvents.mjs +1 -1
  279. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  280. package/dist/telemetry/BrowserRootPerformanceEvents.mjs +1 -1
  281. package/dist/utils/BrowserConstants.mjs +1 -1
  282. package/dist/utils/BrowserProtocolUtils.mjs +1 -1
  283. package/dist/utils/BrowserUtils.mjs +1 -1
  284. package/dist/utils/Helpers.mjs +1 -1
  285. package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
  286. package/lib/custom-auth-path/log-strings-mapping.json +4 -4
  287. package/lib/custom-auth-path/msal-custom-auth.cjs +151 -98
  288. package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
  289. package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts +2 -4
  290. package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts.map +1 -1
  291. package/lib/custom-auth-path/types/cache/CacheKeys.d.ts +2 -2
  292. package/lib/custom-auth-path/types/controllers/StandardController.d.ts.map +1 -1
  293. package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  294. package/lib/custom-auth-path/types/custom_auth/UserAccountAttributes.d.ts +1 -0
  295. package/lib/custom-auth-path/types/custom_auth/UserAccountAttributes.d.ts.map +1 -1
  296. package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts +1 -1
  297. package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  298. package/lib/custom-auth-path/types/packageMetadata.d.ts +1 -1
  299. package/lib/log-strings-mapping.json +4 -4
  300. package/lib/msal-browser.cjs +153 -100
  301. package/lib/msal-browser.cjs.map +1 -1
  302. package/lib/msal-browser.js +153 -100
  303. package/lib/msal-browser.js.map +1 -1
  304. package/lib/msal-browser.min.js +2 -2
  305. package/lib/redirect-bridge/msal-redirect-bridge.cjs +734 -0
  306. package/lib/redirect-bridge/msal-redirect-bridge.cjs.map +1 -0
  307. package/lib/redirect-bridge/msal-redirect-bridge.js +10 -10
  308. package/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -1
  309. package/lib/redirect-bridge/msal-redirect-bridge.min.js +1 -1
  310. package/lib/redirect-bridge/types/app/IPublicClientApplication.d.ts +48 -0
  311. package/lib/redirect-bridge/types/app/IPublicClientApplication.d.ts.map +1 -0
  312. package/lib/redirect-bridge/types/app/PublicClientApplication.d.ts +247 -0
  313. package/lib/redirect-bridge/types/app/PublicClientApplication.d.ts.map +1 -0
  314. package/lib/redirect-bridge/types/broker/nativeBroker/IPlatformAuthHandler.d.ts +12 -0
  315. package/lib/redirect-bridge/types/broker/nativeBroker/IPlatformAuthHandler.d.ts.map +1 -0
  316. package/lib/redirect-bridge/types/broker/nativeBroker/NativeStatusCodes.d.ts +9 -0
  317. package/lib/redirect-bridge/types/broker/nativeBroker/NativeStatusCodes.d.ts.map +1 -0
  318. package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts +30 -0
  319. package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -0
  320. package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +63 -0
  321. package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -0
  322. package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthProvider.d.ts +28 -0
  323. package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -0
  324. package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthRequest.d.ts +79 -0
  325. package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthRequest.d.ts.map +1 -0
  326. package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthResponse.d.ts +71 -0
  327. package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthResponse.d.ts.map +1 -0
  328. package/lib/redirect-bridge/types/cache/AccountManager.d.ts +24 -0
  329. package/lib/redirect-bridge/types/cache/AccountManager.d.ts.map +1 -0
  330. package/lib/redirect-bridge/types/cache/AsyncMemoryStorage.d.ts +58 -0
  331. package/lib/redirect-bridge/types/cache/AsyncMemoryStorage.d.ts.map +1 -0
  332. package/lib/redirect-bridge/types/cache/BrowserCacheManager.d.ts +364 -0
  333. package/lib/redirect-bridge/types/cache/BrowserCacheManager.d.ts.map +1 -0
  334. package/lib/redirect-bridge/types/cache/CacheHelpers.d.ts +16 -0
  335. package/lib/redirect-bridge/types/cache/CacheHelpers.d.ts.map +1 -0
  336. package/lib/redirect-bridge/types/cache/CacheKeys.d.ts +15 -0
  337. package/lib/redirect-bridge/types/cache/CacheKeys.d.ts.map +1 -0
  338. package/lib/redirect-bridge/types/cache/CookieStorage.d.ts +23 -0
  339. package/lib/redirect-bridge/types/cache/CookieStorage.d.ts.map +1 -0
  340. package/lib/redirect-bridge/types/cache/DatabaseStorage.d.ts +57 -0
  341. package/lib/redirect-bridge/types/cache/DatabaseStorage.d.ts.map +1 -0
  342. package/lib/redirect-bridge/types/cache/EncryptedData.d.ts +8 -0
  343. package/lib/redirect-bridge/types/cache/EncryptedData.d.ts.map +1 -0
  344. package/lib/redirect-bridge/types/cache/IAsyncStorage.d.ts +33 -0
  345. package/lib/redirect-bridge/types/cache/IAsyncStorage.d.ts.map +1 -0
  346. package/lib/redirect-bridge/types/cache/IWindowStorage.d.ts +42 -0
  347. package/lib/redirect-bridge/types/cache/IWindowStorage.d.ts.map +1 -0
  348. package/lib/redirect-bridge/types/cache/LocalStorage.d.ts +51 -0
  349. package/lib/redirect-bridge/types/cache/LocalStorage.d.ts.map +1 -0
  350. package/lib/redirect-bridge/types/cache/MemoryStorage.d.ts +16 -0
  351. package/lib/redirect-bridge/types/cache/MemoryStorage.d.ts.map +1 -0
  352. package/lib/redirect-bridge/types/cache/SessionStorage.d.ts +14 -0
  353. package/lib/redirect-bridge/types/cache/SessionStorage.d.ts.map +1 -0
  354. package/lib/redirect-bridge/types/cache/TokenCache.d.ts +20 -0
  355. package/lib/redirect-bridge/types/cache/TokenCache.d.ts.map +1 -0
  356. package/lib/redirect-bridge/types/config/Configuration.d.ts +198 -0
  357. package/lib/redirect-bridge/types/config/Configuration.d.ts.map +1 -0
  358. package/lib/redirect-bridge/types/controllers/IController.d.ts +3 -0
  359. package/lib/redirect-bridge/types/controllers/IController.d.ts.map +1 -0
  360. package/lib/redirect-bridge/types/controllers/NestedAppAuthController.d.ts +159 -0
  361. package/lib/redirect-bridge/types/controllers/NestedAppAuthController.d.ts.map +1 -0
  362. package/lib/redirect-bridge/types/controllers/StandardController.d.ts +398 -0
  363. package/lib/redirect-bridge/types/controllers/StandardController.d.ts.map +1 -0
  364. package/lib/redirect-bridge/types/controllers/UnknownOperatingContextController.d.ts +73 -0
  365. package/lib/redirect-bridge/types/controllers/UnknownOperatingContextController.d.ts.map +1 -0
  366. package/lib/redirect-bridge/types/crypto/BrowserCrypto.d.ts +96 -0
  367. package/lib/redirect-bridge/types/crypto/BrowserCrypto.d.ts.map +1 -0
  368. package/lib/redirect-bridge/types/crypto/CryptoOps.d.ts +77 -0
  369. package/lib/redirect-bridge/types/crypto/CryptoOps.d.ts.map +1 -0
  370. package/lib/redirect-bridge/types/crypto/PkceGenerator.d.ts +9 -0
  371. package/lib/redirect-bridge/types/crypto/PkceGenerator.d.ts.map +1 -0
  372. package/lib/redirect-bridge/types/crypto/SignedHttpRequest.d.ts +32 -0
  373. package/lib/redirect-bridge/types/crypto/SignedHttpRequest.d.ts.map +1 -0
  374. package/lib/redirect-bridge/types/custom_auth/CustomAuthActionInputs.d.ts +29 -0
  375. package/lib/redirect-bridge/types/custom_auth/CustomAuthActionInputs.d.ts.map +1 -0
  376. package/lib/redirect-bridge/types/custom_auth/CustomAuthConstants.d.ts +35 -0
  377. package/lib/redirect-bridge/types/custom_auth/CustomAuthConstants.d.ts.map +1 -0
  378. package/lib/redirect-bridge/types/custom_auth/CustomAuthPublicClientApplication.d.ts +55 -0
  379. package/lib/redirect-bridge/types/custom_auth/CustomAuthPublicClientApplication.d.ts.map +1 -0
  380. package/lib/redirect-bridge/types/custom_auth/ICustomAuthPublicClientApplication.d.ts +33 -0
  381. package/lib/redirect-bridge/types/custom_auth/ICustomAuthPublicClientApplication.d.ts.map +1 -0
  382. package/lib/redirect-bridge/types/custom_auth/UserAccountAttributes.d.ts +13 -0
  383. package/lib/redirect-bridge/types/custom_auth/UserAccountAttributes.d.ts.map +1 -0
  384. package/lib/redirect-bridge/types/custom_auth/configuration/CustomAuthConfiguration.d.ts +14 -0
  385. package/lib/redirect-bridge/types/custom_auth/configuration/CustomAuthConfiguration.d.ts.map +1 -0
  386. package/lib/redirect-bridge/types/custom_auth/controller/CustomAuthStandardController.d.ts +27 -0
  387. package/lib/redirect-bridge/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -0
  388. package/lib/redirect-bridge/types/custom_auth/controller/ICustomAuthStandardController.d.ts +13 -0
  389. package/lib/redirect-bridge/types/custom_auth/controller/ICustomAuthStandardController.d.ts.map +1 -0
  390. package/lib/redirect-bridge/types/custom_auth/core/CustomAuthAuthority.d.ts +29 -0
  391. package/lib/redirect-bridge/types/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -0
  392. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +40 -0
  393. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -0
  394. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts +11 -0
  395. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts.map +1 -0
  396. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowState.d.ts +31 -0
  397. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -0
  398. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowStateTypes.d.ts +29 -0
  399. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowStateTypes.d.ts.map +1 -0
  400. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/AuthMethodDetails.d.ts +15 -0
  401. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/AuthMethodDetails.d.ts.map +1 -0
  402. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +27 -0
  403. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -0
  404. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +47 -0
  405. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -0
  406. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +37 -0
  407. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -0
  408. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts +11 -0
  409. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts.map +1 -0
  410. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts +11 -0
  411. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts.map +1 -0
  412. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +82 -0
  413. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -0
  414. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.d.ts +20 -0
  415. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.d.ts.map +1 -0
  416. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +27 -0
  417. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +1 -0
  418. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +40 -0
  419. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -0
  420. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +34 -0
  421. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -0
  422. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +11 -0
  423. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +1 -0
  424. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +11 -0
  425. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +1 -0
  426. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +67 -0
  427. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -0
  428. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +19 -0
  429. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +1 -0
  430. package/lib/redirect-bridge/types/custom_auth/core/error/CustomAuthApiError.d.ts +20 -0
  431. package/lib/redirect-bridge/types/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -0
  432. package/lib/redirect-bridge/types/custom_auth/core/error/CustomAuthError.d.ts +9 -0
  433. package/lib/redirect-bridge/types/custom_auth/core/error/CustomAuthError.d.ts.map +1 -0
  434. package/lib/redirect-bridge/types/custom_auth/core/error/HttpError.d.ts +5 -0
  435. package/lib/redirect-bridge/types/custom_auth/core/error/HttpError.d.ts.map +1 -0
  436. package/lib/redirect-bridge/types/custom_auth/core/error/HttpErrorCodes.d.ts +3 -0
  437. package/lib/redirect-bridge/types/custom_auth/core/error/HttpErrorCodes.d.ts.map +1 -0
  438. package/lib/redirect-bridge/types/custom_auth/core/error/InvalidArgumentError.d.ts +5 -0
  439. package/lib/redirect-bridge/types/custom_auth/core/error/InvalidArgumentError.d.ts.map +1 -0
  440. package/lib/redirect-bridge/types/custom_auth/core/error/InvalidConfigurationError.d.ts +5 -0
  441. package/lib/redirect-bridge/types/custom_auth/core/error/InvalidConfigurationError.d.ts.map +1 -0
  442. package/lib/redirect-bridge/types/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts +4 -0
  443. package/lib/redirect-bridge/types/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts.map +1 -0
  444. package/lib/redirect-bridge/types/custom_auth/core/error/MethodNotImplementedError.d.ts +5 -0
  445. package/lib/redirect-bridge/types/custom_auth/core/error/MethodNotImplementedError.d.ts.map +1 -0
  446. package/lib/redirect-bridge/types/custom_auth/core/error/MsalCustomAuthError.d.ts +5 -0
  447. package/lib/redirect-bridge/types/custom_auth/core/error/MsalCustomAuthError.d.ts.map +1 -0
  448. package/lib/redirect-bridge/types/custom_auth/core/error/NoCachedAccountFoundError.d.ts +5 -0
  449. package/lib/redirect-bridge/types/custom_auth/core/error/NoCachedAccountFoundError.d.ts.map +1 -0
  450. package/lib/redirect-bridge/types/custom_auth/core/error/ParsedUrlError.d.ts +5 -0
  451. package/lib/redirect-bridge/types/custom_auth/core/error/ParsedUrlError.d.ts.map +1 -0
  452. package/lib/redirect-bridge/types/custom_auth/core/error/ParsedUrlErrorCodes.d.ts +2 -0
  453. package/lib/redirect-bridge/types/custom_auth/core/error/ParsedUrlErrorCodes.d.ts.map +1 -0
  454. package/lib/redirect-bridge/types/custom_auth/core/error/UnexpectedError.d.ts +5 -0
  455. package/lib/redirect-bridge/types/custom_auth/core/error/UnexpectedError.d.ts.map +1 -0
  456. package/lib/redirect-bridge/types/custom_auth/core/error/UnsupportedEnvironmentError.d.ts +5 -0
  457. package/lib/redirect-bridge/types/custom_auth/core/error/UnsupportedEnvironmentError.d.ts.map +1 -0
  458. package/lib/redirect-bridge/types/custom_auth/core/error/UserAccountAttributeError.d.ts +5 -0
  459. package/lib/redirect-bridge/types/custom_auth/core/error/UserAccountAttributeError.d.ts.map +1 -0
  460. package/lib/redirect-bridge/types/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts +2 -0
  461. package/lib/redirect-bridge/types/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts.map +1 -0
  462. package/lib/redirect-bridge/types/custom_auth/core/error/UserAlreadySignedInError.d.ts +5 -0
  463. package/lib/redirect-bridge/types/custom_auth/core/error/UserAlreadySignedInError.d.ts.map +1 -0
  464. package/lib/redirect-bridge/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts +34 -0
  465. package/lib/redirect-bridge/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -0
  466. package/lib/redirect-bridge/types/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts +22 -0
  467. package/lib/redirect-bridge/types/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts.map +1 -0
  468. package/lib/redirect-bridge/types/custom_auth/core/interaction_client/jit/JitClient.d.ts +21 -0
  469. package/lib/redirect-bridge/types/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -0
  470. package/lib/redirect-bridge/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +20 -0
  471. package/lib/redirect-bridge/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -0
  472. package/lib/redirect-bridge/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +22 -0
  473. package/lib/redirect-bridge/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -0
  474. package/lib/redirect-bridge/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +21 -0
  475. package/lib/redirect-bridge/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -0
  476. package/lib/redirect-bridge/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +14 -0
  477. package/lib/redirect-bridge/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +1 -0
  478. package/lib/redirect-bridge/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +23 -0
  479. package/lib/redirect-bridge/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +1 -0
  480. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts +15 -0
  481. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts.map +1 -0
  482. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +14 -0
  483. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -0
  484. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +16 -0
  485. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -0
  486. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts +11 -0
  487. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts.map +1 -0
  488. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.d.ts +18 -0
  489. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.d.ts.map +1 -0
  490. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts +34 -0
  491. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map +1 -0
  492. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +37 -0
  493. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -0
  494. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts +23 -0
  495. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts.map +1 -0
  496. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts +23 -0
  497. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts.map +1 -0
  498. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts +29 -0
  499. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts.map +1 -0
  500. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +86 -0
  501. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -0
  502. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +71 -0
  503. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -0
  504. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +13 -0
  505. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -0
  506. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts +9 -0
  507. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts.map +1 -0
  508. package/lib/redirect-bridge/types/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts +13 -0
  509. package/lib/redirect-bridge/types/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -0
  510. package/lib/redirect-bridge/types/custom_auth/core/network_client/http_client/IHttpClient.d.ts +35 -0
  511. package/lib/redirect-bridge/types/custom_auth/core/network_client/http_client/IHttpClient.d.ts.map +1 -0
  512. package/lib/redirect-bridge/types/custom_auth/core/telemetry/PublicApiId.d.ts +25 -0
  513. package/lib/redirect-bridge/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -0
  514. package/lib/redirect-bridge/types/custom_auth/core/utils/ArgumentValidator.d.ts +4 -0
  515. package/lib/redirect-bridge/types/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -0
  516. package/lib/redirect-bridge/types/custom_auth/core/utils/UrlUtils.d.ts +3 -0
  517. package/lib/redirect-bridge/types/custom_auth/core/utils/UrlUtils.d.ts.map +1 -0
  518. package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts +47 -0
  519. package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts.map +1 -0
  520. package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts +32 -0
  521. package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts.map +1 -0
  522. package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts +37 -0
  523. package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts.map +1 -0
  524. package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts +36 -0
  525. package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts.map +1 -0
  526. package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts +35 -0
  527. package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts.map +1 -0
  528. package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts +20 -0
  529. package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts.map +1 -0
  530. package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts +20 -0
  531. package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts.map +1 -0
  532. package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/state/SignOutState.d.ts +20 -0
  533. package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/state/SignOutState.d.ts.map +1 -0
  534. package/lib/redirect-bridge/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts +21 -0
  535. package/lib/redirect-bridge/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -0
  536. package/lib/redirect-bridge/types/custom_auth/index.d.ts +84 -0
  537. package/lib/redirect-bridge/types/custom_auth/index.d.ts.map +1 -0
  538. package/lib/redirect-bridge/types/custom_auth/operating_context/CustomAuthOperatingContext.d.ts +13 -0
  539. package/lib/redirect-bridge/types/custom_auth/operating_context/CustomAuthOperatingContext.d.ts.map +1 -0
  540. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts +40 -0
  541. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts.map +1 -0
  542. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts +37 -0
  543. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts.map +1 -0
  544. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts +37 -0
  545. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts.map +1 -0
  546. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts +37 -0
  547. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts.map +1 -0
  548. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts +32 -0
  549. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts.map +1 -0
  550. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts +27 -0
  551. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -0
  552. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts +11 -0
  553. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts.map +1 -0
  554. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts +11 -0
  555. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts.map +1 -0
  556. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts +16 -0
  557. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -0
  558. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts +6 -0
  559. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts.map +1 -0
  560. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +19 -0
  561. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts.map +1 -0
  562. package/lib/redirect-bridge/types/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts +33 -0
  563. package/lib/redirect-bridge/types/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -0
  564. package/lib/redirect-bridge/types/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts +19 -0
  565. package/lib/redirect-bridge/types/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts.map +1 -0
  566. package/lib/redirect-bridge/types/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts +14 -0
  567. package/lib/redirect-bridge/types/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts.map +1 -0
  568. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/SignInScenario.d.ts +6 -0
  569. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/SignInScenario.d.ts.map +1 -0
  570. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +45 -0
  571. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -0
  572. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts +37 -0
  573. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts.map +1 -0
  574. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +72 -0
  575. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -0
  576. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +51 -0
  577. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -0
  578. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +46 -0
  579. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -0
  580. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts +33 -0
  581. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -0
  582. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts +12 -0
  583. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts.map +1 -0
  584. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts +17 -0
  585. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -0
  586. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts +11 -0
  587. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts.map +1 -0
  588. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts +21 -0
  589. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -0
  590. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInState.d.ts +22 -0
  591. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInState.d.ts.map +1 -0
  592. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +25 -0
  593. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -0
  594. package/lib/redirect-bridge/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts +49 -0
  595. package/lib/redirect-bridge/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -0
  596. package/lib/redirect-bridge/types/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts +32 -0
  597. package/lib/redirect-bridge/types/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts.map +1 -0
  598. package/lib/redirect-bridge/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +43 -0
  599. package/lib/redirect-bridge/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -0
  600. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts +62 -0
  601. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts.map +1 -0
  602. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts +37 -0
  603. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts.map +1 -0
  604. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts +53 -0
  605. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts.map +1 -0
  606. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts +37 -0
  607. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts.map +1 -0
  608. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts +53 -0
  609. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts.map +1 -0
  610. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts +45 -0
  611. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts.map +1 -0
  612. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts +25 -0
  613. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -0
  614. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts +32 -0
  615. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -0
  616. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts +11 -0
  617. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts.map +1 -0
  618. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts +11 -0
  619. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts.map +1 -0
  620. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts +16 -0
  621. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -0
  622. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts +6 -0
  623. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts.map +1 -0
  624. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +24 -0
  625. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -0
  626. package/lib/redirect-bridge/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +41 -0
  627. package/lib/redirect-bridge/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -0
  628. package/lib/redirect-bridge/types/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts +26 -0
  629. package/lib/redirect-bridge/types/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts.map +1 -0
  630. package/lib/redirect-bridge/types/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts +34 -0
  631. package/lib/redirect-bridge/types/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts.map +1 -0
  632. package/lib/redirect-bridge/types/encode/Base64Decode.d.ts +15 -0
  633. package/lib/redirect-bridge/types/encode/Base64Decode.d.ts.map +1 -0
  634. package/lib/redirect-bridge/types/encode/Base64Encode.d.ts +20 -0
  635. package/lib/redirect-bridge/types/encode/Base64Encode.d.ts.map +1 -0
  636. package/lib/redirect-bridge/types/error/BrowserAuthError.d.ts +12 -0
  637. package/lib/redirect-bridge/types/error/BrowserAuthError.d.ts.map +1 -0
  638. package/lib/redirect-bridge/types/error/BrowserAuthErrorCodes.d.ts +53 -0
  639. package/lib/redirect-bridge/types/error/BrowserAuthErrorCodes.d.ts.map +1 -0
  640. package/lib/redirect-bridge/types/error/BrowserConfigurationAuthError.d.ts +11 -0
  641. package/lib/redirect-bridge/types/error/BrowserConfigurationAuthError.d.ts.map +1 -0
  642. package/lib/redirect-bridge/types/error/BrowserConfigurationAuthErrorCodes.d.ts +4 -0
  643. package/lib/redirect-bridge/types/error/BrowserConfigurationAuthErrorCodes.d.ts.map +1 -0
  644. package/lib/redirect-bridge/types/error/NativeAuthError.d.ts +27 -0
  645. package/lib/redirect-bridge/types/error/NativeAuthError.d.ts.map +1 -0
  646. package/lib/redirect-bridge/types/error/NativeAuthErrorCodes.d.ts +5 -0
  647. package/lib/redirect-bridge/types/error/NativeAuthErrorCodes.d.ts.map +1 -0
  648. package/lib/redirect-bridge/types/error/NestedAppAuthError.d.ts +6 -0
  649. package/lib/redirect-bridge/types/error/NestedAppAuthError.d.ts.map +1 -0
  650. package/lib/redirect-bridge/types/event/EventHandler.d.ts +49 -0
  651. package/lib/redirect-bridge/types/event/EventHandler.d.ts.map +1 -0
  652. package/lib/redirect-bridge/types/event/EventMessage.d.ts +41 -0
  653. package/lib/redirect-bridge/types/event/EventMessage.d.ts.map +1 -0
  654. package/lib/redirect-bridge/types/event/EventType.d.ts +24 -0
  655. package/lib/redirect-bridge/types/event/EventType.d.ts.map +1 -0
  656. package/lib/redirect-bridge/types/index.d.ts +73 -0
  657. package/lib/redirect-bridge/types/index.d.ts.map +1 -0
  658. package/lib/redirect-bridge/types/interaction_client/BaseInteractionClient.d.ts +77 -0
  659. package/lib/redirect-bridge/types/interaction_client/BaseInteractionClient.d.ts.map +1 -0
  660. package/lib/redirect-bridge/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +5 -0
  661. package/lib/redirect-bridge/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -0
  662. package/lib/redirect-bridge/types/interaction_client/PlatformAuthInteractionClient.d.ts +151 -0
  663. package/lib/redirect-bridge/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -0
  664. package/lib/redirect-bridge/types/interaction_client/PopupClient.d.ts +106 -0
  665. package/lib/redirect-bridge/types/interaction_client/PopupClient.d.ts.map +1 -0
  666. package/lib/redirect-bridge/types/interaction_client/RedirectClient.d.ts +77 -0
  667. package/lib/redirect-bridge/types/interaction_client/RedirectClient.d.ts.map +1 -0
  668. package/lib/redirect-bridge/types/interaction_client/SilentAuthCodeClient.d.ts +24 -0
  669. package/lib/redirect-bridge/types/interaction_client/SilentAuthCodeClient.d.ts.map +1 -0
  670. package/lib/redirect-bridge/types/interaction_client/SilentCacheClient.d.ts +17 -0
  671. package/lib/redirect-bridge/types/interaction_client/SilentCacheClient.d.ts.map +1 -0
  672. package/lib/redirect-bridge/types/interaction_client/SilentIframeClient.d.ts +57 -0
  673. package/lib/redirect-bridge/types/interaction_client/SilentIframeClient.d.ts.map +1 -0
  674. package/lib/redirect-bridge/types/interaction_client/SilentRefreshClient.d.ts +32 -0
  675. package/lib/redirect-bridge/types/interaction_client/SilentRefreshClient.d.ts.map +1 -0
  676. package/lib/redirect-bridge/types/interaction_client/StandardInteractionClient.d.ts +76 -0
  677. package/lib/redirect-bridge/types/interaction_client/StandardInteractionClient.d.ts.map +1 -0
  678. package/lib/redirect-bridge/types/interaction_handler/InteractionHandler.d.ts +33 -0
  679. package/lib/redirect-bridge/types/interaction_handler/InteractionHandler.d.ts.map +1 -0
  680. package/lib/redirect-bridge/types/interaction_handler/SilentHandler.d.ts +17 -0
  681. package/lib/redirect-bridge/types/interaction_handler/SilentHandler.d.ts.map +1 -0
  682. package/lib/redirect-bridge/types/naa/AccountInfo.d.ts +13 -0
  683. package/lib/redirect-bridge/types/naa/AccountInfo.d.ts.map +1 -0
  684. package/lib/redirect-bridge/types/naa/AuthBridge.d.ts +9 -0
  685. package/lib/redirect-bridge/types/naa/AuthBridge.d.ts.map +1 -0
  686. package/lib/redirect-bridge/types/naa/AuthResult.d.ts +7 -0
  687. package/lib/redirect-bridge/types/naa/AuthResult.d.ts.map +1 -0
  688. package/lib/redirect-bridge/types/naa/BridgeAccountContext.d.ts +13 -0
  689. package/lib/redirect-bridge/types/naa/BridgeAccountContext.d.ts.map +1 -0
  690. package/lib/redirect-bridge/types/naa/BridgeCapabilities.d.ts +4 -0
  691. package/lib/redirect-bridge/types/naa/BridgeCapabilities.d.ts.map +1 -0
  692. package/lib/redirect-bridge/types/naa/BridgeError.d.ts +10 -0
  693. package/lib/redirect-bridge/types/naa/BridgeError.d.ts.map +1 -0
  694. package/lib/redirect-bridge/types/naa/BridgeProxy.d.ts +69 -0
  695. package/lib/redirect-bridge/types/naa/BridgeProxy.d.ts.map +1 -0
  696. package/lib/redirect-bridge/types/naa/BridgeRequest.d.ts +8 -0
  697. package/lib/redirect-bridge/types/naa/BridgeRequest.d.ts.map +1 -0
  698. package/lib/redirect-bridge/types/naa/BridgeRequestEnvelope.d.ts +13 -0
  699. package/lib/redirect-bridge/types/naa/BridgeRequestEnvelope.d.ts.map +1 -0
  700. package/lib/redirect-bridge/types/naa/BridgeResponseEnvelope.d.ts +14 -0
  701. package/lib/redirect-bridge/types/naa/BridgeResponseEnvelope.d.ts.map +1 -0
  702. package/lib/redirect-bridge/types/naa/BridgeStatusCode.d.ts +12 -0
  703. package/lib/redirect-bridge/types/naa/BridgeStatusCode.d.ts.map +1 -0
  704. package/lib/redirect-bridge/types/naa/IBridgeProxy.d.ts +11 -0
  705. package/lib/redirect-bridge/types/naa/IBridgeProxy.d.ts.map +1 -0
  706. package/lib/redirect-bridge/types/naa/InitContext.d.ts +9 -0
  707. package/lib/redirect-bridge/types/naa/InitContext.d.ts.map +1 -0
  708. package/lib/redirect-bridge/types/naa/TokenRequest.d.ts +21 -0
  709. package/lib/redirect-bridge/types/naa/TokenRequest.d.ts.map +1 -0
  710. package/lib/redirect-bridge/types/naa/TokenResponse.d.ts +14 -0
  711. package/lib/redirect-bridge/types/naa/TokenResponse.d.ts.map +1 -0
  712. package/lib/redirect-bridge/types/naa/mapping/NestedAppAuthAdapter.d.ts +36 -0
  713. package/lib/redirect-bridge/types/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -0
  714. package/lib/redirect-bridge/types/navigation/INavigationClient.d.ts +17 -0
  715. package/lib/redirect-bridge/types/navigation/INavigationClient.d.ts.map +1 -0
  716. package/lib/redirect-bridge/types/navigation/NavigationClient.d.ts +23 -0
  717. package/lib/redirect-bridge/types/navigation/NavigationClient.d.ts.map +1 -0
  718. package/lib/redirect-bridge/types/navigation/NavigationOptions.d.ts +13 -0
  719. package/lib/redirect-bridge/types/navigation/NavigationOptions.d.ts.map +1 -0
  720. package/lib/redirect-bridge/types/network/FetchClient.d.ts +21 -0
  721. package/lib/redirect-bridge/types/network/FetchClient.d.ts.map +1 -0
  722. package/lib/redirect-bridge/types/operatingcontext/BaseOperatingContext.d.ts +43 -0
  723. package/lib/redirect-bridge/types/operatingcontext/BaseOperatingContext.d.ts.map +1 -0
  724. package/lib/redirect-bridge/types/operatingcontext/NestedAppOperatingContext.d.ts +41 -0
  725. package/lib/redirect-bridge/types/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -0
  726. package/lib/redirect-bridge/types/operatingcontext/StandardOperatingContext.d.ts +26 -0
  727. package/lib/redirect-bridge/types/operatingcontext/StandardOperatingContext.d.ts.map +1 -0
  728. package/lib/redirect-bridge/types/operatingcontext/UnknownOperatingContext.d.ts +26 -0
  729. package/lib/redirect-bridge/types/operatingcontext/UnknownOperatingContext.d.ts.map +1 -0
  730. package/lib/redirect-bridge/types/packageMetadata.d.ts +3 -0
  731. package/lib/redirect-bridge/types/packageMetadata.d.ts.map +1 -0
  732. package/lib/redirect-bridge/types/protocol/Authorize.d.ts +102 -0
  733. package/lib/redirect-bridge/types/protocol/Authorize.d.ts.map +1 -0
  734. package/lib/redirect-bridge/types/redirect_bridge/index.d.ts +16 -0
  735. package/lib/redirect-bridge/types/redirect_bridge/index.d.ts.map +1 -0
  736. package/lib/redirect-bridge/types/request/AuthorizationCodeRequest.d.ts +27 -0
  737. package/lib/redirect-bridge/types/request/AuthorizationCodeRequest.d.ts.map +1 -0
  738. package/lib/redirect-bridge/types/request/ClearCacheRequest.d.ts +15 -0
  739. package/lib/redirect-bridge/types/request/ClearCacheRequest.d.ts.map +1 -0
  740. package/lib/redirect-bridge/types/request/EndSessionPopupRequest.d.ts +24 -0
  741. package/lib/redirect-bridge/types/request/EndSessionPopupRequest.d.ts.map +1 -0
  742. package/lib/redirect-bridge/types/request/EndSessionRequest.d.ts +11 -0
  743. package/lib/redirect-bridge/types/request/EndSessionRequest.d.ts.map +1 -0
  744. package/lib/redirect-bridge/types/request/HandleRedirectPromiseOptions.d.ts +5 -0
  745. package/lib/redirect-bridge/types/request/HandleRedirectPromiseOptions.d.ts.map +1 -0
  746. package/lib/redirect-bridge/types/request/InitializeApplicationRequest.d.ts +10 -0
  747. package/lib/redirect-bridge/types/request/InitializeApplicationRequest.d.ts.map +1 -0
  748. package/lib/redirect-bridge/types/request/PopupRequest.d.ts +25 -0
  749. package/lib/redirect-bridge/types/request/PopupRequest.d.ts.map +1 -0
  750. package/lib/redirect-bridge/types/request/PopupWindowAttributes.d.ts +16 -0
  751. package/lib/redirect-bridge/types/request/PopupWindowAttributes.d.ts.map +1 -0
  752. package/lib/redirect-bridge/types/request/RedirectRequest.d.ts +16 -0
  753. package/lib/redirect-bridge/types/request/RedirectRequest.d.ts.map +1 -0
  754. package/lib/redirect-bridge/types/request/RequestHelpers.d.ts +28 -0
  755. package/lib/redirect-bridge/types/request/RequestHelpers.d.ts.map +1 -0
  756. package/lib/redirect-bridge/types/request/SilentRequest.d.ts +52 -0
  757. package/lib/redirect-bridge/types/request/SilentRequest.d.ts.map +1 -0
  758. package/lib/redirect-bridge/types/request/SsoSilentRequest.d.ts +6 -0
  759. package/lib/redirect-bridge/types/request/SsoSilentRequest.d.ts.map +1 -0
  760. package/lib/redirect-bridge/types/response/AuthenticationResult.d.ts +5 -0
  761. package/lib/redirect-bridge/types/response/AuthenticationResult.d.ts.map +1 -0
  762. package/lib/redirect-bridge/types/response/ResponseHandler.d.ts +8 -0
  763. package/lib/redirect-bridge/types/response/ResponseHandler.d.ts.map +1 -0
  764. package/lib/redirect-bridge/types/telemetry/BrowserPerformanceClient.d.ts +19 -0
  765. package/lib/redirect-bridge/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -0
  766. package/lib/redirect-bridge/types/telemetry/BrowserPerformanceEvents.d.ts +140 -0
  767. package/lib/redirect-bridge/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -0
  768. package/lib/redirect-bridge/types/telemetry/BrowserPerformanceMeasurement.d.ts +22 -0
  769. package/lib/redirect-bridge/types/telemetry/BrowserPerformanceMeasurement.d.ts.map +1 -0
  770. package/lib/redirect-bridge/types/telemetry/BrowserRootPerformanceEvents.d.ts +42 -0
  771. package/lib/redirect-bridge/types/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -0
  772. package/lib/redirect-bridge/types/utils/BrowserConstants.d.ts +182 -0
  773. package/lib/redirect-bridge/types/utils/BrowserConstants.d.ts.map +1 -0
  774. package/lib/redirect-bridge/types/utils/BrowserProtocolUtils.d.ts +12 -0
  775. package/lib/redirect-bridge/types/utils/BrowserProtocolUtils.d.ts.map +1 -0
  776. package/lib/redirect-bridge/types/utils/BrowserUtils.d.ts +111 -0
  777. package/lib/redirect-bridge/types/utils/BrowserUtils.d.ts.map +1 -0
  778. package/lib/redirect-bridge/types/utils/Helpers.d.ts +7 -0
  779. package/lib/redirect-bridge/types/utils/Helpers.d.ts.map +1 -0
  780. package/lib/redirect-bridge/types/utils/MsalFrameStatsUtils.d.ts +13 -0
  781. package/lib/redirect-bridge/types/utils/MsalFrameStatsUtils.d.ts.map +1 -0
  782. package/lib/types/cache/BrowserCacheManager.d.ts +2 -4
  783. package/lib/types/cache/BrowserCacheManager.d.ts.map +1 -1
  784. package/lib/types/cache/CacheKeys.d.ts +2 -2
  785. package/lib/types/controllers/StandardController.d.ts.map +1 -1
  786. package/lib/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  787. package/lib/types/custom_auth/UserAccountAttributes.d.ts +1 -0
  788. package/lib/types/custom_auth/UserAccountAttributes.d.ts.map +1 -1
  789. package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts +1 -1
  790. package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  791. package/lib/types/packageMetadata.d.ts +1 -1
  792. package/package.json +3 -3
  793. package/src/broker/nativeBroker/PlatformAuthExtensionHandler.ts +1 -1
  794. package/src/cache/BrowserCacheManager.ts +5 -5
  795. package/src/cache/CacheKeys.ts +2 -2
  796. package/src/controllers/StandardController.ts +57 -4
  797. package/src/custom_auth/UserAccountAttributes.ts +1 -0
  798. package/src/interaction_client/PlatformAuthInteractionClient.ts +38 -14
  799. package/src/packageMetadata.ts +1 -1
@@ -1,4 +1,4 @@
1
- /*! @azure/msal-browser v5.7.0 2026-04-16 */
1
+ /*! @azure/msal-browser v5.8.0 2026-04-21 */
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 v16.5.0 2026-04-16 */
9
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
10
10
  /*
11
11
  * Copyright (c) Microsoft Corporation. All rights reserved.
12
12
  * Licensed under the MIT License.
@@ -238,7 +238,7 @@
238
238
  // Token renewal offset default in seconds
239
239
  const DEFAULT_TOKEN_RENEWAL_OFFSET_SEC = 300;
240
240
 
241
- /*! @azure/msal-common v16.5.0 2026-04-16 */
241
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
242
242
  /*
243
243
  * Copyright (c) Microsoft Corporation. All rights reserved.
244
244
  * Licensed under the MIT License.
@@ -290,7 +290,7 @@
290
290
  const RESOURCE = "resource";
291
291
  const CLI_DATA = "clidata";
292
292
 
293
- /*! @azure/msal-common v16.5.0 2026-04-16 */
293
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
294
294
  /*
295
295
  * Copyright (c) Microsoft Corporation. All rights reserved.
296
296
  * Licensed under the MIT License.
@@ -321,7 +321,7 @@
321
321
  return new AuthError(code, additionalMessage || getDefaultErrorMessage$1(code));
322
322
  }
323
323
 
324
- /*! @azure/msal-common v16.5.0 2026-04-16 */
324
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
325
325
 
326
326
  /*
327
327
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -341,7 +341,7 @@
341
341
  return new ClientConfigurationError(errorCode);
342
342
  }
343
343
 
344
- /*! @azure/msal-common v16.5.0 2026-04-16 */
344
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
345
345
  /*
346
346
  * Copyright (c) Microsoft Corporation. All rights reserved.
347
347
  * Licensed under the MIT License.
@@ -421,7 +421,7 @@
421
421
  }
422
422
  }
423
423
 
424
- /*! @azure/msal-common v16.5.0 2026-04-16 */
424
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
425
425
 
426
426
  /*
427
427
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -444,7 +444,7 @@
444
444
  return new ClientAuthError(errorCode, additionalMessage);
445
445
  }
446
446
 
447
- /*! @azure/msal-common v16.5.0 2026-04-16 */
447
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
448
448
  /*
449
449
  * Copyright (c) Microsoft Corporation. All rights reserved.
450
450
  * Licensed under the MIT License.
@@ -498,7 +498,7 @@
498
498
  urlParseError: urlParseError
499
499
  });
500
500
 
501
- /*! @azure/msal-common v16.5.0 2026-04-16 */
501
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
502
502
  /*
503
503
  * Copyright (c) Microsoft Corporation. All rights reserved.
504
504
  * Licensed under the MIT License.
@@ -586,7 +586,7 @@
586
586
  userCanceled: userCanceled
587
587
  });
588
588
 
589
- /*! @azure/msal-common v16.5.0 2026-04-16 */
589
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
590
590
 
591
591
  /*
592
592
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -781,7 +781,7 @@
781
781
  }
782
782
  }
783
783
 
784
- /*! @azure/msal-common v16.5.0 2026-04-16 */
784
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
785
785
 
786
786
  /*
787
787
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1170,7 +1170,7 @@
1170
1170
  }
1171
1171
  }
1172
1172
 
1173
- /*! @azure/msal-common v16.5.0 2026-04-16 */
1173
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
1174
1174
 
1175
1175
  /*
1176
1176
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1279,7 +1279,7 @@
1279
1279
  }
1280
1280
  }
1281
1281
 
1282
- /*! @azure/msal-common v16.5.0 2026-04-16 */
1282
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
1283
1283
 
1284
1284
  /*
1285
1285
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1318,7 +1318,7 @@
1318
1318
  },
1319
1319
  };
1320
1320
 
1321
- /*! @azure/msal-common v16.5.0 2026-04-16 */
1321
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
1322
1322
  /*
1323
1323
  * Copyright (c) Microsoft Corporation. All rights reserved.
1324
1324
  * Licensed under the MIT License.
@@ -1593,12 +1593,12 @@
1593
1593
  }
1594
1594
  }
1595
1595
 
1596
- /*! @azure/msal-common v16.5.0 2026-04-16 */
1596
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
1597
1597
  /* eslint-disable header/header */
1598
1598
  const name$1 = "@azure/msal-common";
1599
- const version$1 = "16.5.0";
1599
+ const version$1 = "16.5.1";
1600
1600
 
1601
- /*! @azure/msal-common v16.5.0 2026-04-16 */
1601
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
1602
1602
  /*
1603
1603
  * Copyright (c) Microsoft Corporation. All rights reserved.
1604
1604
  * Licensed under the MIT License.
@@ -1618,7 +1618,7 @@
1618
1618
  AzureUsGovernment: "https://login.microsoftonline.us",
1619
1619
  };
1620
1620
 
1621
- /*! @azure/msal-common v16.5.0 2026-04-16 */
1621
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
1622
1622
  /*
1623
1623
  * Copyright (c) Microsoft Corporation. All rights reserved.
1624
1624
  * Licensed under the MIT License.
@@ -1659,6 +1659,7 @@
1659
1659
  username: preferred_username || upn || "",
1660
1660
  loginHint: login_hint,
1661
1661
  isHomeTenant: tenantIdMatchesHomeTenant(tenantId, homeAccountId),
1662
+ upn: upn,
1662
1663
  };
1663
1664
  }
1664
1665
  else {
@@ -1686,7 +1687,7 @@
1686
1687
  }
1687
1688
  // ID token claims override passed in account info and tenant profile
1688
1689
  if (idTokenClaims) {
1689
- // Ignore isHomeTenant, loginHint, and sid which are part of tenant profile but not base account info
1690
+ // Ignore isHomeTenant which is a utility property of tenant profile but not required in base account info
1690
1691
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
1691
1692
  const { isHomeTenant, ...claimsSourcedTenantProfile } = buildTenantProfile(baseAccountInfo.homeAccountId, baseAccountInfo.localAccountId, baseAccountInfo.tenantId, idTokenClaims);
1692
1693
  updatedAccountInfo = {
@@ -1700,7 +1701,7 @@
1700
1701
  return updatedAccountInfo;
1701
1702
  }
1702
1703
 
1703
- /*! @azure/msal-common v16.5.0 2026-04-16 */
1704
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
1704
1705
 
1705
1706
  /*
1706
1707
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1780,7 +1781,7 @@
1780
1781
  }
1781
1782
  }
1782
1783
 
1783
- /*! @azure/msal-common v16.5.0 2026-04-16 */
1784
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
1784
1785
 
1785
1786
  /*
1786
1787
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -1937,7 +1938,7 @@
1937
1938
  }
1938
1939
  }
1939
1940
 
1940
- /*! @azure/msal-common v16.5.0 2026-04-16 */
1941
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
1941
1942
 
1942
1943
  /*
1943
1944
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2094,7 +2095,7 @@
2094
2095
  return null;
2095
2096
  }
2096
2097
 
2097
- /*! @azure/msal-common v16.5.0 2026-04-16 */
2098
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
2098
2099
  /*
2099
2100
  * Copyright (c) Microsoft Corporation. All rights reserved.
2100
2101
  * Licensed under the MIT License.
@@ -2102,7 +2103,7 @@
2102
2103
  const cacheQuotaExceeded = "cache_quota_exceeded";
2103
2104
  const cacheErrorUnknown = "cache_error_unknown";
2104
2105
 
2105
- /*! @azure/msal-common v16.5.0 2026-04-16 */
2106
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
2106
2107
 
2107
2108
  /*
2108
2109
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2140,7 +2141,7 @@
2140
2141
  }
2141
2142
  }
2142
2143
 
2143
- /*! @azure/msal-common v16.5.0 2026-04-16 */
2144
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
2144
2145
 
2145
2146
  /*
2146
2147
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2178,7 +2179,7 @@
2178
2179
  };
2179
2180
  }
2180
2181
 
2181
- /*! @azure/msal-common v16.5.0 2026-04-16 */
2182
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
2182
2183
  /*
2183
2184
  * Copyright (c) Microsoft Corporation. All rights reserved.
2184
2185
  * Licensed under the MIT License.
@@ -2193,7 +2194,7 @@
2193
2194
  Ciam: 3,
2194
2195
  };
2195
2196
 
2196
- /*! @azure/msal-common v16.5.0 2026-04-16 */
2197
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
2197
2198
  /*
2198
2199
  * Copyright (c) Microsoft Corporation. All rights reserved.
2199
2200
  * Licensed under the MIT License.
@@ -2215,7 +2216,7 @@
2215
2216
  return null;
2216
2217
  }
2217
2218
 
2218
- /*! @azure/msal-common v16.5.0 2026-04-16 */
2219
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
2219
2220
  /*
2220
2221
  * Copyright (c) Microsoft Corporation. All rights reserved.
2221
2222
  * Licensed under the MIT License.
@@ -2239,7 +2240,7 @@
2239
2240
  EAR: "EAR",
2240
2241
  };
2241
2242
 
2242
- /*! @azure/msal-common v16.5.0 2026-04-16 */
2243
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
2243
2244
  /**
2244
2245
  * Returns the AccountInfo interface for this account.
2245
2246
  */
@@ -2414,7 +2415,7 @@
2414
2415
  entity.hasOwnProperty("authorityType"));
2415
2416
  }
2416
2417
 
2417
- /*! @azure/msal-common v16.5.0 2026-04-16 */
2418
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
2418
2419
 
2419
2420
  /*
2420
2421
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -2551,6 +2552,19 @@
2551
2552
  !(tenantProfile.isHomeTenant === tenantProfileFilter.isHomeTenant)) {
2552
2553
  return false;
2553
2554
  }
2555
+ if (!!tenantProfileFilter.username &&
2556
+ !(this.matchUsername(tenantProfile.username, tenantProfileFilter.username) ||
2557
+ !this.matchUsername(tenantProfile.upn, tenantProfileFilter.username))) {
2558
+ return false;
2559
+ }
2560
+ if (!!tenantProfileFilter.loginHint &&
2561
+ !this.matchLoginHintWithTenantProfile(tenantProfile, tenantProfileFilter.loginHint)) {
2562
+ return false;
2563
+ }
2564
+ if (!!tenantProfileFilter.upn &&
2565
+ !(tenantProfile.upn === tenantProfileFilter.upn)) {
2566
+ return false;
2567
+ }
2554
2568
  return true;
2555
2569
  }
2556
2570
  idTokenClaimsMatchTenantProfileFilter(idTokenClaims, tenantProfileFilter) {
@@ -2565,7 +2579,8 @@
2565
2579
  return false;
2566
2580
  }
2567
2581
  if (!!tenantProfileFilter.username &&
2568
- !this.matchUsername(idTokenClaims.preferred_username, tenantProfileFilter.username)) {
2582
+ !this.matchUsername(idTokenClaims.preferred_username, tenantProfileFilter.username) &&
2583
+ !this.matchUsername(idTokenClaims.upn, tenantProfileFilter.username)) {
2569
2584
  return false;
2570
2585
  }
2571
2586
  if (!!tenantProfileFilter.name &&
@@ -2666,10 +2681,6 @@
2666
2681
  !this.matchHomeAccountId(entity, accountFilter.homeAccountId)) {
2667
2682
  return;
2668
2683
  }
2669
- if (!!accountFilter.username &&
2670
- !this.matchUsername(entity.username, accountFilter.username)) {
2671
- return;
2672
- }
2673
2684
  if (!!accountFilter.environment &&
2674
2685
  !this.matchEnvironment(entity, accountFilter.environment, correlationId)) {
2675
2686
  return;
@@ -2690,6 +2701,9 @@
2690
2701
  const tenantProfileFilter = {
2691
2702
  localAccountId: accountFilter?.localAccountId,
2692
2703
  name: accountFilter?.name,
2704
+ username: accountFilter?.username,
2705
+ loginHint: accountFilter?.loginHint,
2706
+ upn: accountFilter?.upn,
2693
2707
  };
2694
2708
  const matchingTenantProfiles = entity.tenantProfiles?.filter((tenantProfile) => {
2695
2709
  return this.tenantProfileMatchesFilter(tenantProfile, tenantProfileFilter);
@@ -2940,11 +2954,11 @@
2940
2954
  const numHomeIdTokens = homeIdTokenMap.size;
2941
2955
  if (numHomeIdTokens < 1) {
2942
2956
  this.commonLogger.info("0ooalx", correlationId);
2943
- return idTokenMap.values().next().value;
2957
+ return idTokenMap.values().next().value ?? null;
2944
2958
  }
2945
2959
  else if (numHomeIdTokens === 1) {
2946
2960
  this.commonLogger.info("1eq2vc", correlationId);
2947
- return homeIdTokenMap.values().next().value;
2961
+ return homeIdTokenMap.values().next().value ?? null;
2948
2962
  }
2949
2963
  else {
2950
2964
  // Multiple ID tokens for home tenant profile, remove all and return null
@@ -2960,7 +2974,7 @@
2960
2974
  return null;
2961
2975
  }
2962
2976
  this.commonLogger.info("1sm769", correlationId);
2963
- return idTokenMap.values().next().value;
2977
+ return idTokenMap.values().next().value ?? null;
2964
2978
  }
2965
2979
  /**
2966
2980
  * Gets all idTokens matching the given filter
@@ -3273,6 +3287,17 @@
3273
3287
  typeof cachedUsername === "string" &&
3274
3288
  filterUsername?.toLowerCase() === cachedUsername.toLowerCase());
3275
3289
  }
3290
+ /**
3291
+ * helper to match loginhints
3292
+ * @param entity
3293
+ * @param loginHint
3294
+ * @returns
3295
+ */
3296
+ matchLoginHintWithTenantProfile(tenantProfile, loginHintFilter) {
3297
+ return (tenantProfile.loginHint === loginHintFilter ||
3298
+ tenantProfile.username === loginHintFilter ||
3299
+ tenantProfile.upn === loginHintFilter);
3300
+ }
3276
3301
  /**
3277
3302
  * helper to match assertion
3278
3303
  * @param value
@@ -3365,6 +3390,10 @@
3365
3390
  if (tokenClaims.upn === loginHint) {
3366
3391
  return true;
3367
3392
  }
3393
+ // check login hint against list of emails in token claims
3394
+ if (tokenClaims.emails && tokenClaims.emails.includes(loginHint)) {
3395
+ return true;
3396
+ }
3368
3397
  return false;
3369
3398
  }
3370
3399
  /**
@@ -3516,7 +3545,7 @@
3516
3545
  }
3517
3546
  }
3518
3547
 
3519
- /*! @azure/msal-common v16.5.0 2026-04-16 */
3548
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
3520
3549
  /*
3521
3550
  * Copyright (c) Microsoft Corporation. All rights reserved.
3522
3551
  * Licensed under the MIT License.
@@ -3567,7 +3596,7 @@
3567
3596
  "redirectBridgeMessageVersion",
3568
3597
  ]);
3569
3598
 
3570
- /*! @azure/msal-common v16.5.0 2026-04-16 */
3599
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
3571
3600
 
3572
3601
  /*
3573
3602
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3622,7 +3651,7 @@
3622
3651
  }
3623
3652
  }
3624
3653
 
3625
- /*! @azure/msal-common v16.5.0 2026-04-16 */
3654
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
3626
3655
 
3627
3656
  /*
3628
3657
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -3717,7 +3746,7 @@
3717
3746
  return (config.authOptions.authority.options.protocolMode === ProtocolMode.OIDC);
3718
3747
  }
3719
3748
 
3720
- /*! @azure/msal-common v16.5.0 2026-04-16 */
3749
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
3721
3750
  /*
3722
3751
  * Copyright (c) Microsoft Corporation. All rights reserved.
3723
3752
  * Licensed under the MIT License.
@@ -3744,7 +3773,7 @@
3744
3773
  }
3745
3774
  }
3746
3775
 
3747
- /*! @azure/msal-common v16.5.0 2026-04-16 */
3776
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
3748
3777
  /*
3749
3778
  * Copyright (c) Microsoft Corporation. All rights reserved.
3750
3779
  * Licensed under the MIT License.
@@ -3809,7 +3838,7 @@
3809
3838
  return cachedAtSec > nowSeconds();
3810
3839
  }
3811
3840
 
3812
- /*! @azure/msal-common v16.5.0 2026-04-16 */
3841
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
3813
3842
 
3814
3843
  /*
3815
3844
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4068,7 +4097,7 @@
4068
4097
  return metadata.expiresAt <= nowSeconds();
4069
4098
  }
4070
4099
 
4071
- /*! @azure/msal-common v16.5.0 2026-04-16 */
4100
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
4072
4101
  /*
4073
4102
  * Copyright (c) Microsoft Corporation. All rights reserved.
4074
4103
  * Licensed under the MIT License.
@@ -4139,7 +4168,7 @@
4139
4168
  const CacheManagerGetRefreshToken = "cacheManagerGetRefreshToken";
4140
4169
  const SetUserData = "setUserData";
4141
4170
 
4142
- /*! @azure/msal-common v16.5.0 2026-04-16 */
4171
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
4143
4172
  /*
4144
4173
  * Copyright (c) Microsoft Corporation. All rights reserved.
4145
4174
  * Licensed under the MIT License.
@@ -4232,7 +4261,7 @@
4232
4261
  };
4233
4262
  };
4234
4263
 
4235
- /*! @azure/msal-common v16.5.0 2026-04-16 */
4264
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
4236
4265
 
4237
4266
  /*
4238
4267
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4312,7 +4341,7 @@
4312
4341
  }
4313
4342
  }
4314
4343
 
4315
- /*! @azure/msal-common v16.5.0 2026-04-16 */
4344
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
4316
4345
  /*
4317
4346
  * Copyright (c) Microsoft Corporation. All rights reserved.
4318
4347
  * Licensed under the MIT License.
@@ -4376,7 +4405,7 @@
4376
4405
  uxNotAllowed: uxNotAllowed
4377
4406
  });
4378
4407
 
4379
- /*! @azure/msal-common v16.5.0 2026-04-16 */
4408
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
4380
4409
 
4381
4410
  /*
4382
4411
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4444,7 +4473,7 @@
4444
4473
  return new InteractionRequiredAuthError(errorCode, errorMessage);
4445
4474
  }
4446
4475
 
4447
- /*! @azure/msal-common v16.5.0 2026-04-16 */
4476
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
4448
4477
 
4449
4478
  /*
4450
4479
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4463,7 +4492,7 @@
4463
4492
  }
4464
4493
  }
4465
4494
 
4466
- /*! @azure/msal-common v16.5.0 2026-04-16 */
4495
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
4467
4496
 
4468
4497
  /*
4469
4498
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4531,7 +4560,7 @@
4531
4560
  }
4532
4561
  }
4533
4562
 
4534
- /*! @azure/msal-common v16.5.0 2026-04-16 */
4563
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
4535
4564
 
4536
4565
  /*
4537
4566
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -4879,7 +4908,7 @@
4879
4908
  return baseAccount;
4880
4909
  }
4881
4910
 
4882
- /*! @azure/msal-common v16.5.0 2026-04-16 */
4911
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
4883
4912
  /*
4884
4913
  * Copyright (c) Microsoft Corporation. All rights reserved.
4885
4914
  * Licensed under the MIT License.
@@ -4889,7 +4918,7 @@
4889
4918
  UPN: "UPN",
4890
4919
  };
4891
4920
 
4892
- /*! @azure/msal-common v16.5.0 2026-04-16 */
4921
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
4893
4922
  /*
4894
4923
  * Copyright (c) Microsoft Corporation. All rights reserved.
4895
4924
  * Licensed under the MIT License.
@@ -4907,7 +4936,7 @@
4907
4936
  }
4908
4937
  }
4909
4938
 
4910
- /*! @azure/msal-common v16.5.0 2026-04-16 */
4939
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
4911
4940
  /*
4912
4941
  * Copyright (c) Microsoft Corporation. All rights reserved.
4913
4942
  * Licensed under the MIT License.
@@ -4928,7 +4957,7 @@
4928
4957
  };
4929
4958
  }
4930
4959
 
4931
- /*! @azure/msal-common v16.5.0 2026-04-16 */
4960
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
4932
4961
 
4933
4962
  /*
4934
4963
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5014,7 +5043,7 @@
5014
5043
  }
5015
5044
  }
5016
5045
 
5017
- /*! @azure/msal-common v16.5.0 2026-04-16 */
5046
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
5018
5047
 
5019
5048
  /*
5020
5049
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5045,7 +5074,7 @@
5045
5074
  return new NetworkError(error, httpStatus, responseHeaders);
5046
5075
  }
5047
5076
 
5048
- /*! @azure/msal-common v16.5.0 2026-04-16 */
5077
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
5049
5078
 
5050
5079
  /*
5051
5080
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5159,7 +5188,7 @@
5159
5188
  return response;
5160
5189
  }
5161
5190
 
5162
- /*! @azure/msal-common v16.5.0 2026-04-16 */
5191
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
5163
5192
  /*
5164
5193
  * Copyright (c) Microsoft Corporation. All rights reserved.
5165
5194
  * Licensed under the MIT License.
@@ -5171,7 +5200,7 @@
5171
5200
  response.hasOwnProperty("jwks_uri"));
5172
5201
  }
5173
5202
 
5174
- /*! @azure/msal-common v16.5.0 2026-04-16 */
5203
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
5175
5204
  /*
5176
5205
  * Copyright (c) Microsoft Corporation. All rights reserved.
5177
5206
  * Licensed under the MIT License.
@@ -5181,7 +5210,7 @@
5181
5210
  response.hasOwnProperty("metadata"));
5182
5211
  }
5183
5212
 
5184
- /*! @azure/msal-common v16.5.0 2026-04-16 */
5213
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
5185
5214
  /*
5186
5215
  * Copyright (c) Microsoft Corporation. All rights reserved.
5187
5216
  * Licensed under the MIT License.
@@ -5191,7 +5220,7 @@
5191
5220
  response.hasOwnProperty("error_description"));
5192
5221
  }
5193
5222
 
5194
- /*! @azure/msal-common v16.5.0 2026-04-16 */
5223
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
5195
5224
 
5196
5225
  /*
5197
5226
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -5296,7 +5325,7 @@
5296
5325
  },
5297
5326
  };
5298
5327
 
5299
- /*! @azure/msal-common v16.5.0 2026-04-16 */
5328
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
5300
5329
 
5301
5330
  /*
5302
5331
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6116,7 +6145,7 @@
6116
6145
  };
6117
6146
  }
6118
6147
 
6119
- /*! @azure/msal-common v16.5.0 2026-04-16 */
6148
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
6120
6149
 
6121
6150
  /*
6122
6151
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6150,7 +6179,7 @@
6150
6179
  }
6151
6180
  }
6152
6181
 
6153
- /*! @azure/msal-common v16.5.0 2026-04-16 */
6182
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
6154
6183
 
6155
6184
  /*
6156
6185
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6407,7 +6436,7 @@
6407
6436
  }
6408
6437
  }
6409
6438
 
6410
- /*! @azure/msal-common v16.5.0 2026-04-16 */
6439
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
6411
6440
 
6412
6441
  /*
6413
6442
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6628,7 +6657,7 @@
6628
6657
  }
6629
6658
  }
6630
6659
 
6631
- /*! @azure/msal-common v16.5.0 2026-04-16 */
6660
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
6632
6661
 
6633
6662
  /*
6634
6663
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6744,7 +6773,7 @@
6744
6773
  }
6745
6774
  }
6746
6775
 
6747
- /*! @azure/msal-common v16.5.0 2026-04-16 */
6776
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
6748
6777
 
6749
6778
  /*
6750
6779
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6759,7 +6788,7 @@
6759
6788
  },
6760
6789
  };
6761
6790
 
6762
- /*! @azure/msal-common v16.5.0 2026-04-16 */
6791
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
6763
6792
 
6764
6793
  /*
6765
6794
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -6982,7 +7011,7 @@
6982
7011
  return account.loginHint || account.idTokenClaims?.login_hint || null;
6983
7012
  }
6984
7013
 
6985
- /*! @azure/msal-common v16.5.0 2026-04-16 */
7014
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
6986
7015
 
6987
7016
  /*
6988
7017
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7015,7 +7044,7 @@
7015
7044
  return Object.prototype.hasOwnProperty.call(params, "resource");
7016
7045
  }
7017
7046
 
7018
- /*! @azure/msal-common v16.5.0 2026-04-16 */
7047
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
7019
7048
 
7020
7049
  /*
7021
7050
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7073,7 +7102,7 @@
7073
7102
  }
7074
7103
  }
7075
7104
 
7076
- /*! @azure/msal-common v16.5.0 2026-04-16 */
7105
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
7077
7106
  /*
7078
7107
  * Copyright (c) Microsoft Corporation. All rights reserved.
7079
7108
  * Licensed under the MIT License.
@@ -7090,7 +7119,7 @@
7090
7119
  unexpectedError: unexpectedError
7091
7120
  });
7092
7121
 
7093
- /*! @azure/msal-common v16.5.0 2026-04-16 */
7122
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
7094
7123
 
7095
7124
  /*
7096
7125
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7351,7 +7380,7 @@
7351
7380
  }
7352
7381
  }
7353
7382
 
7354
- /*! @azure/msal-common v16.5.0 2026-04-16 */
7383
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
7355
7384
 
7356
7385
  /*
7357
7386
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7372,7 +7401,7 @@
7372
7401
  return new JoseHeaderError(code);
7373
7402
  }
7374
7403
 
7375
- /*! @azure/msal-common v16.5.0 2026-04-16 */
7404
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
7376
7405
  /*
7377
7406
  * Copyright (c) Microsoft Corporation. All rights reserved.
7378
7407
  * Licensed under the MIT License.
@@ -7380,7 +7409,7 @@
7380
7409
  const missingKidError = "missing_kid_error";
7381
7410
  const missingAlgError = "missing_alg_error";
7382
7411
 
7383
- /*! @azure/msal-common v16.5.0 2026-04-16 */
7412
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
7384
7413
 
7385
7414
  /*
7386
7415
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -7420,7 +7449,7 @@
7420
7449
  }
7421
7450
  }
7422
7451
 
7423
- /*! @azure/msal-common v16.5.0 2026-04-16 */
7452
+ /*! @azure/msal-common v16.5.1 2026-04-21 */
7424
7453
 
7425
7454
  /*
7426
7455
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -9837,8 +9866,8 @@
9837
9866
  const PREFIX = "msal";
9838
9867
  const BROWSER_PREFIX = "browser";
9839
9868
  const CACHE_KEY_SEPARATOR = "|";
9840
- const CREDENTIAL_SCHEMA_VERSION = 2;
9841
- const ACCOUNT_SCHEMA_VERSION = 2;
9869
+ const CREDENTIAL_SCHEMA_VERSION = 3;
9870
+ const ACCOUNT_SCHEMA_VERSION = 3;
9842
9871
  const LOG_LEVEL_CACHE_KEY = `${PREFIX}.${BROWSER_PREFIX}.log.level`;
9843
9872
  const LOG_PII_CACHE_KEY = `${PREFIX}.${BROWSER_PREFIX}.log.pii`;
9844
9873
  const BROWSER_PERF_ENABLED_KEY = `${PREFIX}.${BROWSER_PREFIX}.performance.enabled`;
@@ -10345,7 +10374,7 @@
10345
10374
 
10346
10375
  /* eslint-disable header/header */
10347
10376
  const name = "@azure/msal-browser";
10348
- const version = "5.7.0";
10377
+ const version = "5.8.0";
10349
10378
 
10350
10379
  /*
10351
10380
  * Copyright (c) Microsoft Corporation. All rights reserved.
@@ -10628,7 +10657,9 @@
10628
10657
  }
10629
10658
  await this.setUserData(newIdTokenKey, JSON.stringify(oldSchemaData), correlationId, oldSchemaData.lastUpdatedAt, kmsi);
10630
10659
  this.performanceClient.incrementFields({ migratedITCount: 1 }, correlationId);
10631
- currentCredentialKeys.idToken.push(newIdTokenKey);
10660
+ if (!currentCredentialKeys.idToken.includes(newIdTokenKey)) {
10661
+ currentCredentialKeys.idToken.push(newIdTokenKey);
10662
+ }
10632
10663
  }
10633
10664
  }
10634
10665
  this.setTokenKeys(credentialKeysToMigrate, correlationId, credentialSchema);
@@ -11477,10 +11508,8 @@
11477
11508
  return `${PREFIX}.${this.clientId}.${key}`;
11478
11509
  }
11479
11510
  /**
11480
- * Cache Key: msal.<schema_version>-<home_account_id>-<environment>-<credential_type>-<client_id or familyId>-<realm>-<scopes>-<claims hash>-<scheme>
11481
- * IdToken Example: uid.utid-login.microsoftonline.com-idtoken-app_client_id-contoso.com
11482
- * AccessToken Example: uid.utid-login.microsoftonline.com-accesstoken-app_client_id-contoso.com-scope1 scope2--pop
11483
- * RefreshToken Example: uid.utid-login.microsoftonline.com-refreshtoken-1-contoso.com
11511
+ * Generate Credential Key. All changes to the key REQUIRE a schema version update.
11512
+ * Cache Key: msal.<schema_version>|<home_account_id>|<environment>|<credential_type>|<client_id or familyId>|<realm>|<scopes>|<scheme>
11484
11513
  * @param credentialEntity
11485
11514
  * @returns
11486
11515
  */
@@ -12692,13 +12721,14 @@
12692
12721
  try {
12693
12722
  const silentRequest = this.createSilentCacheRequest(request, account);
12694
12723
  const result = await this.silentCacheClient.acquireToken(silentRequest);
12695
- const fullAccount = {
12696
- ...account,
12697
- idTokenClaims: result?.idTokenClaims,
12698
- idToken: result?.idToken,
12699
- };
12724
+ const idToken = this.browserStorage.getIdToken(account, this.correlationId, this.browserStorage.getTokenKeys(), account.tenantId);
12725
+ const idTokenClaims = extractTokenClaims(idToken?.secret || "", base64Decode);
12726
+ const fullAccount = updateAccountTenantProfileData(account, undefined, // tenantProfile optional
12727
+ idTokenClaims, idToken?.secret);
12700
12728
  return {
12701
12729
  ...result,
12730
+ idToken: idToken?.secret || "",
12731
+ idTokenClaims: idTokenClaims,
12702
12732
  account: fullAccount,
12703
12733
  };
12704
12734
  }
@@ -12821,7 +12851,8 @@
12821
12851
  const result = await this.generateAuthenticationResult(response, request, idTokenClaims, baseAccount, authority.canonicalAuthority, reqTimestamp);
12822
12852
  // cache accounts and tokens in the appropriate storage
12823
12853
  await this.cacheAccount(baseAccount, isKmsi(idTokenClaims));
12824
- await this.cacheNativeTokens(response, request, homeAccountIdentifier, idTokenClaims, response.access_token, result.tenantId, reqTimestamp);
12854
+ await this.cacheNativeTokens(response, request, homeAccountIdentifier, idTokenClaims, result.tenantId, reqTimestamp, authority.getPreferredCache() // environment
12855
+ );
12825
12856
  return result;
12826
12857
  }
12827
12858
  /**
@@ -12960,8 +12991,8 @@
12960
12991
  * @param tenantId
12961
12992
  * @param reqTimestamp
12962
12993
  */
12963
- cacheNativeTokens(response, request, homeAccountIdentifier, idTokenClaims, responseAccessToken, tenantId, reqTimestamp) {
12964
- const cachedIdToken = createIdTokenEntity(homeAccountIdentifier, request.authority, response.id_token || "", request.clientId, idTokenClaims.tid || "");
12994
+ async cacheNativeTokens(response, request, homeAccountIdentifier, idTokenClaims, tenantId, reqTimestamp, environment) {
12995
+ const cachedIdToken = createIdTokenEntity(homeAccountIdentifier, environment, response.id_token || "", request.clientId, idTokenClaims.tid || "");
12965
12996
  // cache accessToken in inmemory storage
12966
12997
  const expiresIn = request.tokenType === AuthenticationScheme$1.POP
12967
12998
  ? SHR_NONCE_VALIDITY
@@ -12970,9 +13001,13 @@
12970
13001
  : response.expires_in) || 0;
12971
13002
  const tokenExpirationSeconds = reqTimestamp + expiresIn;
12972
13003
  const responseScopes = this.generateScopes(response.scope, request.scope);
12973
- const cachedAccessToken = createAccessTokenEntity(homeAccountIdentifier, request.authority, responseAccessToken, request.clientId, idTokenClaims.tid || tenantId, responseScopes.printScopes(), tokenExpirationSeconds, 0, base64Decode, undefined, request.tokenType, undefined, request.keyId);
13004
+ const cachedAccessToken = createAccessTokenEntity(homeAccountIdentifier, environment, response.access_token, request.clientId, idTokenClaims.tid || tenantId, responseScopes.printScopes(), tokenExpirationSeconds, 0, base64Decode, undefined, request.tokenType, undefined, request.keyId);
13005
+ // save idtoken credential in configured browser storage
13006
+ if (!!cachedIdToken && request.storeInCache?.idToken !== false) {
13007
+ await this.browserStorage.setIdTokenCredential(cachedIdToken, this.correlationId, isKmsi(idTokenClaims));
13008
+ }
13009
+ // save access token credential in memory storage
12974
13010
  const nativeCacheRecord = {
12975
- idToken: cachedIdToken,
12976
13011
  accessToken: cachedAccessToken,
12977
13012
  };
12978
13013
  return this.nativeStorageManager.saveCacheRecord(nativeCacheRecord, this.correlationId, isKmsi(idTokenClaims), this.apiId, request.storeInCache);
@@ -13833,7 +13868,7 @@
13833
13868
  this.messageChannel = new MessageChannel();
13834
13869
  this.windowListener = this.onWindowMessage.bind(this); // Window event callback doesn't have access to 'this' unless it's bound
13835
13870
  this.performanceClient = performanceClient;
13836
- this.handshakeEvent = performanceClient.startMeasurement(NativeMessageHandlerHandshake);
13871
+ this.handshakeEvent = this.performanceClient.startMeasurement(NativeMessageHandlerHandshake);
13837
13872
  this.platformAuthType =
13838
13873
  PlatformAuthConstants.PLATFORM_EXTENSION_PROVIDER;
13839
13874
  }
@@ -16574,9 +16609,25 @@
16574
16609
  const accountEntity = createAccountEntityFromAccountInfo(result.account, result.cloudGraphHostName, result.msGraphHost);
16575
16610
  await this.browserStorage.setAccount(accountEntity, result.correlationId, isKmsi(result.idTokenClaims), ApiId.hydrateCache);
16576
16611
  if (result.fromPlatformBroker) {
16577
- this.logger.verbose("1fxyu8", result.correlationId);
16578
- // Tokens from native broker are stored in-memory
16579
- return this.nativeInternalStorage.hydrateCache(result, request);
16612
+ this.logger.verbose("1i5atf", result.correlationId);
16613
+ // Create idToken entity and store in browser storage
16614
+ const idTokenEntity = createIdTokenEntity(result.account.homeAccountId, result.account.environment, result.idToken, this.config.auth.clientId, result.tenantId);
16615
+ // Create accessToken entity and store in native internal storage
16616
+ const accessTokenEntity = createAccessTokenEntity(result.account.homeAccountId, result.account.environment, result.accessToken, this.config.auth.clientId, result.tenantId, result.scopes.join(" "), result.expiresOn
16617
+ ? toSecondsFromDate(result.expiresOn)
16618
+ : 0, result.extExpiresOn
16619
+ ? toSecondsFromDate(result.extExpiresOn)
16620
+ : 0, base64Decode, undefined, // refreshOn
16621
+ result.tokenType, undefined, // userAssertionHash
16622
+ request.sshKid);
16623
+ if (request.resource) {
16624
+ accessTokenEntity.resource = request.resource;
16625
+ }
16626
+ const kmsi = isKmsi(result.idTokenClaims);
16627
+ // Store idToken in browser storage
16628
+ await this.browserStorage.setIdTokenCredential(idTokenEntity, result.correlationId, kmsi);
16629
+ // Store accessToken in native internal storage
16630
+ await this.nativeInternalStorage.setAccessTokenCredential(accessTokenEntity, result.correlationId, kmsi);
16580
16631
  }
16581
16632
  else {
16582
16633
  return this.browserStorage.hydrateCache(result, request);
@@ -16640,7 +16691,9 @@
16640
16691
  loginHint: request.loginHint,
16641
16692
  sid: request.sid,
16642
16693
  }) ||
16643
- this.getActiveAccount();
16694
+ (!request.loginHint && !request.sid
16695
+ ? this.getActiveAccount()
16696
+ : null);
16644
16697
  return (account && account.nativeAccountId) || "";
16645
16698
  }
16646
16699
  /**