public function expired(\DateTime $date = null)
    {
        // Check if the token has an expiration date.
        if (!$this->expire) {
            return false;
        }

        $date = $date ?: new \DateTime('now', new \DateTimezone('UTC'));

        return ($date > $this->expire);
    }