コード例 #1
0
ファイル: http.py プロジェクト: wowgeeker/supervisor
 def __init__(self, dict, handler, realm='default'):
     auth_handler.__init__(self, dict, handler, realm)
     # override the authorizer with one that knows about SHA hashes too
     self.authorizer = encrypted_dictionary_authorizer(dict)
コード例 #2
0
 def __init__(self, dict, handler, realm='default'):
     auth_handler.__init__(self, dict, handler, realm)
     # override the authorizer with one that knows about SHA hashes too
     self.authorizer = encrypted_dictionary_authorizer(dict)