PHP Trait Adldap\Laravel\Traits\UsesAdldap

Show file Open project: adldap2/adldap2-laravel

Protected Methods

Method Description
getAdldap ( string $provider = null ) : Adldap\Connections\ProviderInterface Returns the root Adldap provider instance.
getDefaultConnectionName ( ) : mixed Returns the configured default connection name.
getLimitationFilter ( ) : string | null Returns the configured login limitation filter.
getSchema ( ) : Adldap\Schemas\SchemaInterface Returns Adldap's current attribute schema.
getSelectAttributes ( ) : array Returns the configured select attributes when performing queries for authentication and binding for users.
newAdldapUserQuery ( string | null $provider = null, string | null $filter = null ) : Builder Returns a new Adldap user query.

Method Details

getAdldap() protected method

Returns the root Adldap provider instance.
protected getAdldap ( string $provider = null ) : Adldap\Connections\ProviderInterface
$provider string
return Adldap\Connections\ProviderInterface

getDefaultConnectionName() protected method

Returns the configured default connection name.
protected getDefaultConnectionName ( ) : mixed
return mixed

getLimitationFilter() protected method

Returns the configured login limitation filter.
protected getLimitationFilter ( ) : string | null
return string | null

getSchema() protected method

Returns Adldap's current attribute schema.
protected getSchema ( ) : Adldap\Schemas\SchemaInterface
return Adldap\Schemas\SchemaInterface

getSelectAttributes() protected method

Returns the configured select attributes when performing queries for authentication and binding for users.
protected getSelectAttributes ( ) : array
return array

newAdldapUserQuery() protected method

Returns a new Adldap user query.
protected newAdldapUserQuery ( string | null $provider = null, string | null $filter = null ) : Builder
$provider string | null
$filter string | null
return Adldap\Query\Builder