Change Requirements for Authorization and Authentication Handling ...
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user