<PackageReference Include="Microsoft.Identity.Client" Version="4.85.2" />

Microsoft.Identity.Client.Platforms.Features.WinFormsLegacyWebUi.WindowsFormsWebAuthenticationDialogBase

namespace Microsoft.Identity.Client.Platforms.Features.WinFormsLegacyWebUi { public abstract class WindowsFormsWebAuthenticationDialogBase { protected IWin32Window ownerWindow { get; set; } public WebBrowser WebBrowser { get; } protected WindowsFormsWebAuthenticationDialogBase(object ownerWindow); protected virtual void WebBrowserBeforeNavigateHandler(object sender, WebBrowserBeforeNavigateEventArgs e); protected virtual void WebBrowserNavigateErrorHandler(object sender, WebBrowserNavigateErrorEventArgs e); protected abstract void OnClosingUrl(); protected abstract void OnNavigationCanceled(int statusCode); protected virtual void OnAuthenticate(CancellationToken cancellationToken); protected void InvokeHandlingOwnerWindow(Action action); protected void InvokeOnly(Action action); protected MsalClientException CreateExceptionForAuthenticationUiFailed(int statusCode); } }