Authenticating and Managing Your Users
User authentication is critical to any modern web application. Various forms of user authentication mechanisms are available today. Traditionally, users log in to an application using a username and password. With the rise of social networking, single sign-on using an OAuth provider such as Facebook or Twitter has become a popular authentication method. In this chapter you will learn to implement username and password-based authentication for your application.