title: PHP: How to Logout From API using JWT
body: <p>So I created an API using Token based authentication for Login, now I want to create the logout but I do not know how to go about it.</p>
  
  <p>The login process just uses the following steps:</p>
  
  <ol>
  <li><p>User passes Username and Password to server</p></li>
  <li><p>Server checks DB to ensure user is Valid</p></li>
  <li><p>Token is generated containing uid and other details</p></li>
  <li><p>Token is then passed to User who sends back to server whenever he makes a request</p></li>
  </ol>
  
  <p>Now I want user to logout, how do I go about it, I do not have power over the user Token anymore.</p>