PATH:
home
/
lab2454c
/
costbloc.com
/
Modules
/
Paypal
/
Services
/
Core
<?php /** * @package PayPalCheckoutSdk/Core */ namespace Modules\Paypal\Services\Core; use PayPalHttp\HttpClient; class PayPalHttpClient extends HttpClient { private $refreshToken; public $authInjector; public function __construct(PayPalEnvironment $environment, $refreshToken = NULL) { parent::__construct($environment); $this->refreshToken = $refreshToken; $this->authInjector = new AuthorizationInjector($this, $environment, $refreshToken); $this->addInjector($this->authInjector); $this->addInjector(new GzipInjector()); $this->addInjector(new FPTIInstrumentationInjector()); } public function userAgent() { return UserAgent::getValue(); } }
[-] UserAgent.php
[edit]
[-] AccessTokenRequest.php
[edit]
[+]
..
[-] AuthorizationInjector.php
[edit]
[-] AccessToken.php
[edit]
[-] PayPalHttpClient.php
[edit]
[-] RefreshTokenRequest.php
[edit]
[-] FPTIInstrumentationInjector.php
[edit]
[-] GzipInjector.php
[edit]
[-] ProductionEnvironment.php
[edit]
[-] SandboxEnvironment.php
[edit]
[-] PayPalEnvironment.php
[edit]