I want to use 2 classes as User in Identity and I could not see this change in the code.
Let's assume that I will use the default class "ApplicationUser" which generates an "AspNetUsers" table and I want to use another "Customers" table that inherits from Identity.
The ApplicationUser class already inherits from Identity and works fine. I saw that there is an ApplicationUserManager class and others that inherit from ApplicationUser. Example:
public class ApplicationUser : IdentityUser
public class ApplicationUserManager : UserManager<ApplicationUser>
public class ApplicationSignInManager : SignInManager<ApplicationUser, string>
public class Cliente: IdentityUser
My question is whether I will need to create new classes to inherit from Client, eg:
public class ApplicationUserManagerCliente : UserManager<Cliente>
public class ApplicationSignInManagerCliente : SignInManager<Cliente, string>
Would that be or am I thinking wrong?