Documentation

Session
in package
implements MiddlewareInterface

Returns HTTP 401 if no session is defined by other means like BasicAuth, or KeyHeaderAuth.

Tags
since
18.0.41

Interfaces, Classes and Traits

MiddlewareInterface

Table of Contents

__construct()  : mixed
process()  : ResponseInterface

Methods

__construct()

public __construct(ResponseFactoryInterface $factory) : mixed
Parameters
$factory : ResponseFactoryInterface
Return values
mixed

process()

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

Search results