| 1 | <?php |
||
| 15 | class TestPlugin extends BaseAuthPlugin |
||
| 16 | { |
||
| 17 | use LoggerAwareTrait; |
||
| 18 | use SharedLoggerTrait; |
||
| 19 | |||
| 20 | protected $result = Auth::RESULT_NOOP; |
||
| 21 | |||
| 22 | private function action() |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Pass through the auth object for unit test. |
||
| 32 | * |
||
| 33 | * @return Auth |
||
| 34 | */ |
||
| 35 | public function getAuthObject() |
||
| 39 | |||
| 40 | public function setResult($result) |
||
| 56 | |||
| 57 | public function returnTrue() |
||
| 73 | } |
||
| 74 |