AuthController work

This commit is contained in:
Artemy
2025-06-18 16:55:19 +07:00
parent 2c2c2b805c
commit 7d518c0882
26 changed files with 397 additions and 63 deletions
+3 -1
View File
@@ -1,7 +1,9 @@
using Govor.Core.Models;
namespace Govor.Core.Services;
public interface IAccountService
{
public Task RegistrationAsync(string name, string password);
public Task<string> RegistrationAsync(string name, string password);
public Task<string> LoginAsync(string name, string password);
}
+8
View File
@@ -0,0 +1,8 @@
using Govor.Core.Models;
namespace Govor.Core.Services;
public interface IJwtService
{
string GenerateJwtToken(User user);
}