Example #1
0
 public static void SetCredentials(EEnvironment environment, string accessToken, string defaultAccount = "0")
 {
     _instance = new Credentials20
     {
         Environment      = environment,
         AccessToken      = accessToken,
         DefaultAccountId = defaultAccount
     };
 }
Example #2
0
 // Convenience helpers
 private static string Server(EServer server)
 {
     return(Credentials20.GetDefaultCredentials().GetServer(server));
 }