def construct_oauth_url(self):
response = self._requester(requests.head, <EOL>"<STR_LIT>".format(self.protocol, self.client.server),<EOL>allow_redirects=False<EOL>)<EOL>if response.is_redirect:<EOL><INDENT>server = response.headers['<STR_LIT:location>']<EOL><DEDENT>else:<EOL><INDENT>server = response.url<EOL><DEDENT>path = "<STR_LIT>".format(<EOL>token=self.store["<STR_LIT>"]<EOL>)<EOL>return "<STR_LIT>".format(<EOL>server=server,<EOL>path=path<EOL>)<EOL>
Constructs verifier OAuth URL