Метод | Описание | |
---|---|---|
GetToken ( string consumerKey, string consumerSecret, CoreTweet.ConnectionOptions options = null ) : |
Gets the OAuth 2 Bearer Token.
|
|
GetTokenAsync ( string consumerKey, string consumerSecret, CoreTweet.ConnectionOptions options = null, |
Gets the OAuth 2 Bearer Token as an asynchronous operation.
|
|
InvalidateToken ( this tokens ) : string |
Invalidates the OAuth 2 Bearer Token.
|
|
InvalidateTokenAsync ( this tokens, |
Invalidates the OAuth 2 Bearer Token as an asynchronous operation.
|
Метод | Описание | |
---|---|---|
CreateCredentials ( string consumerKey, string consumerSecret ) : string | ||
GetAccessTokenUrl ( CoreTweet.ConnectionOptions options ) : |
||
GetInvalidateTokenUrl ( CoreTweet.ConnectionOptions options ) : |
public static GetToken ( string consumerKey, string consumerSecret, CoreTweet.ConnectionOptions options = null ) : |
||
consumerKey | string | The consumer key. |
consumerSecret | string | The consumer secret. |
options | CoreTweet.ConnectionOptions | The connection options for the request. |
Результат |
public static GetTokenAsync ( string consumerKey, string consumerSecret, CoreTweet.ConnectionOptions options = null, |
||
consumerKey | string | The consumer key. |
consumerSecret | string | The consumer secret. |
options | CoreTweet.ConnectionOptions | The connection options for the request. |
cancellationToken | The cancellation token. | |
Результат | Task |
public static InvalidateToken ( this tokens ) : string | ||
tokens | this | An instance of |
Результат | string |
public static InvalidateTokenAsync ( this tokens, |
||
tokens | this | An instance of OAuth2Tokens. |
cancellationToken | The cancellation token. | |
Результат | Task |