메소드 | 설명 | |
---|---|---|
Create ( string consumerKey, string consumerSecret, string accessToken, string accessSecret, long userID, string screenName = null ) : |
Makes an instance of Tokens. Tokens.Create will not fetch UserId and ScreenName automatically. If you need them, call Rest.Account.VerifyCredentials(object).
|
|
CreateAuthorizationHeader ( MethodType type, |
Creates a string for Authorization header for OAuth 1.0A.
|
|
ToString ( ) : string |
Returns a string that represents the current Tokens.
|
|
Tokens ( ) : System |
Initializes a new instance of the Tokens class.
|
|
Tokens ( |
Initializes a new instance of the Tokens class with a specified token.
|
public static Create ( string consumerKey, string consumerSecret, string accessToken, string accessSecret, long userID, string screenName = null ) : |
||
consumerKey | string | The consumer key. |
consumerSecret | string | The consumer secret. |
accessToken | string | The access token. |
accessSecret | string | The access secret. |
userID | long | The user's ID. |
screenName | string | The user's screen name. |
리턴 |
public CreateAuthorizationHeader ( MethodType type, |
||
type | MethodType | The Type of HTTP request. |
url | The URL. | |
parameters | object>.IEnumerable | The parameters. |
리턴 | string |