(self)
return urlencode(parameters)
Returns the a url encoded query string useful for resending request
        parameters when a user authorizes the request via a form POST.

        Raises UnvalidatedRequest if the request has not been validated.

        *Returns str*
Returns the a url encoded query string useful for resending request
        parameters when a user authorizes the request via a form POST.
Returns the a url encoded query string useful for resending request parameters when a user authorizes the request via a form POST .
def _query_string(self):
        """Returns the a url encoded query string useful for resending request
        parameters when a user authorizes the request via a form POST.

        Raises UnvalidatedRequest if the request has not been validated.

        *Returns str*"""
        if not self.valid:
            raise UnvalidatedRequest("This request is invalid or has not"
                "been validated.")
        parameters = {
            "response_type":self.response_type,
            "client_id":self.client_id}
        if self.redirect_uri is not None:
            parameters["redirect_uri"] = self.redirect_uri
        if self.state is not None:
            parameters["state"] = self.state
        if self.scope is not None:
            parameters["scope"] = ' '.join(self.scope)
        return urlencode(parameters)
def _query_string ( self ) : if not self . valid : raise UnvalidatedRequest ( "This request is invalid or has not" "been validated." ) parameters = { "response_type" : self . response_type , "client_id" : self . client_id } if self . redirect_uri is not None : parameters [ "redirect_uri" ] = self . redirect_uri if self . state is not None : parameters [ "state" ] = self . state if self . scope is not None : parameters [ "scope" ] = ' ' . join ( self . scope ) return urlencode ( parameters )