ab827d849c
Connected the login form button to the Authentication endpoint (/token). Gets back bearer token or exception if failed
10 lines
231 B
C#
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);
|
|
}
|
|
} |