Метод | Описание | |
---|---|---|
CheckRedirectionStatus ( |
Checks if it is necessary to redirect to SharePoint for user to authenticate.
|
|
CheckRedirectionStatus ( System.Web.HttpContextBase httpContext, |
Checks if it is necessary to redirect to SharePoint for user to authenticate.
|
|
CreateSharePointContext ( HttpRequest httpRequest ) : |
Creates a SharePointContext instance with the specified HTTP request.
|
|
CreateSharePointContext ( System.Web.HttpRequestBase httpRequest ) : |
Creates a SharePointContext instance with the specified HTTP request.
|
|
GetSharePointContext ( |
Gets a SharePointContext instance associated with the specified HTTP context.
|
|
GetSharePointContext ( System.Web.HttpContextBase httpContext ) : |
Gets a SharePointContext instance associated with the specified HTTP context.
|
|
Register ( |
Registers the specified SharePointContextProvider instance as current. It should be called by Application_Start() in Global.asax.
|
Метод | Описание | |
---|---|---|
CreateSharePointContext ( |
Creates a SharePointContext instance.
|
|
LoadSharePointContext ( System.Web.HttpContextBase httpContext ) : |
Loads the SharePointContext instance associated with the specified HTTP context.
|
|
SaveSharePointContext ( |
Saves the specified SharePointContext instance associated with the specified HTTP context.
|
|
ValidateSharePointContext ( |
Validates if the given SharePointContext can be used with the specified HTTP context.
|
Метод | Описание | |
---|---|---|
SharePointContextProvider ( ) : System |
Initializes the default SharePointContextProvider instance.
|
public static CheckRedirectionStatus ( |
||
httpContext | The HTTP context. | |
redirectUrl | The redirect url to SharePoint if the status is ShouldRedirect. |
|
Результат | RedirectionStatus |
public static CheckRedirectionStatus ( System.Web.HttpContextBase httpContext, |
||
httpContext | System.Web.HttpContextBase | The HTTP context. |
redirectUrl | The redirect url to SharePoint if the status is ShouldRedirect. |
|
Результат | RedirectionStatus |
public CreateSharePointContext ( HttpRequest httpRequest ) : |
||
httpRequest | HttpRequest | The HTTP request. |
Результат |
public CreateSharePointContext ( System.Web.HttpRequestBase httpRequest ) : |
||
httpRequest | System.Web.HttpRequestBase | The HTTP request. |
Результат |
protected abstract CreateSharePointContext ( |
||
spHostUrl | The SharePoint host url. | |
spAppWebUrl | The SharePoint app web url. | |
spLanguage | string | The SharePoint language. |
spClientTag | string | The SharePoint client tag. |
spProductNumber | string | The SharePoint product number. |
httpRequest | System.Web.HttpRequestBase | The HTTP request. |
Результат |
public GetSharePointContext ( |
||
httpContext | The HTTP context. | |
Результат |
public GetSharePointContext ( System.Web.HttpContextBase httpContext ) : |
||
httpContext | System.Web.HttpContextBase | The HTTP context. |
Результат |
protected abstract LoadSharePointContext ( System.Web.HttpContextBase httpContext ) : |
||
httpContext | System.Web.HttpContextBase | The HTTP context. |
Результат |
public static Register ( |
||
provider | The SharePointContextProvider to be set as current. | |
Результат | void |
protected abstract SaveSharePointContext ( |
||
spContext | The SharePointContext instance to be saved, or |
|
httpContext | System.Web.HttpContextBase | The HTTP context. |
Результат | void |
protected abstract ValidateSharePointContext ( |
||
spContext | The SharePointContext. | |
httpContext | System.Web.HttpContextBase | The HTTP context. |
Результат | bool |