• Модуль: mail
  • Путь к файлу: ~/bitrix/modules/mail/lib/helper/oauth/office365.php
  • Класс: BitrixMailHelperOAuthOffice365
  • Вызов: Office365::__construct
protected function __construct()
{
	$this->oauthEntity = new Office365Interface(
		CSocServOffice365OAuth::getOption('office365_appid'),
		CSocServOffice365OAuth::getOption('office365_appsecret')
	);

	// get graph universal scopes, for user profile read access
	$this->oauthEntity->setScope($this->oauthEntity->getGraphScopes());
}