def erase_credentials(self):
        if self.erase_on_connect:
            LOGGER.info("Erasing stored credential values")
            self.username = None
            self.password = None
Called by Connection when it no longer needs the credentials
dataset/ETHPy150Open pika/pika/pika/credentials.py/PlainCredentials.erase_credentials