@@ -35,12 +35,12 @@ |
||
35 | 35 | * @since 15.0.0 |
36 | 36 | */ |
37 | 37 | interface IProvidesPersonalSettings extends IProvider { |
38 | - /** |
|
39 | - * @param IUser $user |
|
40 | - * |
|
41 | - * @return IPersonalProviderSettings |
|
42 | - * |
|
43 | - * @since 15.0.0 |
|
44 | - */ |
|
45 | - public function getPersonalSettings(IUser $user): IPersonalProviderSettings; |
|
38 | + /** |
|
39 | + * @param IUser $user |
|
40 | + * |
|
41 | + * @return IPersonalProviderSettings |
|
42 | + * |
|
43 | + * @since 15.0.0 |
|
44 | + */ |
|
45 | + public function getPersonalSettings(IUser $user): IPersonalProviderSettings; |
|
46 | 46 | } |
@@ -32,10 +32,10 @@ |
||
32 | 32 | * @since 13.0.0 |
33 | 33 | */ |
34 | 34 | interface IProvidesCustomCSP { |
35 | - /** |
|
36 | - * @return ContentSecurityPolicy |
|
37 | - * |
|
38 | - * @since 13.0.0 |
|
39 | - */ |
|
40 | - public function getCSP(): ContentSecurityPolicy; |
|
35 | + /** |
|
36 | + * @return ContentSecurityPolicy |
|
37 | + * |
|
38 | + * @since 13.0.0 |
|
39 | + */ |
|
40 | + public function getCSP(): ContentSecurityPolicy; |
|
41 | 41 | } |
@@ -29,30 +29,30 @@ |
||
29 | 29 | * @since 20.0.0 |
30 | 30 | */ |
31 | 31 | interface IAlternativeLogin { |
32 | - /** |
|
33 | - * Label shown on the login option |
|
34 | - * @return string |
|
35 | - * @since 20.0.0 |
|
36 | - */ |
|
37 | - public function getLabel(): string; |
|
32 | + /** |
|
33 | + * Label shown on the login option |
|
34 | + * @return string |
|
35 | + * @since 20.0.0 |
|
36 | + */ |
|
37 | + public function getLabel(): string; |
|
38 | 38 | |
39 | - /** |
|
40 | - * Relative link to the login option |
|
41 | - * @return string |
|
42 | - * @since 20.0.0 |
|
43 | - */ |
|
44 | - public function getLink(): string; |
|
39 | + /** |
|
40 | + * Relative link to the login option |
|
41 | + * @return string |
|
42 | + * @since 20.0.0 |
|
43 | + */ |
|
44 | + public function getLink(): string; |
|
45 | 45 | |
46 | - /** |
|
47 | - * CSS classes added to the alternative login option on the login screen |
|
48 | - * @return string |
|
49 | - * @since 20.0.0 |
|
50 | - */ |
|
51 | - public function getClass(): string; |
|
46 | + /** |
|
47 | + * CSS classes added to the alternative login option on the login screen |
|
48 | + * @return string |
|
49 | + * @since 20.0.0 |
|
50 | + */ |
|
51 | + public function getClass(): string; |
|
52 | 52 | |
53 | - /** |
|
54 | - * Load necessary resources to present the login option, e.g. style-file to style the getClass() |
|
55 | - * @since 20.0.0 |
|
56 | - */ |
|
57 | - public function load(): void; |
|
53 | + /** |
|
54 | + * Load necessary resources to present the login option, e.g. style-file to style the getClass() |
|
55 | + * @since 20.0.0 |
|
56 | + */ |
|
57 | + public function load(): void; |
|
58 | 58 | } |
@@ -34,24 +34,24 @@ |
||
34 | 34 | * @since 19.0.0 |
35 | 35 | */ |
36 | 36 | class LoginFailedEvent extends Event { |
37 | - /** @var string */ |
|
38 | - private $uid; |
|
37 | + /** @var string */ |
|
38 | + private $uid; |
|
39 | 39 | |
40 | - /** |
|
41 | - * @since 19.0.0 |
|
42 | - */ |
|
43 | - public function __construct(string $uid) { |
|
44 | - parent::__construct(); |
|
40 | + /** |
|
41 | + * @since 19.0.0 |
|
42 | + */ |
|
43 | + public function __construct(string $uid) { |
|
44 | + parent::__construct(); |
|
45 | 45 | |
46 | - $this->uid = $uid; |
|
47 | - } |
|
46 | + $this->uid = $uid; |
|
47 | + } |
|
48 | 48 | |
49 | - /** |
|
50 | - * returns the uid of the user that was tried to login against |
|
51 | - * |
|
52 | - * @since 19.0.0 |
|
53 | - */ |
|
54 | - public function getUid(): string { |
|
55 | - return $this->uid; |
|
56 | - } |
|
49 | + /** |
|
50 | + * returns the uid of the user that was tried to login against |
|
51 | + * |
|
52 | + * @since 19.0.0 |
|
53 | + */ |
|
54 | + public function getUid(): string { |
|
55 | + return $this->uid; |
|
56 | + } |
|
57 | 57 | } |
@@ -30,11 +30,11 @@ |
||
30 | 30 | * @since 23.0.0 |
31 | 31 | */ |
32 | 32 | interface IProvideUserSecretBackend { |
33 | - /** |
|
34 | - * Optionally returns a stable per-user secret. This secret is for |
|
35 | - * instance used to secure file encryption keys. |
|
36 | - * @return string |
|
37 | - * @since 23.0.0 |
|
38 | - */ |
|
39 | - public function getCurrentUserSecret(): string; |
|
33 | + /** |
|
34 | + * Optionally returns a stable per-user secret. This secret is for |
|
35 | + * instance used to secure file encryption keys. |
|
36 | + * @return string |
|
37 | + * @since 23.0.0 |
|
38 | + */ |
|
39 | + public function getCurrentUserSecret(): string; |
|
40 | 40 | } |
@@ -31,13 +31,13 @@ |
||
31 | 31 | * @since 12 |
32 | 32 | */ |
33 | 33 | interface IStore { |
34 | - /** |
|
35 | - * Get login credentials of the currently logged in user |
|
36 | - * |
|
37 | - * @since 12 |
|
38 | - * |
|
39 | - * @throws CredentialsUnavailableException |
|
40 | - * @return ICredentials the login credentials of the current user |
|
41 | - */ |
|
42 | - public function getLoginCredentials(): ICredentials; |
|
34 | + /** |
|
35 | + * Get login credentials of the currently logged in user |
|
36 | + * |
|
37 | + * @since 12 |
|
38 | + * |
|
39 | + * @throws CredentialsUnavailableException |
|
40 | + * @return ICredentials the login credentials of the current user |
|
41 | + */ |
|
42 | + public function getLoginCredentials(): ICredentials; |
|
43 | 43 | } |
@@ -29,31 +29,31 @@ |
||
29 | 29 | * @since 12 |
30 | 30 | */ |
31 | 31 | interface ICredentials { |
32 | - /** |
|
33 | - * Get the user UID |
|
34 | - * |
|
35 | - * @since 12 |
|
36 | - * |
|
37 | - * @return string |
|
38 | - */ |
|
39 | - public function getUID(); |
|
32 | + /** |
|
33 | + * Get the user UID |
|
34 | + * |
|
35 | + * @since 12 |
|
36 | + * |
|
37 | + * @return string |
|
38 | + */ |
|
39 | + public function getUID(); |
|
40 | 40 | |
41 | - /** |
|
42 | - * Get the login name the users used to login |
|
43 | - * |
|
44 | - * @since 12 |
|
45 | - * |
|
46 | - * @return string |
|
47 | - */ |
|
48 | - public function getLoginName(); |
|
41 | + /** |
|
42 | + * Get the login name the users used to login |
|
43 | + * |
|
44 | + * @since 12 |
|
45 | + * |
|
46 | + * @return string |
|
47 | + */ |
|
48 | + public function getLoginName(); |
|
49 | 49 | |
50 | - /** |
|
51 | - * Get the password |
|
52 | - * |
|
53 | - * @since 12 |
|
54 | - * |
|
55 | - * @return string|null |
|
56 | - * @throws PasswordUnavailableException |
|
57 | - */ |
|
58 | - public function getPassword(); |
|
50 | + /** |
|
51 | + * Get the password |
|
52 | + * |
|
53 | + * @since 12 |
|
54 | + * |
|
55 | + * @return string|null |
|
56 | + * @throws PasswordUnavailableException |
|
57 | + */ |
|
58 | + public function getPassword(); |
|
59 | 59 | } |
@@ -35,22 +35,22 @@ |
||
35 | 35 | */ |
36 | 36 | |
37 | 37 | interface IAvatarManager { |
38 | - /** |
|
39 | - * Return a user specific instance of \OCP\IAvatar |
|
40 | - * @see IAvatar |
|
41 | - * @param string $userId the Nextcloud user id |
|
42 | - * @throws \Exception In case the username is potentially dangerous |
|
43 | - * @throws \OCP\Files\NotFoundException In case there is no user folder yet |
|
44 | - * @since 6.0.0 |
|
45 | - */ |
|
46 | - public function getAvatar(string $userId): IAvatar; |
|
38 | + /** |
|
39 | + * Return a user specific instance of \OCP\IAvatar |
|
40 | + * @see IAvatar |
|
41 | + * @param string $userId the Nextcloud user id |
|
42 | + * @throws \Exception In case the username is potentially dangerous |
|
43 | + * @throws \OCP\Files\NotFoundException In case there is no user folder yet |
|
44 | + * @since 6.0.0 |
|
45 | + */ |
|
46 | + public function getAvatar(string $userId): IAvatar; |
|
47 | 47 | |
48 | - /** |
|
49 | - * Returns a guest user avatar instance. |
|
50 | - * |
|
51 | - * @param string $name The guest name, e.g. "Albert". |
|
52 | - * @return IAvatar |
|
53 | - * @since 16.0.0 |
|
54 | - */ |
|
55 | - public function getGuestAvatar(string $name): IAvatar; |
|
48 | + /** |
|
49 | + * Returns a guest user avatar instance. |
|
50 | + * |
|
51 | + * @param string $name The guest name, e.g. "Albert". |
|
52 | + * @return IAvatar |
|
53 | + * @since 16.0.0 |
|
54 | + */ |
|
55 | + public function getGuestAvatar(string $name): IAvatar; |
|
56 | 56 | } |
@@ -35,28 +35,28 @@ |
||
35 | 35 | * @since 9.0.0 |
36 | 36 | */ |
37 | 37 | interface ISystemTagManagerFactory { |
38 | - /** |
|
39 | - * Constructor for the system tag manager factory |
|
40 | - * |
|
41 | - * @param IServerContainer $serverContainer server container |
|
42 | - * @since 9.0.0 |
|
43 | - */ |
|
44 | - public function __construct(IServerContainer $serverContainer); |
|
38 | + /** |
|
39 | + * Constructor for the system tag manager factory |
|
40 | + * |
|
41 | + * @param IServerContainer $serverContainer server container |
|
42 | + * @since 9.0.0 |
|
43 | + */ |
|
44 | + public function __construct(IServerContainer $serverContainer); |
|
45 | 45 | |
46 | - /** |
|
47 | - * creates and returns an instance of the system tag manager |
|
48 | - * |
|
49 | - * @return ISystemTagManager |
|
50 | - * @since 9.0.0 |
|
51 | - */ |
|
52 | - public function getManager(): ISystemTagManager; |
|
46 | + /** |
|
47 | + * creates and returns an instance of the system tag manager |
|
48 | + * |
|
49 | + * @return ISystemTagManager |
|
50 | + * @since 9.0.0 |
|
51 | + */ |
|
52 | + public function getManager(): ISystemTagManager; |
|
53 | 53 | |
54 | - /** |
|
55 | - * creates and returns an instance of the system tag object |
|
56 | - * mapper |
|
57 | - * |
|
58 | - * @return ISystemTagObjectMapper |
|
59 | - * @since 9.0.0 |
|
60 | - */ |
|
61 | - public function getObjectMapper(): ISystemTagObjectMapper; |
|
54 | + /** |
|
55 | + * creates and returns an instance of the system tag object |
|
56 | + * mapper |
|
57 | + * |
|
58 | + * @return ISystemTagObjectMapper |
|
59 | + * @since 9.0.0 |
|
60 | + */ |
|
61 | + public function getObjectMapper(): ISystemTagObjectMapper; |
|
62 | 62 | } |