ASP MVC Authorize all actions except a few

前端 未结 7 633
逝去的感伤
逝去的感伤 2020-12-13 00:29

I have a controller and I would like to require Authorization for all actions by default except a couple. So in the example below all actions should require authentication e

7条回答
提交回复
热议问题