File manager - Edit - /home/web/vm-3fadc827.na4u.ru/www/bitrix/modules/sale/lib/exchange/integration/entity/accesscode.php
Back
<?php namespace Bitrix\Sale\Exchange\Integration\Entity; use Bitrix\Sale\Exchange\Integration\OAuth; class AccessCode { protected $oauthClient; public function __construct(OAuth\Client $oauthClient) { $this->oauthClient = $oauthClient; } public function create(array $fields) { return $this->oauthClient->getAccessToken( "refresh_token", ["refresh_token" => $fields['refreshToken']] ); } }
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.29 |
proxy
|
phpinfo
|
Settings