original_string: public function authenticatedUser($token = null)
      {
          $token = $this->getToken($token);
  
          $user = $this->client->get('https://api.twitch.tv/kraken/user?oauth_token=' . $token);
  
          return $user->json();
      }
code: public function authenticatedUser($token = null)
      {
          $token = $this->getToken($token);
  
          $user = $this->client->get('https://api.twitch.tv/kraken/user?oauth_token=' . $token);
  
          return $user->json();
      }
code_tokens: public function authenticatedUser ( $ token = null ) { $ token = $ this -> getToken ( $ token ) ; $ user = $ this -> client -> get ( 'https://api.twitch.tv/kraken/user?oauth_token=' . $ token ) ; return $ user -> json ( ) ; }
docstring: Returns a user object.
  
  Authenticated, required scope: user_read
  
  @param null $token
  
  @return json
docstring_tokens: Returns a user object .