def verify(self, verifier):

        # Construct the credentials for the verification request
        oauth = OAuth1(
            self.consumer_key,
            client_secret=self.consumer_secret,
            resource_owner_key=self.oauth_token,
            resource_owner_secret=self.oauth_token_secret,
            verifier=verifier,
            rsa_key=self.rsa_key,
            signature_method=self._signature_method
        )

        # Make the verification request, gettiung back an access token
        url = self.base_url + ACCESS_TOKEN_URL
        response = requests.post(url=url, auth=oauth, cert=self.client_cert)
        self._process_oauth_response(response)
        self.verified = True
Verify an OAuth token
dataset/ETHPy150Open freakboy3742/pyxero/xero/auth.py/PublicCredentials.verify