summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@owncloud.com>2016-04-25 10:23:06 +0200
committerChristoph Wurst <christoph@owncloud.com>2016-04-25 10:36:24 +0200
commit0d53e86421faef0300d509b385934754b4dab88c (patch)
treef5319c156015c720115941cc4b3e79d3cfa7b9f7 /lib/public
parent74de72e75e68cb3aaffa2ab90fbd685e755b4262 (diff)
downloadnextcloud-server-0d53e86421faef0300d509b385934754b4dab88c.tar.gz
nextcloud-server-0d53e86421faef0300d509b385934754b4dab88c.zip
add ISession::getId() wrapper for session_id
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/isession.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/public/isession.php b/lib/public/isession.php
index 25c76906d63..16c6f9bc6a5 100644
--- a/lib/public/isession.php
+++ b/lib/public/isession.php
@@ -95,4 +95,12 @@ interface ISession {
* @since 9.0.0
*/
public function regenerateId($deleteOldSession = true);
+
+ /**
+ * Wrapper around session_id
+ *
+ * @return string
+ * @since 9.1.0
+ */
+ public function getId();
}