def METHOD_NAME(directory: str) -> None:
    """Where directory is the private_data_dir for a completed job, this deletes related tmp folders it used"""
    for ident in project_idents(directory):
        registry_auth_pattern = f'{gettempdir()}/{registry_auth_prefix}{ident}_*'
        for radir in glob.glob(registry_auth_pattern):
            changed = cleanup_folder(radir)
            if changed:
                print(f'Removed associated registry auth dir {radir}')