refactor(arch): enforce gateway compliance and remove service-wrapping gateways
This commit is contained in:
@@ -4,13 +4,14 @@ namespace MintyPHP\Service\Auth;
|
||||
|
||||
use MintyPHP\Repository\Auth\ApiTokenRepository;
|
||||
use MintyPHP\Repository\Tenant\TenantRepository;
|
||||
use MintyPHP\Service\Tenant\TenantScopeService;
|
||||
|
||||
class ApiTokenEndpointService
|
||||
{
|
||||
public function __construct(
|
||||
private readonly ApiTokenRepository $apiTokenRepository,
|
||||
private readonly TenantRepository $tenantRepository,
|
||||
private readonly AuthScopeGateway $authScopeGateway
|
||||
private readonly TenantScopeService $authScopeGateway
|
||||
) {
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user