C# 클래스 Utility.SPClaimsAuth.ClaimClientContext

파일 보기 프로젝트 열기: dream-365/toolkit

공개 메소드들

메소드 설명
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