add @since annotations and document methods

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst 2016-11-08 11:59:09 +01:00 committed by Roeland Jago Douma
parent a6dca9e7a0
commit 730442cd8f
No known key found for this signature in database
GPG Key ID: F941078878347C0C
2 changed files with 14 additions and 0 deletions

View File

@ -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();

View File

@ -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