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

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

	return $this->entityOAuth;
}