Exemple #1
0
 public function __construct($appID = false, $appSecret = false, $code = false)
 {
     if ($appID === false) {
         $appID = trim(CSocServAuth::GetOption("bitrixseo_id"));
     }
     if ($appSecret === false) {
         $appSecret = trim(CSocServAuth::GetOption("bitrixseo_secret"));
     }
     parent::__construct($appID, $appSecret, $code);
 }
Exemple #2
0
 public function __construct($appID, $appSecret, $portalURI, $code = false)
 {
     $this->portalURI = $portalURI;
     return parent::__construct($appID, $appSecret, $code);
 }
Exemple #3
0
 public function __construct($appID = false, $appSecret = false, $code = false)
 {
     if ($appID === false) {
         $appID = trim(CSocServYandexAuth::GetOption("yandex_appid"));
     }
     if ($appSecret === false) {
         $appSecret = trim(CSocServYandexAuth::GetOption("yandex_appsecret"));
     }
     parent::__construct($appID, $appSecret, $code);
 }
Exemple #4
0
 public function __construct($appID = false, $appSecret = false, $code = false)
 {
     if ($appID === false) {
         $appID = trim(CSocServVKontakte::GetOption("vkontakte_appid"));
     }
     if ($appSecret === false) {
         $appSecret = trim(CSocServVKontakte::GetOption("vkontakte_appsecret"));
     }
     parent::__construct($appID, $appSecret, $code);
 }
Exemple #5
0
 public function __construct($appID = false, $appSecret = false, $code = false)
 {
     if ($appID === false) {
         $appID = trim(CSocServFacebook::GetOption("facebook_appid"));
     }
     if ($appSecret === false) {
         $appSecret = trim(CSocServFacebook::GetOption("facebook_appsecret"));
     }
     parent::__construct($appID, $appSecret, $code);
 }