In a medium bowl, mix the flour, baking powder, baking soda, salt, allspice, and cinnamon. Set aside.
In a small saucepan, melt 75 g of butter over low heat. Pour into a large bowl.
Add the brown sugar, powdered sugar, and vanilla. Whisk to combine well.
Incorporate the eggs, one at a time, whisking.
Add the dry ingredients and mix until the batter is smooth.
Grate the apples Incorporate them into the batter until there are no traces of flour.
Pour the batter into a cake pan. Bake in the oven until a knife inserted in the center comes out clean.
Let cool 10 minutes in the pan, then unmold onto a rack. Turn the cake over to achieve a flat surface
Caramel Glaze:
In the same saucepan, melt 40 g of butter over medium heat. Add the heavy cream, a pinch of salt, and the brown sugar. Bring to a boil while stirring constantly, until the mixture thickens slightly and the sugar is dissolved.
Immediately pour the glaze over the cake and spread using a spatula.