Phase D
Some checks failed
CI / Node — lint, typecheck, test, build (push) Failing after 9s
CI / Go — node-agent tests (push) Failing after 8s
CI / Go — edge-gateway build (push) Successful in 17s

This commit is contained in:
smueller
2026-06-26 14:03:57 +02:00
parent ed8334328e
commit 333ad1cc7d
31 changed files with 964 additions and 15 deletions

View File

@@ -85,6 +85,16 @@ final class HexaGameCloudApiClient
);
}
public function createServiceSso(string $externalServiceId, array $payload): array
{
return $this->request(
'POST',
'/api/v1/integrations/whmcs/services/' . rawurlencode($externalServiceId) . '/sso',
$payload,
'service:sso:' . $externalServiceId . ':' . ($payload['kind'] ?? 'service')
);
}
private function request(string $method, string $path, array $body = [], ?string $idempotencySuffix = null): array
{
$bodyJson = $body === [] ? '' : json_encode($body, JSON_THROW_ON_ERROR);