def retrieve_auth_url(endpoint_type="publicURL"):
    auth_url = clients_base.retrieve_auth_url(endpoint_type=endpoint_type)
    info = urlparse.urlparse(auth_url)

    if CONF.use_domain_for_proxy_users:
        url = 'v3/auth'
    else:
        url = 'v2.0'

    if info.port:
        returned_url = '{scheme}://{hostname}:{port}/{url}/'
        return returned_url.format(scheme=info.scheme,
                                   hostname=info.hostname,
                                   port=info.port,
                                   url=url)
    else:
        return '{scheme}://{hostname}/{url}/'.format(scheme=info.scheme,
                                                     hostname=info.hostname,
                                                     url=url)
@return:  True if the player is playing and False otherwise.
dataset/ETHPy150Open openstack/sahara/sahara/swift/utils.py/retrieve_auth_url--crossover with--dataset/ETHPy150Open pyjs/pyjs/pyjswaddons/FlowPlayer.py/Player.isPlaying