def auth(self, amount, credit_card=None, billing_info=None, shipping_info=None):
        # set up the card for charging, obviously
        card_token = self.charge_setup(credit_card, billing_info)
        # start the timer
        start = time.time()
        # send it over for processing
        response = Processor.authorize(card_token, amount)
        # measure time
        end = time.time() # done timing it
        response_time = '%0.2f' % (end-start)
        # return parsed response
        return self.parse(response, response_time)
dataset/ETHPy150Open abunsen/Paython/paython/gateways/samurai_ff.py/Samurai.auth/original