ice framework documentation ice doc v1.10.1
Class Ice Auth Driver

DriverInterface

    
namespace Ice\Auth\Driver;

/**
 * Auth driver interface.
 *
 * @package     Ice/Auth
 * @category    Interface
 * @author      Ice Team
 * @copyright   (c) 2014-2023 Ice Team
 * @license     http://iceframework.org/license
 */
interface DriverInterface
{
    public function getUser(var defaultValue = null);
    public function hasRole(var user, string role = "login");
    public function login(var username, string password, boolean remember = false, boolean force = false);
}