def get_authorize_url(self, callback_url, state=None):
auth_service = OAuth2Service(<EOL>name='<STR_LIT>',<EOL>client_id=self.client_id,<EOL>client_secret=self.client_secret,<EOL>authorize_url=self.authorize_url,<EOL>access_token_url=self.access_token_url,<EOL>base_url=self.base_url,<EOL>)<EOL>params = {<EOL>'<STR_LIT>': self.client_id,<EOL>'<STR_LIT>': '<STR_LIT:code>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': callback_url,<EOL>'<STR_LIT:state>': state,<EOL>}<EOL>url = auth_service.get_authorize_url(**params)<EOL>return url<EOL>
Returns the Authorize URL as returned by QB, and specified by OAuth 2.0a.
:return URI: