\Pydio\Share\HttpMinisiteAuthMiddleware

Class MinisiteAuthMiddleware

Summary

Methods
Properties
Constants
handleRequest()
basicHttp()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

handleRequest()

handleRequest(\Psr\Http\Message\ServerRequestInterface  $requestInterface, \Psr\Http\Message\ResponseInterface  $responseInterface, callable  $next = null) : \Psr\Http\Message\ResponseInterface

Parse request parameters

Parameters

\Psr\Http\Message\ServerRequestInterface $requestInterface
\Psr\Http\Message\ResponseInterface $responseInterface
callable $next

Returns

\Psr\Http\Message\ResponseInterface

basicHttp()

basicHttp(string  $presetLogin, \Psr\Http\Message\ServerRequestInterface  $requestInterface, \Psr\Http\Message\ResponseInterface  $responseInterface) : \Psr\Http\Message\ResponseInterface|static

Perform Basic HTTP Auth

Parameters

string $presetLogin
\Psr\Http\Message\ServerRequestInterface $requestInterface
\Psr\Http\Message\ResponseInterface $responseInterface

Throws

\Pydio\Core\Exception\LoginException

Returns

\Psr\Http\Message\ResponseInterface|static