add Test Identity Controller and also MCP Controller ...

This commit is contained in:
2026-11-06 19:13:24 +03:30
parent 2c9b10f643
commit b26da81560
2 changed files with 34 additions and 5 deletions
+9 -5
View File
@@ -1,15 +1,15 @@
using xIdentityHelper;
using System.Threading;
using xCommons.Providers;
using Newtonsoft.Json.Linq;
using xAiService.Interfaces;
using System.Threading.Tasks;
using xAiService.Controllers;
using xCommons.Configurations;
using Microsoft.AspNetCore.Mvc;
using xIdentityService.Interfaces;
using Microsoft.Extensions.Logging;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
using xIdentityHelper;
using System.Threading.Tasks;
using Newtonsoft.Json.Linq;
using System.Threading;
namespace xAiMcpServer.Controllers
{
@@ -40,6 +40,10 @@ namespace xAiMcpServer.Controllers
CancellationToken cancellationToken = default
)
{
//
var userInfo = await GetUserInfo();
var connectionId = GetConnectionId();
//
var result = await base
.HandleMcp(