注:最近看到不少介绍微软asp.netIdentity技术的文章,但感觉都不够完整深入,本人又恰好曾在Adam Freeman所著的《PRo ASP.NET MVC Platform》一书中看到过有关ASP.NET Identity的完整介绍,为此特将有关章节翻译出来,希望需要了解此项技术的园友能从中获益。
ASP.NET Identity系列教程13 Getting Started with Identity
13 Identity入门13.1 Preparing the Example Project
13.1 准备示例项目13.2 Setting Up ASP.NET Identity
13.2 建立ASP.NET Identity13.2.1 Creating the ASP.NET Identity Database
13.2.1 创建ASP.NET Identity数据库13.2.2 Adding the Identity Packages
13.2.2 添加Identity包13.2.3 Updating the Web.config File
13.2.3 更新Web.config文件13.2.4 Creating the Entity Framework Classes
13.2.4 创建Entity Framework类13.3 Using ASP.NET Identity
13.3 使用ASP.NET Identity13.3.1 Enumerating User Accounts
13.3.1 枚举用户账号13.3.2 Creating Users
13.3.2 创建用户13.3.3 Validating PassWords
13.3.3 验证口令13.3.4 Validating User Details
13.3.4 验证用户细节13.4 Completing the Administration Features
13.4 完成管理特性13.4.1 Implementing the Delete Feature
13.4.1 实现Delete特性13.4.2 Implementing the Edit Feature
13.4.2 实现Edit特性13.5 Summary
13.5 小结14 Applying ASP.NET Identity
14 运用ASP.NET Identity14.1 Preparing the Example Project
14.1 准备示例项目14.2 Authenticating Users
14.2 认证用户14.2.1 Understanding the Authentication/Authorization Process
14.2.1 理解认证/授权过程14.2.2 Preparing to Implement Authentication
14.2.2 实现认证的准备14.2.3 Adding User Authentication
14.2.3 添加用户认证14.2.4 Testing Authentication
14.2.4 测试认证14.3 Authorizing Users with Roles
14.3 以角色授权用户14.3.1 Adding Support for Roles
14.3.1 添加角色支持14.3.2 Creating and Deleting Roles
14.3.2 创建和删除角色14.3.3 Creating the Views
14.3.3 创建视图14.3.4 Testing Creating and Deleting Roles
14.3.4 测试创建和删除角色14.3.5 Managing Role Memberships
14.3.5 管理角色成员14.3.6 Testing Editing Role Membership
14.3.6 测试编辑角色成员14.3.7 Using Roles for Authorization
14.3.7 使用角色授权14.4 Seeding the Database
14.4 种植数据库14.5 Summary
14.5 小结15 Advanced ASP.NET Identity
15 高级ASP.NET Identity15.1 Preparing the Example Project
15.1 准备示例项目15.2 Adding Custom User Properties
15.2 添加自定义用户属性15.2.1 Defining Custom Properties
15.2.1 定义自定义属性15.2.2 Preparing for Database Migration
15.2.2 准备数据库迁移15.2.3 Performing the Migration
15.2.3 执行迁移15.2.4 Testing the Migration
15.2.4 测试迁移15.2.5 Defining an Additional Property
15.2.5 定义附加属性15.3 Working with Claims
15.3 使用声明(Claims)15.3.1 Understanding Claims
15.3.1 理解声明(Claims)15.3.2 Creating and Using Claims
15.3.2 创建和使用声明15.3.3 AuthorizingaccessUsing Claims
15.3.3 使用声明授权访问15.4 Using Third-Party Authentication
15.4 使用第三方认证15.4.1 Enabling Google Authentication
15.4.1 启用Google认证15.4.2 Testing Google Authentication
15.4.2 测试Google认证15.5 Summary
15.5 小结
看完此文如果觉得有所收获,请给个推荐。
你的推荐是我继续下去的动力,也会让更多人关注并获益,这也是你的贡献。