@azure/msal-browser 5.7.0 → 5.9.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 (814) 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.d.ts.map +1 -1
  18. package/dist/cache/CookieStorage.mjs +22 -9
  19. package/dist/cache/CookieStorage.mjs.map +1 -1
  20. package/dist/cache/DatabaseStorage.mjs +1 -1
  21. package/dist/cache/EncryptedData.mjs +1 -1
  22. package/dist/cache/LocalStorage.mjs +1 -1
  23. package/dist/cache/MemoryStorage.mjs +1 -1
  24. package/dist/cache/SessionStorage.mjs +1 -1
  25. package/dist/cache/TokenCache.mjs +1 -1
  26. package/dist/config/Configuration.mjs +1 -1
  27. package/dist/controllers/NestedAppAuthController.mjs +1 -1
  28. package/dist/controllers/StandardController.d.ts.map +1 -1
  29. package/dist/controllers/StandardController.mjs +25 -6
  30. package/dist/controllers/StandardController.mjs.map +1 -1
  31. package/dist/crypto/BrowserCrypto.mjs +1 -1
  32. package/dist/crypto/CryptoOps.mjs +1 -1
  33. package/dist/crypto/PkceGenerator.mjs +1 -1
  34. package/dist/crypto/SignedHttpRequest.mjs +1 -1
  35. package/dist/custom-auth-path/app/PublicClientApplication.mjs +1 -1
  36. package/dist/custom-auth-path/broker/nativeBroker/NativeStatusCodes.mjs +1 -1
  37. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthDOMHandler.mjs +1 -1
  38. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs +2 -2
  39. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthExtensionHandler.mjs.map +1 -1
  40. package/dist/custom-auth-path/broker/nativeBroker/PlatformAuthProvider.mjs +1 -1
  41. package/dist/custom-auth-path/cache/AccountManager.mjs +1 -1
  42. package/dist/custom-auth-path/cache/AsyncMemoryStorage.mjs +1 -1
  43. package/dist/custom-auth-path/cache/BrowserCacheManager.d.ts +2 -4
  44. package/dist/custom-auth-path/cache/BrowserCacheManager.d.ts.map +1 -1
  45. package/dist/custom-auth-path/cache/BrowserCacheManager.mjs +6 -6
  46. package/dist/custom-auth-path/cache/BrowserCacheManager.mjs.map +1 -1
  47. package/dist/custom-auth-path/cache/CacheHelpers.mjs +1 -1
  48. package/dist/custom-auth-path/cache/CacheKeys.d.ts +2 -2
  49. package/dist/custom-auth-path/cache/CacheKeys.mjs +3 -3
  50. package/dist/custom-auth-path/cache/CookieStorage.d.ts.map +1 -1
  51. package/dist/custom-auth-path/cache/CookieStorage.mjs +22 -9
  52. package/dist/custom-auth-path/cache/CookieStorage.mjs.map +1 -1
  53. package/dist/custom-auth-path/cache/DatabaseStorage.mjs +1 -1
  54. package/dist/custom-auth-path/cache/EncryptedData.mjs +1 -1
  55. package/dist/custom-auth-path/cache/LocalStorage.mjs +1 -1
  56. package/dist/custom-auth-path/cache/MemoryStorage.mjs +1 -1
  57. package/dist/custom-auth-path/cache/SessionStorage.mjs +1 -1
  58. package/dist/custom-auth-path/config/Configuration.mjs +1 -1
  59. package/dist/custom-auth-path/controllers/StandardController.d.ts.map +1 -1
  60. package/dist/custom-auth-path/controllers/StandardController.mjs +25 -6
  61. package/dist/custom-auth-path/controllers/StandardController.mjs.map +1 -1
  62. package/dist/custom-auth-path/crypto/BrowserCrypto.mjs +1 -1
  63. package/dist/custom-auth-path/crypto/CryptoOps.mjs +1 -1
  64. package/dist/custom-auth-path/crypto/PkceGenerator.mjs +1 -1
  65. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.d.ts +1 -1
  66. package/dist/custom-auth-path/custom_auth/CustomAuthConstants.mjs +1 -1
  67. package/dist/custom-auth-path/custom_auth/CustomAuthPublicClientApplication.mjs +1 -1
  68. package/dist/custom-auth-path/custom_auth/UserAccountAttributes.d.ts +1 -0
  69. package/dist/custom-auth-path/custom_auth/UserAccountAttributes.d.ts.map +1 -1
  70. package/dist/custom-auth-path/custom_auth/controller/CustomAuthStandardController.mjs +1 -1
  71. package/dist/custom-auth-path/custom_auth/core/CustomAuthAuthority.mjs +1 -1
  72. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowErrorBase.mjs +1 -1
  73. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowResultBase.mjs +1 -1
  74. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowState.mjs +1 -1
  75. package/dist/custom-auth-path/custom_auth/core/auth_flow/AuthFlowStateTypes.mjs +1 -1
  76. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.mjs +1 -1
  77. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.mjs +1 -1
  78. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.mjs +1 -1
  79. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.mjs +1 -1
  80. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.mjs +1 -1
  81. package/dist/custom-auth-path/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.mjs +1 -1
  82. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/error_type/MfaError.mjs +1 -1
  83. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.mjs +1 -1
  84. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.mjs +1 -1
  85. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.mjs +1 -1
  86. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaFailedState.mjs +1 -1
  87. package/dist/custom-auth-path/custom_auth/core/auth_flow/mfa/state/MfaState.mjs +1 -1
  88. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthApiError.mjs +1 -1
  89. package/dist/custom-auth-path/custom_auth/core/error/CustomAuthError.mjs +1 -1
  90. package/dist/custom-auth-path/custom_auth/core/error/HttpError.mjs +1 -1
  91. package/dist/custom-auth-path/custom_auth/core/error/HttpErrorCodes.mjs +1 -1
  92. package/dist/custom-auth-path/custom_auth/core/error/InvalidArgumentError.mjs +1 -1
  93. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationError.mjs +1 -1
  94. package/dist/custom-auth-path/custom_auth/core/error/InvalidConfigurationErrorCodes.mjs +1 -1
  95. package/dist/custom-auth-path/custom_auth/core/error/MethodNotImplementedError.mjs +1 -1
  96. package/dist/custom-auth-path/custom_auth/core/error/MsalCustomAuthError.mjs +1 -1
  97. package/dist/custom-auth-path/custom_auth/core/error/NoCachedAccountFoundError.mjs +1 -1
  98. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlError.mjs +1 -1
  99. package/dist/custom-auth-path/custom_auth/core/error/ParsedUrlErrorCodes.mjs +1 -1
  100. package/dist/custom-auth-path/custom_auth/core/error/UnexpectedError.mjs +1 -1
  101. package/dist/custom-auth-path/custom_auth/core/error/UnsupportedEnvironmentError.mjs +1 -1
  102. package/dist/custom-auth-path/custom_auth/core/error/UserAccountAttributeError.mjs +1 -1
  103. package/dist/custom-auth-path/custom_auth/core/error/UserAlreadySignedInError.mjs +1 -1
  104. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.mjs +1 -1
  105. package/dist/custom-auth-path/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.mjs +1 -1
  106. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/JitClient.mjs +1 -1
  107. package/dist/custom-auth-path/custom_auth/core/interaction_client/jit/result/JitActionResult.mjs +1 -1
  108. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/MfaClient.mjs +1 -1
  109. package/dist/custom-auth-path/custom_auth/core/interaction_client/mfa/result/MfaActionResult.mjs +1 -1
  110. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/BaseApiClient.mjs +1 -1
  111. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.mjs +1 -1
  112. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.mjs +1 -1
  113. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.mjs +1 -1
  114. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.mjs +1 -1
  115. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  116. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs +2 -3
  117. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignInApiClient.mjs.map +1 -1
  118. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/SignupApiClient.mjs +1 -1
  119. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.mjs +1 -1
  120. package/dist/custom-auth-path/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.mjs +1 -1
  121. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/FetchHttpClient.mjs +1 -1
  122. package/dist/custom-auth-path/custom_auth/core/network_client/http_client/IHttpClient.mjs +1 -1
  123. package/dist/custom-auth-path/custom_auth/core/telemetry/PublicApiId.mjs +1 -1
  124. package/dist/custom-auth-path/custom_auth/core/utils/ArgumentValidator.mjs +1 -1
  125. package/dist/custom-auth-path/custom_auth/core/utils/UrlUtils.mjs +1 -1
  126. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/CustomAuthAccountData.mjs +1 -1
  127. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/error_type/GetAccountError.mjs +1 -1
  128. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.mjs +1 -1
  129. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/GetAccountResult.mjs +1 -1
  130. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/result/SignOutResult.mjs +1 -1
  131. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccessTokenState.mjs +1 -1
  132. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/GetAccountState.mjs +1 -1
  133. package/dist/custom-auth-path/custom_auth/get_account/auth_flow/state/SignOutState.mjs +1 -1
  134. package/dist/custom-auth-path/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.mjs +1 -1
  135. package/dist/custom-auth-path/custom_auth/index.mjs +1 -1
  136. package/dist/custom-auth-path/custom_auth/operating_context/CustomAuthOperatingContext.mjs +1 -1
  137. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.mjs +1 -1
  138. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.mjs +1 -1
  139. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.mjs +1 -1
  140. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.mjs +1 -1
  141. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.mjs +1 -1
  142. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.mjs +1 -1
  143. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.mjs +1 -1
  144. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.mjs +1 -1
  145. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.mjs +1 -1
  146. package/dist/custom-auth-path/custom_auth/reset_password/auth_flow/state/ResetPasswordState.mjs +1 -1
  147. package/dist/custom-auth-path/custom_auth/reset_password/interaction_client/ResetPasswordClient.mjs +1 -1
  148. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/SignInScenario.mjs +1 -1
  149. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/error_type/SignInError.mjs +1 -1
  150. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.mjs +1 -1
  151. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInResult.mjs +1 -1
  152. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.mjs +1 -1
  153. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.mjs +1 -1
  154. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.mjs +1 -1
  155. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInCompletedState.mjs +1 -1
  156. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInContinuationState.mjs +1 -1
  157. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInFailedState.mjs +1 -1
  158. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.mjs +1 -1
  159. package/dist/custom-auth-path/custom_auth/sign_in/auth_flow/state/SignInState.mjs +1 -1
  160. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/SignInClient.mjs +1 -1
  161. package/dist/custom-auth-path/custom_auth/sign_in/interaction_client/result/SignInActionResult.mjs +1 -1
  162. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/error_type/SignUpError.mjs +1 -1
  163. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.mjs +1 -1
  164. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpResult.mjs +1 -1
  165. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.mjs +1 -1
  166. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.mjs +1 -1
  167. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.mjs +1 -1
  168. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.mjs +1 -1
  169. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.mjs +1 -1
  170. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.mjs +1 -1
  171. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpFailedState.mjs +1 -1
  172. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.mjs +1 -1
  173. package/dist/custom-auth-path/custom_auth/sign_up/auth_flow/state/SignUpState.mjs +1 -1
  174. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/SignUpClient.mjs +1 -1
  175. package/dist/custom-auth-path/custom_auth/sign_up/interaction_client/result/SignUpActionResult.mjs +1 -1
  176. package/dist/custom-auth-path/encode/Base64Decode.mjs +1 -1
  177. package/dist/custom-auth-path/encode/Base64Encode.mjs +1 -1
  178. package/dist/custom-auth-path/error/BrowserAuthError.mjs +1 -1
  179. package/dist/custom-auth-path/error/BrowserAuthErrorCodes.mjs +1 -1
  180. package/dist/custom-auth-path/error/BrowserConfigurationAuthError.mjs +1 -1
  181. package/dist/custom-auth-path/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  182. package/dist/custom-auth-path/error/NativeAuthError.mjs +1 -1
  183. package/dist/custom-auth-path/error/NativeAuthErrorCodes.mjs +1 -1
  184. package/dist/custom-auth-path/event/EventHandler.mjs +1 -1
  185. package/dist/custom-auth-path/event/EventType.mjs +1 -1
  186. package/dist/custom-auth-path/interaction_client/BaseInteractionClient.mjs +1 -1
  187. package/dist/custom-auth-path/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  188. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts +1 -1
  189. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  190. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs +18 -12
  191. package/dist/custom-auth-path/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
  192. package/dist/custom-auth-path/interaction_client/PopupClient.mjs +1 -1
  193. package/dist/custom-auth-path/interaction_client/RedirectClient.mjs +1 -1
  194. package/dist/custom-auth-path/interaction_client/SilentAuthCodeClient.mjs +1 -1
  195. package/dist/custom-auth-path/interaction_client/SilentCacheClient.mjs +1 -1
  196. package/dist/custom-auth-path/interaction_client/SilentIframeClient.mjs +1 -1
  197. package/dist/custom-auth-path/interaction_client/SilentRefreshClient.mjs +1 -1
  198. package/dist/custom-auth-path/interaction_client/StandardInteractionClient.mjs +1 -1
  199. package/dist/custom-auth-path/interaction_handler/InteractionHandler.mjs +1 -1
  200. package/dist/custom-auth-path/interaction_handler/SilentHandler.mjs +1 -1
  201. package/dist/custom-auth-path/log-strings-mapping.json +4 -4
  202. package/dist/custom-auth-path/navigation/NavigationClient.mjs +1 -1
  203. package/dist/custom-auth-path/network/FetchClient.mjs +1 -1
  204. package/dist/custom-auth-path/operatingcontext/BaseOperatingContext.mjs +1 -1
  205. package/dist/custom-auth-path/operatingcontext/StandardOperatingContext.mjs +1 -1
  206. package/dist/custom-auth-path/packageMetadata.d.ts +1 -1
  207. package/dist/custom-auth-path/packageMetadata.mjs +2 -2
  208. package/dist/custom-auth-path/protocol/Authorize.mjs +1 -1
  209. package/dist/custom-auth-path/request/RequestHelpers.mjs +1 -1
  210. package/dist/custom-auth-path/response/ResponseHandler.mjs +1 -1
  211. package/dist/custom-auth-path/telemetry/BrowserPerformanceEvents.mjs +1 -1
  212. package/dist/custom-auth-path/telemetry/BrowserRootPerformanceEvents.mjs +1 -1
  213. package/dist/custom-auth-path/utils/BrowserConstants.mjs +1 -1
  214. package/dist/custom-auth-path/utils/BrowserProtocolUtils.mjs +1 -1
  215. package/dist/custom-auth-path/utils/BrowserUtils.mjs +1 -1
  216. package/dist/custom-auth-path/utils/Helpers.mjs +1 -1
  217. package/dist/custom-auth-path/utils/MsalFrameStatsUtils.mjs +1 -1
  218. package/dist/custom_auth/CustomAuthConstants.d.ts +1 -1
  219. package/dist/custom_auth/UserAccountAttributes.d.ts +1 -0
  220. package/dist/custom_auth/UserAccountAttributes.d.ts.map +1 -1
  221. package/dist/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  222. package/dist/encode/Base64Decode.mjs +1 -1
  223. package/dist/encode/Base64Encode.mjs +1 -1
  224. package/dist/error/BrowserAuthError.mjs +1 -1
  225. package/dist/error/BrowserAuthErrorCodes.mjs +1 -1
  226. package/dist/error/BrowserConfigurationAuthError.mjs +1 -1
  227. package/dist/error/BrowserConfigurationAuthErrorCodes.mjs +1 -1
  228. package/dist/error/NativeAuthError.mjs +1 -1
  229. package/dist/error/NativeAuthErrorCodes.mjs +1 -1
  230. package/dist/error/NestedAppAuthError.mjs +1 -1
  231. package/dist/event/EventHandler.mjs +1 -1
  232. package/dist/event/EventMessage.mjs +1 -1
  233. package/dist/event/EventType.mjs +1 -1
  234. package/dist/index.mjs +1 -1
  235. package/dist/interaction_client/BaseInteractionClient.mjs +1 -1
  236. package/dist/interaction_client/HybridSpaAuthorizationCodeClient.mjs +1 -1
  237. package/dist/interaction_client/PlatformAuthInteractionClient.d.ts +1 -1
  238. package/dist/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  239. package/dist/interaction_client/PlatformAuthInteractionClient.mjs +18 -12
  240. package/dist/interaction_client/PlatformAuthInteractionClient.mjs.map +1 -1
  241. package/dist/interaction_client/PopupClient.mjs +1 -1
  242. package/dist/interaction_client/RedirectClient.mjs +1 -1
  243. package/dist/interaction_client/SilentAuthCodeClient.mjs +1 -1
  244. package/dist/interaction_client/SilentCacheClient.mjs +1 -1
  245. package/dist/interaction_client/SilentIframeClient.mjs +1 -1
  246. package/dist/interaction_client/SilentRefreshClient.mjs +1 -1
  247. package/dist/interaction_client/StandardInteractionClient.mjs +1 -1
  248. package/dist/interaction_handler/InteractionHandler.mjs +1 -1
  249. package/dist/interaction_handler/SilentHandler.mjs +1 -1
  250. package/dist/log-strings-mapping.json +4 -4
  251. package/dist/naa/BridgeError.mjs +1 -1
  252. package/dist/naa/BridgeProxy.mjs +1 -1
  253. package/dist/naa/BridgeStatusCode.mjs +1 -1
  254. package/dist/naa/mapping/NestedAppAuthAdapter.mjs +1 -1
  255. package/dist/navigation/NavigationClient.mjs +1 -1
  256. package/dist/network/FetchClient.mjs +1 -1
  257. package/dist/operatingcontext/BaseOperatingContext.mjs +1 -1
  258. package/dist/operatingcontext/NestedAppOperatingContext.mjs +1 -1
  259. package/dist/operatingcontext/StandardOperatingContext.mjs +1 -1
  260. package/dist/packageMetadata.d.ts +1 -1
  261. package/dist/packageMetadata.mjs +2 -2
  262. package/dist/protocol/Authorize.mjs +1 -1
  263. package/dist/redirect-bridge/cache/BrowserCacheManager.d.ts +2 -4
  264. package/dist/redirect-bridge/cache/BrowserCacheManager.d.ts.map +1 -1
  265. package/dist/redirect-bridge/cache/CacheKeys.d.ts +2 -2
  266. package/dist/redirect-bridge/cache/CacheKeys.mjs +1 -1
  267. package/dist/redirect-bridge/cache/CookieStorage.d.ts.map +1 -1
  268. package/dist/redirect-bridge/config/Configuration.mjs +1 -1
  269. package/dist/redirect-bridge/controllers/StandardController.d.ts.map +1 -1
  270. package/dist/redirect-bridge/custom_auth/CustomAuthConstants.d.ts +1 -1
  271. package/dist/redirect-bridge/custom_auth/UserAccountAttributes.d.ts +1 -0
  272. package/dist/redirect-bridge/custom_auth/UserAccountAttributes.d.ts.map +1 -1
  273. package/dist/redirect-bridge/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  274. package/dist/redirect-bridge/encode/Base64Decode.mjs +1 -1
  275. package/dist/redirect-bridge/error/BrowserAuthError.mjs +1 -1
  276. package/dist/redirect-bridge/error/BrowserAuthErrorCodes.mjs +1 -1
  277. package/dist/redirect-bridge/interaction_client/PlatformAuthInteractionClient.d.ts +1 -1
  278. package/dist/redirect-bridge/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  279. package/dist/redirect-bridge/navigation/NavigationClient.mjs +1 -1
  280. package/dist/redirect-bridge/packageMetadata.d.ts +1 -1
  281. package/dist/redirect-bridge/redirect_bridge/index.mjs +1 -1
  282. package/dist/redirect-bridge/utils/BrowserConstants.mjs +1 -1
  283. package/dist/redirect-bridge/utils/BrowserUtils.mjs +1 -1
  284. package/dist/request/RequestHelpers.mjs +1 -1
  285. package/dist/response/ResponseHandler.mjs +1 -1
  286. package/dist/telemetry/BrowserPerformanceClient.mjs +1 -1
  287. package/dist/telemetry/BrowserPerformanceEvents.mjs +1 -1
  288. package/dist/telemetry/BrowserPerformanceMeasurement.mjs +1 -1
  289. package/dist/telemetry/BrowserRootPerformanceEvents.mjs +1 -1
  290. package/dist/utils/BrowserConstants.mjs +1 -1
  291. package/dist/utils/BrowserProtocolUtils.mjs +1 -1
  292. package/dist/utils/BrowserUtils.mjs +1 -1
  293. package/dist/utils/Helpers.mjs +1 -1
  294. package/dist/utils/MsalFrameStatsUtils.mjs +1 -1
  295. package/lib/custom-auth-path/log-strings-mapping.json +4 -4
  296. package/lib/custom-auth-path/msal-custom-auth.cjs +177 -110
  297. package/lib/custom-auth-path/msal-custom-auth.cjs.map +1 -1
  298. package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts +2 -4
  299. package/lib/custom-auth-path/types/cache/BrowserCacheManager.d.ts.map +1 -1
  300. package/lib/custom-auth-path/types/cache/CacheKeys.d.ts +2 -2
  301. package/lib/custom-auth-path/types/cache/CookieStorage.d.ts.map +1 -1
  302. package/lib/custom-auth-path/types/controllers/StandardController.d.ts.map +1 -1
  303. package/lib/custom-auth-path/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  304. package/lib/custom-auth-path/types/custom_auth/UserAccountAttributes.d.ts +1 -0
  305. package/lib/custom-auth-path/types/custom_auth/UserAccountAttributes.d.ts.map +1 -1
  306. package/lib/custom-auth-path/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  307. package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts +1 -1
  308. package/lib/custom-auth-path/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  309. package/lib/custom-auth-path/types/packageMetadata.d.ts +1 -1
  310. package/lib/log-strings-mapping.json +4 -4
  311. package/lib/msal-browser.cjs +178 -110
  312. package/lib/msal-browser.cjs.map +1 -1
  313. package/lib/msal-browser.js +178 -110
  314. package/lib/msal-browser.js.map +1 -1
  315. package/lib/msal-browser.min.js +2 -2
  316. package/lib/redirect-bridge/msal-redirect-bridge.cjs +734 -0
  317. package/lib/redirect-bridge/msal-redirect-bridge.cjs.map +1 -0
  318. package/lib/redirect-bridge/msal-redirect-bridge.js +10 -10
  319. package/lib/redirect-bridge/msal-redirect-bridge.js.map +1 -1
  320. package/lib/redirect-bridge/msal-redirect-bridge.min.js +1 -1
  321. package/lib/redirect-bridge/types/app/IPublicClientApplication.d.ts +48 -0
  322. package/lib/redirect-bridge/types/app/IPublicClientApplication.d.ts.map +1 -0
  323. package/lib/redirect-bridge/types/app/PublicClientApplication.d.ts +247 -0
  324. package/lib/redirect-bridge/types/app/PublicClientApplication.d.ts.map +1 -0
  325. package/lib/redirect-bridge/types/broker/nativeBroker/IPlatformAuthHandler.d.ts +12 -0
  326. package/lib/redirect-bridge/types/broker/nativeBroker/IPlatformAuthHandler.d.ts.map +1 -0
  327. package/lib/redirect-bridge/types/broker/nativeBroker/NativeStatusCodes.d.ts +9 -0
  328. package/lib/redirect-bridge/types/broker/nativeBroker/NativeStatusCodes.d.ts.map +1 -0
  329. package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts +30 -0
  330. package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthDOMHandler.d.ts.map +1 -0
  331. package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts +63 -0
  332. package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthExtensionHandler.d.ts.map +1 -0
  333. package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthProvider.d.ts +28 -0
  334. package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthProvider.d.ts.map +1 -0
  335. package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthRequest.d.ts +79 -0
  336. package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthRequest.d.ts.map +1 -0
  337. package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthResponse.d.ts +71 -0
  338. package/lib/redirect-bridge/types/broker/nativeBroker/PlatformAuthResponse.d.ts.map +1 -0
  339. package/lib/redirect-bridge/types/cache/AccountManager.d.ts +24 -0
  340. package/lib/redirect-bridge/types/cache/AccountManager.d.ts.map +1 -0
  341. package/lib/redirect-bridge/types/cache/AsyncMemoryStorage.d.ts +58 -0
  342. package/lib/redirect-bridge/types/cache/AsyncMemoryStorage.d.ts.map +1 -0
  343. package/lib/redirect-bridge/types/cache/BrowserCacheManager.d.ts +364 -0
  344. package/lib/redirect-bridge/types/cache/BrowserCacheManager.d.ts.map +1 -0
  345. package/lib/redirect-bridge/types/cache/CacheHelpers.d.ts +16 -0
  346. package/lib/redirect-bridge/types/cache/CacheHelpers.d.ts.map +1 -0
  347. package/lib/redirect-bridge/types/cache/CacheKeys.d.ts +15 -0
  348. package/lib/redirect-bridge/types/cache/CacheKeys.d.ts.map +1 -0
  349. package/lib/redirect-bridge/types/cache/CookieStorage.d.ts +23 -0
  350. package/lib/redirect-bridge/types/cache/CookieStorage.d.ts.map +1 -0
  351. package/lib/redirect-bridge/types/cache/DatabaseStorage.d.ts +57 -0
  352. package/lib/redirect-bridge/types/cache/DatabaseStorage.d.ts.map +1 -0
  353. package/lib/redirect-bridge/types/cache/EncryptedData.d.ts +8 -0
  354. package/lib/redirect-bridge/types/cache/EncryptedData.d.ts.map +1 -0
  355. package/lib/redirect-bridge/types/cache/IAsyncStorage.d.ts +33 -0
  356. package/lib/redirect-bridge/types/cache/IAsyncStorage.d.ts.map +1 -0
  357. package/lib/redirect-bridge/types/cache/IWindowStorage.d.ts +42 -0
  358. package/lib/redirect-bridge/types/cache/IWindowStorage.d.ts.map +1 -0
  359. package/lib/redirect-bridge/types/cache/LocalStorage.d.ts +51 -0
  360. package/lib/redirect-bridge/types/cache/LocalStorage.d.ts.map +1 -0
  361. package/lib/redirect-bridge/types/cache/MemoryStorage.d.ts +16 -0
  362. package/lib/redirect-bridge/types/cache/MemoryStorage.d.ts.map +1 -0
  363. package/lib/redirect-bridge/types/cache/SessionStorage.d.ts +14 -0
  364. package/lib/redirect-bridge/types/cache/SessionStorage.d.ts.map +1 -0
  365. package/lib/redirect-bridge/types/cache/TokenCache.d.ts +20 -0
  366. package/lib/redirect-bridge/types/cache/TokenCache.d.ts.map +1 -0
  367. package/lib/redirect-bridge/types/config/Configuration.d.ts +198 -0
  368. package/lib/redirect-bridge/types/config/Configuration.d.ts.map +1 -0
  369. package/lib/redirect-bridge/types/controllers/IController.d.ts +3 -0
  370. package/lib/redirect-bridge/types/controllers/IController.d.ts.map +1 -0
  371. package/lib/redirect-bridge/types/controllers/NestedAppAuthController.d.ts +159 -0
  372. package/lib/redirect-bridge/types/controllers/NestedAppAuthController.d.ts.map +1 -0
  373. package/lib/redirect-bridge/types/controllers/StandardController.d.ts +398 -0
  374. package/lib/redirect-bridge/types/controllers/StandardController.d.ts.map +1 -0
  375. package/lib/redirect-bridge/types/controllers/UnknownOperatingContextController.d.ts +73 -0
  376. package/lib/redirect-bridge/types/controllers/UnknownOperatingContextController.d.ts.map +1 -0
  377. package/lib/redirect-bridge/types/crypto/BrowserCrypto.d.ts +96 -0
  378. package/lib/redirect-bridge/types/crypto/BrowserCrypto.d.ts.map +1 -0
  379. package/lib/redirect-bridge/types/crypto/CryptoOps.d.ts +77 -0
  380. package/lib/redirect-bridge/types/crypto/CryptoOps.d.ts.map +1 -0
  381. package/lib/redirect-bridge/types/crypto/PkceGenerator.d.ts +9 -0
  382. package/lib/redirect-bridge/types/crypto/PkceGenerator.d.ts.map +1 -0
  383. package/lib/redirect-bridge/types/crypto/SignedHttpRequest.d.ts +32 -0
  384. package/lib/redirect-bridge/types/crypto/SignedHttpRequest.d.ts.map +1 -0
  385. package/lib/redirect-bridge/types/custom_auth/CustomAuthActionInputs.d.ts +29 -0
  386. package/lib/redirect-bridge/types/custom_auth/CustomAuthActionInputs.d.ts.map +1 -0
  387. package/lib/redirect-bridge/types/custom_auth/CustomAuthConstants.d.ts +35 -0
  388. package/lib/redirect-bridge/types/custom_auth/CustomAuthConstants.d.ts.map +1 -0
  389. package/lib/redirect-bridge/types/custom_auth/CustomAuthPublicClientApplication.d.ts +55 -0
  390. package/lib/redirect-bridge/types/custom_auth/CustomAuthPublicClientApplication.d.ts.map +1 -0
  391. package/lib/redirect-bridge/types/custom_auth/ICustomAuthPublicClientApplication.d.ts +33 -0
  392. package/lib/redirect-bridge/types/custom_auth/ICustomAuthPublicClientApplication.d.ts.map +1 -0
  393. package/lib/redirect-bridge/types/custom_auth/UserAccountAttributes.d.ts +13 -0
  394. package/lib/redirect-bridge/types/custom_auth/UserAccountAttributes.d.ts.map +1 -0
  395. package/lib/redirect-bridge/types/custom_auth/configuration/CustomAuthConfiguration.d.ts +14 -0
  396. package/lib/redirect-bridge/types/custom_auth/configuration/CustomAuthConfiguration.d.ts.map +1 -0
  397. package/lib/redirect-bridge/types/custom_auth/controller/CustomAuthStandardController.d.ts +27 -0
  398. package/lib/redirect-bridge/types/custom_auth/controller/CustomAuthStandardController.d.ts.map +1 -0
  399. package/lib/redirect-bridge/types/custom_auth/controller/ICustomAuthStandardController.d.ts +13 -0
  400. package/lib/redirect-bridge/types/custom_auth/controller/ICustomAuthStandardController.d.ts.map +1 -0
  401. package/lib/redirect-bridge/types/custom_auth/core/CustomAuthAuthority.d.ts +29 -0
  402. package/lib/redirect-bridge/types/custom_auth/core/CustomAuthAuthority.d.ts.map +1 -0
  403. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts +40 -0
  404. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowErrorBase.d.ts.map +1 -0
  405. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts +11 -0
  406. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowResultBase.d.ts.map +1 -0
  407. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowState.d.ts +31 -0
  408. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowState.d.ts.map +1 -0
  409. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowStateTypes.d.ts +29 -0
  410. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/AuthFlowStateTypes.d.ts.map +1 -0
  411. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/AuthMethodDetails.d.ts +15 -0
  412. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/AuthMethodDetails.d.ts.map +1 -0
  413. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts +27 -0
  414. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/error_type/AuthMethodRegistrationError.d.ts.map +1 -0
  415. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts +47 -0
  416. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationChallengeMethodResult.d.ts.map +1 -0
  417. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts +37 -0
  418. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/result/AuthMethodRegistrationSubmitChallengeResult.d.ts.map +1 -0
  419. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts +11 -0
  420. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationCompletedState.d.ts.map +1 -0
  421. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts +11 -0
  422. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationFailedState.d.ts.map +1 -0
  423. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts +82 -0
  424. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationState.d.ts.map +1 -0
  425. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.d.ts +20 -0
  426. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/jit/state/AuthMethodRegistrationStateParameters.d.ts.map +1 -0
  427. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts +27 -0
  428. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/error_type/MfaError.d.ts.map +1 -0
  429. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts +40 -0
  430. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/result/MfaRequestChallengeResult.d.ts.map +1 -0
  431. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts +34 -0
  432. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/result/MfaSubmitChallengeResult.d.ts.map +1 -0
  433. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts +11 -0
  434. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaCompletedState.d.ts.map +1 -0
  435. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts +11 -0
  436. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaFailedState.d.ts.map +1 -0
  437. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts +67 -0
  438. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaState.d.ts.map +1 -0
  439. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts +19 -0
  440. package/lib/redirect-bridge/types/custom_auth/core/auth_flow/mfa/state/MfaStateParameters.d.ts.map +1 -0
  441. package/lib/redirect-bridge/types/custom_auth/core/error/CustomAuthApiError.d.ts +20 -0
  442. package/lib/redirect-bridge/types/custom_auth/core/error/CustomAuthApiError.d.ts.map +1 -0
  443. package/lib/redirect-bridge/types/custom_auth/core/error/CustomAuthError.d.ts +9 -0
  444. package/lib/redirect-bridge/types/custom_auth/core/error/CustomAuthError.d.ts.map +1 -0
  445. package/lib/redirect-bridge/types/custom_auth/core/error/HttpError.d.ts +5 -0
  446. package/lib/redirect-bridge/types/custom_auth/core/error/HttpError.d.ts.map +1 -0
  447. package/lib/redirect-bridge/types/custom_auth/core/error/HttpErrorCodes.d.ts +3 -0
  448. package/lib/redirect-bridge/types/custom_auth/core/error/HttpErrorCodes.d.ts.map +1 -0
  449. package/lib/redirect-bridge/types/custom_auth/core/error/InvalidArgumentError.d.ts +5 -0
  450. package/lib/redirect-bridge/types/custom_auth/core/error/InvalidArgumentError.d.ts.map +1 -0
  451. package/lib/redirect-bridge/types/custom_auth/core/error/InvalidConfigurationError.d.ts +5 -0
  452. package/lib/redirect-bridge/types/custom_auth/core/error/InvalidConfigurationError.d.ts.map +1 -0
  453. package/lib/redirect-bridge/types/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts +4 -0
  454. package/lib/redirect-bridge/types/custom_auth/core/error/InvalidConfigurationErrorCodes.d.ts.map +1 -0
  455. package/lib/redirect-bridge/types/custom_auth/core/error/MethodNotImplementedError.d.ts +5 -0
  456. package/lib/redirect-bridge/types/custom_auth/core/error/MethodNotImplementedError.d.ts.map +1 -0
  457. package/lib/redirect-bridge/types/custom_auth/core/error/MsalCustomAuthError.d.ts +5 -0
  458. package/lib/redirect-bridge/types/custom_auth/core/error/MsalCustomAuthError.d.ts.map +1 -0
  459. package/lib/redirect-bridge/types/custom_auth/core/error/NoCachedAccountFoundError.d.ts +5 -0
  460. package/lib/redirect-bridge/types/custom_auth/core/error/NoCachedAccountFoundError.d.ts.map +1 -0
  461. package/lib/redirect-bridge/types/custom_auth/core/error/ParsedUrlError.d.ts +5 -0
  462. package/lib/redirect-bridge/types/custom_auth/core/error/ParsedUrlError.d.ts.map +1 -0
  463. package/lib/redirect-bridge/types/custom_auth/core/error/ParsedUrlErrorCodes.d.ts +2 -0
  464. package/lib/redirect-bridge/types/custom_auth/core/error/ParsedUrlErrorCodes.d.ts.map +1 -0
  465. package/lib/redirect-bridge/types/custom_auth/core/error/UnexpectedError.d.ts +5 -0
  466. package/lib/redirect-bridge/types/custom_auth/core/error/UnexpectedError.d.ts.map +1 -0
  467. package/lib/redirect-bridge/types/custom_auth/core/error/UnsupportedEnvironmentError.d.ts +5 -0
  468. package/lib/redirect-bridge/types/custom_auth/core/error/UnsupportedEnvironmentError.d.ts.map +1 -0
  469. package/lib/redirect-bridge/types/custom_auth/core/error/UserAccountAttributeError.d.ts +5 -0
  470. package/lib/redirect-bridge/types/custom_auth/core/error/UserAccountAttributeError.d.ts.map +1 -0
  471. package/lib/redirect-bridge/types/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts +2 -0
  472. package/lib/redirect-bridge/types/custom_auth/core/error/UserAccountAttributeErrorCodes.d.ts.map +1 -0
  473. package/lib/redirect-bridge/types/custom_auth/core/error/UserAlreadySignedInError.d.ts +5 -0
  474. package/lib/redirect-bridge/types/custom_auth/core/error/UserAlreadySignedInError.d.ts.map +1 -0
  475. package/lib/redirect-bridge/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts +34 -0
  476. package/lib/redirect-bridge/types/custom_auth/core/interaction_client/CustomAuthInteractionClientBase.d.ts.map +1 -0
  477. package/lib/redirect-bridge/types/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts +22 -0
  478. package/lib/redirect-bridge/types/custom_auth/core/interaction_client/CustomAuthInterationClientFactory.d.ts.map +1 -0
  479. package/lib/redirect-bridge/types/custom_auth/core/interaction_client/jit/JitClient.d.ts +21 -0
  480. package/lib/redirect-bridge/types/custom_auth/core/interaction_client/jit/JitClient.d.ts.map +1 -0
  481. package/lib/redirect-bridge/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts +20 -0
  482. package/lib/redirect-bridge/types/custom_auth/core/interaction_client/jit/parameter/JitParams.d.ts.map +1 -0
  483. package/lib/redirect-bridge/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts +22 -0
  484. package/lib/redirect-bridge/types/custom_auth/core/interaction_client/jit/result/JitActionResult.d.ts.map +1 -0
  485. package/lib/redirect-bridge/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts +21 -0
  486. package/lib/redirect-bridge/types/custom_auth/core/interaction_client/mfa/MfaClient.d.ts.map +1 -0
  487. package/lib/redirect-bridge/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts +14 -0
  488. package/lib/redirect-bridge/types/custom_auth/core/interaction_client/mfa/parameter/MfaClientParameters.d.ts.map +1 -0
  489. package/lib/redirect-bridge/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts +23 -0
  490. package/lib/redirect-bridge/types/custom_auth/core/interaction_client/mfa/result/MfaActionResult.d.ts.map +1 -0
  491. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts +15 -0
  492. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/BaseApiClient.d.ts.map +1 -0
  493. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts +14 -0
  494. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiClient.d.ts.map +1 -0
  495. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts +16 -0
  496. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/CustomAuthApiEndpoint.d.ts.map +1 -0
  497. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts +11 -0
  498. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/ICustomAuthApiClient.d.ts.map +1 -0
  499. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.d.ts +18 -0
  500. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/RegisterApiClient.d.ts.map +1 -0
  501. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts +34 -0
  502. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/ResetPasswordApiClient.d.ts.map +1 -0
  503. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts +37 -0
  504. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -0
  505. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts +23 -0
  506. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/SignupApiClient.d.ts.map +1 -0
  507. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts +23 -0
  508. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorCodes.d.ts.map +1 -0
  509. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts +29 -0
  510. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiErrorResponseTypes.d.ts.map +1 -0
  511. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts +86 -0
  512. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiRequestTypes.d.ts.map +1 -0
  513. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts +71 -0
  514. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiResponseTypes.d.ts.map +1 -0
  515. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts +13 -0
  516. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiSuberrors.d.ts.map +1 -0
  517. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts +9 -0
  518. package/lib/redirect-bridge/types/custom_auth/core/network_client/custom_auth_api/types/ApiTypesBase.d.ts.map +1 -0
  519. package/lib/redirect-bridge/types/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts +13 -0
  520. package/lib/redirect-bridge/types/custom_auth/core/network_client/http_client/FetchHttpClient.d.ts.map +1 -0
  521. package/lib/redirect-bridge/types/custom_auth/core/network_client/http_client/IHttpClient.d.ts +35 -0
  522. package/lib/redirect-bridge/types/custom_auth/core/network_client/http_client/IHttpClient.d.ts.map +1 -0
  523. package/lib/redirect-bridge/types/custom_auth/core/telemetry/PublicApiId.d.ts +25 -0
  524. package/lib/redirect-bridge/types/custom_auth/core/telemetry/PublicApiId.d.ts.map +1 -0
  525. package/lib/redirect-bridge/types/custom_auth/core/utils/ArgumentValidator.d.ts +4 -0
  526. package/lib/redirect-bridge/types/custom_auth/core/utils/ArgumentValidator.d.ts.map +1 -0
  527. package/lib/redirect-bridge/types/custom_auth/core/utils/UrlUtils.d.ts +3 -0
  528. package/lib/redirect-bridge/types/custom_auth/core/utils/UrlUtils.d.ts.map +1 -0
  529. package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts +47 -0
  530. package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/CustomAuthAccountData.d.ts.map +1 -0
  531. package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts +32 -0
  532. package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/error_type/GetAccountError.d.ts.map +1 -0
  533. package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts +37 -0
  534. package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/result/GetAccessTokenResult.d.ts.map +1 -0
  535. package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts +36 -0
  536. package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/result/GetAccountResult.d.ts.map +1 -0
  537. package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts +35 -0
  538. package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/result/SignOutResult.d.ts.map +1 -0
  539. package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts +20 -0
  540. package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/state/GetAccessTokenState.d.ts.map +1 -0
  541. package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts +20 -0
  542. package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/state/GetAccountState.d.ts.map +1 -0
  543. package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/state/SignOutState.d.ts +20 -0
  544. package/lib/redirect-bridge/types/custom_auth/get_account/auth_flow/state/SignOutState.d.ts.map +1 -0
  545. package/lib/redirect-bridge/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts +21 -0
  546. package/lib/redirect-bridge/types/custom_auth/get_account/interaction_client/CustomAuthSilentCacheClient.d.ts.map +1 -0
  547. package/lib/redirect-bridge/types/custom_auth/index.d.ts +84 -0
  548. package/lib/redirect-bridge/types/custom_auth/index.d.ts.map +1 -0
  549. package/lib/redirect-bridge/types/custom_auth/operating_context/CustomAuthOperatingContext.d.ts +13 -0
  550. package/lib/redirect-bridge/types/custom_auth/operating_context/CustomAuthOperatingContext.d.ts.map +1 -0
  551. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts +40 -0
  552. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/error_type/ResetPasswordError.d.ts.map +1 -0
  553. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts +37 -0
  554. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordResendCodeResult.d.ts.map +1 -0
  555. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts +37 -0
  556. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordStartResult.d.ts.map +1 -0
  557. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts +37 -0
  558. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitCodeResult.d.ts.map +1 -0
  559. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts +32 -0
  560. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/result/ResetPasswordSubmitPasswordResult.d.ts.map +1 -0
  561. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts +27 -0
  562. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCodeRequiredState.d.ts.map +1 -0
  563. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts +11 -0
  564. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordCompletedState.d.ts.map +1 -0
  565. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts +11 -0
  566. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordFailedState.d.ts.map +1 -0
  567. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts +16 -0
  568. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordPasswordRequiredState.d.ts.map +1 -0
  569. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts +6 -0
  570. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordState.d.ts.map +1 -0
  571. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts +19 -0
  572. package/lib/redirect-bridge/types/custom_auth/reset_password/auth_flow/state/ResetPasswordStateParameters.d.ts.map +1 -0
  573. package/lib/redirect-bridge/types/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts +33 -0
  574. package/lib/redirect-bridge/types/custom_auth/reset_password/interaction_client/ResetPasswordClient.d.ts.map +1 -0
  575. package/lib/redirect-bridge/types/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts +19 -0
  576. package/lib/redirect-bridge/types/custom_auth/reset_password/interaction_client/parameter/ResetPasswordParams.d.ts.map +1 -0
  577. package/lib/redirect-bridge/types/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts +14 -0
  578. package/lib/redirect-bridge/types/custom_auth/reset_password/interaction_client/result/ResetPasswordActionResult.d.ts.map +1 -0
  579. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/SignInScenario.d.ts +6 -0
  580. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/SignInScenario.d.ts.map +1 -0
  581. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts +45 -0
  582. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/error_type/SignInError.d.ts.map +1 -0
  583. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts +37 -0
  584. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInResendCodeResult.d.ts.map +1 -0
  585. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts +72 -0
  586. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInResult.d.ts.map +1 -0
  587. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts +51 -0
  588. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInSubmitCodeResult.d.ts.map +1 -0
  589. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts +46 -0
  590. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/result/SignInSubmitPasswordResult.d.ts.map +1 -0
  591. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts +33 -0
  592. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInCodeRequiredState.d.ts.map +1 -0
  593. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts +12 -0
  594. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInCompletedState.d.ts.map +1 -0
  595. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts +17 -0
  596. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInContinuationState.d.ts.map +1 -0
  597. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts +11 -0
  598. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInFailedState.d.ts.map +1 -0
  599. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts +21 -0
  600. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInPasswordRequiredState.d.ts.map +1 -0
  601. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInState.d.ts +22 -0
  602. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInState.d.ts.map +1 -0
  603. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts +25 -0
  604. package/lib/redirect-bridge/types/custom_auth/sign_in/auth_flow/state/SignInStateParameters.d.ts.map +1 -0
  605. package/lib/redirect-bridge/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts +49 -0
  606. package/lib/redirect-bridge/types/custom_auth/sign_in/interaction_client/SignInClient.d.ts.map +1 -0
  607. package/lib/redirect-bridge/types/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts +32 -0
  608. package/lib/redirect-bridge/types/custom_auth/sign_in/interaction_client/parameter/SignInParams.d.ts.map +1 -0
  609. package/lib/redirect-bridge/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts +43 -0
  610. package/lib/redirect-bridge/types/custom_auth/sign_in/interaction_client/result/SignInActionResult.d.ts.map +1 -0
  611. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts +62 -0
  612. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/error_type/SignUpError.d.ts.map +1 -0
  613. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts +37 -0
  614. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpResendCodeResult.d.ts.map +1 -0
  615. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts +53 -0
  616. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpResult.d.ts.map +1 -0
  617. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts +37 -0
  618. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitAttributesResult.d.ts.map +1 -0
  619. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts +53 -0
  620. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitCodeResult.d.ts.map +1 -0
  621. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts +45 -0
  622. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/result/SignUpSubmitPasswordResult.d.ts.map +1 -0
  623. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts +25 -0
  624. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpAttributesRequiredState.d.ts.map +1 -0
  625. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts +32 -0
  626. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpCodeRequiredState.d.ts.map +1 -0
  627. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts +11 -0
  628. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpCompletedState.d.ts.map +1 -0
  629. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts +11 -0
  630. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpFailedState.d.ts.map +1 -0
  631. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts +16 -0
  632. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpPasswordRequiredState.d.ts.map +1 -0
  633. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts +6 -0
  634. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpState.d.ts.map +1 -0
  635. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts +24 -0
  636. package/lib/redirect-bridge/types/custom_auth/sign_up/auth_flow/state/SignUpStateParameters.d.ts.map +1 -0
  637. package/lib/redirect-bridge/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts +41 -0
  638. package/lib/redirect-bridge/types/custom_auth/sign_up/interaction_client/SignUpClient.d.ts.map +1 -0
  639. package/lib/redirect-bridge/types/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts +26 -0
  640. package/lib/redirect-bridge/types/custom_auth/sign_up/interaction_client/parameter/SignUpParams.d.ts.map +1 -0
  641. package/lib/redirect-bridge/types/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts +34 -0
  642. package/lib/redirect-bridge/types/custom_auth/sign_up/interaction_client/result/SignUpActionResult.d.ts.map +1 -0
  643. package/lib/redirect-bridge/types/encode/Base64Decode.d.ts +15 -0
  644. package/lib/redirect-bridge/types/encode/Base64Decode.d.ts.map +1 -0
  645. package/lib/redirect-bridge/types/encode/Base64Encode.d.ts +20 -0
  646. package/lib/redirect-bridge/types/encode/Base64Encode.d.ts.map +1 -0
  647. package/lib/redirect-bridge/types/error/BrowserAuthError.d.ts +12 -0
  648. package/lib/redirect-bridge/types/error/BrowserAuthError.d.ts.map +1 -0
  649. package/lib/redirect-bridge/types/error/BrowserAuthErrorCodes.d.ts +53 -0
  650. package/lib/redirect-bridge/types/error/BrowserAuthErrorCodes.d.ts.map +1 -0
  651. package/lib/redirect-bridge/types/error/BrowserConfigurationAuthError.d.ts +11 -0
  652. package/lib/redirect-bridge/types/error/BrowserConfigurationAuthError.d.ts.map +1 -0
  653. package/lib/redirect-bridge/types/error/BrowserConfigurationAuthErrorCodes.d.ts +4 -0
  654. package/lib/redirect-bridge/types/error/BrowserConfigurationAuthErrorCodes.d.ts.map +1 -0
  655. package/lib/redirect-bridge/types/error/NativeAuthError.d.ts +27 -0
  656. package/lib/redirect-bridge/types/error/NativeAuthError.d.ts.map +1 -0
  657. package/lib/redirect-bridge/types/error/NativeAuthErrorCodes.d.ts +5 -0
  658. package/lib/redirect-bridge/types/error/NativeAuthErrorCodes.d.ts.map +1 -0
  659. package/lib/redirect-bridge/types/error/NestedAppAuthError.d.ts +6 -0
  660. package/lib/redirect-bridge/types/error/NestedAppAuthError.d.ts.map +1 -0
  661. package/lib/redirect-bridge/types/event/EventHandler.d.ts +49 -0
  662. package/lib/redirect-bridge/types/event/EventHandler.d.ts.map +1 -0
  663. package/lib/redirect-bridge/types/event/EventMessage.d.ts +41 -0
  664. package/lib/redirect-bridge/types/event/EventMessage.d.ts.map +1 -0
  665. package/lib/redirect-bridge/types/event/EventType.d.ts +24 -0
  666. package/lib/redirect-bridge/types/event/EventType.d.ts.map +1 -0
  667. package/lib/redirect-bridge/types/index.d.ts +73 -0
  668. package/lib/redirect-bridge/types/index.d.ts.map +1 -0
  669. package/lib/redirect-bridge/types/interaction_client/BaseInteractionClient.d.ts +77 -0
  670. package/lib/redirect-bridge/types/interaction_client/BaseInteractionClient.d.ts.map +1 -0
  671. package/lib/redirect-bridge/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts +5 -0
  672. package/lib/redirect-bridge/types/interaction_client/HybridSpaAuthorizationCodeClient.d.ts.map +1 -0
  673. package/lib/redirect-bridge/types/interaction_client/PlatformAuthInteractionClient.d.ts +151 -0
  674. package/lib/redirect-bridge/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -0
  675. package/lib/redirect-bridge/types/interaction_client/PopupClient.d.ts +106 -0
  676. package/lib/redirect-bridge/types/interaction_client/PopupClient.d.ts.map +1 -0
  677. package/lib/redirect-bridge/types/interaction_client/RedirectClient.d.ts +77 -0
  678. package/lib/redirect-bridge/types/interaction_client/RedirectClient.d.ts.map +1 -0
  679. package/lib/redirect-bridge/types/interaction_client/SilentAuthCodeClient.d.ts +24 -0
  680. package/lib/redirect-bridge/types/interaction_client/SilentAuthCodeClient.d.ts.map +1 -0
  681. package/lib/redirect-bridge/types/interaction_client/SilentCacheClient.d.ts +17 -0
  682. package/lib/redirect-bridge/types/interaction_client/SilentCacheClient.d.ts.map +1 -0
  683. package/lib/redirect-bridge/types/interaction_client/SilentIframeClient.d.ts +57 -0
  684. package/lib/redirect-bridge/types/interaction_client/SilentIframeClient.d.ts.map +1 -0
  685. package/lib/redirect-bridge/types/interaction_client/SilentRefreshClient.d.ts +32 -0
  686. package/lib/redirect-bridge/types/interaction_client/SilentRefreshClient.d.ts.map +1 -0
  687. package/lib/redirect-bridge/types/interaction_client/StandardInteractionClient.d.ts +76 -0
  688. package/lib/redirect-bridge/types/interaction_client/StandardInteractionClient.d.ts.map +1 -0
  689. package/lib/redirect-bridge/types/interaction_handler/InteractionHandler.d.ts +33 -0
  690. package/lib/redirect-bridge/types/interaction_handler/InteractionHandler.d.ts.map +1 -0
  691. package/lib/redirect-bridge/types/interaction_handler/SilentHandler.d.ts +17 -0
  692. package/lib/redirect-bridge/types/interaction_handler/SilentHandler.d.ts.map +1 -0
  693. package/lib/redirect-bridge/types/naa/AccountInfo.d.ts +13 -0
  694. package/lib/redirect-bridge/types/naa/AccountInfo.d.ts.map +1 -0
  695. package/lib/redirect-bridge/types/naa/AuthBridge.d.ts +9 -0
  696. package/lib/redirect-bridge/types/naa/AuthBridge.d.ts.map +1 -0
  697. package/lib/redirect-bridge/types/naa/AuthResult.d.ts +7 -0
  698. package/lib/redirect-bridge/types/naa/AuthResult.d.ts.map +1 -0
  699. package/lib/redirect-bridge/types/naa/BridgeAccountContext.d.ts +13 -0
  700. package/lib/redirect-bridge/types/naa/BridgeAccountContext.d.ts.map +1 -0
  701. package/lib/redirect-bridge/types/naa/BridgeCapabilities.d.ts +4 -0
  702. package/lib/redirect-bridge/types/naa/BridgeCapabilities.d.ts.map +1 -0
  703. package/lib/redirect-bridge/types/naa/BridgeError.d.ts +10 -0
  704. package/lib/redirect-bridge/types/naa/BridgeError.d.ts.map +1 -0
  705. package/lib/redirect-bridge/types/naa/BridgeProxy.d.ts +69 -0
  706. package/lib/redirect-bridge/types/naa/BridgeProxy.d.ts.map +1 -0
  707. package/lib/redirect-bridge/types/naa/BridgeRequest.d.ts +8 -0
  708. package/lib/redirect-bridge/types/naa/BridgeRequest.d.ts.map +1 -0
  709. package/lib/redirect-bridge/types/naa/BridgeRequestEnvelope.d.ts +13 -0
  710. package/lib/redirect-bridge/types/naa/BridgeRequestEnvelope.d.ts.map +1 -0
  711. package/lib/redirect-bridge/types/naa/BridgeResponseEnvelope.d.ts +14 -0
  712. package/lib/redirect-bridge/types/naa/BridgeResponseEnvelope.d.ts.map +1 -0
  713. package/lib/redirect-bridge/types/naa/BridgeStatusCode.d.ts +12 -0
  714. package/lib/redirect-bridge/types/naa/BridgeStatusCode.d.ts.map +1 -0
  715. package/lib/redirect-bridge/types/naa/IBridgeProxy.d.ts +11 -0
  716. package/lib/redirect-bridge/types/naa/IBridgeProxy.d.ts.map +1 -0
  717. package/lib/redirect-bridge/types/naa/InitContext.d.ts +9 -0
  718. package/lib/redirect-bridge/types/naa/InitContext.d.ts.map +1 -0
  719. package/lib/redirect-bridge/types/naa/TokenRequest.d.ts +21 -0
  720. package/lib/redirect-bridge/types/naa/TokenRequest.d.ts.map +1 -0
  721. package/lib/redirect-bridge/types/naa/TokenResponse.d.ts +14 -0
  722. package/lib/redirect-bridge/types/naa/TokenResponse.d.ts.map +1 -0
  723. package/lib/redirect-bridge/types/naa/mapping/NestedAppAuthAdapter.d.ts +36 -0
  724. package/lib/redirect-bridge/types/naa/mapping/NestedAppAuthAdapter.d.ts.map +1 -0
  725. package/lib/redirect-bridge/types/navigation/INavigationClient.d.ts +17 -0
  726. package/lib/redirect-bridge/types/navigation/INavigationClient.d.ts.map +1 -0
  727. package/lib/redirect-bridge/types/navigation/NavigationClient.d.ts +23 -0
  728. package/lib/redirect-bridge/types/navigation/NavigationClient.d.ts.map +1 -0
  729. package/lib/redirect-bridge/types/navigation/NavigationOptions.d.ts +13 -0
  730. package/lib/redirect-bridge/types/navigation/NavigationOptions.d.ts.map +1 -0
  731. package/lib/redirect-bridge/types/network/FetchClient.d.ts +21 -0
  732. package/lib/redirect-bridge/types/network/FetchClient.d.ts.map +1 -0
  733. package/lib/redirect-bridge/types/operatingcontext/BaseOperatingContext.d.ts +43 -0
  734. package/lib/redirect-bridge/types/operatingcontext/BaseOperatingContext.d.ts.map +1 -0
  735. package/lib/redirect-bridge/types/operatingcontext/NestedAppOperatingContext.d.ts +41 -0
  736. package/lib/redirect-bridge/types/operatingcontext/NestedAppOperatingContext.d.ts.map +1 -0
  737. package/lib/redirect-bridge/types/operatingcontext/StandardOperatingContext.d.ts +26 -0
  738. package/lib/redirect-bridge/types/operatingcontext/StandardOperatingContext.d.ts.map +1 -0
  739. package/lib/redirect-bridge/types/operatingcontext/UnknownOperatingContext.d.ts +26 -0
  740. package/lib/redirect-bridge/types/operatingcontext/UnknownOperatingContext.d.ts.map +1 -0
  741. package/lib/redirect-bridge/types/packageMetadata.d.ts +3 -0
  742. package/lib/redirect-bridge/types/packageMetadata.d.ts.map +1 -0
  743. package/lib/redirect-bridge/types/protocol/Authorize.d.ts +102 -0
  744. package/lib/redirect-bridge/types/protocol/Authorize.d.ts.map +1 -0
  745. package/lib/redirect-bridge/types/redirect_bridge/index.d.ts +16 -0
  746. package/lib/redirect-bridge/types/redirect_bridge/index.d.ts.map +1 -0
  747. package/lib/redirect-bridge/types/request/AuthorizationCodeRequest.d.ts +27 -0
  748. package/lib/redirect-bridge/types/request/AuthorizationCodeRequest.d.ts.map +1 -0
  749. package/lib/redirect-bridge/types/request/ClearCacheRequest.d.ts +15 -0
  750. package/lib/redirect-bridge/types/request/ClearCacheRequest.d.ts.map +1 -0
  751. package/lib/redirect-bridge/types/request/EndSessionPopupRequest.d.ts +24 -0
  752. package/lib/redirect-bridge/types/request/EndSessionPopupRequest.d.ts.map +1 -0
  753. package/lib/redirect-bridge/types/request/EndSessionRequest.d.ts +11 -0
  754. package/lib/redirect-bridge/types/request/EndSessionRequest.d.ts.map +1 -0
  755. package/lib/redirect-bridge/types/request/HandleRedirectPromiseOptions.d.ts +5 -0
  756. package/lib/redirect-bridge/types/request/HandleRedirectPromiseOptions.d.ts.map +1 -0
  757. package/lib/redirect-bridge/types/request/InitializeApplicationRequest.d.ts +10 -0
  758. package/lib/redirect-bridge/types/request/InitializeApplicationRequest.d.ts.map +1 -0
  759. package/lib/redirect-bridge/types/request/PopupRequest.d.ts +25 -0
  760. package/lib/redirect-bridge/types/request/PopupRequest.d.ts.map +1 -0
  761. package/lib/redirect-bridge/types/request/PopupWindowAttributes.d.ts +16 -0
  762. package/lib/redirect-bridge/types/request/PopupWindowAttributes.d.ts.map +1 -0
  763. package/lib/redirect-bridge/types/request/RedirectRequest.d.ts +16 -0
  764. package/lib/redirect-bridge/types/request/RedirectRequest.d.ts.map +1 -0
  765. package/lib/redirect-bridge/types/request/RequestHelpers.d.ts +28 -0
  766. package/lib/redirect-bridge/types/request/RequestHelpers.d.ts.map +1 -0
  767. package/lib/redirect-bridge/types/request/SilentRequest.d.ts +52 -0
  768. package/lib/redirect-bridge/types/request/SilentRequest.d.ts.map +1 -0
  769. package/lib/redirect-bridge/types/request/SsoSilentRequest.d.ts +6 -0
  770. package/lib/redirect-bridge/types/request/SsoSilentRequest.d.ts.map +1 -0
  771. package/lib/redirect-bridge/types/response/AuthenticationResult.d.ts +5 -0
  772. package/lib/redirect-bridge/types/response/AuthenticationResult.d.ts.map +1 -0
  773. package/lib/redirect-bridge/types/response/ResponseHandler.d.ts +8 -0
  774. package/lib/redirect-bridge/types/response/ResponseHandler.d.ts.map +1 -0
  775. package/lib/redirect-bridge/types/telemetry/BrowserPerformanceClient.d.ts +19 -0
  776. package/lib/redirect-bridge/types/telemetry/BrowserPerformanceClient.d.ts.map +1 -0
  777. package/lib/redirect-bridge/types/telemetry/BrowserPerformanceEvents.d.ts +140 -0
  778. package/lib/redirect-bridge/types/telemetry/BrowserPerformanceEvents.d.ts.map +1 -0
  779. package/lib/redirect-bridge/types/telemetry/BrowserPerformanceMeasurement.d.ts +22 -0
  780. package/lib/redirect-bridge/types/telemetry/BrowserPerformanceMeasurement.d.ts.map +1 -0
  781. package/lib/redirect-bridge/types/telemetry/BrowserRootPerformanceEvents.d.ts +42 -0
  782. package/lib/redirect-bridge/types/telemetry/BrowserRootPerformanceEvents.d.ts.map +1 -0
  783. package/lib/redirect-bridge/types/utils/BrowserConstants.d.ts +182 -0
  784. package/lib/redirect-bridge/types/utils/BrowserConstants.d.ts.map +1 -0
  785. package/lib/redirect-bridge/types/utils/BrowserProtocolUtils.d.ts +12 -0
  786. package/lib/redirect-bridge/types/utils/BrowserProtocolUtils.d.ts.map +1 -0
  787. package/lib/redirect-bridge/types/utils/BrowserUtils.d.ts +111 -0
  788. package/lib/redirect-bridge/types/utils/BrowserUtils.d.ts.map +1 -0
  789. package/lib/redirect-bridge/types/utils/Helpers.d.ts +7 -0
  790. package/lib/redirect-bridge/types/utils/Helpers.d.ts.map +1 -0
  791. package/lib/redirect-bridge/types/utils/MsalFrameStatsUtils.d.ts +13 -0
  792. package/lib/redirect-bridge/types/utils/MsalFrameStatsUtils.d.ts.map +1 -0
  793. package/lib/types/cache/BrowserCacheManager.d.ts +2 -4
  794. package/lib/types/cache/BrowserCacheManager.d.ts.map +1 -1
  795. package/lib/types/cache/CacheKeys.d.ts +2 -2
  796. package/lib/types/cache/CookieStorage.d.ts.map +1 -1
  797. package/lib/types/controllers/StandardController.d.ts.map +1 -1
  798. package/lib/types/custom_auth/CustomAuthConstants.d.ts +1 -1
  799. package/lib/types/custom_auth/UserAccountAttributes.d.ts +1 -0
  800. package/lib/types/custom_auth/UserAccountAttributes.d.ts.map +1 -1
  801. package/lib/types/custom_auth/core/network_client/custom_auth_api/SignInApiClient.d.ts.map +1 -1
  802. package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts +1 -1
  803. package/lib/types/interaction_client/PlatformAuthInteractionClient.d.ts.map +1 -1
  804. package/lib/types/packageMetadata.d.ts +1 -1
  805. package/package.json +3 -3
  806. package/src/broker/nativeBroker/PlatformAuthExtensionHandler.ts +1 -1
  807. package/src/cache/BrowserCacheManager.ts +5 -5
  808. package/src/cache/CacheKeys.ts +2 -2
  809. package/src/cache/CookieStorage.ts +22 -9
  810. package/src/controllers/StandardController.ts +57 -4
  811. package/src/custom_auth/UserAccountAttributes.ts +1 -0
  812. package/src/custom_auth/core/network_client/custom_auth_api/SignInApiClient.ts +2 -3
  813. package/src/interaction_client/PlatformAuthInteractionClient.ts +38 -14
  814. package/src/packageMetadata.ts +1 -1
@@ -0,0 +1,398 @@
1
+ import { AccountInfo, INetworkModule, Logger, CommonSilentFlowRequest, ICrypto, PerformanceCallbackFunction, IPerformanceClient, BaseAuthRequest, AccountFilter } from "@azure/msal-common/browser";
2
+ import { BrowserCacheManager } from "../cache/BrowserCacheManager.js";
3
+ import { BrowserConfiguration } from "../config/Configuration.js";
4
+ import { ApiId, WrapperSKU, CacheLookupPolicy } from "../utils/BrowserConstants.js";
5
+ import { RedirectRequest } from "../request/RedirectRequest.js";
6
+ import { PopupRequest } from "../request/PopupRequest.js";
7
+ import { SsoSilentRequest } from "../request/SsoSilentRequest.js";
8
+ import { EventCallbackFunction } from "../event/EventMessage.js";
9
+ import { EventType } from "../event/EventType.js";
10
+ import { EndSessionRequest } from "../request/EndSessionRequest.js";
11
+ import { EndSessionPopupRequest } from "../request/EndSessionPopupRequest.js";
12
+ import { INavigationClient } from "../navigation/INavigationClient.js";
13
+ import { EventHandler } from "../event/EventHandler.js";
14
+ import { PopupClient } from "../interaction_client/PopupClient.js";
15
+ import { RedirectClient } from "../interaction_client/RedirectClient.js";
16
+ import { SilentIframeClient } from "../interaction_client/SilentIframeClient.js";
17
+ import { SilentRefreshClient } from "../interaction_client/SilentRefreshClient.js";
18
+ import { SilentRequest } from "../request/SilentRequest.js";
19
+ import { SilentCacheClient } from "../interaction_client/SilentCacheClient.js";
20
+ import { SilentAuthCodeClient } from "../interaction_client/SilentAuthCodeClient.js";
21
+ import { AuthorizationCodeRequest } from "../request/AuthorizationCodeRequest.js";
22
+ import { StandardOperatingContext } from "../operatingcontext/StandardOperatingContext.js";
23
+ import { BaseOperatingContext } from "../operatingcontext/BaseOperatingContext.js";
24
+ import { IController } from "./IController.js";
25
+ import { AuthenticationResult } from "../response/AuthenticationResult.js";
26
+ import { ClearCacheRequest } from "../request/ClearCacheRequest.js";
27
+ import { InitializeApplicationRequest } from "../request/InitializeApplicationRequest.js";
28
+ import { IPlatformAuthHandler } from "../broker/nativeBroker/IPlatformAuthHandler.js";
29
+ import { HandleRedirectPromiseOptions } from "../request/HandleRedirectPromiseOptions.js";
30
+ export declare class StandardController implements IController {
31
+ protected readonly operatingContext: StandardOperatingContext;
32
+ protected readonly browserCrypto: ICrypto;
33
+ protected readonly browserStorage: BrowserCacheManager;
34
+ protected readonly nativeInternalStorage: BrowserCacheManager;
35
+ protected readonly networkClient: INetworkModule;
36
+ protected navigationClient: INavigationClient;
37
+ protected readonly config: BrowserConfiguration;
38
+ protected logger: Logger;
39
+ protected isBrowserEnvironment: boolean;
40
+ protected readonly eventHandler: EventHandler;
41
+ protected readonly redirectResponse: Map<string, Promise<AuthenticationResult | null>>;
42
+ protected platformAuthProvider: IPlatformAuthHandler | undefined;
43
+ private hybridAuthCodeResponses;
44
+ protected readonly performanceClient: IPerformanceClient;
45
+ protected initialized: boolean;
46
+ private activeSilentTokenRequests;
47
+ private activeIframeRequest;
48
+ private ssoSilentMeasurement?;
49
+ private acquireTokenByCodeAsyncMeasurement?;
50
+ private pkceCode;
51
+ /**
52
+ * @constructor
53
+ * Constructor for the PublicClientApplication used to instantiate the PublicClientApplication object
54
+ *
55
+ * Important attributes in the Configuration object for auth are:
56
+ * - clientID: the application ID of your application. You can obtain one by registering your application with our Application registration portal : https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/RegisteredAppsPreview
57
+ * - authority: the authority URL for your application.
58
+ * - redirect_uri: the uri of your application registered in the portal.
59
+ *
60
+ * In Azure AD, authority is a URL indicating the Azure active directory that MSAL uses to obtain tokens.
61
+ * It is of the form https://login.microsoftonline.com/{Enter_the_Tenant_Info_Here}
62
+ * If your application supports Accounts in one organizational directory, replace "Enter_the_Tenant_Info_Here" value with the Tenant Id or Tenant name (for example, contoso.microsoft.com).
63
+ * If your application supports Accounts in any organizational directory, replace "Enter_the_Tenant_Info_Here" value with organizations.
64
+ * If your application supports Accounts in any organizational directory and personal Microsoft accounts, replace "Enter_the_Tenant_Info_Here" value with common.
65
+ * To restrict support to Personal Microsoft accounts only, replace "Enter_the_Tenant_Info_Here" value with consumers.
66
+ *
67
+ * In Azure B2C, authority is of the form https://{instance}/tfp/{tenant}/{policyName}/
68
+ * Full B2C functionality will be available in this library in future versions.
69
+ *
70
+ * @param configuration Object for the MSAL PublicClientApplication instance
71
+ */
72
+ constructor(operatingContext: StandardOperatingContext);
73
+ static createController(operatingContext: BaseOperatingContext, request?: InitializeApplicationRequest): Promise<IController>;
74
+ private trackStateChange;
75
+ /**
76
+ * Initializer function to perform async startup tasks such as connecting to WAM extension
77
+ * @param request {?InitializeApplicationRequest} correlation id
78
+ */
79
+ initialize(request?: InitializeApplicationRequest): Promise<void>;
80
+ /**
81
+ * Event handler function which allows users to fire events after the PublicClientApplication object
82
+ * has loaded during redirect flows. This should be invoked on all page loads involved in redirect
83
+ * auth flows.
84
+ * @param hash Hash to process. Defaults to the current value of window.location.hash. Only needs to be provided explicitly if the response to be handled is not contained in the current value.
85
+ * @param options Object containing optional configuration for redirect promise handling.
86
+ * @returns Token response or null. If the return value is null, then no auth redirect was detected.
87
+ */
88
+ handleRedirectPromise(options?: HandleRedirectPromiseOptions): Promise<AuthenticationResult | null>;
89
+ /**
90
+ * The internal details of handleRedirectPromise. This is separated out to a helper to allow handleRedirectPromise to memoize requests
91
+ * @param hash
92
+ * @returns
93
+ */
94
+ private handleRedirectPromiseInternal;
95
+ /**
96
+ * Use when you want to obtain an access_token for your API by redirecting the user's browser window to the authorization endpoint. This function redirects
97
+ * the page, so any code that follows this function will not execute.
98
+ *
99
+ * IMPORTANT: It is NOT recommended to have code that is dependent on the resolution of the Promise. This function will navigate away from the current
100
+ * browser window. It currently returns a Promise in order to reflect the asynchronous nature of the code running in this function.
101
+ *
102
+ * @param request
103
+ */
104
+ acquireTokenRedirect(request: RedirectRequest): Promise<void>;
105
+ /**
106
+ * Use when you want to obtain an access_token for your API via opening a popup window in the user's browser
107
+ *
108
+ * @param request
109
+ *
110
+ * @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
111
+ */
112
+ acquireTokenPopup(request: PopupRequest): Promise<AuthenticationResult>;
113
+ private trackStateChangeWithMeasurement;
114
+ private addStateChangeListeners;
115
+ private removeStateChangeListeners;
116
+ /**
117
+ * Reads the cached ssoCapable value from localStorage.
118
+ * @returns The cached ssoCapable boolean value, or undefined if not cached or expired.
119
+ */
120
+ private getCachedSsoCapable;
121
+ /**
122
+ * SSO capability verification in the background.
123
+ * This method makes an iframe request to /authorize to verify SSO capability without calling /token.
124
+ * This method does not block the caller and tracks telemetry for success/failure.
125
+ * This method only executes if verifySSO is set to true in the auth configuration.
126
+ * The result is cached in localStorage with a 24-hour TTL; the SSO verification call
127
+ * is only attempted when the cached value is absent or expired.
128
+ * @param request - The original request used for the authentication flow
129
+ * @param interactionType - The interactionType of the AT operation for logging purposes
130
+ */
131
+ private verifySsoCapability;
132
+ /**
133
+ * This function uses a hidden iframe to fetch an authorization code from the eSTS. There are cases where this may not work:
134
+ * - Any browser using a form of Intelligent Tracking Prevention
135
+ * - If there is not an established session with the service
136
+ *
137
+ * In these cases, the request must be done inside a popup or full frame redirect.
138
+ *
139
+ * For the cases where interaction is required, you cannot send a request with prompt=none.
140
+ *
141
+ * If your refresh token has expired, you can use this function to fetch a new set of tokens silently as long as
142
+ * you session on the server still exists.
143
+ * @param request {@link SsoSilentRequest}
144
+ *
145
+ * @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
146
+ */
147
+ ssoSilent(request: SsoSilentRequest): Promise<AuthenticationResult>;
148
+ /**
149
+ * This function redeems an authorization code (passed as code) from the eSTS token endpoint.
150
+ * This authorization code should be acquired server-side using a confidential client to acquire a spa_code.
151
+ * This API is not indended for normal authorization code acquisition and redemption.
152
+ *
153
+ * Redemption of this authorization code will not require PKCE, as it was acquired by a confidential client.
154
+ *
155
+ * @param request {@link AuthorizationCodeRequest}
156
+ * @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
157
+ */
158
+ acquireTokenByCode(request: AuthorizationCodeRequest): Promise<AuthenticationResult>;
159
+ /**
160
+ * Creates a SilentAuthCodeClient to redeem an authorization code.
161
+ * @param request
162
+ * @returns Result of the operation to redeem the authorization code
163
+ */
164
+ private acquireTokenByCodeAsync;
165
+ /**
166
+ * Attempt to acquire an access token from the cache
167
+ * @param silentCacheClient SilentCacheClient
168
+ * @param commonRequest CommonSilentFlowRequest
169
+ * @param silentRequest SilentRequest
170
+ * @returns A promise that, when resolved, returns the access token
171
+ */
172
+ protected acquireTokenFromCache(commonRequest: CommonSilentFlowRequest, cacheLookupPolicy: CacheLookupPolicy): Promise<AuthenticationResult>;
173
+ /**
174
+ * Attempt to acquire an access token via a refresh token
175
+ * @param commonRequest CommonSilentFlowRequest
176
+ * @param cacheLookupPolicy CacheLookupPolicy
177
+ * @returns A promise that, when resolved, returns the access token
178
+ */
179
+ acquireTokenByRefreshToken(commonRequest: CommonSilentFlowRequest, cacheLookupPolicy: CacheLookupPolicy): Promise<AuthenticationResult>;
180
+ /**
181
+ * Attempt to acquire an access token via an iframe
182
+ * @param request CommonSilentFlowRequest
183
+ * @returns A promise that, when resolved, returns the access token
184
+ */
185
+ protected acquireTokenBySilentIframe(request: CommonSilentFlowRequest): Promise<AuthenticationResult>;
186
+ /**
187
+ * Use to log out the current user, and redirect the user to the postLogoutRedirectUri.
188
+ * Default behaviour is to redirect the user to `window.location.href`.
189
+ * @param logoutRequest
190
+ */
191
+ logoutRedirect(logoutRequest?: EndSessionRequest): Promise<void>;
192
+ /**
193
+ * Clears local cache for the current user then opens a popup window prompting the user to sign-out of the server
194
+ * @param logoutRequest
195
+ */
196
+ logoutPopup(logoutRequest?: EndSessionPopupRequest): Promise<void>;
197
+ /**
198
+ * Creates a cache interaction client to clear broswer cache.
199
+ * @param logoutRequest
200
+ */
201
+ clearCache(logoutRequest?: ClearCacheRequest): Promise<void>;
202
+ /**
203
+ * Returns all the accounts in the cache that match the optional filter. If no filter is provided, all accounts are returned.
204
+ * @param accountFilter - (Optional) filter to narrow down the accounts returned
205
+ * @returns Array of AccountInfo objects in cache
206
+ */
207
+ getAllAccounts(accountFilter?: AccountFilter): AccountInfo[];
208
+ /**
209
+ * Returns the first account found in the cache that matches the account filter passed in.
210
+ * @param accountFilter
211
+ * @returns The first account found in the cache matching the provided filter or null if no account could be found.
212
+ */
213
+ getAccount(accountFilter: AccountFilter): AccountInfo | null;
214
+ /**
215
+ * Sets the account to use as the active account. If no account is passed to the acquireToken APIs, then MSAL will use this active account.
216
+ * @param account
217
+ */
218
+ setActiveAccount(account: AccountInfo | null): void;
219
+ /**
220
+ * Gets the currently active account
221
+ */
222
+ getActiveAccount(): AccountInfo | null;
223
+ /**
224
+ * Hydrates the cache with the tokens from an AuthenticationResult
225
+ * @param result
226
+ * @param request
227
+ * @returns
228
+ */
229
+ hydrateCache(result: AuthenticationResult, request: SilentRequest | SsoSilentRequest | RedirectRequest | PopupRequest): Promise<void>;
230
+ /**
231
+ * Acquire a token from native device (e.g. WAM)
232
+ * @param request
233
+ */
234
+ acquireTokenNative(request: PopupRequest | SilentRequest | SsoSilentRequest, apiId: ApiId, accountId?: string, cacheLookupPolicy?: CacheLookupPolicy): Promise<AuthenticationResult>;
235
+ /**
236
+ * Returns boolean indicating if this request can use the platform broker
237
+ * @param request
238
+ */
239
+ canUsePlatformBroker(request: RedirectRequest | PopupRequest | SsoSilentRequest, accountId?: string): boolean;
240
+ /**
241
+ * Get the native accountId from the account
242
+ * @param request
243
+ * @returns
244
+ */
245
+ getNativeAccountId(request: RedirectRequest | PopupRequest | SsoSilentRequest): string;
246
+ /**
247
+ * Returns new instance of the Popup Interaction Client
248
+ * @param correlationId
249
+ */
250
+ createPopupClient(correlationId: string): PopupClient;
251
+ /**
252
+ * Returns new instance of the Redirect Interaction Client
253
+ * @param correlationId
254
+ */
255
+ protected createRedirectClient(correlationId: string): RedirectClient;
256
+ /**
257
+ * Returns new instance of the Silent Iframe Interaction Client
258
+ * @param correlationId
259
+ */
260
+ createSilentIframeClient(correlationId: string): SilentIframeClient;
261
+ /**
262
+ * Returns new instance of the Silent Cache Interaction Client
263
+ */
264
+ protected createSilentCacheClient(correlationId: string): SilentCacheClient;
265
+ /**
266
+ * Returns new instance of the Silent Refresh Interaction Client
267
+ */
268
+ protected createSilentRefreshClient(correlationId: string): SilentRefreshClient;
269
+ /**
270
+ * Returns new instance of the Silent AuthCode Interaction Client
271
+ */
272
+ protected createSilentAuthCodeClient(correlationId: string): SilentAuthCodeClient;
273
+ /**
274
+ * Adds event callbacks to array
275
+ * @param callback
276
+ */
277
+ addEventCallback(callback: EventCallbackFunction, eventTypes?: Array<EventType>): string | null;
278
+ /**
279
+ * Removes callback with provided id from callback array
280
+ * @param callbackId
281
+ */
282
+ removeEventCallback(callbackId: string): void;
283
+ /**
284
+ * Registers a callback to receive performance events.
285
+ *
286
+ * @param {PerformanceCallbackFunction} callback
287
+ * @returns {string}
288
+ */
289
+ addPerformanceCallback(callback: PerformanceCallbackFunction): string;
290
+ /**
291
+ * Removes a callback registered with addPerformanceCallback.
292
+ *
293
+ * @param {string} callbackId
294
+ * @returns {boolean}
295
+ */
296
+ removePerformanceCallback(callbackId: string): boolean;
297
+ /**
298
+ * Returns the logger instance
299
+ */
300
+ getLogger(): Logger;
301
+ /**
302
+ * Replaces the default logger set in configurations with new Logger with new configurations
303
+ * @param logger Logger instance
304
+ */
305
+ setLogger(logger: Logger): void;
306
+ /**
307
+ * Called by wrapper libraries (Angular & React) to set SKU and Version passed down to telemetry, logger, etc.
308
+ * @param sku
309
+ * @param version
310
+ */
311
+ initializeWrapperLibrary(sku: WrapperSKU, version: string): void;
312
+ /**
313
+ * Sets navigation client
314
+ * @param navigationClient
315
+ */
316
+ setNavigationClient(navigationClient: INavigationClient): void;
317
+ /**
318
+ * Returns the configuration object
319
+ */
320
+ getConfiguration(): BrowserConfiguration;
321
+ /**
322
+ * Returns the performance client
323
+ */
324
+ getPerformanceClient(): IPerformanceClient;
325
+ /**
326
+ * Returns the browser env indicator
327
+ */
328
+ isBrowserEnv(): boolean;
329
+ /**
330
+ * Generates a correlation id for a request if none is provided.
331
+ *
332
+ * @protected
333
+ * @param {?Partial<BaseAuthRequest>} [request]
334
+ * @returns {string}
335
+ */
336
+ protected getRequestCorrelationId(request?: Partial<BaseAuthRequest>): string;
337
+ /**
338
+ * Use when initiating the login process by redirecting the user's browser to the authorization endpoint. This function redirects the page, so
339
+ * any code that follows this function will not execute.
340
+ *
341
+ * IMPORTANT: It is NOT recommended to have code that is dependent on the resolution of the Promise. This function will navigate away from the current
342
+ * browser window. It currently returns a Promise in order to reflect the asynchronous nature of the code running in this function.
343
+ *
344
+ * @param request
345
+ */
346
+ loginRedirect(request?: RedirectRequest): Promise<void>;
347
+ /**
348
+ * Use when initiating the login process via opening a popup window in the user's browser
349
+ *
350
+ * @param request
351
+ *
352
+ * @returns A promise that is fulfilled when this function has completed, or rejected if an error was raised.
353
+ */
354
+ loginPopup(request?: PopupRequest): Promise<AuthenticationResult>;
355
+ /**
356
+ * Silently acquire an access token for a given set of scopes. Returns currently processing promise if parallel requests are made.
357
+ *
358
+ * @param {@link (SilentRequest:type)}
359
+ * @returns {Promise.<AuthenticationResult>} - a promise that is fulfilled when this function has completed, or rejected if an error was raised. Returns the {@link AuthResponse} object
360
+ */
361
+ acquireTokenSilent(request: SilentRequest): Promise<AuthenticationResult>;
362
+ /**
363
+ * Checks if identical request is already in flight and returns reference to the existing promise or fires off a new one if this is the first
364
+ * @param request
365
+ * @param account
366
+ * @param correlationId
367
+ * @returns
368
+ */
369
+ private acquireTokenSilentDeduped;
370
+ /**
371
+ * Silently acquire an access token for a given set of scopes. Will use cached token if available, otherwise will attempt to acquire a new token from the network via refresh token.
372
+ * @param {@link (SilentRequest:type)}
373
+ * @param {@link (AccountInfo:type)}
374
+ * @returns {Promise.<AuthenticationResult>} - a promise that is fulfilled when this function has completed, or rejected if an error was raised. Returns the {@link AuthResponse}
375
+ */
376
+ protected acquireTokenSilentAsync(request: SilentRequest & {
377
+ correlationId: string;
378
+ }, account: AccountInfo): Promise<AuthenticationResult>;
379
+ /**
380
+ * AcquireTokenSilent without the iframe fallback. This is used to enable the correct fallbacks in cases where there's a potential for multiple silent requests to be made in parallel and prevent those requests from making concurrent iframe requests.
381
+ * @param silentRequest
382
+ * @param cacheLookupPolicy
383
+ * @returns
384
+ */
385
+ private acquireTokenSilentNoIframe;
386
+ /**
387
+ * Pre-generates PKCE codes and stores it in local variable
388
+ * @param correlationId
389
+ */
390
+ private preGeneratePkceCodes;
391
+ /**
392
+ * Provides pre-generated PKCE codes, if any
393
+ * @param correlationId
394
+ */
395
+ private getPreGeneratedPkceCodes;
396
+ private logMultipleInstances;
397
+ }
398
+ //# sourceMappingURL=StandardController.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StandardController.d.ts","sourceRoot":"","sources":["../../../../src/controllers/StandardController.ts"],"names":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AAM,GAAG,IAAI;IAKhE;;;OAGG;IACH,mBAAmB,CAAC,gBAAgB,EAAE,iBAAiB,GAAG,IAAI;IAI9D;;OAEG;IACI,gBAAgB,IAAI,oBAAoB;IAI/C;;OAEG;IACI,oBAAoB,IAAI,kBAAkB;IAIjD;;OAEG;IACI,YAAY,IAAI,OAAO;IAI9B;;;;;;OAMG;IACH,SAAS,CAAC,uBAAuB,CAC7B,OAAO,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,GACnC,MAAM;IAkBT;;;;;;;;OAQG;IACG,aAAa,CAAC,OAAO,CAAC,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC;IAS7D;;;;;;OAMG;IACH,UAAU,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,oBAAoB,CAAC;IASjE;;;;;OAKG;IACG,kBAAkB,CACpB,OAAO,EAAE,aAAa,GACvB,OAAO,CAAC,oBAAoB,CAAC;IAuDhC;;;;;;OAMG;YACW,yBAAyB;IAsDvC;;;;;OAKG;cACa,uBAAuB,CACnC,OAAO,EAAE,aAAa,GAAG;QAAE,aAAa,EAAE,MAAM,CAAA;KAAE,EAClD,OAAO,EAAE,WAAW,GACrB,OAAO,CAAC,oBAAoB,CAAC;IA6KhC;;;;;OAKG;YACW,0BAA0B;IAgGxC;;;OAGG;YACW,oBAAoB;IAYlC;;;OAGG;IACH,OAAO,CAAC,wBAAwB;IAwBhC,OAAO,CAAC,oBAAoB;CA8B/B"}
@@ -0,0 +1,73 @@
1
+ import { CommonAuthorizationUrlRequest, PerformanceCallbackFunction, AccountInfo, Logger, ICrypto, IPerformanceClient, AccountFilter } from "@azure/msal-common/browser";
2
+ import { BrowserConfiguration } from "../config/Configuration.js";
3
+ import { BrowserCacheManager } from "../cache/BrowserCacheManager.js";
4
+ import { INavigationClient } from "../navigation/INavigationClient.js";
5
+ import { AuthorizationCodeRequest } from "../request/AuthorizationCodeRequest.js";
6
+ import { EndSessionPopupRequest } from "../request/EndSessionPopupRequest.js";
7
+ import { EndSessionRequest } from "../request/EndSessionRequest.js";
8
+ import { PopupRequest } from "../request/PopupRequest.js";
9
+ import { RedirectRequest } from "../request/RedirectRequest.js";
10
+ import { SilentRequest } from "../request/SilentRequest.js";
11
+ import { SsoSilentRequest } from "../request/SsoSilentRequest.js";
12
+ import { AuthenticationResult } from "../response/AuthenticationResult.js";
13
+ import { WrapperSKU } from "../utils/BrowserConstants.js";
14
+ import { IController } from "./IController.js";
15
+ import { UnknownOperatingContext } from "../operatingcontext/UnknownOperatingContext.js";
16
+ import { EventCallbackFunction } from "../event/EventMessage.js";
17
+ import { ClearCacheRequest } from "../request/ClearCacheRequest.js";
18
+ import { EventType } from "../event/EventType.js";
19
+ import { HandleRedirectPromiseOptions } from "../request/HandleRedirectPromiseOptions.js";
20
+ /**
21
+ * UnknownOperatingContextController class
22
+ *
23
+ * - Until initialize method is called, this controller is the default
24
+ * - AFter initialize method is called, this controller will be swapped out for the appropriate controller
25
+ * if the operating context can be determined; otherwise this controller will continued be used
26
+ *
27
+ * - Why do we have this? We don't want to dynamically import (download) all of the code in StandardController if we don't need to.
28
+ *
29
+ * - Only includes implementation for getAccounts and handleRedirectPromise
30
+ * - All other methods are will throw initialization error (because either initialize method or the factory method were not used)
31
+ * - This controller is necessary for React Native wrapper, server side rendering and any other scenario where we don't have a DOM
32
+ *
33
+ */
34
+ export declare class UnknownOperatingContextController implements IController {
35
+ protected readonly operatingContext: UnknownOperatingContext;
36
+ protected logger: Logger;
37
+ protected readonly browserStorage: BrowserCacheManager;
38
+ protected readonly config: BrowserConfiguration;
39
+ protected readonly performanceClient: IPerformanceClient;
40
+ private readonly eventHandler;
41
+ protected readonly browserCrypto: ICrypto;
42
+ protected isBrowserEnvironment: boolean;
43
+ protected initialized: boolean;
44
+ constructor(operatingContext: UnknownOperatingContext);
45
+ getAccount(accountFilter: AccountFilter): AccountInfo | null;
46
+ getAllAccounts(): AccountInfo[];
47
+ initialize(): Promise<void>;
48
+ acquireTokenPopup(request: PopupRequest): Promise<AuthenticationResult>;
49
+ acquireTokenRedirect(request: RedirectRequest): Promise<void>;
50
+ acquireTokenSilent(silentRequest: SilentRequest): Promise<AuthenticationResult>;
51
+ acquireTokenByCode(request: AuthorizationCodeRequest): Promise<AuthenticationResult>;
52
+ addEventCallback(callback: EventCallbackFunction, eventTypes?: Array<EventType>): string | null;
53
+ removeEventCallback(callbackId: string): void;
54
+ addPerformanceCallback(callback: PerformanceCallbackFunction): string;
55
+ removePerformanceCallback(callbackId: string): boolean;
56
+ handleRedirectPromise(options?: HandleRedirectPromiseOptions): Promise<AuthenticationResult | null>;
57
+ loginPopup(request?: PopupRequest | undefined): Promise<AuthenticationResult>;
58
+ loginRedirect(request?: RedirectRequest | undefined): Promise<void>;
59
+ logout(logoutRequest?: EndSessionRequest | undefined): Promise<void>;
60
+ logoutRedirect(logoutRequest?: EndSessionRequest | undefined): Promise<void>;
61
+ logoutPopup(logoutRequest?: EndSessionPopupRequest | undefined): Promise<void>;
62
+ ssoSilent(request: Partial<Omit<CommonAuthorizationUrlRequest, "responseMode" | "earJwk" | "codeChallenge" | "codeChallengeMethod" | "platformBroker">>): Promise<AuthenticationResult>;
63
+ getLogger(): Logger;
64
+ setLogger(logger: Logger): void;
65
+ setActiveAccount(account: AccountInfo | null): void;
66
+ getActiveAccount(): AccountInfo | null;
67
+ initializeWrapperLibrary(sku: WrapperSKU, version: string): void;
68
+ setNavigationClient(navigationClient: INavigationClient): void;
69
+ getConfiguration(): BrowserConfiguration;
70
+ clearCache(logoutRequest?: ClearCacheRequest): Promise<void>;
71
+ hydrateCache(result: AuthenticationResult, request: SilentRequest | SsoSilentRequest | RedirectRequest | PopupRequest): Promise<void>;
72
+ }
73
+ //# sourceMappingURL=UnknownOperatingContextController.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UnknownOperatingContextController.d.ts","sourceRoot":"","sources":["../../../../src/controllers/UnknownOperatingContextController.ts"],"names":[],"mappings":"AAKA,OAAO,E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AY,GAAG,SAAS,GACnC,OAAO,CAAC,oBAAoB,CAAC;IAMhC,aAAa,CAAC,OAAO,CAAC,EAAE,eAAe,GAAG,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC;IAMnE,MAAM,CAAC,aAAa,CAAC,EAAE,iBAAiB,GAAG,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC;IAKpE,cAAc,CAEV,aAAa,CAAC,EAAE,iBAAiB,GAAG,SAAS,GAC9C,OAAO,CAAC,IAAI,CAAC;IAKhB,WAAW,CAEP,aAAa,CAAC,EAAE,sBAAsB,GAAG,SAAS,GACnD,OAAO,CAAC,IAAI,CAAC;IAKhB,SAAS,CAEL,OAAO,EAAE,OAAO,CACZ,IAAI,CACA,6BAA6B,EAC3B,cAAc,GACd,QAAQ,GACR,eAAe,GACf,qBAAqB,GACrB,gBAAgB,CACrB,CACJ,GACF,OAAO,CAAC,oBAAoB,CAAC;IAKhC,SAAS,IAAI,MAAM;IAInB,SAAS,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI;IAK/B,gBAAgB,CAAC,OAAO,EAAE,WAAW,GAAG,IAAI,GAAG,IAAI;IAInD,gBAAgB,IAAI,WAAW,GAAG,IAAI;IAMtC,wBAAwB,CAAC,GAAG,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI;IAIhE,mBAAmB,CAAC,gBAAgB,EAAE,iBAAiB,GAAG,IAAI;IAI9D,gBAAgB,IAAI,oBAAoB;IAKlC,UAAU,CAAC,aAAa,CAAC,EAAE,iBAAiB,GAAG,OAAO,CAAC,IAAI,CAAC;IAM5D,YAAY,CAEd,MAAM,EAAE,oBAAoB,EAE5B,OAAO,EACD,aAAa,GACb,gBAAgB,GAChB,eAAe,GACf,YAAY,GACnB,OAAO,CAAC,IAAI,CAAC;CAInB"}
@@ -0,0 +1,96 @@
1
+ /**
2
+ * Check whether browser crypto is available.
3
+ */
4
+ export declare function validateCryptoAvailable(skipValidateSubtleCrypto: boolean): void;
5
+ /**
6
+ * Returns a sha-256 hash of the given dataString as an ArrayBuffer.
7
+ * @param dataString {string} data string
8
+ * @param performanceClient {?IPerformanceClient}
9
+ * @param correlationId {?string} correlation id
10
+ */
11
+ export declare function sha256Digest(dataString: string): Promise<ArrayBuffer>;
12
+ /**
13
+ * Populates buffer with cryptographically random values.
14
+ * @param dataBuffer
15
+ */
16
+ export declare function getRandomValues(dataBuffer: Uint8Array): Uint8Array;
17
+ /**
18
+ * Creates a UUID v7 from the current timestamp.
19
+ * Implementation relies on the system clock to guarantee increasing order of generated identifiers.
20
+ * @returns {number}
21
+ */
22
+ export declare function createNewGuid(): string;
23
+ /**
24
+ * Generates a keypair based on current keygen algorithm config.
25
+ * @param extractable
26
+ * @param usages
27
+ */
28
+ export declare function generateKeyPair(extractable: boolean, usages: Array<KeyUsage>): Promise<CryptoKeyPair>;
29
+ /**
30
+ * Export key as Json Web Key (JWK)
31
+ * @param key
32
+ */
33
+ export declare function exportJwk(key: CryptoKey): Promise<JsonWebKey>;
34
+ /**
35
+ * Imports key as Json Web Key (JWK), can set extractable and usages.
36
+ * @param key
37
+ * @param extractable
38
+ * @param usages
39
+ */
40
+ export declare function importJwk(key: JsonWebKey, extractable: boolean, usages: Array<KeyUsage>): Promise<CryptoKey>;
41
+ /**
42
+ * Signs given data with given key
43
+ * @param key
44
+ * @param data
45
+ */
46
+ export declare function sign(key: CryptoKey, data: ArrayBuffer): Promise<ArrayBuffer>;
47
+ /**
48
+ * Generates Base64 encoded jwk used in the Encrypted Authorize Response (EAR) flow
49
+ */
50
+ export declare function generateEarKey(): Promise<string>;
51
+ /**
52
+ * Parses earJwk for encryption key and returns CryptoKey object
53
+ * @param earJwk
54
+ * @returns
55
+ */
56
+ export declare function importEarKey(earJwk: string): Promise<CryptoKey>;
57
+ /**
58
+ * Decrypt ear_jwe response returned in the Encrypted Authorize Response (EAR) flow
59
+ * @param earJwk
60
+ * @param earJwe
61
+ * @returns
62
+ */
63
+ export declare function decryptEarResponse(earJwk: string, earJwe: string): Promise<string>;
64
+ /**
65
+ * Generates symmetric base encryption key. This may be stored as all encryption/decryption keys will be derived from this one.
66
+ */
67
+ export declare function generateBaseKey(): Promise<ArrayBuffer>;
68
+ /**
69
+ * Returns the raw key to be passed into the key derivation function
70
+ * @param baseKey
71
+ * @returns
72
+ */
73
+ export declare function generateHKDF(baseKey: ArrayBuffer): Promise<CryptoKey>;
74
+ /**
75
+ * Encrypt the given data given a base key. Returns encrypted data and a nonce that must be provided during decryption
76
+ * @param key
77
+ * @param rawData
78
+ */
79
+ export declare function encrypt(baseKey: CryptoKey, rawData: string, context: string): Promise<{
80
+ data: string;
81
+ nonce: string;
82
+ }>;
83
+ /**
84
+ * Decrypt data with the given key and nonce
85
+ * @param key
86
+ * @param nonce
87
+ * @param encryptedData
88
+ * @returns
89
+ */
90
+ export declare function decrypt(baseKey: CryptoKey, nonce: string, context: string, encryptedData: string): Promise<string>;
91
+ /**
92
+ * Returns the SHA-256 hash of an input string
93
+ * @param plainText
94
+ */
95
+ export declare function hashString(plainText: string): Promise<string>;
96
+ //# sourceMappingURL=BrowserCrypto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BrowserCrypto.d.ts","sourceRoot":"","sources":["../../../../src/crypto/BrowserCrypto.ts"],"names":[],"mappings":"AAqDA;;GAEG;AACH,wBAAgB,uBAAuB,CACnC,wBAAwB,EAAE,OAAO,GAClC,IAAI,CAeN;AAED;;;;;GAKG;AACH,wBAAsB,YAAY,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,WAAW,CAAC,CAO3E;AAED;;;GAGG;AACH,wBAAgB,eAAe,CAAC,UAAU,EAAE,UAAU,GAAG,UAAU,CAElE;AAWD;;;;GAIG;AACH,wBAAgB,aAAa,IAAI,MAAM,CAuCtC;AAED;;;;GAIG;AACH,wBAAsB,eAAe,CACjC,WAAW,EAAE,OAAO,EACpB,MAAM,EAAE,KAAK,CAAC,QAAQ,CAAC,GACxB,OAAO,CAAC,aAAa,CA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