コード例 #1
0
 /// <summary>
 /// コンストラクタ : 設定保持用
 /// </summary>
 /// <param name="ck"> Consumer Key </param>
 /// <param name="cs"> Consumer Secret </param>
 /// <param name="at"> Access Token </param>
 /// <param name="ats"> Access Token Secret </param>
 /// <param name="id"> User ID </param>
 /// <param name="name"> Screen Name </param>
 /// <param name="client"> HttpClient </param>
 internal Authenticator(string ck, string cs, string at, string ats, string id, string name, HttpClient client)
 {
     ICredentials = new TwistCredentials(ck, cs, at, ats, id, name);
     _Client      = client;
 }
コード例 #2
0
 /// <summary>
 /// コンストラクタ : インスタンス生成用
 /// </summary>
 /// <param name="ck"> Consumer Key </param>
 /// <param name="cs"> Consumer Secret </param>
 /// <param name="client"> HttpClient </param>
 internal Authenticator(string ck, string cs, HttpClient client)
 {
     ICredentials = new TwistCredentials(ck, cs);
     _Client      = client;
 }