public static AppCredentials FromJsonFile(string path)
        {
            string         jsonString     = File.ReadAllText(path);
            AppCredentials appCredentials = JsonConvert.DeserializeObject <AppCredentials>(jsonString);

            return(appCredentials);
        }
Esempio n. 2
0
 public AppMindSphereConnector(AppCredentials credentials, HttpClient httpClient)
     : base(httpClient)
 {
     _credentials = credentials;
 }