If you need to add custom claims to a user during the registration process, which class or method in ASP.NET Core would you leverage?

  • UserManager class
  • ClaimsPrincipal class
  • IdentityUser class
  • IdentityRole class
You would leverage the UserManager class in ASP.NET Core Identity to add custom claims to a user during the registration process. The UserManager provides methods to manage and manipulate user-related data, including adding claims.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *