C# Class Microsoft.Identity.Client.SilentWindowsFormsAuthenticationDialog

Inheritance: WindowsFormsWebAuthenticationDialogBase
Show file Open project: AzureAD/microsoft-authentication-library-for-dotnet Class Usage Examples

Public Methods

Method Description
CloseBrowser ( ) : void

SilentWindowsFormsAuthenticationDialog ( object ownerWindow ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

OnClosingUrl ( ) : void

OnNavigationCanceled ( int statusCode ) : void

WebBrowserNavigatingHandler ( object sender, System.Windows.Forms.WebBrowserNavigatingEventArgs e ) : void

Private Methods

Method Description
CreateStartedTimer ( System.Action onTickAction, int interval ) : Timer
DocumentCompletedHandler ( object sender, System.Windows.Forms.WebBrowserDocumentCompletedEventArgs args ) : void
HasLoginPage ( ) : bool
OnUserInteractionRequired ( ) : void
SignalDone ( Exception exception = null ) : void

This method must only be called from the UI thread. Since this is the callers opportunity to call dispose on this object. Calling Dispose must be done on the same thread on which this object was constructed.

SuppressBrowserSubDialogs ( ) : void

Make sure that the browser control does not surface any of it's own dialogs. For instance bad certificate or javascript error dialogs.

Method Details

CloseBrowser() public method

public CloseBrowser ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

OnClosingUrl() protected method

protected OnClosingUrl ( ) : void
return void

OnNavigationCanceled() protected method

protected OnNavigationCanceled ( int statusCode ) : void
statusCode int
return void

SilentWindowsFormsAuthenticationDialog() public method

public SilentWindowsFormsAuthenticationDialog ( object ownerWindow ) : System
ownerWindow object
return System

WebBrowserNavigatingHandler() protected method

protected WebBrowserNavigatingHandler ( object sender, System.Windows.Forms.WebBrowserNavigatingEventArgs e ) : void
sender object
e System.Windows.Forms.WebBrowserNavigatingEventArgs
return void