title: Set request's header on Authorize Attribute of the Controller in Asp.net Core Web API
body: <p>I want to set the header request before checking the auhorization, but i'm looking for the event to execute the modification.
  <strong>This my Implementation of IAuthorizationFilter :</strong></p>
  <pre><code>public class MyAuthorizationFilter : IAuthorizationFilter
      {  
  
          public MyAuthorizationFilter()
          {
          }
  
          public void OnAuthorization(AuthorizationFilterContext context)
          {
          }
      }
  </code></pre>
  <p><strong>This is my code in Startup :</strong></p>
  <pre><code>services.AddMvc(options =&gt;
              {
                  options.Filters.Add(typeof(ClaimRequirementFilter));
              });
  </code></pre>
  <p><strong>This is my call of MyAuthorizationFilter in the controller :</strong></p>
  <pre><code> [MyAuthorizationFilter()]
      public class AccountController : BaseController
      {
      }
  </code></pre>