C# Class Attassa.OAuthLinkedIn

Inheritance: oAuthBase
Datei anzeigen Open project: dquail/LinkedinOauth Class Usage Examples

Public Methods

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

WebRequestWithPut

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

Web Request Wrapper

WebResponseGet ( HttpWebRequest webRequest ) : string

Process the web response.

authorizeToken ( ) : String

Authorize the token by showing the dialog

getAccessToken ( ) : String

Get the access token

getRequestToken ( ) : String

Get the linkedin request token using the consumer key and secret. Also initializes tokensecret

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

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 System.Net.HttpWebRequest The request object.
return string

authorizeToken() public method

Authorize the token by showing the dialog
public authorizeToken ( ) : String
return String

getAccessToken() public method

Get the access token
public getAccessToken ( ) : String
return String

getRequestToken() public method

Get the linkedin request token using the consumer key and secret. Also initializes tokensecret
public getRequestToken ( ) : String
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