Stub methods in async client
This commit is contained in:
parent
e454fbd84a
commit
8779db9ca0
|
@ -4,7 +4,6 @@ from bonsai import LDAPClient
|
||||||
|
|
||||||
from phi.logging import get_logger
|
from phi.logging import get_logger
|
||||||
|
|
||||||
|
|
||||||
log = get_logger(__name__)
|
log = get_logger(__name__)
|
||||||
|
|
||||||
|
|
||||||
|
@ -96,6 +95,7 @@ class AsyncClient(LDAPClient):
|
||||||
attribute_id="uid",
|
attribute_id="uid",
|
||||||
ou=None,
|
ou=None,
|
||||||
method="SIMPLE",
|
method="SIMPLE",
|
||||||
|
**kwargs,
|
||||||
):
|
):
|
||||||
self.proto, self.host, _port = parse_host(host)
|
self.proto, self.host, _port = parse_host(host)
|
||||||
self.port = checked_port(port, _port)
|
self.port = checked_port(port, _port)
|
||||||
|
@ -130,3 +130,9 @@ class AsyncClient(LDAPClient):
|
||||||
|
|
||||||
self.set_auto_page_acquire(True)
|
self.set_auto_page_acquire(True)
|
||||||
self.set_credentials(self.method, user=self.username, password=self.password)
|
self.set_credentials(self.method, user=self.username, password=self.password)
|
||||||
|
|
||||||
|
def open(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def close(self):
|
||||||
|
pass
|
||||||
|
|
Loading…
Reference in New Issue
Block a user