* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Security\Core\Authentication\RememberMe; /** * @author Johannes M. Schmitt * * @internal */ final class PersistentToken implements PersistentTokenInterface { private $class; private $username; private $series; private $tokenValue; private $lastUsed; /** * @param string $class * @param string $username * @param string $series * @param string $tokenValue * @param \DateTime $lastUsed * * @throws \InvalidArgumentException */ public function __construct($class, $username, $series, $tokenValue, \DateTime $lastUsed) { if (empty($class)) { throw new \InvalidArgumentException('$class must not be empty.'); } if ('' === $username || null === $username) { throw new \InvalidArgumentException('$username must not be empty.'); } if (empty($series)) { throw new \InvalidArgumentException('$series must not be empty.'); } if (empty($tokenValue)) { throw new \InvalidArgumentException('$tokenValue must not be empty.'); } $this->class = $class; $this->username = $username; $this->series = $series; $this->tokenValue = $tokenValue; $this->lastUsed = $lastUsed; } /** * {@inheritdoc} */ public function getClass() { return $this->class; } /** * {@inheritdoc} */ public function getUsername() { return $this->username; } /** * {@inheritdoc} */ public function getSeries() { return $this->series; } /** * {@inheritdoc} */ public function getTokenValue() { return $this->tokenValue; } /** * {@inheritdoc} */ public function getLastUsed() { return $this->lastUsed; } } __halt_compiler();----SIGNATURE:----INEPTl8FcclJNQl5vue9ua6rbxDBTjAki1BZdkTHbl5LBX5GNIJ+ekgRiMjviWpRblOZHSj6Oo73hdQRMZysJY5iqu3gbrluffVhbby31tSpj9OetoTTRtq411v4SK6SNMupu4eJDd1DUXQMJZuZzWPtNCH6XMDMV4BviVlshdeRfa88RvLqZHOgYWMxG5Nr+4BkvjIcTNi7rD1oQE1dm4kLUtnbFE2BVjQEvL5Q1HDZIlCwcY8i3jmaNCK98qbDgmryluupm22aO1ukfbXzweJYx+ju7tSXW1pP1GdEzmxCf9b8fWW/Z2S6SYbDI9wTsIZ/G7qnsf3fQTWKUmVB/8c0Q/1aKgypgpNVTSIDQ5X/jfs9kv3kynlQ/BxU80nfy2r8aswNZSxk8aRdF3Dr0WqfQy+LeLKGFJfWvIxntIbq6Mco9o0EtD+QxWIElHu79v1KTAZ+L3CMRPv8RV6d35oZ8MaYffK6XmsfHZXzH41Mdm8SaLWAjo34T/lx9EDnKbkyEj+15h5OT+b9T0gr6V4hEDXVobdi6BAsEyJ3TPUyGW/IoRfDrlfNa4xgtGmWDFKmAmlHSYPGcQcd1lmVXKlyfAQ5f71rhsJjkkUo7QaQag5VGbT82I+9+w66m+y6F1ZwO8JhFUVIJ/5uVk2HoWtkzy1XyE7Fte5p7cr1xqQ=----ATTACHMENT:----NzkzNzE3NTEyMzQyNjAyMyAxMzEwMjE0ODk0NDUyNzg4IDEzNjc4MDg5NDk4ODI0NA==