How do you really know (extended warranty)

Buying a new car in a few weeks so I know I'll have to go through the whole upsell process and just want to be ready. I will probably get an extended warranty (and it will most likely be through car edge not the dealer) but just in case they throw in a really good deal how do I really tell (in writing) the difference between a service contract only valid at that dealer, a service contract valid at any dealer (manufacturer), or a third-party extended warranty valid at any certified mechanic shop.

I recently was looking at terminating an extended warranty, and was immediately told that the dealership had just sold to another dealer (changed names on paper) so they are not responsible for any warranty contracted with the previous dealer. I don't want to deal with that again, so I want to understand how to actually know what I'm looking at on paper and not to take their word for it.