protected function assignRedirect($request)
    {
        $request = strtolower($request);
        if (empty($this->handlers[$request])) {
            return $this->handlers['base'] . "?lti-request=$request";
        } else {
            return $this->handlers[$request];
        }
    }