PATH:
home
/
lab2454c
/
costbloc.com
/
Modules
/
Paypal
/
Services
/
Core
<?php /** * @package PayPalCheckoutSdk/Core */ namespace Modules\Paypal\Services\Core; class AccessToken { public $token; public $tokenType; public $expiresIn; private $createDate; public function __construct($token, $tokenType, $expiresIn) { $this->token = $token; $this->tokenType = $tokenType; $this->expiresIn = $expiresIn; $this->createDate = time(); } public function isExpired() { return time() >= $this->createDate + $this->expiresIn; } }
[-] 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]