PHP Class spec\LdapTools\Operation\Handler\AuthenticationOperationHandlerSpec

Inheritance: extends PhpSpec\ObjectBehavior
Mostrar archivo Open project: ldaptools/ldaptools

Public Methods

Method Description
it_is_initializable ( )
it_should_NOT_support_add_delete_rename_query_or_modify_operation ( )
it_should_authenticate_a_user ( $connection )
it_should_authenticate_a_user_and_stay_connected_as_them_if_specified ( DomainConfiguration $config, $connection )
it_should_authenticate_a_user_but_not_reconnect_if_the_connection_wasnt_bound ( $connection )
it_should_call_the_event_dispatchers ( $connection, $dispatcher )
it_should_not_authenticate_if_a_bind_exception_is_thrown ( $connection )
it_should_not_switch_credentials_on_an_authentication_failure ( $connection )
it_should_support_authentication_operations ( )
let ( LdapTools\Connection\LdapConnectionInterface $connection, LdapTools\Event\EventDispatcherInterface $dispatcher )

Method Details

it_is_initializable() public method

public it_is_initializable ( )

it_should_NOT_support_add_delete_rename_query_or_modify_operation() public method

it_should_authenticate_a_user() public method

public it_should_authenticate_a_user ( $connection )

it_should_authenticate_a_user_and_stay_connected_as_them_if_specified() public method

public it_should_authenticate_a_user_and_stay_connected_as_them_if_specified ( DomainConfiguration $config, $connection )
$config LdapTools\DomainConfiguration

it_should_authenticate_a_user_but_not_reconnect_if_the_connection_wasnt_bound() public method

it_should_call_the_event_dispatchers() public method

public it_should_call_the_event_dispatchers ( $connection, $dispatcher )

it_should_not_authenticate_if_a_bind_exception_is_thrown() public method

it_should_not_switch_credentials_on_an_authentication_failure() public method

it_should_support_authentication_operations() public method

let() public method

public let ( LdapTools\Connection\LdapConnectionInterface $connection, LdapTools\Event\EventDispatcherInterface $dispatcher )
$connection LdapTools\Connection\LdapConnectionInterface
$dispatcher LdapTools\Event\EventDispatcherInterface