Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 3.144.132.48
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
vendor /
symfony /
security-csrf /
Delete
Unzip
Name
Size
Permission
Date
Action
Exception
[ DIR ]
drwxrwxr-x
2022-07-20 13:00
TokenGenerator
[ DIR ]
drwxrwxr-x
2022-07-20 13:00
TokenStorage
[ DIR ]
drwxrwxr-x
2022-07-20 13:00
CHANGELOG.md
176
B
-rw-rw-r--
2022-07-20 13:00
CsrfToken.php
1.01
KB
-rw-rw-r--
2022-07-20 13:00
CsrfTokenManager.php
5.17
KB
-rw-rw-r--
2022-07-20 13:00
CsrfTokenManagerInterface.php
1.75
KB
-rw-rw-r--
2022-07-20 13:00
LICENSE
1.04
KB
-rw-rw-r--
2022-07-20 13:00
README.md
1010
B
-rw-rw-r--
2022-07-20 13:00
composer.json
1.01
KB
-rw-rw-r--
2022-07-20 13:00
Save
Rename
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Security\Csrf; /** * A CSRF token. * * @author Bernhard Schussek <bschussek@gmail.com> */ class CsrfToken { private $id; private $value; public function __construct(string $id, ?string $value) { $this->id = $id; $this->value = $value ?? ''; } /** * Returns the ID of the CSRF token. * * @return string */ public function getId() { return $this->id; } /** * Returns the value of the CSRF token. * * @return string */ public function getValue() { return $this->value; } /** * Returns the value of the CSRF token. * * @return string */ public function __toString() { return $this->value; } }