C# Class BoxKite.Twitter.ApplicationSession

Inheritance: IApplicationSession
ファイルを表示 Open project: nickhodge/BoxKite.Twitter

Public Methods

Method Description
ApplicationSession ( string clientID, string clientSecret, int _waitTimeoutSeconds = 30 ) : System
ApplicationSession ( string clientID, string clientSecret, string bearerToken, int _waitTimeoutSeconds = 30 ) : System
GetAsync ( string url, string>.SortedDictionary parameters ) : Task

Use OAuth2 Bearer To do read-only GET query

PostAsync ( string url, string>.SortedDictionary parameters, bool forInitialAuth = false ) : Task

Use OAuth2 Bearer Token for POST

Method Details

ApplicationSession() public method

public ApplicationSession ( string clientID, string clientSecret, int _waitTimeoutSeconds = 30 ) : System
clientID string
clientSecret string
_waitTimeoutSeconds int
return System

ApplicationSession() public method

public ApplicationSession ( string clientID, string clientSecret, string bearerToken, int _waitTimeoutSeconds = 30 ) : System
clientID string
clientSecret string
bearerToken string
_waitTimeoutSeconds int
return System

GetAsync() public method

Use OAuth2 Bearer To do read-only GET query
public GetAsync ( string url, string>.SortedDictionary parameters ) : Task
url string URL to call
parameters string>.SortedDictionary Params to send
return Task

PostAsync() public method

Use OAuth2 Bearer Token for POST
public PostAsync ( string url, string>.SortedDictionary parameters, bool forInitialAuth = false ) : Task
url string URL to call
parameters string>.SortedDictionary Params to send
forInitialAuth bool Is for an initial auth to get bearer token
return Task