The oath of office may be taken by all officers before any person authorized by law to administer an oath.