Reorganized folder structure
This commit is contained in:
13
src/HopFrame.Web/Services/IAuthService.cs
Normal file
13
src/HopFrame.Web/Services/IAuthService.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using HopFrame.Database.Models.Entries;
|
||||
using HopFrame.Security.Models;
|
||||
|
||||
namespace HopFrame.Web.Services;
|
||||
|
||||
public interface IAuthService {
|
||||
Task Register(UserRegister register);
|
||||
Task<bool> Login(UserLogin login);
|
||||
Task Logout();
|
||||
|
||||
Task<TokenEntry> RefreshLogin();
|
||||
Task<bool> IsLoggedIn();
|
||||
}
|
||||
Reference in New Issue
Block a user