asp.net-core - 为什么当我们创建新的 Web APi 服务时,.NET Core 中的 Web API 的身份验证类型 - 个人用户帐户不可用

标签 asp.net-core asp.net-web-api2 asp.net-core-webapi

为什么无法创建具有个人用户帐户授权类型的 Web API 项目?

Screenshot: Change authentication dialog

最佳答案

更新:

所有版本号均从 v1.2 更新为 v2.0。


请查找ASP.NET Core Schedule and Roadmap :

Identity Application Services

A service layer will be added ASP.NET Core Identity and included in the project templates using Individual Authentication. This will allow authentication of users by way of JWT tokens such that Web APIs can be secured out of the box, and make it simpler to change authentication systems, e.g. from in-app Identity to Azure AD B2C, or 3rd-party solutions like Identity Server.

关于asp.net-core - 为什么当我们创建新的 Web APi 服务时,.NET Core 中的 Web API 的身份验证类型 - 个人用户帐户不可用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38213422/

相关文章:

dependency-injection - 从范围内配置/注册依赖注入(inject)范围内的服务

c# - 如何从 IHttpActionResult 方法返回自定义变量?

c# - 由于 CORS,Angular 请求无法访问 API 控制

Azure AAD - 受众无效

c# - 如何将 HTTP 响应转发给客户端

c# - ASP.NET Core CreatedAtRoute 没有路由与提供的值匹配

asp.net-core - Entity Framework Core 服务默认生命周期

c# - 在 .net core 中使用 linq2db 时获取 "Could not load file or assembly ' System.EnterpriseServices""

asp.net-web-api - web api - 即使对于后续请求,asp.net 身份 token 也会过期

c# - ASP.NET Core 对 Azure 应用服务的缓慢 HTTP 请求