• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/exchange/integration/rest/client/tokenclient.php
  • Класс: BitrixSaleExchangeIntegrationRestClientTokenClient
  • Вызов: TokenClient::__construct
public function __construct(IntegrationEntityToken $token)
{
	parent::__construct([
		"accessToken" => $token->getAccessToken(),
		"refreshToken" => $token->getRefreshToken(),
		"endPoint" => $token->getRestEndpoint(),
	]);

	$this->token = $token;
}