2026-03-05 08:26:51 +01:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace MintyPHP\Repository\Tenant;
|
|
|
|
|
|
2026-03-13 21:58:51 +01:00
|
|
|
/** Contract for storing and retrieving Microsoft Entra ID SSO configuration per tenant. */
|
2026-03-05 08:26:51 +01:00
|
|
|
interface TenantMicrosoftAuthRepositoryInterface
|
|
|
|
|
{
|
|
|
|
|
public function findByTenantId(int $tenantId): ?array;
|
|
|
|
|
|
|
|
|
|
public function listByTenantIds(array $tenantIds): array;
|
|
|
|
|
|
|
|
|
|
public function upsertByTenantId(int $tenantId, array $data): bool;
|
|
|
|
|
}
|