(self, auth_token=None, auth_url=None, domain_id=None,
                 domain_name=None, user_name=None, user_id=None,
                 user_domain_name=None, user_domain_id=None,
                 project_name=None, project_id=None, roles=None,
                 is_admin=None, read_only=False, show_deleted=False,
                 request_id=None, trust_id=None, auth_token_info=None,
                 all_tenants=False, password=None, **kwargs)
Stores several additional request parameters:

        :param domain_id: The ID of the domain.
        :param domain_name: The name of the domain.
        :param user_domain_id: The ID of the domain to
                               authenticate a user against.
        :param user_domain_name: The name of the domain to
                                 authenticate a user against.
Stores several additional request parameters:
Stores several additional request parameters :
def __init__(self, auth_token=None, auth_url=None, domain_id=None,
                 domain_name=None, user_name=None, user_id=None,
                 user_domain_name=None, user_domain_id=None,
                 project_name=None, project_id=None, roles=None,
                 is_admin=None, read_only=False, show_deleted=False,
                 request_id=None, trust_id=None, auth_token_info=None,
                 all_tenants=False, password=None, **kwargs):
        """Stores several additional request parameters:

        :param domain_id: The ID of the domain.
        :param domain_name: The name of the domain.
        :param user_domain_id: The ID of the domain to
                               authenticate a user against.
        :param user_domain_name: The name of the domain to
                                 authenticate a user against.

        """
        super(RequestContext, self).__init__(auth_token=auth_token,
                                             user_id=user_name,
                                             tenant=project_name,
                                             is_admin=is_admin,
                                             read_only=read_only,
                                             show_deleted=show_deleted,
                                             request_id=request_id,
                                             roles=roles)

        self.user_name = user_name
        self.user_id = user_id
        self.project_name = project_name
        self.project_id = project_id
        self.domain_id = domain_id
        self.domain_name = domain_name
        self.user_domain_id = user_domain_id
        self.user_domain_name = user_domain_name
        self.auth_url = auth_url
        self.auth_token_info = auth_token_info
        self.trust_id = trust_id
        self.all_tenants = all_tenants
        self.password = password
        if is_admin is None:
            self.is_admin = policy.check_is_admin(self)
        else:
            self.is_admin = is_admin
def __init__ ( self , auth_token = None , auth_url = None , domain_id = None , domain_name = None , user_name = None , user_id = None , user_domain_name = None , user_domain_id = None , project_name = None , project_id = None , roles = None , is_admin = None , read_only = False , show_deleted = False , request_id = None , trust_id = None , auth_token_info = None , all_tenants = False , password = None , * * kwargs ) : super ( RequestContext , self ) . __init__ ( auth_token = auth_token , user_id = user_name , tenant = project_name , is_admin = is_admin , read_only = read_only , show_deleted = show_deleted , request_id = request_id , roles = roles ) self . user_name = user_name self . user_id = user_id self . project_name = project_name self . project_id = project_id self . domain_id = domain_id self . domain_name = domain_name self . user_domain_id = user_domain_id self . user_domain_name = user_domain_name self . auth_url = auth_url self . auth_token_info = auth_token_info self . trust_id = trust_id self . all_tenants = all_tenants self . password = password if is_admin is None : self . is_admin = policy . check_is_admin ( self ) else : self . is_admin = is_admin