mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 10:42:08 +00:00
Add auth service
This commit is contained in:
11
Service/Service.Core/Services/IAuthService.cs
Normal file
11
Service/Service.Core/Services/IAuthService.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using DataAccessLayer.Entities;
|
||||
|
||||
namespace BusinessLayer.Services
|
||||
{
|
||||
public interface IAuthService
|
||||
{
|
||||
Task<UserAccount> RegisterAsync(UserAccount userAccount, string password);
|
||||
Task<bool> LoginAsync(string usernameOrEmail, string password);
|
||||
Task InvalidateAsync(Guid userAccountId);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user