def __init__(self, realms='*', provisionsets=None, algorithms='*', scanners='*', clerks='*', supplicants='*'): self.set_algorithms(algorithms) self._clerks = _uset(clerks) if provisionsets is None: provisionsets = \ _provisions.FrozenProvisionSetSet('*')\ .union_product(_provisions.SECPROV_CLIENT_AUTH)\ .unfrozen() self.set_provisionsets(provisionsets) self.set_realms(realms) self._scanners = _uset(scanners) self._supplicants = _uset(supplicants)
def exposed_response_headers(self, value): self._exposed_response_headers = _uset(value)
def request_headers(self, value): self._request_headers = _uset(value)
def origins(self, value): self._origins = _uset(value)
def methods(self, value): self._methods = _uset(value)
def set_realms(self, value): self._realms_ = _uset(value)
def set_algorithms(self, value): self._algorithms_ = _uset(value)