17 lines
319 B
PHP
17 lines
319 B
PHP
<?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);
|
|
}
|
|
}
|