def get_user_token(self):
headers = { '<STR_LIT>': self.user_agent(),<EOL>'<STR_LIT>': self.domain(),<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>}<EOL>headers.update(self.headers())<EOL>r = requests.get(   self.portals_url()+'<STR_LIT>',<EOL>headers=headers,<EOL>auth=self.auth())<EOL>if HTTP_STATUS.OK == r.status_code:<EOL><INDENT>return r.text<EOL><DEDENT>else:<EOL><INDENT>print("<STR_LIT>".format(<EOL>r.status_code, r.reason))<EOL>r.raise_for_status()<EOL><DEDENT>
Gets a authorization token for session reuse.

http://docs.exosite.com/portals/#get-user-token-for-openid-user