Enterprise Application Architecture with .NET Core
by Ganesan Senthilvel, Ovais Mehboob Ahmed Khan, Habib Qureshi
Two-factor authentication
Two-factor authentication, also known as 2FA, provides two-step verification of the user authentication in the system. Usually, with one-step authentication, we require the user to specify the username and password. With this type of authentication mechanism, instead of only asking the username and password, we require another piece of information, which is particular to that user only for authentication. For example, we can implement two-factor authentication on a website that requires the user to specify the username and password at the first step and then send a code through an SMS which will be used to authenticate the user at the second step.
In this section, we will show how to implement two-factor authentication ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access