using Microsoft.Extensions.Logging; using Piwigo.Client.Contract; namespace Piwigo.Client; public interface IPiwigoContext { bool IsLoggedIn { get; } Task LoginAsync(CancellationToken cancellationToken = default); Task LogoutAsync(CancellationToken cancellationToken = default); Task PostAsync(ILogger logger, string method, IDictionary formParams, CancellationToken cancellationToken = default) where T : PiwigoResponse; Task PostAsync(ILogger logger, string method, CancellationToken cancellationToken = default) where T : PiwigoResponse; }