示例#1
0
    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)
示例#2
0
文件: _cors.py 项目: nisavid/bedframe
 def exposed_response_headers(self, value):
     self._exposed_response_headers = _uset(value)
示例#3
0
文件: _cors.py 项目: nisavid/bedframe
 def request_headers(self, value):
     self._request_headers = _uset(value)
示例#4
0
文件: _cors.py 项目: nisavid/bedframe
 def origins(self, value):
     self._origins = _uset(value)
示例#5
0
文件: _cors.py 项目: nisavid/bedframe
 def methods(self, value):
     self._methods = _uset(value)
示例#6
0
 def set_realms(self, value):
     self._realms_ = _uset(value)
示例#7
0
 def set_algorithms(self, value):
     self._algorithms_ = _uset(value)