C# Class Microsoft.Identity.Client.SilentWindowsFormsAuthenticationDialog

Inheritance: WindowsFormsWebAuthenticationDialogBase
Afficher le fichier Open project: AzureAD/microsoft-authentication-library-for-dotnet Class Usage Examples

Méthodes publiques

Méthode Description
CloseBrowser ( ) : void

SilentWindowsFormsAuthenticationDialog ( object ownerWindow ) : System

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

OnClosingUrl ( ) : void

OnNavigationCanceled ( int statusCode ) : void

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

Private Methods

Méthode 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 méthode

public CloseBrowser ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

OnClosingUrl() protected méthode

protected OnClosingUrl ( ) : void
Résultat void

OnNavigationCanceled() protected méthode

protected OnNavigationCanceled ( int statusCode ) : void
statusCode int
Résultat void

SilentWindowsFormsAuthenticationDialog() public méthode

public SilentWindowsFormsAuthenticationDialog ( object ownerWindow ) : System
ownerWindow object
Résultat System

WebBrowserNavigatingHandler() protected méthode

protected WebBrowserNavigatingHandler ( object sender, System.Windows.Forms.WebBrowserNavigatingEventArgs e ) : void
sender object
e System.Windows.Forms.WebBrowserNavigatingEventArgs
Résultat void