为什么我们创建新的Web APi服务时无法使用身份验证类型-.NET Core中用于Web API的个人用户帐户 [英] Why Authentication type - individual user accounts for Web API in .NET Core is not available when we creating new Web APi service

查看:140
本文介绍了为什么我们创建新的Web APi服务时无法使用身份验证类型-.NET Core中用于Web API的个人用户帐户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

Why it`s not possible to create Web API project with Individual User Accounts Authorization type?

推荐答案

更新:

所有版本号已从v1.2更新到v2.0.

All version numbers are updated from v1.2 to v2.0.


请找到 ASP.NET核心计划和路线图:

身份申请服务

将使用ASP.NET Core身份添加服务层,并使用个人身份验证"将其包含在项目模板中.这将允许通过JWT令牌对用户进行身份验证,从而可以保护Web API的开箱即用,并使更改身份验证系统(例如更改身份验证系统)更简单.从应用内身份到Azure AD B2C,或诸如Identity Server之类的第三方解决方案.

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.

这篇关于为什么我们创建新的Web APi服务时无法使用身份验证类型-.NET Core中用于Web API的个人用户帐户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆