def __init__(self, enforce_external_nicknames=False,
         email_attribute_name=CFG_ROBOT_EMAIL_ATTRIBUTE_NAME,
         nickname_attribute_name=CFG_ROBOT_NICKNAME_ATTRIBUTE_NAME,
         groups_attribute_name=CFG_ROBOT_GROUPS_ATTRIBUTE_NAME,
         groups_separator=CFG_ROBOT_GROUPS_SEPARATOR,
         timeout_attribute_name=CFG_ROBOT_TIMEOUT_ATTRIBUTE_NAME,
         userip_attribute_name=CFG_ROBOT_USERIP_ATTRIBUTE_NAME,
         check_user_ip=True,
         use_zlib=True,
         ):
     ExternalAuth.__init__(self, enforce_external_nicknames=enforce_external_nicknames)
     self.email_attribute_name = email_attribute_name
     self.nickname_attribute_name = nickname_attribute_name
     self.groups_attribute_name = groups_attribute_name
     self.groups_separator = groups_separator
     self.timeout_attribute_name = timeout_attribute_name
     self.userip_attribute_name = userip_attribute_name
     self.check_user_ip = check_user_ip
     self.use_zlib = use_zlib
 def __init__(self, enforce_external_nicknames=False,
         email_attribute_name=CFG_ROBOT_EMAIL_ATTRIBUTE_NAME,
         nickname_attribute_name=CFG_ROBOT_NICKNAME_ATTRIBUTE_NAME,
         groups_attribute_name=CFG_ROBOT_GROUPS_ATTRIBUTE_NAME,
         groups_separator=CFG_ROBOT_GROUPS_SEPARATOR,
         timeout_attribute_name=CFG_ROBOT_TIMEOUT_ATTRIBUTE_NAME,
         userip_attribute_name=CFG_ROBOT_USERIP_ATTRIBUTE_NAME,
         check_user_ip=True,
         use_zlib=True,
         ):
     ExternalAuth.__init__(self, enforce_external_nicknames=enforce_external_nicknames)
     self.email_attribute_name = email_attribute_name
     self.nickname_attribute_name = nickname_attribute_name
     self.groups_attribute_name = groups_attribute_name
     self.groups_separator = groups_separator
     self.timeout_attribute_name = timeout_attribute_name
     self.userip_attribute_name = userip_attribute_name
     self.check_user_ip = check_user_ip
     self.use_zlib = use_zlib
Пример #3
0
 def __init__(self, enforce_external_nicknames=False):
     """Initialize stuff here"""
     ExternalAuth.__init__(self, enforce_external_nicknames)
     self.egroup_cache = None
 def __init__(self):
     """Initialize stuff here"""
     ExternalAuth.__init__(self)
     self.enforce_external_nicknames = True
 def __init__(self, enforce_external_nicknames=False):
     """Initialize stuff here"""
     ExternalAuth.__init__(self, enforce_external_nicknames)
     self.egroup_cache = None