- Модуль: socialservices
- Путь к файлу: ~/bitrix/modules/socialservices/classes/general/office365.php
- Класс: CSocServOffice365OAuth
- Вызов: CSocServOffice365OAuth::GetSettings
public function GetSettings()
{
return array(
array("office365_appid", GetMessage("socserv_office365_client_id"), "", Array("text", 40)),
array("office365_appsecret", GetMessage("socserv_office365_client_secret"), "", Array("text", 40)),
array("office365_tenant", GetMessage("socserv_office365_tenant"), "", Array("text", 40)),
array("note"=>GetMessage("socserv_office365_form_note", array(
'#URL#' => $this->getEntityOAuth()->getRedirectUri(),
'#MAIL_URL#' => CHttp::urn2uri('/bitrix/tools/mail_oauth.php')))),
);
}