code: public function getUser()
      {
          static $authenticated;
          if (!isset($authenticated)) {
              $authenticated = true;
              $this->authenticateUser();
          }
  
          return $this->user;
      }
docs: Retrieve the current user.
  
  @return User