code: def extract_user_id(self, request):
          
          payload = self.extract_payload(request)
          user_id_attribute = self.config.user_id()
          return payload.get(user_id_attribute, None)
docs: Extract a user id from a request object.