public function getToken(): string
    {
        if (empty($this->token)) {
            $this->setSize($this->token_size);
            $this->token = $this->generateRandomToken();
        }

        return $this->token;
    }