code: def extend_request_args(self, args, item_cls, item_type, key,
                              parameters, orig=False):
          
          try:
              item = self.get_item(item_cls, item_type, key)
          except KeyError:
              pass
          else:
              for parameter in parameters:
                  if orig:
                      try:
                          args[parameter] = item[parameter]
                      except KeyError:
                          pass
                  else:
                      try:
                          args[parameter] = item[verified_claim_name(parameter)]
                      except KeyError:
                          try:
                              args[parameter] = item[parameter]
                          except KeyError:
                              pass
  
          return args
docs: Add a set of parameters and their value to a set of request arguments.
  
          :param args: A dictionary
          :param item_cls: The :py:class:`oidcmsg.message.Message` subclass
              that describes the item
          :param item_type: The type of item, this is one of the parameter
              names in the :py:class:`oidcservice.state_interface.State` class.
          :param key: The key to the information in the database
          :param parameters: A list of parameters who's values this method
              will return.
          :param orig: Where the value of a claim is a signed JWT return
              that.
          :return: A dictionary with keys from the list of parameters and
              values being the values of those parameters in the item.
              If the parameter does not a appear in the item it will not appear
              in the returned dictionary.