<?php

namespace MintyPHP\Service\Auth;

use MintyPHP\Curl;

class OidcHttpGateway
{
    /**
     * @param array<string, string> $headers
     */
    public function call(string $method, string $url, mixed $data = '', array $headers = []): array
    {
        return Curl::call($method, $url, $data, $headers);
    }
}
