PHP Class LdapTools\Operation\AuthenticationOperation

Author: Chad Sikorra ([email protected])
Inheritance: implements LdapTools\Operation\LdapOperationInterface, use trait LdapOperationTrait
Afficher le fichier Open project: ldaptools/ldaptools Class Usage Examples

Protected Properties

Свойство Type Description
$properties array

Méthodes publiques

Méthode Description
__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.

Méthodes protégées

Méthode Description
validateArguments ( ) Validates that the arguments given don't have any issues.

Method Details

__construct() public méthode

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

getArguments() public méthode

public getArguments ( )

getIsAnonymousBind() public méthode

Get whether this authentication attempt should be an anonymous bind.
public getIsAnonymousBind ( ) : boolean
Résultat boolean

getLdapFunction() public méthode

public getLdapFunction ( )

getLogArray() public méthode

public getLogArray ( )

getName() public méthode

public getName ( )

getPassword() public méthode

Get the password that will be used for the authentication operation.
public getPassword ( ) : string | null
Résultat string | null

getSwitchToCredentials() public méthode

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
Résultat boolean

getUsername() public méthode

Get the username that will be used in the authentication operation.
public getUsername ( ) : string | null
Résultat string | null

setIsAnonymousBind() public méthode

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

setPassword() public méthode

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

setSwitchToCredentials() public méthode

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() public méthode

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

validateArguments() protected méthode

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

Property Details

$properties protected_oe property

protected array $properties
Résultat array