2024-07-03 20:17:44 +02:00
|
|
|
using DotBased;
|
2024-11-02 01:58:30 +01:00
|
|
|
using DotBased.ASP.Auth.Domains;
|
2024-07-03 20:17:44 +02:00
|
|
|
using DotBased.Logging;
|
|
|
|
using SharpRSS.Data.Domains.Auth;
|
|
|
|
|
|
|
|
namespace SharpRSS.Business.Services;
|
|
|
|
|
|
|
|
public class AuthService
|
|
|
|
{
|
|
|
|
public AuthService()
|
|
|
|
{
|
|
|
|
_logger = LogService.RegisterLogger(typeof(AuthService));
|
|
|
|
}
|
|
|
|
|
|
|
|
private readonly ILogger _logger;
|
|
|
|
|
|
|
|
public async Task<Result> LoginUserAsync(LoginModel loginModel)
|
|
|
|
{
|
|
|
|
return Result.Failed("NotImplemented");
|
|
|
|
}
|
|
|
|
|
|
|
|
public async Task<Result> LogoutUserAsync(string id)
|
|
|
|
{
|
|
|
|
return Result.Failed("NotImplemented");
|
|
|
|
}
|
2024-07-03 20:44:56 +02:00
|
|
|
|
|
|
|
public async Task<Result> ValidateAuthenticationStateAsync(string id)
|
|
|
|
{
|
|
|
|
return Result.Failed("NotImplemented");
|
|
|
|
}
|
2024-07-03 20:17:44 +02:00
|
|
|
}
|