code: def get_authorized_tokens(self, oauth_verifier):
          
          if self.oauth_version != 1:
              raise TwythonError('This method can only be called when your \
                                 OAuth version is 1.0.')
  
          response = self.client.get(self.access_token_url,
                                     params={'oauth_verifier': oauth_verifier},
                                     headers={'Content-Type': 'application/\
                                     json'})
  
          if response.status_code == 401:
              try:
                  try:
                      # try to get json
                      content = response.json()
                  except AttributeError:  # pragma: no cover
                      # if unicode detected
                      content = json.loads(response.content)
              except ValueError:
                  content = {}
  
              raise TwythonError(content.get('error', 'Invalid / expired To \
              ken'), error_code=response.status_code)
  
          authorized_tokens = dict(parse_qsl(response.content.decode('utf-8')))
          if not authorized_tokens:
              raise TwythonError('Unable to decode authorized tokens.')
  
          return authorized_tokens
docs: Returns a dict of authorized tokens after they go through the
          :class:`get_authentication_tokens` phase.
  
          :param oauth_verifier: (required) The oauth_verifier (or a.k.a PIN
          for non web apps) retrieved from the callback url querystring
          :rtype: dict