2022-10-15 00:07:59 +02:00
|
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
|
|
|
|
namespace Piwigo.Client;
|
|
|
|
|
|
|
|
public interface IPiwigoContext
|
|
|
|
{
|
|
|
|
bool IsLoggedIn { get; }
|
2022-10-16 22:58:38 +02:00
|
|
|
Task LoginAsync();
|
|
|
|
Task LogoutAsync();
|
|
|
|
Task<T> PostAsync<T>(ILogger logger, string method, IDictionary<string, string> formParams);
|
|
|
|
Task<T> PostAsync<T>(ILogger logger, string method);
|
2022-10-15 00:07:59 +02:00
|
|
|
}
|