Question: is it legal (California) to deny a warranty claim based on where you bought something? i.e. Manufacture authorized re-seller vs not?

I couldn’t find anything specific on the googs.