summaryrefslogtreecommitdiffstats
path: root/db
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2016-03-25 15:31:17 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2016-03-25 19:48:06 +0100
commit0d5c4e438e001ef21dfae69df4ae186b697d2efc (patch)
tree82e00390f6bac6fbcb1bb09479982167b5e792f4 /db
parentf7520a8fe7191475668904f5f8c1816df25e2e5a (diff)
add basic basic auth support
Diffstat (limited to 'db')
-rw-r--r--db/feed.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/db/feed.php b/db/feed.php
index 5e2c7fab0..f78b1f364 100644
--- a/db/feed.php
+++ b/db/feed.php
@@ -56,6 +56,10 @@ use \OCP\AppFramework\Db\Entity;
* @method void setUpdateErrorCount(integer $value)
* @method string getLastUpdateError()
* @method void setLastUpdateError(string $value)
+ * @method string getBasicAuthUser()
+ * @method void setBasicAuthUser(string $value)
+ * @method string getBasicAuthPassword()
+ * @method void setBasicAuthPassword(string $value)
*/
class Feed extends Entity implements IAPI, \JsonSerializable {
@@ -82,6 +86,8 @@ class Feed extends Entity implements IAPI, \JsonSerializable {
protected $updateMode;
protected $updateErrorCount;
protected $lastUpdateError;
+ protected $basicAuthUser;
+ protected $basicAuthPassword;
public function __construct(){
$this->addType('parentId', 'integer');
@@ -123,7 +129,9 @@ class Feed extends Entity implements IAPI, \JsonSerializable {
'pinned',
'updateMode',
'updateErrorCount',
- 'lastUpdateError'
+ 'lastUpdateError',
+ 'basicAuthUser',
+ 'basicAuthPassword'
]);
$url = parse_url($this->link)['host'];