public function generateNewToken(ServerRequestInterface $request)
    {

        $pair = $this->generateToken();

        $request = $request->withAttribute($this->prefix . '_name', $pair[$this->prefix . '_name'])
            ->withAttribute($this->prefix . '_value', $pair[$this->prefix . '_value']);

        View::setPageInfo([
            $this->prefix . '_name' => $pair[$this->prefix . '_name'],
            $this->prefix . '_value' => $pair[$this->prefix . '_value']
        ]);

        return $request;
    }