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 namespace Lcobucci\JWT; use Closure; use Lcobucci\JWT\Parsing\Decoder; use Lcobucci\JWT\Parsing\Encoder; use Lcobucci\JWT\Signer\Key; use Lcobucci\JWT\Signer\Key\InMemory; use Lcobucci\JWT\Signer\None; use Lcobucci\JWT\Validation\Constraint; /** * Configuration container for the JWT Builder and Parser * * Serves like a small DI container to simplify the creation and usage * of the objects. */ final class Configuration { /** @var Parser */ private $parser; /** @var Signer */ private $signer; /** @var Key */ private $signingKey; /** @var Key */ private $verificationKey; /** @var Validator */ private $validator; /** @var Closure(): Builder */ private $builderFactory; /** @var Constraint[] */ private $validationConstraints = []; private function __construct( Signer $signer, Key $signingKey, Key $verificationKey, Encoder $encoder = null, Decoder $decoder = null ) { $this->signer = $signer; $this->signingKey = $signingKey; $this->verificationKey = $verificationKey; $this->parser = new Parser($decoder ?: new Decoder()); $this->validator = new Validation\Validator(); $this->builderFactory = static function () use ($encoder) { return new Builder($encoder ?: new Encoder()); }; } /** @return self */ public static function forAsymmetricSigner( Signer $signer, Key $signingKey, Key $verificationKey, Encoder $encoder = null, Decoder $decoder = null ) { return new self( $signer, $signingKey, $verificationKey, $encoder, $decoder ); } /** @return self */ public static function forSymmetricSigner( Signer $signer, Key $key, Encoder $encoder = null, Decoder $decoder = null ) { return new self( $signer, $key, $key, $encoder, $decoder ); } /** @return self */ public static function forUnsecuredSigner( Encoder $encoder = null, Decoder $decoder = null ) { $key = InMemory::plainText(''); return new self( new None(), $key, $key, $encoder, $decoder ); } /** @param callable(): Builder $builderFactory */ public function setBuilderFactory(callable $builderFactory) { if (! $builderFactory instanceof Closure) { $builderFactory = static function() use ($builderFactory) { return $builderFactory(); }; } $this->builderFactory = $builderFactory; } /** @return Builder */ public function builder() { $factory = $this->builderFactory; return $factory(); } /** @return Parser */ public function parser() { return $this->parser; } public function setParser(Parser $parser) { $this->parser = $parser; } /** @return Signer */ public function signer() { return $this->signer; } /** @return Key */ public function signingKey() { return $this->signingKey; } /** @return Key */ public function verificationKey() { return $this->verificationKey; } /** @return Validator */ public function validator() { return $this->validator; } public function setValidator(Validator $validator) { $this->validator = $validator; } /** @return Constraint[] */ public function validationConstraints() { return $this->validationConstraints; } public function setValidationConstraints(Constraint ...$validationConstraints) { $this->validationConstraints = $validationConstraints; } }