Documentation

DemandGlobalAdmin
in package
implements MiddlewareInterface

DemandGlobalAdmin middleware Returns 403 response if authenticated user is not global admin

Reads attribute:

  • HORDE_GLOBAL_ADMIN true if the authenticated user is a global admin
Tags
author

Mahdi Pasche pasche@b1-systems.de

category

Horde

copyright

2013-2022 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