2013-07-05 14:49:30 -07:00
|
|
|
<?php
|
|
|
|
/**
|
2014-05-27 20:18:06 +02:00
|
|
|
*
|
|
|
|
* This file is part of the phpBB Forum Software package.
|
|
|
|
*
|
|
|
|
* @copyright (c) phpBB Limited <https://www.phpbb.com>
|
|
|
|
* @license GNU General Public License, version 2 (GPL-2.0)
|
|
|
|
*
|
|
|
|
* For full copyright and license information, please see
|
|
|
|
* the docs/CREDITS.txt file.
|
|
|
|
*
|
|
|
|
*/
|
2013-07-05 14:49:30 -07:00
|
|
|
|
|
|
|
/**
|
2013-07-09 12:03:17 -07:00
|
|
|
* Mock auth provider class with basic functions to help test sessions.
|
2013-07-05 14:49:30 -07:00
|
|
|
*/
|
2013-09-16 02:41:03 +02:00
|
|
|
class phpbb_mock_auth_provider extends \phpbb\auth\provider\base
|
2013-07-08 16:38:53 -07:00
|
|
|
{
|
2013-08-27 19:36:19 -04:00
|
|
|
public function login($username, $password)
|
2013-07-08 10:28:40 -07:00
|
|
|
{
|
|
|
|
return array(
|
2013-07-22 17:39:45 -07:00
|
|
|
'status' => "",
|
|
|
|
'error_msg' => "",
|
|
|
|
'user_row' => "",
|
|
|
|
);
|
2013-07-08 10:28:40 -07:00
|
|
|
}
|
2013-07-05 14:49:30 -07:00
|
|
|
}
|