Twitter accounts are soon going to be more secure with two-factor authentication using security keys. Users will be able to sign into their accounts only through security keys and login. Currently, third party to factor authentication is supported as a backup. However, Twitter has not told when this feature will be available to users.
Twitter made this announcement on its portal for more secure login. It also mentions using security keys. These are physical keys, which connect to the PC using USB or Bluetooth, so that users do not have to type passwords all the time, which can be used to hack accounts from software. With these security keys, users do not have to share personal information with Twitter once they lose their password.