C# 클래스 ProviderHostedCustomUIActionsWeb.SharePointHighTrustContext

Encapsulates all the information from SharePoint in HighTrust mode.
상속: SharePointContext
파일 보기 프로젝트 열기: CriticalPathTraining/SharePointAddinDemos 1 사용 예제들

공개 메소드들

메소드 설명
SharePointHighTrustContext ( Uri spHostUrl, Uri spAppWebUrl, string spLanguage, string spClientTag, string spProductNumber, System.Security.Principal.WindowsIdentity logonUserIdentity ) : System

비공개 메소드들

메소드 설명
GetAccessTokenString ( DateTime>.Tuple &accessToken, Func tokenRenewalHandler ) : string

Ensures the access token is valid and returns it.

RenewAccessTokenIfNeeded ( DateTime>.Tuple &accessToken, Func tokenRenewalHandler ) : void

Renews the access token if it is not valid.

메소드 상세

SharePointHighTrustContext() 공개 메소드

public SharePointHighTrustContext ( Uri spHostUrl, Uri spAppWebUrl, string spLanguage, string spClientTag, string spProductNumber, System.Security.Principal.WindowsIdentity logonUserIdentity ) : System
spHostUrl System.Uri
spAppWebUrl System.Uri
spLanguage string
spClientTag string
spProductNumber string
logonUserIdentity System.Security.Principal.WindowsIdentity
리턴 System