Retail_manager/RMWPFInterfaceLibrary/Api/IAPIHelper.cs

14 lines
365 B
C#
Raw Normal View History

using RMWPFUserInterface.Models;
using System.Net.Http;
using System.Threading.Tasks;
namespace RMWPFInterfaceLibrary.Api
{
public interface IAPIHelper
{
HttpClient ApiClient { get; }
void LogOffUser();
Task<AuthenticatedUser> Authenticate(string username, string password);
Task GetLogedInUserInfo(string token);
}
}