title: .net core web api jwt
body: <p>I have a web api project where:</p>
  
  <ol>
  <li>some controller actions need a JWT authentication,</li>
  <li>some do not need a JWT authentication,</li>
  <li>some return different data depending on the validity of the JWT provided where the data only differs in one field's value.</li>
  </ol>
  
  <p>The 1st one is easy as the JWT authentication middleware will handle it but how can I achieve the other 2?</p>