From 498af55fcf0527940b98077bec2741d051bc449f Mon Sep 17 00:00:00 2001 From: Mishkat Najam Date: Tue, 10 Oct 2023 15:07:26 +0100 Subject: [PATCH] amend handler name --- service-api/app/config/routes.php | 4 ++-- ...ectHandler.php => OneLoginAuthorisationRequestHandler.php} | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename service-api/app/src/App/src/Handler/{AuthRedirectHandler.php => OneLoginAuthorisationRequestHandler.php} (94%) diff --git a/service-api/app/config/routes.php b/service-api/app/config/routes.php index e864e7e277..1fca8d5252 100644 --- a/service-api/app/config/routes.php +++ b/service-api/app/config/routes.php @@ -29,7 +29,7 @@ use Mezzio\Application; use Mezzio\MiddlewareFactory; use Psr\Container\ContainerInterface; -use App\Handler\AuthRedirectHandler; +use App\Handler\OneLoginAuthorisationRequestHandler; /** * Setup routes with a single request method: @@ -135,7 +135,7 @@ $app->patch('/v1/auth', AuthHandler::class, 'user.auth'); - $app->get('/v1/auth-one-login', AuthRedirectHandler::class, 'user.auth-one-login'); + $app->get('/v1/auth-one-login', OneLoginAuthorisationRequestHandler::class, 'user.auth-one-login'); $app->post('/v1/email-user/{emailTemplate}', NotifyHandler::class, 'lpa.user.notify'); }; diff --git a/service-api/app/src/App/src/Handler/AuthRedirectHandler.php b/service-api/app/src/App/src/Handler/OneLoginAuthorisationRequestHandler.php similarity index 94% rename from service-api/app/src/App/src/Handler/AuthRedirectHandler.php rename to service-api/app/src/App/src/Handler/OneLoginAuthorisationRequestHandler.php index 6763716c6d..a8a649cb93 100644 --- a/service-api/app/src/App/src/Handler/AuthRedirectHandler.php +++ b/service-api/app/src/App/src/Handler/OneLoginAuthorisationRequestHandler.php @@ -15,7 +15,7 @@ /** * @codeCoverageIgnore */ -class AuthRedirectHandler implements RequestHandlerInterface +class OneLoginAuthorisationRequestHandler implements RequestHandlerInterface { public function __construct( private OneLoginAuthorisationRequestService $authorisationRequestService,