aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Authentication/LoginCredentials
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-05-12 12:53:29 -0500
committerMorris Jobke <hey@morrisjobke.de>2017-05-12 12:53:29 -0500
commit6bc2be991ef4d8377ce17756f3b3df591e53af35 (patch)
treebfe403e939cc85dc68305f3253fb4a3dc378525e /lib/public/Authentication/LoginCredentials
parentd83f1d96d4541e8e5a686be94b9c03ebb31f5f76 (diff)
downloadnextcloud-server-6bc2be991ef4d8377ce17756f3b3df591e53af35.tar.gz
nextcloud-server-6bc2be991ef4d8377ce17756f3b3df591e53af35.zip
Thows exception if password not available
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/public/Authentication/LoginCredentials')
-rw-r--r--lib/public/Authentication/LoginCredentials/ICredentials.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/public/Authentication/LoginCredentials/ICredentials.php b/lib/public/Authentication/LoginCredentials/ICredentials.php
index c5ef9574398..1734e3e0715 100644
--- a/lib/public/Authentication/LoginCredentials/ICredentials.php
+++ b/lib/public/Authentication/LoginCredentials/ICredentials.php
@@ -24,6 +24,8 @@
namespace OCP\Authentication\LoginCredentials;
+use OCP\Authentication\Exceptions\PasswordUnavailableException;
+
/**
* @since 12
*/
@@ -53,6 +55,7 @@ interface ICredentials {
* @since 12
*
* @return string
+ * @throws PasswordUnavailableException
*/
public function getPassword();
}