コード例 #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="access"></param>
 /// <param name="appID"></param>
 /// <param name="secret"></param>
 public PublicAPIAuthentication(PublicAPIConnection access, string appID, string secret)
 {
     this.accessHelper = access;
     this.appId        = appID;
     this.secret       = secret;
     this.token        = null;
 }
コード例 #2
0
 /// <summary>
 /// Create an instance by using an instance of AccessHelper.
 /// </summary>
 /// <param name="accessHelper">AccessHelper</param>
 public PublicAPIAuthentication(PublicAPIConnection accessHelper)
 {
     this.accessHelper = accessHelper;
     this.token        = null;
 }