• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/liveid.php
  • Класс: WindowsLiveLogin
  • Вызов: WindowsLiveLogin::processConsent
function processConsent($query)
{
	$action = @$query['action'];
	if ($action != 'delauth') {
		$this->debug("Warning: processConsent: query action ignored: $action");
		return;
	}
	$responsecode = @$query['ResponseCode'];
	if ($responsecode != 'RequestApproved') {
		$this->debug("Warning: processConsent: consent was not successfully granted: $responsecode");
		return;
	}
	$token  = @$query['ConsentToken'];
	$context = urldecode(@$query['appctx']);
	return $this->processConsentToken($token, $context);
}