메소드 | 설명 | |
---|---|---|
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 ( ) : Microsoft.IdentityModel.S2S.Protocols.OAuth2 |
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 |