| 1 | <?php |
||
| 13 | class TestAuthenticationPlugin extends AbstractAuthenticationPlugin |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * The "credentials" returned by getCredentials for testing. |
||
| 17 | * |
||
| 18 | * @var mixed |
||
| 19 | */ |
||
| 20 | public $credentials = array('ignored', 'ignored'); |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Extract credentials from the "request"... Or the hard-coded test values above. |
||
| 24 | * |
||
| 25 | * @return mixed An array of credentials; A username and password pair, or false if credentials aren't available |
||
| 26 | */ |
||
| 27 | public function getCredentials() |
||
| 31 | } |
||
| 32 |