namespace Tiku.Api.Options;

public sealed class TenantResolutionOptions
{
    public const string SectionName = "Tenancy:Resolution";

    public string[] PlatformHosts { get; set; } = ["localhost", "127.0.0.1"];
    public string[] ExemptPathPrefixes { get; set; } = ["/health", "/openapi", "/scalar"];

    public string[] TenantCodePathPrefixes { get; set; } =
    [
        "/api/tenant/auth", "/api/tenant", "/api/public/catalog", "/api/student/assets", "/api/public/scoreline",
        "/api/student/referral", "/api/student/commerce/payments/notify"
    ];

    public string[] TrustedProxyAddresses { get; set; } = [];
}