gcb_web_auth/utils.py
def make_auth_config(token):
    """
    Returns a DukeDS config object populated with URL and such
    from this application's django settings
    :param token: The authorization token for DukeDS
    :return: a ddsc.config.Config
    """
    config = Config()
    endpoint = get_default_dds_endpoint()
    config.update_properties({
        Config.URL: endpoint.api_root,
    })
    config.values[Config.AUTH] = token
    return config

    Returns a DukeDS config object populated with URL and such
    from this application's django settings
    :param token: The authorization token for DukeDS
    :return: a ddsc.config.Config
    
Returns a DukeDS config object populated with URL and such
from this application's django settings
Returns a DukeDS config object populated with URL and such from this application ' s django settings
def make_auth_config(token):
    config = Config()
    endpoint = get_default_dds_endpoint()
    config.update_properties({
        Config.URL: endpoint.api_root,
    })
    config.values[Config.AUTH] = token
    return config
def make_auth_config ( token ) : config = Config ( ) endpoint = get_default_dds_endpoint ( ) config . update_properties ( { Config . URL : endpoint . api_root , } ) config . values [ Config . AUTH ] = token return config
Returns a DukeDS config object populated with URL and such
from this application's django settings
Returns a DukeDS config object populated with URL and such from this application ' s django settings
"""
    Returns a DukeDS config object populated with URL and such
    from this application's django settings
    :param token: The authorization token for DukeDS
    :return: a ddsc.config.Config
    """
None
token
The authorization token for DukeDS
The authorization token for DukeDS