def authorize_url(self):
auth_url = OAUTH_ROOT + '<STR_LIT>'<EOL>params = {<EOL>'<STR_LIT>': self.client_id,<EOL>'<STR_LIT>': self.redirect_uri,<EOL>}<EOL>return "<STR_LIT>".format(auth_url, urlencode(params))<EOL>
Return a URL to redirect the user to for OAuth authentication.