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

	if($appSecret === false)
	{
		$appSecret = trim(CSocServGoogleOAuth::GetOption("google_appsecret"));
	}

	$this->scope = $this->standardScope;

	$this->checkSavedScope();

	parent::__construct($appID, $appSecret, $code);
}