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