def get_user_details(self, response):
        entry = response['entry']
        return {
            'username': entry.get('displayName'),
            'email': entry['emails'][0]['value'],
            'first_name': entry.get('displayName').split(' ')[0],
            'id': entry.get('id')
        }
Returns a 'restricted' version of an object, i.e., allowing access only to a subset of its
dataset/ETHPy150Open omab/python-social-auth/social/backends/nk.py/NKOAuth2.get_user_details--crossover with--dataset/ETHPy150Open sccn/SNAP/src/rpyc/utils/helpers.py/restricted