PHP Класс LdapTools\Operation\AuthenticationOperation

Автор: Chad Sikorra ([email protected])
Наследование: implements LdapTools\Operation\LdapOperationInterface, use trait LdapOperationTrait
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$properties array

Открытые методы

Метод Описание
__construct ( null | string $username = null, null | string $password = null )
getArguments ( )
getIsAnonymousBind ( ) : boolean Get whether this authentication attempt should be an anonymous bind.
getLdapFunction ( )
getLogArray ( )
getName ( )
getPassword ( ) : string | null Get the password that will be used for the authentication operation.
getSwitchToCredentials ( ) : boolean Get whether the connection should switch to be bound under the context of the credentials given by this object when this operation is executed.
getUsername ( ) : string | null Get the username that will be used in the authentication operation.
setIsAnonymousBind ( boolean $anonymous ) Set whether this authentication attempt should be an anonymous bind.
setPassword ( string $password ) Set the password that will be used for the authentication operation.
setSwitchToCredentials ( boolean $switchToCredentials ) Set whether the connection should switch to be bound under the context of the credentials given by this object when this operation is executed.
setUsername ( string $username ) Set the username that will be used in the authentication operation.

Защищенные методы

Метод Описание
validateArguments ( ) Validates that the arguments given don't have any issues.

Описание методов

__construct() публичный Метод

public __construct ( null | string $username = null, null | string $password = null )
$username null | string
$password null | string

getArguments() публичный Метод

public getArguments ( )

getIsAnonymousBind() публичный Метод

Get whether this authentication attempt should be an anonymous bind.
public getIsAnonymousBind ( ) : boolean
Результат boolean

getLdapFunction() публичный Метод

public getLdapFunction ( )

getLogArray() публичный Метод

public getLogArray ( )

getName() публичный Метод

public getName ( )

getPassword() публичный Метод

Get the password that will be used for the authentication operation.
public getPassword ( ) : string | null
Результат string | null

getSwitchToCredentials() публичный Метод

Get whether the connection should switch to be bound under the context of the credentials given by this object when this operation is executed.
public getSwitchToCredentials ( ) : boolean
Результат boolean

getUsername() публичный Метод

Get the username that will be used in the authentication operation.
public getUsername ( ) : string | null
Результат string | null

setIsAnonymousBind() публичный Метод

Set whether this authentication attempt should be an anonymous bind.
public setIsAnonymousBind ( boolean $anonymous )
$anonymous boolean

setPassword() публичный Метод

Set the password that will be used for the authentication operation.
public setPassword ( string $password )
$password string

setSwitchToCredentials() публичный Метод

Set whether the connection should switch to be bound under the context of the credentials given by this object when this operation is executed.
public setSwitchToCredentials ( boolean $switchToCredentials )
$switchToCredentials boolean

setUsername() публичный Метод

Set the username that will be used in the authentication operation.
public setUsername ( string $username )
$username string

validateArguments() защищенный Метод

Validates that the arguments given don't have any issues.
protected validateArguments ( )

Описание свойств

$properties защищенное свойство

protected array $properties
Результат array