C# Класс ASPC.Marvel.CrimeAPI.SharePointHighTrustContext

Encapsulates all the information from SharePoint in HighTrust mode.
Наследование: SharePointContext
Показать файл Открыть проект Примеры использования класса

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

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