From 4274a6f4a42d6354b9f02f707d1150678d6817b5 Mon Sep 17 00:00:00 2001 From: Dave Mc Nicoll Date: Wed, 31 May 2023 18:12:38 +0000 Subject: [PATCH] - Removed some outer references --- skeleton/meta/config.php | 8 -------- skeleton/meta/definitions/auth.php | 4 ---- 2 files changed, 12 deletions(-) diff --git a/skeleton/meta/config.php b/skeleton/meta/config.php index 68fd37f..99fbb40 100644 --- a/skeleton/meta/config.php +++ b/skeleton/meta/config.php @@ -17,14 +17,6 @@ return [ 'application_name' => "", ], - 'api' => [ - 'auth' => [ - 'type' => \CSLSJ\Api\AuthType::AUTH_HEADER_BASIC, - 'username' => getenv('CSSLSJ_API_USERNAME'), - 'password' => getenv('CSSLSJ_API_PASSWORD'), - ] - ], - 'ulmus' => [ 'connections' => [ 'default' => [ diff --git a/skeleton/meta/definitions/auth.php b/skeleton/meta/definitions/auth.php index 5b29ebe..9405214 100644 --- a/skeleton/meta/definitions/auth.php +++ b/skeleton/meta/definitions/auth.php @@ -50,10 +50,6 @@ return [ }; }, - CSLSJ\Api\Client::class => create(CSLSJ\Api\Client::class)->constructor(get('api.authentication'), getenv('CSSLSJ_API_URL')), - - 'api.authentication' => function ($c) { return $c->get('config')['api']['auth']; }, - EmailConfiguration::class => function($c) { $email = new EmailConfiguration( EmailConfiguration::AUTH_TYPE_SMTP ); $email->smtpHost = getenv('SMTP_HOSTNAME');