PHP Class LdapTools\Operation\Handler\AuthenticationOperationHandler

Author: Chad Sikorra ([email protected])
Inheritance: implements LdapTools\Operation\Handler\OperationHandlerInterface, use trait OperationHandlerTrait
Afficher le fichier Open project: ldaptools/ldaptools

Méthodes publiques

Méthode Description
execute ( LdapTools\Operation\LdapOperationInterface $operation )
supports ( LdapTools\Operation\LdapOperationInterface $operation )

Méthodes protégées

Méthode Description
getAuthenticationResponse ( AuthenticationOperation $operation ) : AuthenticationResponse Attempts to connect with the given credentials and returns the response.
switchCredentials ( AuthenticationOperation $operation ) If the operation requested that the credentials be switched, then update the credential information in the connections config. Otherwise it will switch again on other auth-attempts or re-connects.

Method Details

execute() public méthode

public execute ( LdapTools\Operation\LdapOperationInterface $operation )
$operation LdapTools\Operation\LdapOperationInterface

getAuthenticationResponse() protected méthode

Attempts to connect with the given credentials and returns the response.
protected getAuthenticationResponse ( AuthenticationOperation $operation ) : AuthenticationResponse
$operation LdapTools\Operation\AuthenticationOperation
Résultat LdapTools\Operation\AuthenticationResponse

supports() public méthode

public supports ( LdapTools\Operation\LdapOperationInterface $operation )
$operation LdapTools\Operation\LdapOperationInterface

switchCredentials() protected méthode

If the operation requested that the credentials be switched, then update the credential information in the connections config. Otherwise it will switch again on other auth-attempts or re-connects.
protected switchCredentials ( AuthenticationOperation $operation )
$operation LdapTools\Operation\AuthenticationOperation