namespace Ikar.Server.Infrastructure.Admin;

public sealed class AdminOptions
{
    public const string SectionName = "Admin";

    public string Username { get; set; } = string.Empty;

    public string Password { get; set; } = string.Empty;

    public bool IsConfigured =>
        !string.IsNullOrWhiteSpace(Username) &&
        !string.IsNullOrWhiteSpace(Password);
}
