I bought a can of chicken (chunk white meat) a while back. Because I wasn't "deliberately shopping for groceries" (I was at the store returning bottles for deposit, but had earlier realized my meal plans were short by one can of chicken), that was all I bought, and as a result, I ended up tossing it in the glove box and forgetting about it for about a week.
When I finally brought it in, it was rather warm, and presumably had been heating and cooling every day it was left in the car.
Is it still safe to eat? Obviously, if it was something that would normally be refrigerated, the answer would be a very emphatic "no", but being canned, it has already been cooked to death and (at least in theory) sealed into a sterile environment, and doesn't need to be kept refrigerated. (Note: the can is not bulging noticeably, which I do know would indicate that it is definitely not safe.)
p.s. I read https://www.stilltasty.com/fooditems/index/16796 but it doesn't say if exposure to higher temperatures is an issue. OTOH, a comment on this question suggests it may have already been exposed to similar conditions.
p.p.s. I don't plan on keeping this around for another 2-3 years; the intention would be to eat it within about a month.