UserConfiguration#

class UserConfiguration(user_object_class=None, user_search_base=None, username_attribute=None, *args, **kwargs)[source]#

Bases: object

User configuration for OpenLDAP directory service

Parameters:
  • user_object_class (required) – (user_object_class) Object class in the OpenLDAP system that corresponds to users

  • user_search_base (required) – (user_search_base) Base DN for user search

  • username_attribute (required) – (username_attribute) Unique identifier for each user which can be used in authentication

to_dict()[source]#

Returns the model properties as a dictionary

to_str()[source]#

Returns the string representation of the model

property user_object_class#

Object class in the OpenLDAP system that corresponds to users

Type:

str

property user_search_base#

Base DN for user search

Type:

str

property username_attribute#

Unique identifier for each user which can be used in authentication

Type:

str