Matthias Andreas Benkard | 7b2a3a1 | 2021-08-16 10:57:25 +0200 | [diff] [blame^] | 1 | <?php |
2 | |||||
3 | namespace LdapRecord\Testing; | ||||
4 | |||||
5 | use LdapRecord\Auth\Guard; | ||||
6 | |||||
7 | class AuthGuardFake extends Guard | ||||
8 | { | ||||
9 | /** | ||||
10 | * Always allow binding as configured user. | ||||
11 | * | ||||
12 | * @return bool | ||||
13 | */ | ||||
14 | public function bindAsConfiguredUser() | ||||
15 | { | ||||
16 | return true; | ||||
17 | } | ||||
18 | } |