Browse Subversion Repository
Diff of /trunk/kakuretter/OAuthBase.cs
Parent Directory
| Revision Log
| Patch
| 30 |
public Auth(string consumerKey, string consumerSecret) |
public Auth(string consumerKey, string consumerSecret) |
| 31 |
{ |
{ |
| 32 |
ServicePointManager.Expect100Continue = false; |
ServicePointManager.Expect100Continue = false; |
| 33 |
|
ServicePointManager.SecurityProtocol |= System.Net.SecurityProtocolType.Tls12; |
| 34 |
ConsumerKey = consumerKey; |
ConsumerKey = consumerKey; |
| 35 |
ConsumerSecret = consumerSecret; |
ConsumerSecret = consumerSecret; |
| 36 |
} |
} |
| 38 |
public Auth(string consumerKey, string consumerSecret, string accessToken, string accessTokenSecret, string userId, string screenName) |
public Auth(string consumerKey, string consumerSecret, string accessToken, string accessTokenSecret, string userId, string screenName) |
| 39 |
{ |
{ |
| 40 |
ServicePointManager.Expect100Continue = false; |
ServicePointManager.Expect100Continue = false; |
| 41 |
|
ServicePointManager.SecurityProtocol |= System.Net.SecurityProtocolType.Tls12; |
| 42 |
ConsumerKey = consumerKey; |
ConsumerKey = consumerKey; |
| 43 |
ConsumerSecret = consumerSecret; |
ConsumerSecret = consumerSecret; |
| 44 |
AccessToken = accessToken; |
AccessToken = accessToken; |
|
|
Legend:
| Removed from v.57 |
|
| changed lines |
| |
Added in v.58 |
|
|
| |