Retail_manager/RMWPFUserInterface/Helpers/IAPIHelper.cs
s459315 ab827d849c Wired up login form to API
Connected the login form button to the Authentication endpoint (/token). Gets back bearer token or exception if failed
2022-07-08 17:31:58 +02:00

10 lines
231 B
C#

using RMWPFUserInterface.Models;
using System.Threading.Tasks;
namespace RMWPFUserInterface.Helpers
{
public interface IAPIHelper
{
Task<AuthenticatedUser> Authenticate(string username, string password);
}
}