feat(auth): Added authentication
This commit is contained in:
parent
d85d4334f8
commit
5e100c75ed
39 changed files with 704 additions and 86 deletions
9
backend/src/Services/IAuthService.cs
Normal file
9
backend/src/Services/IAuthService.cs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
using JellyGlass.Models;
|
||||
|
||||
namespace JellyGlass.Services;
|
||||
|
||||
public interface IAuthService
|
||||
{
|
||||
public Task<UserSessionDTO> AuthenticateUser(string username, string password);
|
||||
public Task<bool> IsAuthenticated(string? sessionToken);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue