def get_access_tokens(self, oauth_verifier):
qb_service = OAuth1Service(<EOL>consumer_key=self.consumer_key,<EOL>consumer_secret=self.consumer_secret,<EOL>request_token_url=self.request_token_url,<EOL>access_token_url=self.access_token_url,<EOL>authorize_url=self.authorize_url,<EOL>)<EOL>session = qb_service.get_auth_session(<EOL>self.request_token,<EOL>self.request_token_secret,<EOL>data={'<STR_LIT>': oauth_verifier})<EOL>self.access_token = session.access_token<EOL>self.access_token_secret = session.access_token_secret<EOL>return session<EOL>
Wrapper around get_auth_session, returns session, and sets access_token and
access_token_secret on the QB Object.
:param oauth_verifier: the oauth_verifier as specified by OAuth 1.0a