Refactor authentication system to use username instead of email; implement change password functionality and logging; add NLog for logging support
Some checks failed
Publish Container / publish (push) Failing after 1m9s

This commit is contained in:
MaddoScientisto 2026-03-17 20:08:02 +01:00
commit 6e3371514e
12 changed files with 287 additions and 45 deletions

View file

@ -4,5 +4,7 @@ public interface IAuthService
{
Task EnsureSeedUserAsync(CancellationToken cancellationToken);
Task<AuthUser?> ValidateCredentialsAsync(string email, string password, CancellationToken cancellationToken);
Task<AuthUser?> ValidateCredentialsAsync(string username, string password, CancellationToken cancellationToken);
Task<bool> ChangePasswordAsync(string userId, string newPassword, CancellationToken cancellationToken);
}