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

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

	return $this->entityOAuth;
}