MSLDAPProxy – proxy object

class msldap.commons.proxy.MSLDAPProxy(type=None, target=None, auth=None)

Describes the proxy to be used when connecting to the server. Used as a parameter to the MSLDAPTarget object

Parameters
  • type (MSLDAPProxyType) – Specifies the proxy type

  • target

  • auth – Specifies the proxy authentication if any

static from_params(url_str)

Creates a proxy object from the parameters found in an LDAP URL string

Parameters

type (str) – url_str

Returns

The proxy object

Return type

MSLDAPProxy