'Main function'

def run(self, software_name=None):

    location = ''
    tmp_location = [(constant.profile['COMPOSER_HOME'] + '\\auth.json'), (constant.profile['APPDATA'] + '\\Composer\\auth.json')]
    for tmp in tmp_location:
        if os.path.isfile(tmp):
            location = tmp
            break
    if location:
        return self.extract_credentials(location)
