C# Class TeamPlatformAPIExample.tpOAuth2

Exibir arquivo Open project: vispower/teamplatform-api Class Usage Examples

Public Methods

Method Description
UrlEncode ( string value ) : string
WebRequest ( Method method, string url, string postData ) : string
WebResponseGet ( HttpWebRequest webRequest ) : string
tpGetAuthorization ( string client_id, string client_secret, string email, string pwd, string &error_msg ) : bool
tpGetFiles ( IList options, string &error_msg, List &files ) : bool
tpGetProfile ( string &error_msg ) : bool
tpGetTasks ( IList options, string &error_msg, List &tasks ) : bool
tpGetWorkspaces ( IList options, string &error_msg, List &workspaces ) : bool

Protected Methods

Method Description
NormalizeRequestParameters ( IList parameters ) : string

Method Details

NormalizeRequestParameters() protected method

protected NormalizeRequestParameters ( IList parameters ) : string
parameters IList
return string

UrlEncode() public method

public UrlEncode ( string value ) : string
value string
return string

WebRequest() public method

public WebRequest ( Method method, string url, string postData ) : string
method Method
url string
postData string
return string

WebResponseGet() public method

public WebResponseGet ( HttpWebRequest webRequest ) : string
webRequest System.Net.HttpWebRequest
return string

tpGetAuthorization() public method

public tpGetAuthorization ( string client_id, string client_secret, string email, string pwd, string &error_msg ) : bool
client_id string
client_secret string
email string
pwd string
error_msg string
return bool

tpGetFiles() public method

public tpGetFiles ( IList options, string &error_msg, List &files ) : bool
options IList
error_msg string
files List
return bool

tpGetProfile() public method

public tpGetProfile ( string &error_msg ) : bool
error_msg string
return bool

tpGetTasks() public method

public tpGetTasks ( IList options, string &error_msg, List &tasks ) : bool
options IList
error_msg string
tasks List
return bool

tpGetWorkspaces() public method

public tpGetWorkspaces ( IList options, string &error_msg, List &workspaces ) : bool
options IList
error_msg string
workspaces List
return bool