C# Class SampleWebApp.SharePointAcsContext

Encapsulates all the information from SharePoint in ACS mode.
Inheritance: SharePointContext
Afficher le fichier Open project: upeo/inbloom-dotnet

Méthodes publiques

Méthode Description
SharePointAcsContext ( Uri spHostUrl, Uri spAppWebUrl, string spLanguage, string spClientTag, string spProductNumber, string contextToken, SharePointContextToken contextTokenObj ) : System

Private Methods

Méthode Description
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.

Method Details

SharePointAcsContext() public méthode

public SharePointAcsContext ( Uri spHostUrl, Uri spAppWebUrl, string spLanguage, string spClientTag, string spProductNumber, string contextToken, SharePointContextToken contextTokenObj ) : System
spHostUrl System.Uri
spAppWebUrl System.Uri
spLanguage string
spClientTag string
spProductNumber string
contextToken string
contextTokenObj SharePointContextToken
Résultat System