]> git.mxchange.org Git - friendica.git/blobdiff - src/Network/HTTPException/UnauthorizedException.php
spelling: one
[friendica.git] / src / Network / HTTPException / UnauthorizedException.php
index 389f1b796154073ee2dba711aa82c8201f460454..dfe8719f9f68d6c80e1f9da8333e0e78c4a19953 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -25,5 +25,7 @@ use Friendica\Network\HTTPException;
 
 class UnauthorizedException extends HTTPException
 {
-       protected $code = 401;
+       protected $code        = 401;
+       protected $httpdesc    = 'Unauthorized';
+       protected $explanation = 'Authentication is required and has failed or has not yet been provided.';
 }