Documentation

AuthHttpBasic
in package
implements MiddlewareInterface

AuthHttpHeader middleware

Purpose: Authenticate using HTTP Basic header

Use Basic Authentication against a Horde_Auth_Base implementation

The factory will inject Horde's configured auth driver

Sets Attributes:

  • HORDE_AUTHENTICATED_USER the uid, if authenticated

Table of Contents

Interfaces

MiddlewareInterface

Properties

$driver  : mixed
$registry  : Horde_Registry

Methods

__construct()  : mixed
Constructor
process()  : ResponseInterface

Properties

Methods

__construct()

Constructor

public __construct(object $driver, Horde_Registry $registry) : mixed

TODO: We need to type the driver or register a factory

Parameters
$driver : object
$registry : Horde_Registry

process()

public process(ServerRequestInterface $request, RequestHandlerInterface $handler) : ResponseInterface
Parameters
$request : ServerRequestInterface
$handler : RequestHandlerInterface
Return values
ResponseInterface

        
On this page

Search results