프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$config | |||
$ldap | |||
$ldapConnection |
메소드 | 설명 | |
---|---|---|
__construct ( |
LdapService constructor. | |
getUserDetails ( $userName ) : array | null | Get the details of a user from LDAP using the given username. | |
validateUserCredentials ( Illuminate\Contracts\Auth\Authenticatable $user, string $username, string $password ) : boolean |
메소드 | 설명 | |
---|---|---|
bindSystemUser ( $connection ) | Bind the system user to the LDAP connection using the given credentials otherwise anonymous access is attempted. | |
buildFilter ( string $filterString, array $attrs ) : string | Build a filter string by injecting common variables. | |
getConnection ( ) : resource | Get the connection to the LDAP server. |
protected bindSystemUser ( $connection ) | ||
$connection |
protected getConnection ( ) : resource | ||
리턴 | resource |
public getUserDetails ( $userName ) : array | null | ||
$userName | ||
리턴 | array | null |