title: Get user data from token
body: <p>I have been creating an API using symfony and Graphql (youshido/graphql-bundle), I want to get user from token inside the API.
  I should pass username as parameter in the request, or I can get user from token for all request ?</p>
  
  <p>what is the best solution ? and how I can get token on resolve function ?</p>
  
  <pre><code>public function resolve($value, array $args, ResolveInfo $info)
  {
      return $this-&gt;container-&gt;get('resolver.user')-&gt;save($args);
  }
  </code></pre>
  
  <p>thank you.</p>