• Модуль: socialservices
  • Путь к файлу: ~/bitrix/modules/socialservices/classes/general/liveidoauth.php
  • Класс: CLiveIDOAuthInterface
  • Вызов: CLiveIDOAuthInterface::__construct
public function __construct($appID = false, $appSecret = false, $code=false)
{
	if($appID === false)
	{
		$appID = trim(CSocServLiveIDOAuth::GetOption("liveid_appid"));
	}

	if($appSecret === false)
	{
		$appSecret = trim(CSocServLiveIDOAuth::GetOption("liveid_appsecret"));
	}

	$this->httpTimeout = SOCSERV_DEFAULT_HTTP_TIMEOUT;
	$this->appID = $appID;
	$this->appSecret = $appSecret;
	$this->code = $code;
}