1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
oauthmodule.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Rest\Integration;
4
5
use Bitrix\Main\Config\Option;
6
use Bitrix\Main\ModuleManager;
7
8
final
class
OAuthModule
9
{
15
public
static
function
isSupported
(): bool
16
{
17
return
18
ModuleManager::isModuleInstalled
(
'oauth'
)
19
&& Option::get(
'rest'
,
'oauth_module_supported'
) ===
'Y'
20
;
21
}
22
}
Bitrix\Main\ModuleManager\isModuleInstalled
static isModuleInstalled($moduleName)
Определения
modulemanager.php:125
Bitrix\Rest\Integration\OAuthModule
Определения
oauthmodule.php:9
Bitrix\Rest\Integration\OAuthModule\isSupported
static isSupported()
Определения
oauthmodule.php:15
bitrix
modules
rest
lib
integration
oauthmodule.php
Создано системой
1.14.0