Attempts to return a concrete Horde_Auth_Base instance based on
$driver.
public static factory ( string $driver, array $params = null ) : Horde_Auth_Base | ||
$driver | string | Either a driver name, or the full class name to use (class must extend Horde_Auth_Base). |
$params | array | A hash containing any additional configuration or parameters a subclass might need. |
return | Horde_Auth_Base | The newly created concrete instance. |