original_string: public function getRemoteResourceOwner($token)
      {
          $provider = $this->getProvider();
  
          $realToken = OauthHelper::getRealToken($token);
  
          switch($this->getOauthVersion())
          {
              case 1:
                  return $provider->getUserDetails($realToken);
                  break;
              case 2:
                  return $provider->getResourceOwner($realToken);
                  break;
          }
      }
code: public function getRemoteResourceOwner($token)
      {
          $provider = $this->getProvider();
  
          $realToken = OauthHelper::getRealToken($token);
  
          switch($this->getOauthVersion())
          {
              case 1:
                  return $provider->getUserDetails($realToken);
                  break;
              case 2:
                  return $provider->getResourceOwner($realToken);
                  break;
          }
      }
code_tokens: public function getRemoteResourceOwner ( $ token ) { $ provider = $ this -> getProvider ( ) ; $ realToken = OauthHelper :: getRealToken ( $ token ) ; switch ( $ this -> getOauthVersion ( ) ) { case 1 : return $ provider -> getUserDetails ( $ realToken ) ; break ; case 2 : return $ provider -> getResourceOwner ( $ realToken ) ; break ; } }
docstring: Returns the remote resource owner.
  
  @param $token
  
  @return mixed
docstring_tokens: Returns the remote resource owner .