using ErsatzTV.Core; namespace ErsatzTV.Application.Auth; /// /// Recovery/bootstrap path: (re)sets the local admin from configuration (env /// Auth:LocalAdmin:Username/Password). Overwrites any existing credential and rotates the /// stamp (revoking sessions), so an operator who is locked out can reset by setting the env and /// restarting. Runs at startup only when a password is configured. /// public record SeedLocalAdminFromEnvironment(string Username, string Password) : IRequest>;