<?php

declare(strict_types=1);

namespace App\Modules\Identity\Services;

use App\Modules\Identity\Support\OidcProviderConfig;

class OidcProviderService
{
    /**
     * @return array<int, OidcProviderConfig>
     */
    public function configuredProviders(): array
    {
        return [
            new OidcProviderConfig(
                providerKey: 'entra-default',
                driver: 'oidc',
                clientId: 'tenant-client-id',
                redirectUri: '/auth/oidc/entra-default/callback',
                scopes: ['openid', 'profile', 'email']
            ),
        ];
    }
}
