src/Middleware/ApplyAuthenticationMiddleware.php
protected function getTransportFrom(ServerRequestInterface $request)
    {
        if ($this->value_container instanceof RequestValueContainerInterface) {
            $this->value_container->setRequest($request);
        }

        if ($this->value_container->hasValue()) {
            return $this->value_container->getValue();
        }

        return null;
    }
protected function getTransportFrom(ServerRequestInterface $request)
    {
        if ($this->value_container instanceof RequestValueContainerInterface) {
            $this->value_container->setRequest($request);
        }

        if ($this->value_container->hasValue()) {
            return $this->value_container->getValue();
        }

        return null;
    }
Get authentication response transport from request.

@param  ServerRequestInterface  $request
@return TransportInterface|null