add @since annotations and document methods
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
parent
a6dca9e7a0
commit
730442cd8f
|
@ -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();
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue