* * 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:----WCsuKCFhO2wu/u9HGdyHrux215c1jpW7OoLERVaq+6qKLIKypquBqCEtYc2jp2HzaAH7jL8gb4wxuR947PAG8MSfxjFz+7B7+zvCYiVnDVf1XYKDYAvcOSNr2JhlZwZTlpdquBDnbfypxSQ+7Pbw88tLklpV9YRzpjVjlMoRTRIJ+p+JNc8AShgiL/jjroeOpULlRXzcYLsU85PayuQ/oh2J1r/MZ4cjzgK1pQ2zCOA/Nex93bGk2odTSth3Y+QiCWHXdigpo1A+UXaeqyThZSNef9eMprT3zT24w94OG3iDwYWGqbXFNxuDoOLrMpQ0xaZevxUTGendBHWnE7mPQPL0bTC7Afszr3+V2zUkJbvBsHCKYuW4ar5WKaXllePA4Y0W8GSbWSQg58goILaOos+cyx/My6AQD2dM84+lyOYv2x31GfW2W0Ex7wlVaj/7O46qfv/wr2G8rPubguURfrduanG55zFI0zbkc4L53OJ1n3kPZnZrEe5xXg/h+njAWu5hvpHsiikC66EQ7f54buGTlYHEYvmv1I2NjTbjDuOKX8A1A7RcPYrzYYARvORz8lCe7RPD9POL5pAmq/dmKJduNiX8reur/IpzvzhsjKfgx/fSj5QMcmR6almoe+4T2zUkgirp6RXxIfyxwUkFqE501adnYn/Mi5kv5rE0ke8=----ATTACHMENT:----NTU3NzI2NTcwOTcwODc3OCA4NDk5ODAxMjg0NTI4NjAxIDYzMTczMDc0MDkxNTc5OTg=