C# Class oAuthLinkedIn, LinkedIn-Windows-Client

Inheritance: oAuthBase2
ファイルを表示 Open project: fyasar/LinkedIn-Windows-Client Class Usage Examples

Public Methods

Method Description
APIWebRequest ( string method, string url, string postData ) : string

WebRequestWithPut

AccessTokenGet ( string authToken ) : void

Exchange the request token for an access token.

AuthorizationLinkGet ( ) : string

Get the link to Twitter's authorization page for this application.

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

Web Request Wrapper

WebResponseGet ( HttpWebRequest webRequest ) : string

Process the web response.

oAuthWebRequest ( Method, method, string url, string postData ) : string

Submit a web request using oAuth.

Method Details

APIWebRequest() public method

WebRequestWithPut
public APIWebRequest ( string method, string url, string postData ) : string
method string WebRequestWithPut
url string
postData string
return string

AccessTokenGet() public method

Exchange the request token for an access token.
public AccessTokenGet ( string authToken ) : void
authToken string The oauth_token is supplied by Twitter's authorization page following the callback.
return void

AuthorizationLinkGet() public method

Get the link to Twitter's authorization page for this application.
public AuthorizationLinkGet ( ) : string
return string

WebRequest() public method

Web Request Wrapper
public WebRequest ( Method, method, string url, string postData ) : string
method Method, Http Method
url string Full url to the web resource
postData string Data to post in querystring format
return string

WebResponseGet() public method

Process the web response.
public WebResponseGet ( HttpWebRequest webRequest ) : string
webRequest HttpWebRequest The request object.
return string

oAuthWebRequest() public method

Submit a web request using oAuth.
public oAuthWebRequest ( Method, method, string url, string postData ) : string
method Method, GET or POST
url string The full url, including the querystring.
postData string Data to post (querystring format)
return string