コード例 #1
0
ファイル: password_auth.py プロジェクト: ljmljz/xpra
 def get_challenge(self):
     return SysAuthenticator.get_challenge(self, mac="hmac")
コード例 #2
0
 def get_challenge(self):
     return SysAuthenticator.get_challenge(self, mac="hmac")
コード例 #3
0
 def get_challenge(self, digests):
     if "xor" not in digests:
         raise Exception("win32 authenticator requires the 'xor' digest")
     return SysAuthenticator.get_challenge(self, ["xor"])
コード例 #4
0
ファイル: pam_auth.py プロジェクト: rudresh2319/Xpra
 def get_challenge(self, digests):
     if "xor" not in digests:
         raise Exception(
             "pam authenticator requires the 'xor' digest, not %s" %
             csv(digests))
     return SysAuthenticator.get_challenge(self, ["xor"])
コード例 #5
0
 def get_challenge(self, digests):
     if "xor" not in digests:
         log.error("Error: pam authentication requires the 'xor' digest")
         return None
     return SysAuthenticator.get_challenge(self, ["xor"])