How to access Principal in ASP.Net Core 5 API controller using Dependency Injection?

前端 未结 0 820
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-03 03:05

I am working on an internal web app that needs to authenticate against Windows Active Directory. I am using ASP.Net Core 5 API and would like to use DI to inject IPrincipal

相关标签:
回答
  • 消灭零回复
提交回复
热议问题