Naidu K

Naidu K

  • NA
  • 87
  • 20.2k

How do you create a custom AuthorizeAttribute in ASP.NET Core?

Mar 22 2021 7:01 AM
I'm trying to make a custom authorization attribute in ASP.NET Core. In previous versions, it was possible to override bool AuthorizeCore(HttpContextBase httpContext). But this no longer exists in AuthorizeAttribute.
 
What is the current approach to making a custom AuthorizeAttribute?

Answers (1)