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
What is the current approach to make a custom AuthorizeAttribute?
What I am trying to accomplish: I am receiving a session ID in the Header Authorization. From that ID I'll know whether a particular action is valid.