Uname:
Linux server.thebazaar99.com 5.14.0-687.17.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jun 22 07:21:26 EDT 2026 x86_64
Software:
Apache
PHP version:
8.3.32 [ PHP INFO ] PHP os:
Linux
Server Ip:
163.227.92.254
Your Ip:
216.73.217.24
User:
gutlooks (1003) | Group:
gutlooks (1005)
Safe Mode:
OFF
Disable Function:
exec,passthru,shell_exec,system
<?php
namespace Lcobucci\JWT\Signer\Key;
use Lcobucci\JWT\Encoding\CannotDecodeContent;
use Lcobucci\JWT\Signer\Key;
use function base64_decode;
final class InMemory extends Key
{
/**
* @param string $contents
* @param string $passphrase
*
* @return self
*/
public static function plainText($contents, $passphrase = '')
{
return new self($contents, $passphrase);
}
/**
* @param string $contents
* @param string $passphrase
*
* @return self
*/
public static function base64Encoded($contents, $passphrase = '')
{
$decoded = base64_decode($contents, true);
if ($decoded === false) {
throw CannotDecodeContent::invalidBase64String();
}
return new self($decoded, $passphrase);
}
/**
* @param string $path
* @param string $passphrase
*
* @return InMemory
*
* @throws FileCouldNotBeRead
*/
public static function file($path, $passphrase = '')
{
return new self('file://' . $path, $passphrase);
}
}