Linux cesa-www-main 6.1.0-49-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
Apache/2.4.68 (Debian)
Server IP : 10.218.0.2 & Your IP : 216.73.216.28
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
var /
www /
v3.cesa.co.za /
vendor /
lcobucci /
jwt /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
Encoding
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Signer
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Token
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
Validation
[ DIR ]
drwxrwxr-x
2026-08-17 03:12
.htaccess
237
B
-r-xr-xr-x
2026-08-17 03:12
Builder.php
2.2
KB
-rwxrwxr-x
2024-04-11 23:07
ClaimsFormatter.php
265
B
-rwxrwxr-x
2024-04-11 23:07
Configuration.php
3.17
KB
-rwxrwxr-x
2024-04-11 23:07
Decoder.php
705
B
-rwxrwxr-x
2024-04-11 23:07
Encoder.php
612
B
-rwxrwxr-x
2024-04-11 23:07
Exception.php
115
B
-rwxrwxr-x
2024-04-11 23:07
JwtFacade.php
1.88
KB
-rwxrwxr-x
2024-04-11 23:07
Parser.php
621
B
-rwxrwxr-x
2024-04-11 23:07
Signer.php
1.17
KB
-rwxrwxr-x
2024-04-11 23:07
SodiumBase64Polyfill.php
2.86
KB
-rwxrwxr-x
2024-04-11 23:07
Token.php
1.47
KB
-rwxrwxr-x
2024-04-11 23:07
UnencryptedToken.php
480
B
-rwxrwxr-x
2024-04-11 23:07
Validator.php
513
B
-rwxrwxr-x
2024-04-11 23:07
Save
Rename
<?php declare(strict_types=1); namespace Lcobucci\JWT; use Closure; use DateTimeImmutable; use Lcobucci\JWT\Encoding\ChainedFormatter; use Lcobucci\JWT\Encoding\JoseEncoder; use Lcobucci\JWT\Signer\Key; use Lcobucci\JWT\Validation\Constraint; use Lcobucci\JWT\Validation\SignedWith; use Lcobucci\JWT\Validation\ValidAt; use Lcobucci\JWT\Validation\Validator; use Psr\Clock\ClockInterface as Clock; use function assert; final class JwtFacade { private readonly Clock $clock; public function __construct( private readonly Parser $parser = new Token\Parser(new JoseEncoder()), ?Clock $clock = null, ) { $this->clock = $clock ?? new class implements Clock { public function now(): DateTimeImmutable { return new DateTimeImmutable(); } }; } /** @param Closure(Builder, DateTimeImmutable):Builder $customiseBuilder */ public function issue( Signer $signer, Key $signingKey, Closure $customiseBuilder, ): UnencryptedToken { $builder = new Token\Builder(new JoseEncoder(), ChainedFormatter::withUnixTimestampDates()); $now = $this->clock->now(); $builder = $builder ->issuedAt($now) ->canOnlyBeUsedAfter($now) ->expiresAt($now->modify('+5 minutes')); return $customiseBuilder($builder, $now)->getToken($signer, $signingKey); } /** @param non-empty-string $jwt */ public function parse( string $jwt, SignedWith $signedWith, ValidAt $validAt, Constraint ...$constraints, ): UnencryptedToken { $token = $this->parser->parse($jwt); assert($token instanceof UnencryptedToken); (new Validator())->assert( $token, $signedWith, $validAt, ...$constraints, ); return $token; } }