C# Класс Utility.SPClaimsAuth.ClaimClientContext

Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

GetAuthenticatedContext() публичный статический Метод

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
Результат ClientContext

GetAuthenticatedContext() публичный статический Метод

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
Результат ClientContext

GetAuthenticatedCookies() публичный статический Метод

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
Результат System.Net.CookieCollection