original_string: public function getUserInRequest() {
      if (isset($_COOKIE[$this->cookieName])) {
        $user = $this->validateToken($_COOKIE[$this->cookieName],
            $this->clientId);
        if ($user) {
          $accountInfo = $this->getUserById($user->getUserId());
          $accountInfo->setProviderId($user->getProviderId());
          return $accountInfo;
        }
      }
      return null;
    }
code: public function getUserInRequest() {
      if (isset($_COOKIE[$this->cookieName])) {
        $user = $this->validateToken($_COOKIE[$this->cookieName],
            $this->clientId);
        if ($user) {
          $accountInfo = $this->getUserById($user->getUserId());
          $accountInfo->setProviderId($user->getProviderId());
          return $accountInfo;
        }
      }
      return null;
    }
code_tokens: public function getUserInRequest ( ) { if ( isset ( $ _COOKIE [ $ this -> cookieName ] ) ) { $ user = $ this -> validateToken ( $ _COOKIE [ $ this -> cookieName ] , $ this -> clientId ) ; if ( $ user ) { $ accountInfo = $ this -> getUserById ( $ user -> getUserId ( ) ) ; $ accountInfo -> setProviderId ( $ user -> getProviderId ( ) ) ; return $ accountInfo ; } } return null ; }
docstring: Gets GitkitUser for the http request. Complete user info is retrieved from
  Gitkit server.
  
  @return Gitkit_Account|null Gitkit user at Gitkit server, null for invalid
  token
docstring_tokens: Gets GitkitUser for the http request . Complete user info is retrieved from Gitkit server .