The most secure method of two-factor authentication is generally considered to be a hardware key that plugs into your device.