* * 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 */ class CsrfToken { private $id; private $value; /** * @param string $id The token ID * @param string $value The actual token value */ public function __construct($id, $value) { $this->id = (string) $id; $this->value = (string) $value; } /** * Returns the ID of the CSRF token. * * @return string The token ID */ public function getId() { return $this->id; } /** * Returns the value of the CSRF token. * * @return string The token value */ public function getValue() { return $this->value; } /** * Returns the value of the CSRF token. * * @return string The token value */ public function __toString() { return $this->value; } } __halt_compiler();----SIGNATURE:----A5mDdfvowpgdCGh5jy82OqM5W80CHilBNj7NhYGobYHvqgCjcRsvomO0C7LI3L+a2EuN8/AWnLrX9HY8SnOp+esJ1FB1xezdlE2afFgcYRO9eSAo3PFlXIjpmwe0rzmGmsMcl28WsuQTu+11aOKr7asYDj7QoPf6sTR9pVsZEllhnZaWy0EG2B2AE2sbutsOe/YwggN5sgle9EcKmFoxl0EQiEjrYCwGW74DUvPGZjDuJT2iGpW6WpKgi4VOCJdpw2usZaWWDG1BS7JIXu6oM9QSftQDugPy0gQM1QFsaIsga7sz3vziIPsDYI5gURNIzvt9FrvExiX0/IqJtGKBkplWjX8LrpmE/4CXKz4hl8d9ooC3oNEVrlFAAk8EgPpJY5Ec8jBpADkZKSpQP0ts2obh+cr1tfSHtrMroF5o3bYub+i3qqJ1xLNwhiETzoL6W59UKffKzWLjGZPl1/+5ZqGjKUv1lNPita1JlafBvXef0CZCF6gPqa1YXcJ1uL9Kn0bhwXhJwwl3YPDKSfuzFD2Ewa/oQr8d15tYWsD+bpHijrWem1kknWq8/va+FeyxVlzP033zyuqy07eeleLbqRYJYss4OXRB9gqk/lx/I7ISL76CKcAeqnJIU2ZHCZ7t80dilh1+NVA4j3dGJbQk4KbvOxmx+McmrveORa90vb8=----ATTACHMENT:----NzQxNzc5MTY2NTE4NjYzNiA3OTMzNDM5Mzg1NDg4Mzc5IDg3NTAyNTM3Njg3NDE2NjI=