public ThemesSample(JObject authConfig) { Configuration config = Configuration.Default; config.ApiKey.Add("X-Auth-Token", (string)authConfig["accessToken"]); config.BasePath = config.BasePath.Replace("{$$.env.store_hash}", (string)authConfig["storeId"]); this.themesApi = new ThemesApi(config); }
public void Init() { instance = new ThemesApi(); }