Documentation

ApiKey
in package
implements MiddlewareInterface

Initializes Plesk session from the "X-API-Key" header.

Tags
see
Session

To enforce that session was opened by this middleware.

since
18.0.41

Interfaces, Classes and Traits

MiddlewareInterface

Table of Contents

__construct()  : mixed
process()  : ResponseInterface

Methods

__construct()

public __construct([int $loginDelay = null ]) : mixed
Parameters
$loginDelay : int = null
Return values
mixed

process()

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

Search results