5c2b914884
fixes the bug where header was not being cleared on log off
14 lines
365 B
C#
14 lines
365 B
C#
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);
|
|
}
|
|
} |