mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
ldap3: Connection: auto_bind also supports booleans (#11289)
This commit is contained in:
@@ -70,7 +70,7 @@ class Connection:
|
||||
server: Server | str | _ServerSequence | ServerPool,
|
||||
user: str | None = None,
|
||||
password: str | None = None,
|
||||
auto_bind: Literal["DEFAULT", "NONE", "NO_TLS", "TLS_BEFORE_BIND", "TLS_AFTER_BIND"] = "DEFAULT",
|
||||
auto_bind: Literal["DEFAULT", "NONE", "NO_TLS", "TLS_BEFORE_BIND", "TLS_AFTER_BIND"] | bool = "DEFAULT",
|
||||
version: int = 3,
|
||||
authentication: Literal["ANONYMOUS", "SIMPLE", "SASL", "NTLM"] | None = None,
|
||||
client_strategy: Literal[
|
||||
|
||||
Reference in New Issue
Block a user