• Модуль: socialservices
  • Путь к файлу: ~/bitrix/modules/socialservices/classes/general/vkontakte.php
  • Класс: CSocServVKontakte
  • Вызов: CSocServVKontakte::getEntityOAuth
public function getEntityOAuth($code = false)
{
	if (!$this->entityOAuth)
	{
		$this->entityOAuth = new CVKontakteOAuthInterface();
	}

	if ($code !== false)
	{
		$this->entityOAuth->setCode($code);
	}

	return $this->entityOAuth;
}