Introducing ASP.NET Core Identity
An identity is basically an object that represents a user but could be a group as well. It is an object that helps you to know your user and their rights. An identity can have roles assigned that represent those rights. For example, a role called writer
tells the application that the identity is allowed to write something. Identities can be nested as well. A user can be part of a group, and a group can be part of another group, and so forth.
ASP.NET Core Identity is a framework that structures this concept in .NET objects to help you store and read the user information. The framework also provides a mechanism to add a login form, a registration form, session handling, and so on. It also helps you to store the credentials in an encrypted and secure way.
ASP.NET Core Identity provides multiple ways to authenticate your users:
- Individual: The application manages the identities on its own. It has a database where user information is stored...