1: <?php
2: /**
3: * The Horde_Core_Auth_Composite class provides Horde-specific functions
4: * on top of the base composite driver.
5: *
6: * Copyright 2011-2012 Horde LLC (http://www.horde.org/)
7: *
8: * See the enclosed file COPYING for license information (LGPL). If you did
9: * not receive this file, see http://opensource.org/licenses/lgpl-2.1.php
10: *
11: * @author Michael Slusarz <slusarz@horde.org>
12: * @category Horde
13: * @license http://opensource.org/licenses/lgpl-2.1.php LGPL
14: * @package Core
15: */
16: class Horde_Core_Auth_Composite extends Horde_Auth_Composite
17: {
18: /**
19: * Returns information on what login parameters to display on the login
20: * screen.
21: *
22: * @see Horde_Core_Auth_Application::getLoginParams()
23: *
24: * @throws Horde_Exception
25: */
26: public function getLoginParams()
27: {
28: if (method_exists($this->_params['auth_driver'], 'getLoginParams')) {
29: return $this->_params['auth_driver']->getLoginParams();
30: }
31:
32: return array(
33: 'js_code' => array(),
34: 'js_files' => array(),
35: 'params' => array()
36: );
37: }
38:
39: }
40: