PHP 클래스 Horde_Auth_Msad, horde

저자: Francois Helly ([email protected])
상속: extends Horde_Auth_Ldap
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( array $params = [] ) Constructor.
addUser ( string $accountName, array $credentials ) Add a set of authentication credentials.
removeUser ( string $accountName, string $dn = null ) Remove a set of authentication credentials.
resetPassword ( string $user_id ) : string Reset a user's password. Used for example when the user does not remember the existing password.
updateUser ( string $oldId, string $newId, array $credentials, string $olddn = null, string $newdn = null ) Update a set of authentication credentials.

보호된 메소드들

메소드 설명
_connect ( ) Does an ldap connect and binds as the guest user.
_findDN ( string $userId ) : string Find the user dn

메소드 상세

__construct() 공개 메소드

Constructor.
public __construct ( array $params = [] )
$params array A hash containing connection parameters.

_connect() 보호된 메소드

Does an ldap connect and binds as the guest user.
protected _connect ( )

_findDN() 보호된 메소드

Find the user dn
protected _findDN ( string $userId ) : string
$userId string The user UID to find.
리턴 string The user's full DN

addUser() 공개 메소드

Add a set of authentication credentials.
public addUser ( string $accountName, array $credentials )
$accountName string The user sAMAccountName to find.
$credentials array The credentials to be set.

removeUser() 공개 메소드

Remove a set of authentication credentials.
public removeUser ( string $accountName, string $dn = null )
$accountName string The user sAMAccountName to remove.
$dn string TODO

resetPassword() 공개 메소드

Reset a user's password. Used for example when the user does not remember the existing password.
public resetPassword ( string $user_id ) : string
$user_id string The user id for which to reset the password.
리턴 string The new password on success.

updateUser() 공개 메소드

Update a set of authentication credentials.
public updateUser ( string $oldId, string $newId, array $credentials, string $olddn = null, string $newdn = null )
$oldId string The old userId.
$newId string The new userId.
$credentials array The new credentials.
$olddn string The old user DN.
$newdn string The new user DN.