Class ConfigAuthService

Assembly: redb.Tsak.Web.dll

Standalone implementation of .
Validates credentials against config (Tsak:Web:AdminLogin / Tsak:Web:AdminPassword).
No database, no IUserProvider — pure config-driven. Stateless: the session is an auth cookie, not
an in-memory flag.

public sealed class ConfigAuthService : IAuthService

Inheritance

Object→ConfigAuthService

Implements

Methods

FindAsync(string)

Re-resolve an already-authenticated account for session revalidation (no password check):

public Task<AuthUser?> FindAsync(string login)

ValidateAsync(string, string)

Validate credentials. Returns the resolved on success, or null

public Task<AuthUser?> ValidateAsync(string login, string password)

Constructors