Before getting started with Authentication you need to know what Identity itself is. In ASP.NET, Core Identity is a membership system that adds login functionality to ASP.NET Core apps.
- In this chapter we are going to discuss the ASP.NET core identity framework in brief. As the name already indicates, identity is about identifying if the users are part of our replication or not. On the other hand the ASP.NET core identity is a membership system which adds the login functionality or the feature, to our apps and in this case the .NET core apps. ASP.NET core identity's really flexible when it comes to the way we identify, or we allow users to login to our .NET core apps. We can either use the default identity system or we can use external providers like, Facebook, Google, GitHub et cetera. And on the fourth chapter of this course we are going to learn in more details how to use Facebook and GitHub to authenticate our users. Identity can be configured using an SQL server database to store usernames, passwords and profile data. But of course you can use another persistent store like, for example Azure Table storage. On this chapter, we will learn how to use identity to register, login and logout a user.
- Differences between authentication and authorization
- Creating a web application with Identity
- Configuring lockout, password, and sign-in settings
- Customizing the Identity model
- Lazy loading
- Authenticating using external provides such as Facebook
- Configuring cookie-based authentication