14 lines
378 B
PHP
14 lines
378 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
namespace MintyPHP\Repository\Tenant;
|
||
|
|
|
||
|
|
/** Contract for storing and retrieving LDAP authentication configuration per tenant. */
|
||
|
|
interface TenantLdapAuthRepositoryInterface
|
||
|
|
{
|
||
|
|
public function findByTenantId(int $tenantId): ?array;
|
||
|
|
|
||
|
|
public function listByTenantIds(array $tenantIds): array;
|
||
|
|
|
||
|
|
public function upsertByTenantId(int $tenantId, array $data): bool;
|
||
|
|
}
|