C# Class Utility.SPClaimsAuth.ClaimsWebAuth

Provides means to authenticate a user via a pop up login form.
Inheritance: IDisposable
Afficher le fichier Open project: dream-365/toolkit Class Usage Examples

Méthodes publiques

Méthode Description
ClaimsWebAuth ( string targetSiteUrl, int popUpWidth, int popUpHeight ) : System

Displays a pop up window to authenticate the user

Dispose ( ) : void

Disposes of this instance.

Dispose ( bool disposing ) : void
Show ( ) : CookieCollection

Opens a Windows Forms Web Browser control to authenticate the user against an CLAIM site.

Private Methods

Méthode Description
ClaimsWebBrowser_Navigated ( object sender, System.Windows.Forms.WebBrowserNavigatedEventArgs e ) : void
ExtraHeadersFromResponse ( WebResponse response, string &loginUrl, Uri &navigationEndUrl ) : bool
GetClaimParams ( string targetUrl, string &loginUrl, Uri &navigationEndUrl ) : void
IgnoreCertificateErrorHandler ( object sender, System certificate, System chain, System sslPolicyErrors ) : bool

Method Details

ClaimsWebAuth() public méthode

Displays a pop up window to authenticate the user
public ClaimsWebAuth ( string targetSiteUrl, int popUpWidth, int popUpHeight ) : System
targetSiteUrl string
popUpWidth int
popUpHeight int
Résultat System

Dispose() public méthode

Disposes of this instance.
public Dispose ( ) : void
Résultat void

Dispose() public méthode

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

Show() public méthode

Opens a Windows Forms Web Browser control to authenticate the user against an CLAIM site.
public Show ( ) : CookieCollection
Résultat System.Net.CookieCollection