def get_authorisation_url(self, application_name, token_expire='<STR_LIT>'):
query_params = {<EOL>'<STR_LIT:name>': application_name,<EOL>'<STR_LIT>': token_expire,<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>'<EOL>}<EOL>authorisation_url = self.build_uri(<EOL>path='<STR_LIT>',<EOL>query_params=self.add_authorisation(query_params)<EOL>)<EOL>print('<STR_LIT>'<EOL>'<STR_LIT>', authorisation_url)<EOL>return authorisation_url<EOL>
Returns a URL that needs to be opened in a browser to retrieve an
access token.