code: def callback_oauth1(self, request, **kwargs):
          
          if kwargs.get('access_token') == '' or kwargs.get('access_token') is None:
              access_token = self.get_access_token(request.session['oauth_token'],
                                                   request.session.get('oauth_token_secret', ''),
                                                   request.GET.get('oauth_verifier', ''))
          else:
              access_token = kwargs.get('access_token')
  
          if type(access_token) == str:
              token = access_token
          else:
              token = '#TH#'.join((access_token.get('oauth_token'), access_token.get('oauth_token_secret')))
          return token
docs: Process for oAuth 1
              :param request: contains the current session
              :param kwargs: keyword args
              :type request: dict
              :type kwargs: dict
              :rtype: string