code: def _generateForTokenSecurity(self):
          
          agolToken = self._agolSecurityHandler.token
          url = self._url + "/getProxyUserToken"
          params = {"token" : self._agolSecurityHandler.token,
                    "contributorUid" : self._contributionUID}
          res = self._post(url=url, param_dict=params,
                           additional_headers={ "Referer": self._agolSecurityHandler._referer_url},
                           proxy_port=self._proxy_port,
                           proxy_url=self._proxy_url)
          return res['token']
docs: generates a token for a feature service