title: How to add custom claims to laravel-passport Access token?
body: <p>i just used laravel-passport,it is same as jwt auth.</p>
  
  <p>i want to add some custom claims to my accessToken, is it possible ??</p>
  
  <blockquote>
    <p>i want to pass <code>2fa_status =&gt; true</code> in access token and while API call
    with this access token i also want that claim from token.</p>
  </blockquote>
  
  <p><strong>For e.g</strong>  (<strong>Expected Claims Of Token</strong>)</p>
  
  <pre><code>{
    "aud": "7",
    "jti": "123",
    "iat": 1568368682,
    "nbf": 1568368682,
    "exp": 1599991082,
    "sub": "2",
    "scopes": [],
    "2fa_status": false
  }
  </code></pre>
  
  <p>I'm generating token as below:</p>
  
  <pre><code>  $tokenResult = $user-&gt;createToken('Personal Access Token');
  </code></pre>