def METHOD_NAME(self, endpoint, **kwargs):
    authority = get_authority(endpoint)
    audience = get_audience(authority)
    return ContainerRegistryClient(endpoint=endpoint, audience=audience, **kwargs)