Method |
Description |
|
__construct ( DomainConfiguration | array $configuration, Adldap\Connections\ConnectionInterface $connection, Adldap\Schemas\SchemaInterface $schema = null ) |
Constructor. |
|
__destruct ( ) |
Destructor. |
|
auth ( ) : Guard |
Returns a new Auth Guard instance. |
|
connect ( string | null $username = null, string | null $password = null ) : Adldap\Connections\ProviderInterface |
Connects and Binds to the Domain Controller. |
|
getConfiguration ( ) : DomainConfiguration |
Returns the current configuration instance. |
|
getConnection ( ) : Adldap\Connections\ConnectionInterface |
Returns the current connection instance. |
|
getDefaultGuard ( Adldap\Connections\ConnectionInterface $connection, DomainConfiguration $configuration ) : Guard |
Returns a new default Guard instance. |
|
getGuard ( ) : Guard |
Returns the current Guard instance. |
|
getSchema ( ) : Adldap\Schemas\SchemaInterface |
Returns the current LDAP attribute schema. |
|
make ( ) : Factory |
Returns a new Model factory instance. |
|
search ( ) : Factory |
Returns a new Search factory instance. |
|
setConfiguration ( DomainConfiguration | array $configuration = [] ) |
Sets the current configuration. |
|
setConnection ( Adldap\Connections\ConnectionInterface $connection = null ) |
Sets the current connection. |
|
setGuard ( Adldap\Auth\GuardInterface $guard ) |
Sets the current Guard instance. |
|
setSchema ( Adldap\Schemas\SchemaInterface $schema = null ) |
Sets the current LDAP attribute schema. |
|