add Test Identity Controller and also MCP Controller ...
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user