aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mock/auth_provider.php
blob: 734e682ee9492d18b800d6576b38cb71997d1c57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
/**
 *
 * @package testing
 * @copyright (c) 2013 phpBB Group
 * @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
 *
 */

/**
 * Mock auth provider class with basic functions to help test sessions.
 */
class phpbb_mock_auth_provider extends \phpbb\auth\provider\base
{
	public function login($username, $password)
	{
		return array(
			'status' => "",
			'error_msg' => "",
			'user_row' => "",
		);
	}
}