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