public function getTrueToken()
    {
        if (!isset($this->token)) {
            $token = $this->storage->getStoredToken();
            $this->token = is_string($token) ? $token : '';
        }

        if (strlen($this->token) !== self::TOKEN_LENGTH) {
            $this->regenerateToken();
        }

        return $this->token;
    }