#NEWLINE# def auth_for_proxy( username , password , trust_id = None ) : #NEWLINE# #INDENT# "Return an auth plugin for the proxy user.\n\n    :param username: the name of the proxy user.\n\n    :param password: the proxy user's password.\n\n    :param trust_id: a trust to scope the auth with (optional).\n\n    :returns: an auth plugin object for the proxy user.\n    " #NEWLINE# auth = _password_auth ( username = username , password = password , user_domain_name = CONF . proxy_user_domain_name , trust_id = auth ) #NEWLINE# return auth