diff options
-rw-r--r-- | lib/public/Authentication/LoginCredentials/ICredentials.php | 12 | ||||
-rw-r--r-- | lib/public/Authentication/LoginCredentials/IStore.php | 2 |
2 files changed, 14 insertions, 0 deletions
diff --git a/lib/public/Authentication/LoginCredentials/ICredentials.php b/lib/public/Authentication/LoginCredentials/ICredentials.php index 97c88dda5de..46c6f26701f 100644 --- a/lib/public/Authentication/LoginCredentials/ICredentials.php +++ b/lib/public/Authentication/LoginCredentials/ICredentials.php @@ -30,16 +30,28 @@ namespace OCP\Authentication\LoginCredentials; interface ICredentials { /** + * Get the user UID + * + * @since 9.2 + * * @return string */ public function getUID(); /** + * Get the login name the users used to login + * + * @since 9.2 + * * @return string */ public function getLoginName(); /** + * Get the password + * + * @since 9.2 + * * @return string */ public function getPassword(); diff --git a/lib/public/Authentication/LoginCredentials/IStore.php b/lib/public/Authentication/LoginCredentials/IStore.php index a35e9214e7e..549f0e7759b 100644 --- a/lib/public/Authentication/LoginCredentials/IStore.php +++ b/lib/public/Authentication/LoginCredentials/IStore.php @@ -32,6 +32,8 @@ use OCP\Authentication\Exceptions\CredentialsUnavailableException; interface IStore { /** + * Get login credentials of the currently logged in user + * * @since 9.2 * * @throws CredentialsUnavailableException |