Files
breadcrumb-the-shire/lib/Service/Auth/AuthTenantSsoGateway.php
2026-02-23 12:58:19 +01:00

31 lines
747 B
PHP

<?php
namespace MintyPHP\Service\Auth;
class AuthTenantSsoGateway
{
public function __construct(private readonly TenantSsoService $tenantSsoService)
{
}
public function isLocalPasswordLoginAllowed(int $tenantId): bool
{
return $this->tenantSsoService->isLocalPasswordLoginAllowed($tenantId);
}
public function normalizeProfileSyncFields($fields): array
{
return $this->tenantSsoService->normalizeProfileSyncFields($fields);
}
public function defaultProfileSyncFields(): array
{
return $this->tenantSsoService->defaultProfileSyncFields();
}
public function microsoftProviderKey(): string
{
return $this->tenantSsoService->microsoftProviderKey();
}
}