// EN: Tenant provider interface for multi-tenant row-level security.
// VI: Interface tenant provider cho bảo mật row-level đa tenant.

namespace FnbEngine.API.Infrastructure.Tenant;

/// <summary>
/// EN: Provides current tenant context from JWT claims for row-level security.
/// VI: Cung cấp tenant context từ JWT claims cho bảo mật row-level.
/// </summary>
public interface ITenantProvider
{
    Guid? GetCurrentUserId();
    Guid? GetCurrentMerchantId();
    Guid? GetCurrentShopId();
    bool IsServiceCall();
    bool IsAdmin();
}
