예제 #1
0
 def _call(cls, chall, satisfied):
     from letsencrypt.auth_handler import is_preferred
     return is_preferred(chall,
                         satisfied,
                         exclusive_groups=frozenset([
                             frozenset(
                                 [challenges.DVSNI, challenges.HTTP01]),
                             frozenset([challenges.DNS, challenges.HTTP01]),
                         ]))
 def _call(cls, chall, satisfied):
     from letsencrypt.auth_handler import is_preferred
     return is_preferred(chall, satisfied, exclusive_groups=frozenset([
         frozenset([challenges.DVSNI, challenges.SimpleHTTP]),
         frozenset([challenges.DNS, challenges.SimpleHTTP]),
     ]))