PHP 클래스 LdapTools\Operation\Handler\AuthenticationOperationHandler

저자: Chad Sikorra ([email protected])
상속: implements LdapTools\Operation\Handler\OperationHandlerInterface, use trait OperationHandlerTrait
파일 보기 프로젝트 열기: ldaptools/ldaptools

공개 메소드들

메소드 설명
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