CCrmInvoiceRestService::getAuthToken

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmInvoiceRestService
  4. getAuthToken
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/restservice_invoice.php
  • Класс: \CCrmInvoiceRestService
  • Вызов: CCrmInvoiceRestService::getAuthToken
static function getAuthToken()
{
	if(is_object(self::$server) || !(self::$server instanceof CRestServer))
	{
		return '';
	}

	$auth = self::$server->getAuth();
	return is_array($auth) && isset($auth['auth']) ? $auth['auth'] : '';
}

Добавить комментарий