C# Class Utility.SPClaimsAuth.ClaimClientContext

ファイルを表示 Open project: dream-365/toolkit

Public Methods

Method 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 method

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
return ClientContext

GetAuthenticatedContext() public static method

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
return ClientContext

GetAuthenticatedCookies() public static method

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
return System.Net.CookieCollection