parameters: (self, url, request_token=None, **kwargs)
return_statement: return add_params_to_uri(url, kwargs.items())
docstring: Create an authorization URL by appending request_token and optional
          kwargs to url.
  
          This is the second step in the OAuth 1 workflow. The user should be
          redirected to this authorization URL, grant access to you, and then
          be redirected back to you. The redirection back can either be specified
          during client registration or by supplying a callback URI per request.
  
          :param url: The authorization endpoint URL.
          :param request_token: The previously obtained request token.
          :param kwargs: Optional parameters to append to the URL.
          :returns: The authorization URL with new parameters embedded.
  
          An example using a registered default callback URI.
  
          >>> request_token_url = 'https://api.twitter.com/oauth/request_token'
          >>> authorization_url = 'https://api.twitter.com/oauth/authorize'
          >>> oauth_session = OAuth1Session('client-key', client_secret='secret')
          >>> oauth_session.fetch_request_token(request_token_url)
          {
              'oauth_token': 'sdf0o9823sjdfsdf',
              'oauth_token_secret': '2kjshdfp92i34asdasd',
          }
          >>> oauth_session.authorization_url(authorization_url)
          'https://api.twitter.com/oauth/authorize?oauth_token=sdf0o9823sjdfsdf'
          >>> oauth_session.authorization_url(authorization_url, foo='bar')
          'https://api.twitter.com/oauth/authorize?oauth_token=sdf0o9823sjdfsdf&foo=bar'
  
          An example using an explicit callback URI.
  
          >>> request_token_url = 'https://api.twitter.com/oauth/request_token'
          >>> authorization_url = 'https://api.twitter.com/oauth/authorize'
          >>> oauth_session = OAuth1Session('client-key', client_secret='secret', callback_uri='https://127.0.0.1/callback')
          >>> oauth_session.fetch_request_token(request_token_url)
          {
              'oauth_token': 'sdf0o9823sjdfsdf',
              'oauth_token_secret': '2kjshdfp92i34asdasd',
          }
          >>> oauth_session.authorization_url(authorization_url)
          'https://api.twitter.com/oauth/authorize?oauth_token=sdf0o9823sjdfsdf&oauth_callback=https%3A%2F%2F127.0.0.1%2Fcallback'
docstring_summary: Create an authorization URL by appending request_token and optional
          kwargs to url.
docstring_tokens: Create an authorization URL by appending request_token and optional kwargs to url .
function: def authorization_url(self, url, request_token=None, **kwargs):
          """Create an authorization URL by appending request_token and optional
          kwargs to url.
  
          This is the second step in the OAuth 1 workflow. The user should be
          redirected to this authorization URL, grant access to you, and then
          be redirected back to you. The redirection back can either be specified
          during client registration or by supplying a callback URI per request.
  
          :param url: The authorization endpoint URL.
          :param request_token: The previously obtained request token.
          :param kwargs: Optional parameters to append to the URL.
          :returns: The authorization URL with new parameters embedded.
  
          An example using a registered default callback URI.
  
          >>> request_token_url = 'https://api.twitter.com/oauth/request_token'
          >>> authorization_url = 'https://api.twitter.com/oauth/authorize'
          >>> oauth_session = OAuth1Session('client-key', client_secret='secret')
          >>> oauth_session.fetch_request_token(request_token_url)
          {
              'oauth_token': 'sdf0o9823sjdfsdf',
              'oauth_token_secret': '2kjshdfp92i34asdasd',
          }
          >>> oauth_session.authorization_url(authorization_url)
          'https://api.twitter.com/oauth/authorize?oauth_token=sdf0o9823sjdfsdf'
          >>> oauth_session.authorization_url(authorization_url, foo='bar')
          'https://api.twitter.com/oauth/authorize?oauth_token=sdf0o9823sjdfsdf&foo=bar'
  
          An example using an explicit callback URI.
  
          >>> request_token_url = 'https://api.twitter.com/oauth/request_token'
          >>> authorization_url = 'https://api.twitter.com/oauth/authorize'
          >>> oauth_session = OAuth1Session('client-key', client_secret='secret', callback_uri='https://127.0.0.1/callback')
          >>> oauth_session.fetch_request_token(request_token_url)
          {
              'oauth_token': 'sdf0o9823sjdfsdf',
              'oauth_token_secret': '2kjshdfp92i34asdasd',
          }
          >>> oauth_session.authorization_url(authorization_url)
          'https://api.twitter.com/oauth/authorize?oauth_token=sdf0o9823sjdfsdf&oauth_callback=https%3A%2F%2F127.0.0.1%2Fcallback'
          """
          kwargs['oauth_token'] = request_token or self._client.client.resource_owner_key
          log.debug('Adding parameters %s to url %s', kwargs, url)
          return add_params_to_uri(url, kwargs.items())
function_tokens: def authorization_url ( self , url , request_token = None , * * kwargs ) : kwargs [ 'oauth_token' ] = request_token or self . _client . client . resource_owner_key log . debug ( 'Adding parameters %s to url %s' , kwargs , url ) return add_params_to_uri ( url , kwargs . items ( ) )