C# Class JDP.Transformation.HttpCommands.RemoteOperation

Afficher le fichier Open project: OfficeDev/PnP-Transformation

Méthodes publiques

Свойство Type Description
PostParameters string>.Dictionary

Méthodes publiques

Méthode Description
AnalyzeRequestResponse ( string page ) : void

For optinal processing of the page in the inherited class

Execute ( ) : void
RemoteOperation ( string targetUrl, AuthenticationType authType, string user, string password, string domain = "" ) : System
SetPostVariables ( ) : void

To be implemented based on usage scenario

Méthodes protégées

Méthode Description
GetRequest ( ) : string

Handles the initial request of the page using given identity

MakePostRequest ( string webPage ) : string

Responsible of accessing the page and submitting the post. Generic handler for the post access

Private Methods

Méthode Description
GetUpdatedFormDigest ( string siteUrl ) : string

Used to get updated form digest for the operation. Required for most of the operations in on-prem or with Office365-D

ModifyRequestBasedOnAuthPattern ( HttpWebRequest request ) : void

Used to modify the HTTP request based on authentication type

Method Details

AnalyzeRequestResponse() public méthode

For optinal processing of the page in the inherited class
public AnalyzeRequestResponse ( string page ) : void
page string
Résultat void

Execute() public méthode

public Execute ( ) : void
Résultat void

GetRequest() protected méthode

Handles the initial request of the page using given identity
protected GetRequest ( ) : string
Résultat string

MakePostRequest() protected méthode

Responsible of accessing the page and submitting the post. Generic handler for the post access
protected MakePostRequest ( string webPage ) : string
webPage string
Résultat string

RemoteOperation() public méthode

public RemoteOperation ( string targetUrl, AuthenticationType authType, string user, string password, string domain = "" ) : System
targetUrl string
authType AuthenticationType
user string
password string
domain string
Résultat System

SetPostVariables() public abstract méthode

To be implemented based on usage scenario
public abstract SetPostVariables ( ) : void
Résultat void

Property Details

PostParameters public_oe property

public Dictionary PostParameters
Résultat string>.Dictionary