aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/sabre/dav/lib/DAV/Auth
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/sabre/dav/lib/DAV/Auth')
-rw-r--r--vendor/sabre/dav/lib/DAV/Auth/Backend/AbstractBasic.php6
-rw-r--r--vendor/sabre/dav/lib/DAV/Auth/Backend/AbstractBearer.php6
-rw-r--r--vendor/sabre/dav/lib/DAV/Auth/Backend/AbstractDigest.php6
-rw-r--r--vendor/sabre/dav/lib/DAV/Auth/Backend/Apache.php6
-rw-r--r--vendor/sabre/dav/lib/DAV/Auth/Backend/BackendInterface.php6
-rw-r--r--vendor/sabre/dav/lib/DAV/Auth/Backend/BasicCallBack.php2
-rw-r--r--vendor/sabre/dav/lib/DAV/Auth/Backend/PDO.php2
-rw-r--r--vendor/sabre/dav/lib/DAV/Auth/Plugin.php13
8 files changed, 47 insertions, 0 deletions
diff --git a/vendor/sabre/dav/lib/DAV/Auth/Backend/AbstractBasic.php b/vendor/sabre/dav/lib/DAV/Auth/Backend/AbstractBasic.php
index 3132333b7..aa8b1f573 100644
--- a/vendor/sabre/dav/lib/DAV/Auth/Backend/AbstractBasic.php
+++ b/vendor/sabre/dav/lib/DAV/Auth/Backend/AbstractBasic.php
@@ -86,6 +86,9 @@ abstract class AbstractBasic implements BackendInterface
*
* principals/users/[username]
*
+ * @param RequestInterface $request
+ * @param ResponseInterface $response
+ *
* @return array
*/
public function check(RequestInterface $request, ResponseInterface $response)
@@ -123,6 +126,9 @@ abstract class AbstractBasic implements BackendInterface
* WWW-Authenticate headers may already have been set, and you'll want to
* append your own WWW-Authenticate header instead of overwriting the
* existing one.
+ *
+ * @param RequestInterface $request
+ * @param ResponseInterface $response
*/
public function challenge(RequestInterface $request, ResponseInterface $response)
{
diff --git a/vendor/sabre/dav/lib/DAV/Auth/Backend/AbstractBearer.php b/vendor/sabre/dav/lib/DAV/Auth/Backend/AbstractBearer.php
index b6817479f..a2653b2b0 100644
--- a/vendor/sabre/dav/lib/DAV/Auth/Backend/AbstractBearer.php
+++ b/vendor/sabre/dav/lib/DAV/Auth/Backend/AbstractBearer.php
@@ -79,6 +79,9 @@ abstract class AbstractBearer implements BackendInterface
*
* principals/users/[username]
*
+ * @param RequestInterface $request
+ * @param ResponseInterface $response
+ *
* @return array
*/
public function check(RequestInterface $request, ResponseInterface $response)
@@ -117,6 +120,9 @@ abstract class AbstractBearer implements BackendInterface
* WWW-Authenticate headers may already have been set, and you'll want to
* append your own WWW-Authenticate header instead of overwriting the
* existing one.
+ *
+ * @param RequestInterface $request
+ * @param ResponseInterface $response
*/
public function challenge(RequestInterface $request, ResponseInterface $response)
{
diff --git a/vendor/sabre/dav/lib/DAV/Auth/Backend/AbstractDigest.php b/vendor/sabre/dav/lib/DAV/Auth/Backend/AbstractDigest.php
index 297655da3..06c9ed3a4 100644
--- a/vendor/sabre/dav/lib/DAV/Auth/Backend/AbstractDigest.php
+++ b/vendor/sabre/dav/lib/DAV/Auth/Backend/AbstractDigest.php
@@ -89,6 +89,9 @@ abstract class AbstractDigest implements BackendInterface
*
* principals/users/[username]
*
+ * @param RequestInterface $request
+ * @param ResponseInterface $response
+ *
* @return array
*/
public function check(RequestInterface $request, ResponseInterface $response)
@@ -140,6 +143,9 @@ abstract class AbstractDigest implements BackendInterface
* WWW-Authenticate headers may already have been set, and you'll want to
* append your own WWW-Authenticate header instead of overwriting the
* existing one.
+ *
+ * @param RequestInterface $request
+ * @param ResponseInterface $response
*/
public function challenge(RequestInterface $request, ResponseInterface $response)
{
diff --git a/vendor/sabre/dav/lib/DAV/Auth/Backend/Apache.php b/vendor/sabre/dav/lib/DAV/Auth/Backend/Apache.php
index ebf67cab2..201fe615c 100644
--- a/vendor/sabre/dav/lib/DAV/Auth/Backend/Apache.php
+++ b/vendor/sabre/dav/lib/DAV/Auth/Backend/Apache.php
@@ -52,6 +52,9 @@ class Apache implements BackendInterface
*
* principals/users/[username]
*
+ * @param RequestInterface $request
+ * @param ResponseInterface $response
+ *
* @return array
*/
public function check(RequestInterface $request, ResponseInterface $response)
@@ -86,6 +89,9 @@ class Apache implements BackendInterface
* WWW-Authenticate headers may already have been set, and you'll want to
* append your own WWW-Authenticate header instead of overwriting the
* existing one.
+ *
+ * @param RequestInterface $request
+ * @param ResponseInterface $response
*/
public function challenge(RequestInterface $request, ResponseInterface $response)
{
diff --git a/vendor/sabre/dav/lib/DAV/Auth/Backend/BackendInterface.php b/vendor/sabre/dav/lib/DAV/Auth/Backend/BackendInterface.php
index 133eac926..8598791fb 100644
--- a/vendor/sabre/dav/lib/DAV/Auth/Backend/BackendInterface.php
+++ b/vendor/sabre/dav/lib/DAV/Auth/Backend/BackendInterface.php
@@ -40,6 +40,9 @@ interface BackendInterface
*
* principals/users/[username]
*
+ * @param RequestInterface $request
+ * @param ResponseInterface $response
+ *
* @return array
*/
public function check(RequestInterface $request, ResponseInterface $response);
@@ -60,6 +63,9 @@ interface BackendInterface
* WWW-Authenticate headers may already have been set, and you'll want to
* append your own WWW-Authenticate header instead of overwriting the
* existing one.
+ *
+ * @param RequestInterface $request
+ * @param ResponseInterface $response
*/
public function challenge(RequestInterface $request, ResponseInterface $response);
}
diff --git a/vendor/sabre/dav/lib/DAV/Auth/Backend/BasicCallBack.php b/vendor/sabre/dav/lib/DAV/Auth/Backend/BasicCallBack.php
index 5a8bb98ce..aab3c5e1c 100644
--- a/vendor/sabre/dav/lib/DAV/Auth/Backend/BasicCallBack.php
+++ b/vendor/sabre/dav/lib/DAV/Auth/Backend/BasicCallBack.php
@@ -30,6 +30,8 @@ class BasicCallBack extends AbstractBasic
*
* A callback must be provided to handle checking the username and
* password.
+ *
+ * @param callable $callBack
*/
public function __construct(callable $callBack)
{
diff --git a/vendor/sabre/dav/lib/DAV/Auth/Backend/PDO.php b/vendor/sabre/dav/lib/DAV/Auth/Backend/PDO.php
index 9a06912d1..87ead6fcd 100644
--- a/vendor/sabre/dav/lib/DAV/Auth/Backend/PDO.php
+++ b/vendor/sabre/dav/lib/DAV/Auth/Backend/PDO.php
@@ -31,6 +31,8 @@ class PDO extends AbstractDigest
* Creates the backend object.
*
* If the filename argument is passed in, it will parse out the specified file fist.
+ *
+ * @param \PDO $pdo
*/
public function __construct(\PDO $pdo)
{
diff --git a/vendor/sabre/dav/lib/DAV/Auth/Plugin.php b/vendor/sabre/dav/lib/DAV/Auth/Plugin.php
index 68adbede5..9be90283f 100644
--- a/vendor/sabre/dav/lib/DAV/Auth/Plugin.php
+++ b/vendor/sabre/dav/lib/DAV/Auth/Plugin.php
@@ -67,6 +67,8 @@ class Plugin extends ServerPlugin
/**
* Adds an authentication backend to the plugin.
+ *
+ * @param Backend\BackendInterface $authBackend
*/
public function addBackend(Backend\BackendInterface $authBackend)
{
@@ -75,6 +77,8 @@ class Plugin extends ServerPlugin
/**
* Initializes the plugin. This function is automatically called by the server.
+ *
+ * @param Server $server
*/
public function initialize(Server $server)
{
@@ -114,6 +118,9 @@ class Plugin extends ServerPlugin
/**
* This method is called before any HTTP method and forces users to be authenticated.
*
+ * @param RequestInterface $request
+ * @param ResponseInterface $response
+ *
* @return bool
*/
public function beforeMethod(RequestInterface $request, ResponseInterface $response)
@@ -169,6 +176,9 @@ class Plugin extends ServerPlugin
* unsuccessful. For every auth backend there will be one reason, so usually
* there's just one.
*
+ * @param RequestInterface $request
+ * @param ResponseInterface $response
+ *
* @return array
*/
public function check(RequestInterface $request, ResponseInterface $response)
@@ -205,6 +215,9 @@ class Plugin extends ServerPlugin
* WWW-Authorization header, indicating to the client that it should
* authenticate.
*
+ * @param RequestInterface $request
+ * @param ResponseInterface $response
+ *
* @return array
*/
public function challenge(RequestInterface $request, ResponseInterface $response)