• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/liveid.php
  • Класс: WindowsLiveLogin
  • Вызов: WindowsLiveLogin::getPolicyUrl
function getPolicyUrl()
{
	$policyurl = $this->_policyurl;
	$_force_delauth_nonprovisioned = $this->_force_delauth_nonprovisioned;
	if (!$policyurl) {
		$this->debug("Warning: In the initial release of Delegated Auth, a Policy URL must be configured in the SDK for both provisioned and non-provisioned scenarios.");
		if ($_force_delauth_nonprovisioned) {
			$this->fatal("Error: getPolicyUrl: Policy URL must be set in a Del Auth non-provisioned scenario. Aborting.");
		}
	}
	return $policyurl;
}