title: Laravel passport get token from database
body: <p>I am using a Laravel version 5.5 and using Passport for authentication.
  I have created token using: </p>
  
  <pre><code>$token = $user-&gt;createToken('string')-&gt;accessToken;
  </code></pre>
  
  <p>it generates the <strong>token with 1075 characters</strong> with the entry in <code>'oauth_access_tokens'</code> table having the <strong>id of 80 characters</strong>.</p>
  
  <p>How can I get the 1075 character token from the database using the using 80 character token? </p>