ProxyAuthenticationRequired
Less than 1 minute
ProxyAuthenticationRequired
HTTP 407 Proxy Authentication Required response class.
class ProxyAuthenticationRequired extends \Hazaar\Controller\ResponseExtends: Hazaar\Controller\Response
This response indicates that the client must first authenticate itself with the proxy. This is similar to the 401 Unauthorized response, but the authentication must be performed by a proxy server.
Methods
__construct
Constructs the HTTP 407 Proxy Authentication Required response.
public __construct(string $contentType = 'text/html'): voidThis constructor initializes the response with a status code of 407 and sets the content type.
Parameters
| Parameter | Type | Description |
|---|---|---|
$contentType | string | The content type of the response. Defaults to text/html. |
Generated by Hazaar API Doc Generator on Fri, 04 Sep 2026 23:32:16 +0000