Co-buyer = Name is on the title and has rights to the property. The lender will PROBABLY insist that this person also sign the loan as a co-signer or joint borrower.
Co-signer = Name is on the loan and is obligated to make the payments if the primary borrower does not. This gives you NO rights to the property.