TTLDAP
in package
Table of Contents
- $data : mixed
- $password_attribute : mixed
- __construct() : mixed
- TTLDAP constructor.
- authenticate() : bool
- checkLDAPExtension() : bool
- getBaseDN() : bool
- getBindAttribute() : bool
- getBindDN() : string
- getBindPassword() : bool
- getBindUserName() : bool
- getFilterQuery() : string
- getHost() : bool
- getLoginAttribute() : bool
- getPort() : int
- getUserFilter() : bool
- getUserNameSuffix() : bool
- This is not fully implemented, not sure if its even needed, as it appears most active directory installs will work without needing to specify the domain.
- isBindAuthentication() : bool
- Bind authentication is when a specific bind User/Password is *not* specified, so we try to initially bind as the username trying to login instead.
- setBaseDN() : bool
- setBindAttribute() : bool
- setBindPassword() : bool
- setBindUserName() : bool
- setHost() : bool
- setLoginAttribute() : bool
- setPort() : bool
- setUserFilter() : bool
- setUserNameSuffix() : bool
Properties
$data
public
mixed
$data
= \null
$password_attribute
private
mixed
$password_attribute
= 'userPassword'
Methods
__construct()
TTLDAP constructor.
public
__construct() : mixed
Return values
mixed —authenticate()
public
authenticate( $user_name, $password) : bool
Parameters
Tags
Return values
bool —checkLDAPExtension()
public
checkLDAPExtension() : bool
Return values
bool —getBaseDN()
public
getBaseDN() : bool
Return values
bool —getBindAttribute()
public
getBindAttribute() : bool
Return values
bool —getBindDN()
public
getBindDN( $user_name) : string
Parameters
Return values
string —getBindPassword()
public
getBindPassword() : bool
Return values
bool —getBindUserName()
public
getBindUserName() : bool
Return values
bool —getFilterQuery()
public
getFilterQuery( $user_name) : string
Parameters
Return values
string —getHost()
public
getHost() : bool
Return values
bool —getLoginAttribute()
public
getLoginAttribute() : bool
Return values
bool —getPort()
public
getPort() : int
Return values
int —getUserFilter()
public
getUserFilter() : bool
Return values
bool —getUserNameSuffix()
This is not fully implemented, not sure if its even needed, as it appears most active directory installs will work without needing to specify the domain.
public
getUserNameSuffix() : bool
Return values
bool —isBindAuthentication()
Bind authentication is when a specific bind User/Password is *not* specified, so we try to initially bind as the username trying to login instead.
public
isBindAuthentication() : bool
However when bind username/password is specified, we can still attempt to bind as the username trying to login after a filter query is run.
Return values
bool —setBaseDN()
public
setBaseDN( $value) : bool
Parameters
Return values
bool —setBindAttribute()
public
setBindAttribute( $value) : bool
Parameters
Return values
bool —setBindPassword()
public
setBindPassword( $value) : bool
Parameters
Return values
bool —setBindUserName()
public
setBindUserName( $value) : bool
Parameters
Return values
bool —setHost()
public
setHost( $value) : bool
Parameters
Return values
bool —setLoginAttribute()
public
setLoginAttribute( $value) : bool
Parameters
Return values
bool —setPort()
public
setPort( $value) : bool
Parameters
Return values
bool —setUserFilter()
public
setUserFilter( $value) : bool
Parameters
Return values
bool —setUserNameSuffix()
public
setUserNameSuffix( $value) : bool