WorkTracker/Services/Auth/IAuthService.cs

10 lines
No EOL
365 B
C#

namespace WorkTracker.Services.Auth;
public interface IAuthService
{
Task EnsureSeedUserAsync(CancellationToken cancellationToken);
Task<AuthUser?> ValidateCredentialsAsync(string username, string password, CancellationToken cancellationToken);
Task<bool> ChangePasswordAsync(string userId, string newPassword, CancellationToken cancellationToken);
}