using System; using System.Collections.Generic; using System.Threading.Tasks; using Sony.Filtr.Contracts.Definitions; using Sony.Filtr.Contracts.Entities; namespace Sony.Filtr.Contracts.Abstractions { public interface IServiceAccountManager { ServiceAccount SaveServiceAccount(ServiceAccount serviceAccount); ServiceAccount AddServiceAccount(ServiceAccount serviceAccount); List GetServiceAccounts(); List GetServiceAccounts(int applicationId); void DeleteServiceAccount(ServiceAccount serviceAccount); ServiceAccount GetServiceAccount(MusicService musicService, string userIdentifier); ServiceAccount GetServiceAccount(int musicServiceId, string userIdentifier); ServiceAccount GetServiceAccount(int serviceAccountId); Task> GetServiceAccountSpotifyClientIdAndSecretAsync(int serviceAccountId); Task AssignSpotifyApiClientIdToServiceAccountAsync(int serviceAccountId); } }