Change Requirements for Authorization and Authentication Handling ...

This commit is contained in:
2026-11-05 20:08:11 +03:30
parent e9a5e24943
commit 357bf221fa
8 changed files with 236 additions and 22 deletions
+5 -1
View File
@@ -13,6 +13,8 @@ namespace xAiService.Services
public string Name { get; set; }
public string Description { get; set; }
public JObject InputSchema { get; set; }
public string RequiredPolicy { get; set; }
public bool RequiresAuthentication { get; set; }
internal MethodInfo Method { get; set; }
internal Type DeclaringType { get; set; }
@@ -30,7 +32,9 @@ namespace xAiService.Services
Name = Name,
Description = Description,
InputSchema = InputSchema,
Execute = BuildExecute(serviceProvider)
RequiredPolicy = RequiredPolicy,
Execute = BuildExecute(serviceProvider),
RequiresAuthentication = RequiresAuthentication,
};
//