Effect of nitrogen nutrition pathways on the quality of nitrogen storage compounds in legumes