class UnauthorizedHttpException extends HttpException
__construct(string $challenge, string $message = null, Exception $previous = null, int|null $code = 0, array $headers = array()) | ||
int | getStatusCode() Returns the status code. | from HttpException |
array | getHeaders() Returns response headers. | from HttpException |
setHeaders(array $headers) Set response headers. | from HttpException |
string | $challenge | WWW-Authenticate challenge string |
string | $message | |
Exception | $previous | |
int|null | $code | |
array | $headers |
Returns the status code.
int | An HTTP response status code |
Returns response headers.
array | Response headers |
Set response headers.
array | $headers | Response headers |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/HttpKernel/Exception/UnauthorizedHttpException.html