简体   繁体   English

是否有任何资源将基本身份验证与基于角色的授权结合使用?

[英]Is there any resources where basic authentication is used with role-based authorization?

I have ASP.NET Core Web API project with Basic Authentication (copy of this project https://github.com/cornflourblue/do.net-5-basic-authentication-api ) and I want to add Role-Based Authorization to this project.我有带有基本身份验证的 ASP.NET Core Web API 项目(该项目的副本https://github.com/cornflourblue/do.net-5-basic-authentication-api ),我想向该项目添加基于角色的授权 Most of tutorials are using JWT token authentication along with Role-based authorization and it makes hard for me to use.大多数教程都使用 JWT 令牌身份验证以及基于角色的授权,这让我很难使用。 What should I do to add Role-based authorization in this project?在这个项目中如何添加基于角色的授权?

There is no other way i Think so..Better You can try with same.我认为没有其他方法......更好你可以尝试相同。

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

相关问题 基于角色的基本身份验证失败 - Role-based basic authentication failing 基于身份角色的授权不起作用 - Identity Role-based Authorization is not working 使用 Windows 身份验证对 ASP.NET Core 基于角色的授权进行故障排除 - Troubleshooting ASP.NET Core Role-based Authorization with Windows Authentication MVC3中基于角色的授权的管理/文档 - Management/Documentation of Role-Based Authorization in MVC3 使用Identity 2.0的Web froms中基于角色的安全授权 - Role-based Security Authorization in web froms using Identity 2.0 全栈应用中基于角色的 Active Directory 身份验证和授权(React.js + ASP.Net Core) - Role-based Active Directory authentication and authorization in full stack app (React.js + ASP.Net Core) 使用 .NET MVC 5 实现基于角色的授权 - Implementing role-based authorization using .NET MVC 5 Blazor WebAssembly.Net5 MsalAuthentication 中基于角色的授权 - Role-based authorization in Blazor WebAssembly .Net5 MsalAuthentication ASP.NET 核心 WebApi Jwt 基于角色的授权不起作用 - ASP.NET Core WebApi Jwt Role-based Authorization not working 如何通过WCF服务在WPF应用程序调用数据库中实现基于角色的授权? - How to implement role-based authorization in WPF application calling database through WCF services?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM