OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
firebase
/
vendor
/
lcobucci
/
jwt
/
src
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
08/12/2024 10:34:18 AM
rwxr-xr-x
📄
Builder.php
2.06 KB
08/12/2024 10:33:26 AM
rw-r--r--
📄
ClaimsFormatter.php
259 bytes
08/12/2024 10:33:26 AM
rw-r--r--
📄
Configuration.php
3.9 KB
08/12/2024 10:33:26 AM
rw-r--r--
📄
Decoder.php
631 bytes
08/12/2024 10:33:26 AM
rw-r--r--
📄
Encoder.php
547 bytes
08/12/2024 10:33:27 AM
rw-r--r--
📁
Encoding
-
08/12/2024 10:34:17 AM
rwxr-xr-x
📄
Exception.php
125 bytes
08/12/2024 10:33:27 AM
rw-r--r--
📄
Parser.php
598 bytes
08/12/2024 10:33:27 AM
rw-r--r--
📁
Signer
-
08/12/2024 10:35:50 AM
rwxr-xr-x
📄
Signer.php
1022 bytes
08/12/2024 10:33:27 AM
rw-r--r--
📁
Token
-
08/12/2024 10:34:17 AM
rwxr-xr-x
📄
Token.php
1.3 KB
08/12/2024 10:33:27 AM
rw-r--r--
📁
Validation
-
08/12/2024 10:35:50 AM
rwxr-xr-x
📄
Validator.php
533 bytes
08/12/2024 10:33:27 AM
rw-r--r--
Editing: Signer.php
Close
<?php declare(strict_types=1); namespace Lcobucci\JWT; use Lcobucci\JWT\Signer\CannotSignPayload; use Lcobucci\JWT\Signer\Ecdsa\ConversionFailed; use Lcobucci\JWT\Signer\InvalidKeyProvided; use Lcobucci\JWT\Signer\Key; interface Signer { /** * Returns the algorithm id */ public function algorithmId(): string; /** * Creates a hash for the given payload * * @throws CannotSignPayload When payload signing fails. * @throws InvalidKeyProvided When issue key is invalid/incompatible. * @throws ConversionFailed When signature could not be converted. */ public function sign(string $payload, Key $key): string; /** * Returns if the expected hash matches with the data and key * * @throws InvalidKeyProvided When issue key is invalid/incompatible. * @throws ConversionFailed When signature could not be converted. */ public function verify(string $expected, string $payload, Key $key): bool; }