code: def get_user(self, attr_map=None):
          
          user = self.client.get_user(
                  AccessToken=self.access_token
              )
  
          user_metadata = {
              'username': user.get('Username'),
              'id_token': self.id_token,
              'access_token': self.access_token,
              'refresh_token': self.refresh_token,
          }
          return self.get_user_obj(username=self.username,
                                   attribute_list=user.get('UserAttributes'),
                                   metadata=user_metadata,attr_map=attr_map)
docs: Returns a UserObj (or whatever the self.user_class is) by using the
          user's access token.
          :param attr_map: Dictionary map from Cognito attributes to attribute
          names we would like to show to our users
          :return: