* @deprecated please use OauthService::getDataStore() */ class tao_models_classes_oauth_DataStore { /** * deprecated helper function to find the OauthConsumer RDF Resource * * @access public * @author Joel Bout, * @param string consumer_key * @return core_kernel_classes_Resource */ public function findOauthConsumerResource($consumer_key) { return $this->getService()->getDataStore()->findOauthConsumerResource($consumer_key); } /** * @return OauthService */ private function getService() { return ServiceManager::getServiceManager()->get(OauthService::SERVICE_ID); } }