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
Some checks failed
Publish Container / publish (push) Failing after 1m9s
This commit is contained in:
parent
d3887f1dd0
commit
6e3371514e
12 changed files with 287 additions and 45 deletions
|
|
@ -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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue