Your IP : 18.222.57.238


Current Path : /var/www/axolotl/data/www/arhangelsk.axolotls.ru/a537b/
Upload File :
Current File : /var/www/axolotl/data/www/arhangelsk.axolotls.ru/a537b/mail_oauth.php.tar

var/www/axolotl/data/www/axolotls.ru/www/bitrix/modules/mail/tools/mail_oauth.php000064400000000676147744674060024437 0ustar00<?php

use Bitrix\Mail;

define('NOT_CHECK_PERMISSIONS', true);

require_once($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/include/prolog_before.php');

if (\Bitrix\Main\Loader::includeModule('mail'))
{
	parse_str($_REQUEST['state'], $state);

	if ($helper = Mail\Helper\OAuth::getInstance($state['service']))
	{
		$helper->handleResponse($state);
	}
}

require_once($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/include/epilog_after.php');