Why Authentication type - individual user accounts for Web API in .NET Core is not available when we creating new Web APi service

这一生的挚爱 提交于 2019-12-03 14:41:18

问题


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


回答1:


UPDATE:

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


Please find the 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.




回答2:


Daniel Roth from MS:

Support for individual user accounts with the Web API template in VS is not available yet. We are still looking at providing a supported on premise offering for token issuance in addition to providing integration with Azure AD B2C.

This statement can be found in the comment section under https://channel9.msdn.com/Events/dotnetConf/2016/Building-Secure-Web-APIs-with-ASPNET-Core




回答3:


This is just disabled in core 1.1.please use core 2.0 to find all authentication.You can download core 2.0 from here



来源:https://stackoverflow.com/questions/38213422/why-authentication-type-individual-user-accounts-for-web-api-in-net-core-is-n

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!