refactor(arch): enforce gateway compliance and remove service-wrapping gateways
This commit is contained in:
@@ -6,6 +6,7 @@ use MintyPHP\Http\RequestRuntimeInterface;
|
||||
use MintyPHP\Repository\Auth\ApiTokenRepositoryInterface;
|
||||
use MintyPHP\Repository\Support\DatabaseSessionRepository;
|
||||
use MintyPHP\Repository\User\UserReadRepositoryInterface;
|
||||
use MintyPHP\Service\Tenant\TenantScopeService;
|
||||
|
||||
class ApiTokenService
|
||||
{
|
||||
@@ -15,7 +16,7 @@ class ApiTokenService
|
||||
private readonly UserReadRepositoryInterface $userReadRepository,
|
||||
private readonly ApiTokenRepositoryInterface $apiTokenRepository,
|
||||
private readonly AuthSettingsGateway $settingsGateway,
|
||||
private readonly AuthScopeGateway $scopeGateway,
|
||||
private readonly TenantScopeService $scopeGateway,
|
||||
private readonly DatabaseSessionRepository $databaseSessionRepository,
|
||||
private readonly RequestRuntimeInterface $requestRuntime
|
||||
) {
|
||||
|
||||
Reference in New Issue
Block a user