gcb_web_auth/backends/base.py
def save_user(self, raw_user_dict, update=True):
        """
        Creates or updates a user object from the provided dictionary
        :param raw_user_dict: dictionary of user details from the external provider
        :param update: True to update existing users with incoming data
        :return:
        """
        user_dict = self.harmonize_user_details(raw_user_dict)
        if 'username' not in user_dict:
            return None
        user, created = get_user_model().objects.get_or_create(username=user_dict.get('username'))
        # Update the keys
        if created or update:
            user = self.update_model(user, user_dict)
        return user

        Creates or updates a user object from the provided dictionary
        :param raw_user_dict: dictionary of user details from the external provider
        :param update: True to update existing users with incoming data
        :return:
        
Creates or updates a user object from the provided dictionary
Creates or updates a user object from the provided dictionary
def save_user(self, raw_user_dict, update=True):
        user_dict = self.harmonize_user_details(raw_user_dict)
        if 'username' not in user_dict:
            return None
        user, created = get_user_model().objects.get_or_create(username=user_dict.get('username'))
        if created or update:
            user = self.update_model(user, user_dict)
        return user
def save_user ( self , raw_user_dict , update = True ) : user_dict = self . harmonize_user_details ( raw_user_dict ) if 'username' not in user_dict : return None user , created = get_user_model ( ) . objects . get_or_create ( username = user_dict . get ( 'username' ) ) if created or update : user = self . update_model ( user , user_dict ) return user
Creates or updates a user object from the provided dictionary
Creates or updates a user object from the provided dictionary
"""
        Creates or updates a user object from the provided dictionary
        :param raw_user_dict: dictionary of user details from the external provider
        :param update: True to update existing users with incoming data
        :return:
        """ # Update the keys
None
self
raw_user_dict
dictionary of user details from the external provider
dictionary of user details from the external provider
update
True to update existing users with incoming data
True to update existing users with incoming data