Method | Description | |
---|---|---|
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.
|
Method | Description | |
---|---|---|
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. |
return |
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. | |
return | Task |
public static InvalidateToken ( this tokens ) : string | ||
tokens | this | An instance of |
return | string |
public static InvalidateTokenAsync ( this tokens, |
||
tokens | this | An instance of OAuth2Tokens. |
cancellationToken | The cancellation token. | |
return | Task |