问题
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