Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-11-22 17:18:35 +0300
committerThomas Müller <thomas.mueller@tmit.eu>2016-11-22 17:18:35 +0300
commitb09e81496e30bd162c76c3352dbb3a3cd61ed319 (patch)
treed0f0c3dc2fa2e22dcf8dfea8103247a8f039b5d0 /apps
parentd886da7a68321e699bb22a38ec9748b983ef290e (diff)
No challenge from FedAuth
Diffstat (limited to 'apps')
-rw-r--r--apps/federation/lib/DAV/FedAuth.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/federation/lib/DAV/FedAuth.php b/apps/federation/lib/DAV/FedAuth.php
index 21c0d61487c..b3d39be1c84 100644
--- a/apps/federation/lib/DAV/FedAuth.php
+++ b/apps/federation/lib/DAV/FedAuth.php
@@ -22,6 +22,8 @@ namespace OCA\Federation\DAV;
use OCA\Federation\DbHandler;
use Sabre\DAV\Auth\Backend\AbstractBasic;
+use Sabre\HTTP\RequestInterface;
+use Sabre\HTTP\ResponseInterface;
class FedAuth extends AbstractBasic {
@@ -55,4 +57,11 @@ class FedAuth extends AbstractBasic {
protected function validateUserPass($username, $password) {
return $this->db->auth($username, $password);
}
+
+ /**
+ * @inheritdoc
+ */
+ function challenge(RequestInterface $request, ResponseInterface $response) {
+ }
+
}