简体   繁体   English

ASP .NET CORE 5 更改现有项目的身份验证

[英]ASP .NET CORE 5 Changing authentication for an existing project

I have an existing project which is getting pretty large.我有一个非常大的现有项目。 I need a registration/login system in it which there is not.我需要一个没有的注册/登录系统。 When I have created the project I did not select any Authentication option.创建项目时,我没有选择任何身份验证选项。 Can I implement a login system now please?请问我现在可以实现登录系统吗?

Thank you谢谢

You can use Azure Active Directory B2C to achieve this, But some features in Azure are charged.您可以使用Azure Active Directory B2C来实现这一点,但Azure中的某些功能是收费的。 Refer to document to learn more about auze ad b2c请参阅文档以了解有关auze ad b2c的更多信息

If you don't want to use Azure , You can Scaffold Identity in your existing project, It will generate an identity system, And You can also choose to generate the page( register/login/logout/... ) whitch you need.如果你不想使用Azure ,你可以在你现有的项目中Scaffold Identity ,它会生成一个身份系统,你也可以选择生成你需要的页面(注册/登录/注销/... )。

Refer to this document and follow the stpes what it mentioned to generate your identity system.请参阅此文档并按照它提到的步骤来生成您的身份系统。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在Asp.Net Core(MVC)的现有项目中将身份验证从无身份验证更改为个人身份验证 - Change authentication from no authentication to individual authentication in existing project of Asp.Net Core (MVC) 将Google身份验证添加到**现有** .net核心2 web api项目 - add google authentication to **Existing** .net core 2 web api project Azure AD 身份验证对现有 ASP.NET 核心身份应用程序 - Azure AD authentication to existing ASP.NET Core Identity application 引用ASP.NET Core中的现有.NET Framework项目 - reference an existing .NET Framework Project in an ASP.NET Core 将Google身份验证方法添加到现有的ASP.NET WebAPI项目中 - Add Google authentication method to existing ASP.NET WebAPI project 在 asp.net core web 项目中允许 windows 和基本身份验证 - Allow windows and basic authentication in asp.net core web project 在 .Net Core 3.0 项目中正确设置 ASP.Net Core 授权和身份验证 - Setup ASP.Net Core Authorize and Authentication Properly in a .Net Core 3.0 project 使用 JWT 进行 Asp Net Core 身份验证 - Asp Net Core authentication with JWT 在 Asp Net Core 6 中使用 Github 进行身份验证 - Authentication with Github in Asp Net Core 6 ASP.Net Core 2身份验证 - ASP.Net Core 2 authentication
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM