'set the provider items for this idp'

def set_provider_items(self):

    for items in self._required:
        self.set_provider_item(items, True)
    for items in self._optional:
        self.set_provider_item(items)
    if self._allow_additional:
        for key in self._idp.keys():
            self.set_provider_item([key])
    elif (len(self._idp) > 0):
        raise errors.AnsibleFilterError('|failed    provider    {0}    contains    unknown    keys    {1}'.format(self.__class__.__name__, ',    '.join(self._idp.keys())))
