'Called by Connection when it no longer needs the credentials'

def erase_credentials(self):

    if self.erase_on_connect:
        LOGGER.info('Erasing    stored    credential    values')
        self.username = None
        self.password = None
