2020-10-24 23:23:22 +02:00
|
|
|
|
using Birdmap.DAL.Entities;
|
2020-10-21 17:04:54 +02:00
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
2020-10-24 23:23:22 +02:00
|
|
|
|
namespace Birdmap.BLL.Interfaces
|
2020-10-21 17:04:54 +02:00
|
|
|
|
{
|
|
|
|
|
public interface IAuthService
|
|
|
|
|
{
|
|
|
|
|
Task<User> AuthenticateUserAsync(string username, string password);
|
2020-10-25 16:15:06 +01:00
|
|
|
|
Task<User> RegisterUserAsync(string username, string password);
|
2020-10-21 17:04:54 +02:00
|
|
|
|
}
|
|
|
|
|
}
|