All the stations that the Eurostar trains stop at has passport control in place between the International platforms and the main concourse/rest of the station. If you are a foot passenger you pass through passport control at Gare du Nord in Paris and at St Pancras in London on your return journey.