Метод | Описание | |
---|---|---|
Authorize ( string consumerKey, string consumerSecret, string oauthCallback = "oob", CoreTweet.ConnectionOptions options = null ) : OAuthSession |
Generates the authorize URI. Then call GetTokens after get the pin code.
|
|
AuthorizeAsync ( string consumerKey, string consumerSecret, string oauthCallback = "oob", CoreTweet.ConnectionOptions options = null, |
Generates the authorize URI as an asynchronous operation. Then call GetTokensAsync after get the pin code.
|
|
GetTokens ( this session, string oauthVerifier ) : |
Gets the OAuth tokens. Be sure to call Authorize before call this method.
|
|
GetTokensAsync ( this session, string pin, |
Gets the OAuth tokens as an asynchronous operation. Be sure to call AuthorizeAsync before call this method.
|
Метод | Описание | |
---|---|---|
GetAccessTokenUrl ( CoreTweet.ConnectionOptions options ) : |
||
GetRequestTokenUrl ( CoreTweet.ConnectionOptions options ) : |
public static Authorize ( string consumerKey, string consumerSecret, string oauthCallback = "oob", CoreTweet.ConnectionOptions options = null ) : OAuthSession | ||
consumerKey | string | The Consumer key. |
consumerSecret | string | The Consumer secret. |
oauthCallback | string |
/// |
options | CoreTweet.ConnectionOptions | The connection options for the request. |
Результат | OAuthSession |
public static AuthorizeAsync ( string consumerKey, string consumerSecret, string oauthCallback = "oob", CoreTweet.ConnectionOptions options = null, |
||
consumerKey | string | The consumer key. |
consumerSecret | string | The consumer secret. |
oauthCallback | string |
/// |
options | CoreTweet.ConnectionOptions | The connection options for the request. |
cancellationToken | The cancellation token. | |
Результат | Task |
public static GetTokens ( this session, string oauthVerifier ) : |
||
session | this | The OAuth session. |
oauthVerifier | string | The pin code. |
Результат |
public static GetTokensAsync ( this session, string pin, |
||
session | this | The OAuth session. |
pin | string | The pin code. |
cancellationToken | The cancellation token. | |
Результат | Task |