AuthHttpBasicFactory
extends Horde_Core_Factory_Injector
in package
The abstract Horde injector class.
This class is used for factories that are intended to be directly called by the Horde_Injector instance.
Copyright 2011-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Table of Contents
Properties
- $_injector : Horde_Injector
- The injector.
Methods
- __construct() : mixed
- Constructor.
- create() : AuthHttpBasic
- Create an instance of the AuthHttpBasic middleware
- _getDriverName() : string
- Return the classname of the driver to load.
Properties
$_injector
The injector.
protected
Horde_Injector
$_injector
Methods
__construct()
Constructor.
public
__construct(Horde_Injector $injector) : mixed
Parameters
- $injector : Horde_Injector
-
The injector to use.
create()
Create an instance of the AuthHttpBasic middleware
public
create(Injector $injector) : AuthHttpBasic
This will leverage the configured horde base authentication driver
Parameters
- $injector : Injector
Return values
AuthHttpBasic_getDriverName()
Return the classname of the driver to load.
protected
_getDriverName(string $driver, string $base) : string
Parameters
- $driver : string
-
Driver name.
- $base : string
-
The base classname.
Tags
Return values
string —Classname.