@@ -33,26 +33,26 @@ |
||
33 | 33 | * @since 6.0.0 |
34 | 34 | */ |
35 | 35 | interface IApacheBackend { |
36 | - /** |
|
37 | - * In case the user has been authenticated by a module true is returned. |
|
38 | - * |
|
39 | - * @return boolean whether the module reports a user as currently logged in. |
|
40 | - * @since 6.0.0 |
|
41 | - */ |
|
42 | - public function isSessionActive(); |
|
36 | + /** |
|
37 | + * In case the user has been authenticated by a module true is returned. |
|
38 | + * |
|
39 | + * @return boolean whether the module reports a user as currently logged in. |
|
40 | + * @since 6.0.0 |
|
41 | + */ |
|
42 | + public function isSessionActive(); |
|
43 | 43 | |
44 | - /** |
|
45 | - * Gets the current logout URL |
|
46 | - * |
|
47 | - * @return string |
|
48 | - * @since 12.0.3 |
|
49 | - */ |
|
50 | - public function getLogoutUrl(); |
|
44 | + /** |
|
45 | + * Gets the current logout URL |
|
46 | + * |
|
47 | + * @return string |
|
48 | + * @since 12.0.3 |
|
49 | + */ |
|
50 | + public function getLogoutUrl(); |
|
51 | 51 | |
52 | - /** |
|
53 | - * Return the id of the current user |
|
54 | - * @return string |
|
55 | - * @since 6.0.0 |
|
56 | - */ |
|
57 | - public function getCurrentUserId(); |
|
52 | + /** |
|
53 | + * Return the id of the current user |
|
54 | + * @return string |
|
55 | + * @since 6.0.0 |
|
56 | + */ |
|
57 | + public function getCurrentUserId(); |
|
58 | 58 | } |
@@ -35,14 +35,14 @@ |
||
35 | 35 | * @since 15.0.0 |
36 | 36 | */ |
37 | 37 | interface IActivatableByAdmin extends IProvider { |
38 | - /** |
|
39 | - * Enable this provider for the given user. |
|
40 | - * |
|
41 | - * @param IUser $user the user to activate this provider for |
|
42 | - * |
|
43 | - * @return void |
|
44 | - * |
|
45 | - * @since 15.0.0 |
|
46 | - */ |
|
47 | - public function enableFor(IUser $user); |
|
38 | + /** |
|
39 | + * Enable this provider for the given user. |
|
40 | + * |
|
41 | + * @param IUser $user the user to activate this provider for |
|
42 | + * |
|
43 | + * @return void |
|
44 | + * |
|
45 | + * @since 15.0.0 |
|
46 | + */ |
|
47 | + public function enableFor(IUser $user); |
|
48 | 48 | } |
@@ -35,14 +35,14 @@ |
||
35 | 35 | * @since 15.0.0 |
36 | 36 | */ |
37 | 37 | interface IDeactivatableByAdmin extends IProvider { |
38 | - /** |
|
39 | - * Disable this provider for the given user. |
|
40 | - * |
|
41 | - * @param IUser $user the user to deactivate this provider for |
|
42 | - * |
|
43 | - * @return void |
|
44 | - * |
|
45 | - * @since 15.0.0 |
|
46 | - */ |
|
47 | - public function disableFor(IUser $user); |
|
38 | + /** |
|
39 | + * Disable this provider for the given user. |
|
40 | + * |
|
41 | + * @param IUser $user the user to deactivate this provider for |
|
42 | + * |
|
43 | + * @return void |
|
44 | + * |
|
45 | + * @since 15.0.0 |
|
46 | + */ |
|
47 | + public function disableFor(IUser $user); |
|
48 | 48 | } |
@@ -32,21 +32,21 @@ |
||
32 | 32 | * @since 15.0.0 |
33 | 33 | */ |
34 | 34 | interface IProvidesIcons extends IProvider { |
35 | - /** |
|
36 | - * Get the path to the light (white) icon of this provider |
|
37 | - * |
|
38 | - * @return String |
|
39 | - * |
|
40 | - * @since 15.0.0 |
|
41 | - */ |
|
42 | - public function getLightIcon(): String; |
|
35 | + /** |
|
36 | + * Get the path to the light (white) icon of this provider |
|
37 | + * |
|
38 | + * @return String |
|
39 | + * |
|
40 | + * @since 15.0.0 |
|
41 | + */ |
|
42 | + public function getLightIcon(): String; |
|
43 | 43 | |
44 | - /** |
|
45 | - * Get the path to the dark (black) icon of this provider |
|
46 | - * |
|
47 | - * @return String |
|
48 | - * |
|
49 | - * @since 15.0.0 |
|
50 | - */ |
|
51 | - public function getDarkIcon(): String; |
|
44 | + /** |
|
45 | + * Get the path to the dark (black) icon of this provider |
|
46 | + * |
|
47 | + * @return String |
|
48 | + * |
|
49 | + * @since 15.0.0 |
|
50 | + */ |
|
51 | + public function getDarkIcon(): String; |
|
52 | 52 | } |
@@ -31,12 +31,12 @@ |
||
31 | 31 | * @since 17.0.0 |
32 | 32 | */ |
33 | 33 | interface IActivatableAtLogin extends IProvider { |
34 | - /** |
|
35 | - * @param IUser $user |
|
36 | - * |
|
37 | - * @return ILoginSetupProvider |
|
38 | - * |
|
39 | - * @since 17.0.0 |
|
40 | - */ |
|
41 | - public function getLoginSetup(IUser $user): ILoginSetupProvider; |
|
34 | + /** |
|
35 | + * @param IUser $user |
|
36 | + * |
|
37 | + * @return ILoginSetupProvider |
|
38 | + * |
|
39 | + * @since 17.0.0 |
|
40 | + */ |
|
41 | + public function getLoginSetup(IUser $user): ILoginSetupProvider; |
|
42 | 42 | } |
@@ -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 | } |