C# Class Utility.SPClaimsAuth.ClaimClientContext

Afficher le fichier Open project: dream-365/toolkit

Méthodes publiques

Méthode Description
GetAuthenticatedContext ( string targetSiteUrl ) : ClientContext

Override for for displaying pop. Default width and height values are used for the pop up window.

GetAuthenticatedContext ( string targetSiteUrl, int popUpWidth, int popUpHeight ) : ClientContext

This method will return a ClientContext object with the authentication cookie set. The ClientContext should be disposed of as any other IDisposable

GetAuthenticatedCookies ( string targetSiteUrl, int popUpWidth, int popUpHeight ) : CookieCollection

Displays a pop up to login the user. An authentication Cookie is returned if the user is sucessfully authenticated.

Method Details

GetAuthenticatedContext() public static méthode

Override for for displaying pop. Default width and height values are used for the pop up window.
public static GetAuthenticatedContext ( string targetSiteUrl ) : ClientContext
targetSiteUrl string
Résultat ClientContext

GetAuthenticatedContext() public static méthode

This method will return a ClientContext object with the authentication cookie set. The ClientContext should be disposed of as any other IDisposable
public static GetAuthenticatedContext ( string targetSiteUrl, int popUpWidth, int popUpHeight ) : ClientContext
targetSiteUrl string
popUpWidth int
popUpHeight int
Résultat ClientContext

GetAuthenticatedCookies() public static méthode

Displays a pop up to login the user. An authentication Cookie is returned if the user is sucessfully authenticated.
public static GetAuthenticatedCookies ( string targetSiteUrl, int popUpWidth, int popUpHeight ) : CookieCollection
targetSiteUrl string
popUpWidth int
popUpHeight int
Résultat System.Net.CookieCollection