[英]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.