Interface IAuthService
Credential validator for the dashboard login. It ONLY checks credentials — it holds no session
state. The authenticated session is a real ASP.NET Core auth cookie
(SignInAsync in the /auth/login endpoint), and the current user is read back from
HttpContext.User / the ,
not from a per-circuit in-memory flag.
Standalone: validates against config (AdminLogin/AdminPassword). Cluster: validates against the
redb _users table via IUserProvider.
public interface IAuthService
Methods
FindAsync(string)
Re-resolve an already-authenticated account for session revalidation (no password check):
Task<AuthUser?> FindAsync(string login)
ValidateAsync(string, string)
Validate credentials. Returns the resolved on success, or null
Task<AuthUser?> ValidateAsync(string login, string password)