X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FDI.php;h=73f9b7811d37abf5e6f38752e5c2f599ebb4980c;hb=3f523a88b0af4e2a73b29917da33d221abef9647;hp=4db53f271b8ddba00b9d057acb06a56cd8de3e30;hpb=cdb61be06fd8571d1cbd18c875b8f69ea01295a0;p=friendica.git diff --git a/src/DI.php b/src/DI.php index 4db53f271b..73f9b7811d 100644 --- a/src/DI.php +++ b/src/DI.php @@ -63,14 +63,6 @@ abstract class DI // "App" namespace instances // - /** - * @return App\Authentication - */ - public static function auth() - { - return self::$dice->create(App\Authentication::class); - } - /** * @return App\Arguments */ @@ -406,6 +398,18 @@ abstract class DI return self::$dice->create(Protocol\Activity::class); } + // + // "Security" namespace instances + // + + /** + * @return \Friendica\Security\Authentication + */ + public static function auth() + { + return self::$dice->create(Security\Authentication::class); + } + // // "Util" namespace instances //