Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.41
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
html_old /
iNetty /
vendor /
lcobucci /
jwt /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
Claim
[ DIR ]
drwxr-xr-x
2022-04-21 14:19
Encoding
[ DIR ]
drwxr-xr-x
2022-04-21 14:19
Parsing
[ DIR ]
drwxr-xr-x
2022-04-21 14:19
Signer
[ DIR ]
drwxr-xr-x
2022-04-21 14:20
Token
[ DIR ]
drwxr-xr-x
2022-04-21 14:20
Validation
[ DIR ]
drwxr-xr-x
2022-04-21 14:20
Builder.php
14.81
KB
-rw-r--r--
2022-04-21 14:19
Claim.php
732
B
-rw-r--r--
2022-04-21 14:19
Configuration.php
3.89
KB
-rw-r--r--
2022-04-21 14:19
Exception.php
165
B
-rw-r--r--
2022-04-21 14:19
Parser.php
4.22
KB
-rw-r--r--
2022-04-21 14:19
Signature.php
1.72
KB
-rw-r--r--
2022-04-21 14:19
Signer.php
1.26
KB
-rw-r--r--
2022-04-21 14:19
Token.php
9.97
KB
-rw-r--r--
2022-04-21 14:19
ValidationData.php
2.66
KB
-rw-r--r--
2022-04-21 14:19
Validator.php
515
B
-rw-r--r--
2022-04-21 14:19
Save
Rename
<?php /** * This file is part of Lcobucci\JWT, a simple library to handle JWT and JWS * * @license http://opensource.org/licenses/BSD-3-Clause BSD-3-Clause */ namespace Lcobucci\JWT; /** * Class that wraps validation values * * @deprecated This component has been removed from the interface in v4.0 * @see \Lcobucci\JWT\Validation\Validator * * @author Luís Otávio Cobucci Oblonczyk <lcobucci@gmail.com> * @since 2.0.0 */ class ValidationData { /** * The list of things to be validated * * @var array */ private $items; /** * The leeway (in seconds) to use when validating time claims * @var int */ private $leeway; /** * Initializes the object * * @param int $currentTime * @param int $leeway */ public function __construct($currentTime = null, $leeway = 0) { $currentTime = $currentTime ?: time(); $this->leeway = (int) $leeway; $this->items = [ 'jti' => null, 'iss' => null, 'aud' => null, 'sub' => null ]; $this->setCurrentTime($currentTime); } /** * Configures the id * * @param string $id */ public function setId($id) { $this->items['jti'] = (string) $id; } /** * Configures the issuer * * @param string $issuer */ public function setIssuer($issuer) { $this->items['iss'] = (string) $issuer; } /** * Configures the audience * * @param string $audience */ public function setAudience($audience) { $this->items['aud'] = (string) $audience; } /** * Configures the subject * * @param string $subject */ public function setSubject($subject) { $this->items['sub'] = (string) $subject; } /** * Configures the time that "iat", "nbf" and "exp" should be based on * * @param int $currentTime */ public function setCurrentTime($currentTime) { $currentTime = (int) $currentTime; $this->items['iat'] = $currentTime + $this->leeway; $this->items['nbf'] = $currentTime + $this->leeway; $this->items['exp'] = $currentTime - $this->leeway; } /** * Returns the requested item * * @param string $name * * @return mixed */ public function get($name) { return isset($this->items[$name]) ? $this->items[$name] : null; } /** * Returns if the item is present * * @param string $name * * @return boolean */ public function has($name) { return !empty($this->items[$name]); } }