42 if (!Loader::includeModule(
'socialservices'))
46 $instance =
new static(
$type);
88 $uri =
new Uri($authorizeUrl);
89 if (!empty($this->parameters[
'URL_PARAMETERS']))
91 $authorizeData[
'urlParameters'] = $this->parameters[
'URL_PARAMETERS'];
93 $uri->addParams($authorizeData);
94 return $uri->getLocator();
103 if (!$isUseCache || !$this->data || count($this->data) == 0)
113 $this->data = array();
128 return $this->service->getEngineCode($this->type);
static create($type, IService $service=null)
getAuthData($isUseCache=true)
setParameters(array $parameters=[])
setService(IService $service)
static getEngineCode($type)
static getAuthorizeLink()
static getAuth(string $engineCode)
static clearAuth($engineCode, $localOnly=false)
static getAuthorizeData($engine, $clientType=false)