def get_authorized_tokens(self, oauth_verifier):
if self.oauth_version != <NUM_LIT:1>:<EOL><INDENT>raise TwythonError('<STR_LIT>')<EOL><DEDENT>response = self.client.get(self.access_token_url,<EOL>params={'<STR_LIT>': oauth_verifier},<EOL>headers={'<STR_LIT:Content-Type>': '<STR_LIT>'})<EOL>if response.status_code == <NUM_LIT>:<EOL><INDENT>try:<EOL><INDENT>try:<EOL><INDENT>content = response.json()<EOL><DEDENT>except AttributeError:  <EOL><INDENT>content = json.loads(response.content)<EOL><DEDENT><DEDENT>except ValueError:<EOL><INDENT>content = {}<EOL><DEDENT>raise TwythonError(content.get('<STR_LIT:error>', '<STR_LIT>'), error_code=response.status_code)<EOL><DEDENT>authorized_tokens = dict(parse_qsl(response.content.decode('<STR_LIT:utf-8>')))<EOL>if not authorized_tokens:<EOL><INDENT>raise TwythonError('<STR_LIT>')<EOL><DEDENT>return authorized_tokens<EOL>
Returns a dict of authorized tokens after they go through the
        :class:`get_authentication_tokens` phase.

        :param oauth_verifier: (required) The oauth_verifier (or a.k.a PIN
        for non web apps) retrieved from the callback url querystring
        :rtype: dict