• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/liveid.php
  • Класс: WindowsLiveLogin
  • Вызов: WindowsLiveLogin::getTrustedToken
function getTrustedToken($user)
{
	if (!$user) {
		$this->debug('Error: getTrustedToken: Null user specified.');
		return;
	}

	$token  = "appid=" . $this->getAppId() . "&uid=" . urlencode($user)
	. "&ts=". $this->getTimestamp();
	$token .= "&sig="  . $this->e64($this->signToken($token));
	return urlencode($token);
}