1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
zoomcontroller.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\SocialServices\Integration\Zoom;
4
5
use Bitrix\Main\License\UrlProvider;
6
use Bitrix\Main\Result;
7
use Bitrix\Main\Service\MicroService\BaseSender;
8
9
class
ZoomController
extends
BaseSender
10
{
11
protected
function
getServiceUrl
(): string
12
{
13
$domain = (
new
UrlProvider
())->getTechDomain();
14
$defaultServiceUrl =
'https://zoom.'
. $domain .
'/'
;
15
return
defined(
"ZOOM_SERVICE_URL"
) ? ZOOM_SERVICE_URL : $defaultServiceUrl;
16
}
17
18
public
function
registerZoomUser
(
array
$userData):
Result
19
{
20
$sendData = [
21
'externalUserId'
=> $userData[
'externalUserId'
],
22
'externalAccountId'
=> $userData[
'externalAccountId'
],
23
'socServLogin'
=> $userData[
'socServLogin'
],
24
];
25
26
return
$this->
performRequest
(
"zoomcontroller.portalreceiver.registerzoomuser"
, $sendData);
27
}
28
}
Bitrix\Main\License\UrlProvider
Определения
UrlProvider.php:10
Bitrix\Main\ORM\Data\Result
Определения
result.php:16
Bitrix\Main\Service\MicroService\BaseSender
Определения
basesender.php:15
Bitrix\Main\Service\MicroService\BaseSender\performRequest
performRequest($action, array $parameters=[])
Определения
basesender.php:25
Bitrix\SocialServices\Integration\Zoom\ZoomController
Определения
zoomcontroller.php:10
Bitrix\SocialServices\Integration\Zoom\ZoomController\registerZoomUser
registerZoomUser(array $userData)
Определения
zoomcontroller.php:18
Bitrix\SocialServices\Integration\Zoom\ZoomController\getServiceUrl
getServiceUrl()
Определения
zoomcontroller.php:11
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
bitrix
modules
socialservices
lib
integration
zoom
zoomcontroller.php
Создано системой
1.14.0