\Pydio\Core\Http\CliAuthCliMiddleware

Authenticatino middleware used in Command Line context

Summary

Methods
Properties
Constants
handleRequest()
No public properties found
No constants found
authenticateFromCliParameters()
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|null  $next = null) : \Psr\Http\Message\ResponseInterface

Parameters

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

Throws

\Pydio\Core\Exception\AuthRequiredException

Returns

\Psr\Http\Message\ResponseInterface

authenticateFromCliParameters()

authenticateFromCliParameters(  $options) : \Pydio\Core\Model\UserInterface

Parameters

$options

Throws

\Pydio\Core\Exception\AuthRequiredException

Returns

\Pydio\Core\Model\UserInterface