Documentation

DemandAuthenticatedUser
in package
implements MiddlewareInterface

DemandAuthenticatedUser middleware Returns 401 response if not authenticated

Reads attribute:

  • HORDE_AUTHENTICATED_USER the uid, if authenticated
Tags
author

Mahdi Pasche pasche@b1-systems.de

category

Horde

copyright

2013-2021 Horde LLC

license

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

Table of Contents

Interfaces

MiddlewareInterface

Properties

$responseFactory  : ResponseFactoryInterface

Methods

__construct()  : mixed
process()  : ResponseInterface

Properties

Methods

__construct()

public __construct(ResponseFactoryInterface $responseFactory) : mixed
Parameters
$responseFactory : ResponseFactoryInterface

process()

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

        
On this page

Search results