Dependencies:-

ASP.NET Core Microsoft Identity is a robust and flexible membership system that enables you to add authentication and authorization features to your web applications.

It is an API that manages users, passwords, profile data, roles, tokens, email confirmation, external logins etc.

Packages Needed :

IdentityUser<T>

Acts as a base class for ApplicationUser class that acts as model class to store user details.

You can add additional properties to the ApplicationUser class.

T represent the type of the Id will be created in most cases you will set it as string , Long, or Guid

basic common properties

IdentityRole<T>

Acts as a base class for ApplicationRole class that acts as model class to store role details. Eg: "admin"

You can add additional properties to the ApplicationRole class.

Built-in Properties