C# Класс SPCalendarRecurrenceExpander.CSharpExample.SharePointAcsContext

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

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

Метод Описание
SharePointAcsContext ( Uri spHostUrl, Uri spAppWebUrl, string spLanguage, string spClientTag, string spProductNumber, string contextToken, SharePointContextToken contextTokenObj ) : Microsoft.IdentityModel.S2S.Protocols.OAuth2

Приватные методы

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

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

SharePointAcsContext() публичный Метод

public SharePointAcsContext ( Uri spHostUrl, Uri spAppWebUrl, string spLanguage, string spClientTag, string spProductNumber, string contextToken, SharePointContextToken contextTokenObj ) : Microsoft.IdentityModel.S2S.Protocols.OAuth2
spHostUrl System.Uri
spAppWebUrl System.Uri
spLanguage string
spClientTag string
spProductNumber string
contextToken string
contextTokenObj SharePointContextToken
Результат Microsoft.IdentityModel.S2S.Protocols.OAuth2