Documentation

Horde_Core_Factory_Auth extends Horde_Core_Factory_Base
in package

A Horde_Injector:: based Horde_Auth:: factory.

Copyright 2010-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.

Tags
category

Horde

author

Michael Slusarz slusarz@horde.org

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

Table of Contents

Properties

$_injector  : Horde_Injector
The injector.
$_instances  : array<string|int, mixed>
Singleton instances.

Methods

__construct()  : mixed
Constructor.
create()  : Horde_Core_Auth_Application
Return the Horde_Auth:: instance.
_create()  : Horde_Auth_Base
Returns a Horde_Auth_Base driver for the given driver/configuration.
_getDriverName()  : string
Return the classname of the driver to load.

Properties

$_injector

The injector.

protected Horde_Injector $_injector

$_instances

Singleton instances.

private array<string|int, mixed> $_instances = array()

Methods

__construct()

Constructor.

public __construct(Horde_Injector $injector) : mixed
Parameters
$injector : Horde_Injector

The injector to use.

_create()

Returns a Horde_Auth_Base driver for the given driver/configuration.

protected _create(string $driver[, array<string|int, mixed> $orig_params = null ]) : Horde_Auth_Base
Parameters
$driver : string

Driver name.

$orig_params : array<string|int, mixed> = null

Driver parameters.

Return values
Horde_Auth_Base

Authentication object.

_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
throws
Horde_Exception
Return values
string

Classname.


        
On this page

Search results