Added client side functionality and created register page
This commit is contained in:
12
HopFrame.Web/Services/IAuthService.cs
Normal file
12
HopFrame.Web/Services/IAuthService.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using HopFrame.Security.Models;
|
||||
|
||||
namespace HopFrame.Web.Services;
|
||||
|
||||
public interface IAuthService {
|
||||
Task Register(UserRegister register);
|
||||
Task<bool> Login(UserLogin login);
|
||||
Task Logout();
|
||||
|
||||
Task<bool> RefreshLogin();
|
||||
Task<bool> IsLoggedIn();
|
||||
}
|
||||
Reference in New Issue
Block a user