using LittleShop.Client.Models;

namespace LittleShop.Client.Services;

public interface IAuthenticationService
{
    Task<ApiResponse<LoginResponse>> LoginAsync(string username, string password);
    Task<ApiResponse<LoginResponse>> RefreshTokenAsync();
    void SetToken(string token);
    string? GetToken();
    bool IsAuthenticated();
    void Logout();
}