(self)
return HttpResponseRedirect(redirect_uri)
In the event of an error, return a Django HttpResponseRedirect
        with the appropriate error parameters.

        Raises MissingRedirectURI if no redirect_uri is available.

        *Returns HttpResponseRedirect*
In the event of an error, return a Django HttpResponseRedirect
        with the appropriate error parameters.
In the event of an error return a Django HttpResponseRedirect with the appropriate error parameters .
def error_redirect(self):
        """In the event of an error, return a Django HttpResponseRedirect
        with the appropriate error parameters.

        Raises MissingRedirectURI if no redirect_uri is available.

        *Returns HttpResponseRedirect*"""
        self._check_redirect_uri()
        if self.error is not None:
            e = self.error
        else:
            e = AccessDenied("Access Denied.")
        parameters = {'error': e.error, 'error_description': u'%s' % e.message}
        if self.state is not None:
            parameters['state'] = self.state
        redirect_uri = self.redirect_uri
        if self.authorized_response_type & CODE != 0:
            redirect_uri = add_parameters(redirect_uri, parameters)
        if self.authorized_response_type & TOKEN != 0:
            redirect_uri = add_fragments(redirect_uri, parameters)
        return HttpResponseRedirect(redirect_uri)
def error_redirect ( self ) : self . _check_redirect_uri ( ) if self . error is not None : e = self . error else : e = AccessDenied ( "Access Denied." ) parameters = { 'error' : e . error , 'error_description' : u'%s' % e . message } if self . state is not None : parameters [ 'state' ] = self . state redirect_uri = self . redirect_uri if self . authorized_response_type & CODE != 0 : redirect_uri = add_parameters ( redirect_uri , parameters ) if self . authorized_response_type & TOKEN != 0 : redirect_uri = add_fragments ( redirect_uri , parameters ) return HttpResponseRedirect ( redirect_uri )