parameters: (self)
return_statement: return oauth_request.to_url()
docstring: Returns the url to redirect the user to
docstring_summary: Returns the url to redirect the user to
docstring_tokens: Returns the url to redirect the user to
function: def get_authorization_url(self):
          """
          Returns the url to redirect the user to
          """
          oauth_request = oauth.OAuthRequest.from_consumer_and_token(
              self.consumer,
              http_url=self.authorization_url,
              token=self.token,
          )
          if self.callback_url:
              oauth_request.parameters['oauth_callback'] = Site.objects.get_current().domain + reverse(self.callback_url)
  
          oauth_request.sign_request(self.signature_method, self.consumer, self.token)
          return oauth_request.to_url()
function_tokens: def get_authorization_url ( self ) : oauth_request = oauth . OAuthRequest . from_consumer_and_token ( self . consumer , http_url = self . authorization_url , token = self . token , ) if self . callback_url : oauth_request . parameters [ 'oauth_callback' ] = Site . objects . get_current ( ) . domain + reverse ( self . callback_url ) oauth_request . sign_request ( self . signature_method , self . consumer , self . token ) return oauth_request . to_url ( )