示例#1
0
文件: auth.py 项目: NazoSnare/merlyn
class ContextFactory(object):
    def __init__(self, store):
        self._wrapped = _TOFUContextFactory(store)
        self._wrapper = SecureCiphersContextFactory(self._wrapped)


    def getContext(self):
        return self._wrapper.getContext()
示例#2
0
文件: auth.py 项目: NazoSnare/merlyn
 def __init__(self, store):
     self._wrapped = _TOFUContextFactory(store)
     self._wrapper = SecureCiphersContextFactory(self._wrapped)