Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
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. |
|
return | 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. |
|
return | RedirectionStatus |
public CreateSharePointContext ( HttpRequest httpRequest ) : |
||
httpRequest | HttpRequest | The HTTP request. |
return |
public CreateSharePointContext ( System.Web.HttpRequestBase httpRequest ) : |
||
httpRequest | System.Web.HttpRequestBase | The HTTP request. |
return |
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. |
return |
public GetSharePointContext ( |
||
httpContext | The HTTP context. | |
return |
public GetSharePointContext ( System.Web.HttpContextBase httpContext ) : |
||
httpContext | System.Web.HttpContextBase | The HTTP context. |
return |
protected abstract LoadSharePointContext ( System.Web.HttpContextBase httpContext ) : |
||
httpContext | System.Web.HttpContextBase | The HTTP context. |
return |
public static Register ( |
||
provider | The SharePointContextProvider to be set as current. | |
return | void |
protected abstract SaveSharePointContext ( |
||
spContext | The SharePointContext instance to be saved, or |
|
httpContext | System.Web.HttpContextBase | The HTTP context. |
return | void |
protected abstract ValidateSharePointContext ( |
||
spContext | The SharePointContext. | |
httpContext | System.Web.HttpContextBase | The HTTP context. |
return | bool |