summaryrefslogtreecommitdiffstats
path: root/lib/public/iservercontainer.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-03-31 11:13:46 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-04-07 13:30:29 +0200
commit6ccd3ffa23882b7d5018d707d2563a12c418fc09 (patch)
tree221a1e42eb6554032e8b72404e04813ed9082a06 /lib/public/iservercontainer.php
parent4843e5ce301c4ac1e4cccf21b7d33e5e2a2b3042 (diff)
downloadnextcloud-server-6ccd3ffa23882b7d5018d707d2563a12c418fc09.tar.gz
nextcloud-server-6ccd3ffa23882b7d5018d707d2563a12c418fc09.zip
adding function getSecureRandom(); to IServerContainer
Diffstat (limited to 'lib/public/iservercontainer.php')
-rw-r--r--lib/public/iservercontainer.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/public/iservercontainer.php b/lib/public/iservercontainer.php
index 2db1fc32499..9e36bc31bed 100644
--- a/lib/public/iservercontainer.php
+++ b/lib/public/iservercontainer.php
@@ -150,13 +150,19 @@ interface IServerContainer {
function getHasher();
/**
+ * Returns a SecureRandom instance
+ *
+ * @return \OCP\Security\ISecureRandom
+ */
+ function getSecureRandom();
+
+ /**
* Returns an instance of the db facade
* @deprecated use getDatabaseConnection, will be removed in ownCloud 10
* @return \OCP\IDb
*/
function getDb();
-
/**
* Returns the app config manager
*