OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
firebase
/
vendor
/
kreait
/
firebase-tokens
/
src
/
JWT
/
Error
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
08/12/2024 10:35:47 AM
rwxr-xr-x
📄
CustomTokenCreationFailed.php
390 bytes
08/12/2024 10:35:46 AM
rw-r--r--
📄
DiscoveryFailed.php
1.4 KB
08/12/2024 10:35:46 AM
rw-r--r--
📄
FetchingGooglePublicKeysFailed.php
395 bytes
08/12/2024 10:35:46 AM
rw-r--r--
📄
IdTokenVerificationFailed.php
646 bytes
08/12/2024 10:35:46 AM
rw-r--r--
Editing: DiscoveryFailed.php
Close
<?php declare(strict_types=1); namespace Kreait\Firebase\JWT\Error; use LogicException; use Throwable; /** * @codeCoverageIgnore */ final class DiscoveryFailed extends LogicException { public static function because(string $reason, int $code = null, Throwable $previous = null): self { $code = $code ?: 0; return new self($reason, $code, $previous); } public static function noJWTLibraryFound(): self { $message = <<<'MESSAGE' Unable to create token handlers. Please install one of the following JWT libraries: - firebase/php-jwt ^5.0 (https://github.com/firebase/php-jwt) - lcobucci/jwt ^3.2 (https://github.com/lcobucci/jwt) or implement handlers that implement Kreait\Firebase\JWT\Action\CreateCustomToken\Handler and Kreait\Firebase\JWT\Action\VerifyIdToken\Handler MESSAGE; return self::because($message); } public static function noHttpLibraryFound(): self { $message = <<<'MESSAGE' Unable to find a HTTP transport to fetch public keys from Google. Please set `allow_url_fopen = On` in your php.ini or use one of the following supported HTTP libraries: - guzzlehttp/guzzle ^6.2.1 (https://github.com/guzzle/guzzle) or implement your own handler that implements Kreait\Firebase\JWT\Action\FetchGooglePublicKeys\Handler MESSAGE; return self::because($message); } }