Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
zoomcontroller.php
1
<?php
2
3
namespace
Bitrix\SocialServices\Integration\Zoom
;
4
5
use
Bitrix\Main\Result
;
6
use
Bitrix\Main\Service\MicroService\BaseSender
;
7
8
class
ZoomController
extends
BaseSender
9
{
10
protected
const
DEFAULT_SERVICE_URL
=
"https://zoom.bitrix.info/"
;
11
12
protected
function
getServiceUrl
(): string
13
{
14
return
defined(
"ZOOM_SERVICE_URL"
) ? ZOOM_SERVICE_URL : static::DEFAULT_SERVICE_URL;
15
}
16
17
public
function
registerZoomUser
(array $userData):
Result
18
{
19
$sendData = [
20
'externalUserId'
=> $userData[
'externalUserId'
],
21
'externalAccountId'
=> $userData[
'externalAccountId'
],
22
'socServLogin'
=> $userData[
'socServLogin'
],
23
];
24
25
return
$this->
performRequest
(
"zoomcontroller.portalreceiver.registerzoomuser"
, $sendData);
26
}
27
}
Bitrix\Main\ORM\Data\Result
Definition
result.php:16
Bitrix\Main\Result
Definition
result.php:14
Bitrix\Main\Service\MicroService\BaseSender
Definition
basesender.php:15
Bitrix\Main\Service\MicroService\BaseSender\performRequest
performRequest($action, array $parameters=[])
Definition
basesender.php:26
Bitrix\SocialServices\Integration\Zoom\ZoomController
Definition
zoomcontroller.php:9
Bitrix\SocialServices\Integration\Zoom\ZoomController\registerZoomUser
registerZoomUser(array $userData)
Definition
zoomcontroller.php:17
Bitrix\SocialServices\Integration\Zoom\ZoomController\getServiceUrl
getServiceUrl()
Definition
zoomcontroller.php:12
Bitrix\SocialServices\Integration\Zoom\ZoomController\DEFAULT_SERVICE_URL
const DEFAULT_SERVICE_URL
Definition
zoomcontroller.php:10
Bitrix\SocialServices\Integration\Zoom
Definition
conference.php:4
modules
socialservices
lib
integration
zoom
zoomcontroller.php
Создано системой
1.10.0