简体   繁体   中英

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. Most of tutorials are using JWT token authentication along with Role-based authorization and it makes hard for me to use. 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM