<?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();
    }
}
