Method | Description | |
---|---|---|
Create ( string consumerKey, string consumerSecret, string bearer ) : |
Makes an instance of OAuth2Tokens.
|
|
CreateAuthorizationHeader ( MethodType type, Uri url, object>.IEnumerable |
Creates a string for Authorization header including bearer token.
|
|
OAuth2Token ( ) : System |
Initializes a new instance of the OAuth2Token class.
|
|
OAuth2Token ( |
Initializes a new instance of the OAuth2Token class with a specified token.
|
|
ToString ( ) : string |
Returns a string that represents the current Tokens.
|
public static Create ( string consumerKey, string consumerSecret, string bearer ) : |
||
consumerKey | string | The consumer key. |
consumerSecret | string | The consumer secret. |
bearer | string | The bearer token. |
return |
public CreateAuthorizationHeader ( MethodType type, Uri url, object>.IEnumerable |
||
type | MethodType | The type of the HTTP request. |
url | Uri | The URL. |
parameters | object>.IEnumerable | The parameters. |
return | string |
public OAuth2Token ( |
||
e | The token. | |
return | System |