def get_auth(self):
        ''' Returns username from the configfile. '''
        return (self._cfgparse.get(self._section, 'username'), self._cfgparse.get(self._section, 'password'))
Returns username from the configfile.