title: Attribute Access to HttpContext in AspNetCore Api Controller Function
body: <p>How can I do something like this:</p>
  
  <pre><code>        [OfficeAuthorize(HttpContext.Request.etc)]
  </code></pre>
  
  <p>I'm guessing it's some sort of DependencyInjection, but I'm not sure where I would do that.</p>