Skip to content

Core\Ldap

Opens a connection to an LDAP directory, such as Active Directory. The name of a directory in the server's configuration is enough, or the program can give the settings itself.

Members

2 members.

MemberSignature
connectconnect(string $name): Core\Ldap\Connection
openopen({ url: string, user?: tainted string, password?: secret tainted string, tls?: Core\Ldap::Tls, tlsCa?: string, tlsPin?: string|array<string>, tlsVerifyHost?: bool, tlsVerify?: bool, tlsMinVersion?: string, timeout?: Core\Time\Duration, base?: Core\Ldap\Dn|string } $settings): Core\Ldap\Connection

Enums

  • TlsWhether a connection to a directory is encrypted.