Advertisement

Advanced ASP.NET Core Identity

  • ADAM FREEMAN
Chapter

Abstract

In this chapter, I finish my description of ASP.NET Core Identity by showing you some of the advanced features it offers. I demonstrate how you can extend the database schema by defining custom properties on the user class and how to use database migrations to apply those properties without deleting the data in the ASP.NET Core Identity database. I also explain how ASP.NET Core Identity supports the concept of claims and demonstrate how they can be used to flexibly authorize access to action methods through policies. I finish the chapter by showing you how ASP.NET Core Identity makes it easy to authenticate users through third parties. I demonstrate authentication with Google accounts, but ASP.NET Core Identity has built-in support for Microsoft, Facebook, and Twitter accounts as well. Table 30-1 summarizes this chapter.

Keywords

Action Method Database Schema Core Identity View Model Twitter Account 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Copyright information

© Adam Freeman 2016

Authors and Affiliations

  • ADAM FREEMAN
    • 1
  1. 1.MILTON KEYNES MK6 3PAUK

Personalised recommendations