summaryrefslogtreecommitdiffstats
path: root/apps/federation
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-10-20 12:52:24 +0200
committerLukas Reschke <lukas@statuscode.ch>2016-12-19 15:48:10 +0100
commitb19aad88fb838a7ce02e543a3de2e62e54c69be2 (patch)
tree50fd064fde04fdf02dbfd621c32dc224486d0d6d /apps/federation
parent4a823188a92aa7ae9190ffc603df6a250a5eed43 (diff)
downloadnextcloud-server-b19aad88fb838a7ce02e543a3de2e62e54c69be2.tar.gz
nextcloud-server-b19aad88fb838a7ce02e543a3de2e62e54c69be2.zip
No challenge within federated auth
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'apps/federation')
-rw-r--r--apps/federation/lib/DAV/FedAuth.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/federation/lib/DAV/FedAuth.php b/apps/federation/lib/DAV/FedAuth.php
index 705ccbdd3bb..ae78ffeded9 100644
--- a/apps/federation/lib/DAV/FedAuth.php
+++ b/apps/federation/lib/DAV/FedAuth.php
@@ -24,6 +24,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 {
@@ -57,4 +59,10 @@ class FedAuth extends AbstractBasic {
protected function validateUserPass($username, $password) {
return $this->db->auth($username, $password);
}
+
+ /**
+ * @inheritdoc
+ */
+ function challenge(RequestInterface $request, ResponseInterface $response) {
+ }
}