2namespace Bitrix\Sale\Exchange\Integration\OAuth;
5use Bitrix\Main\Web\HttpClient;
6use Bitrix\Main\Web\Json;
19 if (property_exists(self::class,
$option))
26 $this->httpClient->setHeader(
"User-Agent",
"Bitrix IntegrationB24");
27 $this->httpClient->setCharset(
"UTF-8");
51 "grant_type" => $grant,
64 $response = Json::decode($this->httpClient->getResult());
77 return HttpClient::HTTP_GET;
__construct(array $options=[])
getAccessToken($grant, array $options=[])
getAccessTokenUrl(array $params)
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
if($inWords) echo htmlspecialcharsbx(Number2Word_Rus(roundEx($totalVatSum $params['CURRENCY']