asp.net web api 2 authorize API depending on Entities specific property value(From Database)
<p>I have made my API's secure using <strong><em>Authorize</em></strong> attribute. </p>

<p>If the request does not have valid OAuth token, it does not process and returns <strong>authorization error</strong>. </p>

<p>In my User table I have added <strong><em>'Status'</em></strong> column to check if the user is Active(Soft delete) or not. </p>

<p>I want to use that 'Status' value(Of User Entity) to authenticate my API's. </p>

<p>Suppose Status is false, I want framework should not process the request as like in case 'Authorize attribute'.</p>

<ul>
<li>Can it be possible ? If so then How ?</li>
</ul>

<p><strong><em>Note:</em></strong></p>

<blockquote>
  <p>Now I am checking 'Status' value in my Action and decide to proceed or
  not.</p>
</blockquote>

<p>If you have other best alternatives then those are also welcome.</p>

<p>Thanks. </p>