【发布时间】:2019-07-17 19:31:46
【问题描述】:
假设我使用以下内容:
services.AddIdentity<User, UserRole>()
.AddEntityFrameworkStores<AppDbContext>();
正在设置的身份验证方案名称是什么?我在任何文档中都没有找到这个。我尝试寻找名称为IdentityAuthenticationDefaults 和IdentityDefaults 的课程,但一无所获。我已经尝试过“Cookies”,但它没有设置为这个。该应用程序运行良好,因此肯定设置了一些方案名称。
【问题讨论】:
标签: c# asp.net-core asp.net-identity asp.net-core-identity .net-core-authorization