PHP Класс LdapTools\Operation\Handler\AuthenticationOperationHandler

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

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

Метод Описание
execute ( LdapTools\Operation\LdapOperationInterface $operation )
supports ( LdapTools\Operation\LdapOperationInterface $operation )

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

Метод Описание
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.

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

execute() публичный метод

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

getAuthenticationResponse() защищенный метод

Attempts to connect with the given credentials and returns the response.
protected getAuthenticationResponse ( AuthenticationOperation $operation ) : AuthenticationResponse
$operation LdapTools\Operation\AuthenticationOperation
Результат LdapTools\Operation\AuthenticationResponse

supports() публичный метод

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

switchCredentials() защищенный метод

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