summaryrefslogtreecommitdiffstats
path: root/lib/public/irequest.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2013-09-27 15:16:34 +0200
committerBart Visscher <bartv@thisnet.nl>2013-10-04 18:13:04 +0200
commit21cbef0d2cc80228d2a473ccfb6ad5b071f314c7 (patch)
tree214ccd2c50590fc6c996280797be93e0b1aeae92 /lib/public/irequest.php
parent61a9098b7d88656d0297a18c1b7685c04d1c64dc (diff)
downloadnextcloud-server-21cbef0d2cc80228d2a473ccfb6ad5b071f314c7.tar.gz
nextcloud-server-21cbef0d2cc80228d2a473ccfb6ad5b071f314c7.zip
passesCSRFCheck added to OCP\IRequest
Diffstat (limited to 'lib/public/irequest.php')
-rw-r--r--lib/public/irequest.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/public/irequest.php b/lib/public/irequest.php
index 054f15d9eb2..45b27868d70 100644
--- a/lib/public/irequest.php
+++ b/lib/public/irequest.php
@@ -107,4 +107,9 @@ interface IRequest {
function getCookie($key);
+ /**
+ * Checks if the CSRF check was correct
+ * @return bool true if CSRF check passed
+ */
+ public function passesCSRFCheck();
}