/
home
/
techb158
/
ileadtechnology.com
/
vendor
/
lcobucci
/
jwt
/
src
/
Signer
/
Key
/
/home/techb158/ileadtechnology.com/vendor/lcobucci/jwt/src/Signer/Key
mkdir
upload
Name
Size
Mode
Actions
FileCouldNotBeRead.php
1022
0644
edit
dl
rm
InMemory.php
1092
0644
edit
dl
rm
LocalFileReference.php
679
0644
edit
dl
rm
Edit:
/home/techb158/ileadtechnology.com/vendor/lcobucci/jwt/src/Signer/Key/InMemory.php
(1092B)
<?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); } }
Save
cmd:
run