コード例 #1
0
 public void TokenBasedAuthTest()
 {
     FreshbooksApi api = new FreshbooksApi(UserSettings.FreshbooksAccountName, UserSettings.ConsumerKey);
     api.UseLegacyToken(UserSettings.UserToken);
     api.Staff.Current();
 }
コード例 #2
0
 static FreshbooksApi CreateDefault()
 {
     FreshbooksApi api = new FreshbooksApi(UserSettings.FreshbooksAccountName, UserSettings.ConsumerKey);
     api.UseLegacyToken(UserSettings.UserToken);
     return api;
 }