public function setPeriod(\DateTime $start = null, \DateTime $end = null)
    {
        $this->claims['nbf'] = $start->getTimestamp();
        $this->claims['exp'] = $end->getTimestamp();

        return $this;
    }