Class
ToolAuthenticationConventions
IntelligenceX.Tools
Shared factories for common authentication contract patterns.
Inheritance
- object
- ToolAuthenticationConventions
Methods
public static ToolAuthenticationContract HostManaged(bool requiresAuthentication = true, bool supportsConnectivityProbe = false, string? probeToolName = null) #Creates a host-managed authentication contract (credentials resolved outside tool arguments).
Parameters
- requiresAuthentication bool = true
- supportsConnectivityProbe bool = false
- probeToolName string? = null
Returns
ToolAuthenticationContractpublic static ToolAuthenticationContract ProfileReference(string profileIdArgumentName = "auth_profile_id", bool requiresAuthentication = true, bool supportsConnectivityProbe = false, string? probeToolName = null) #Creates a profile-reference authentication contract.
Parameters
- profileIdArgumentName string = "auth_profile_id"
- requiresAuthentication bool = true
- supportsConnectivityProbe bool = false
- probeToolName string? = null
Returns
ToolAuthenticationContractpublic static ToolAuthenticationContract RunAsReference(string runAsProfileIdArgumentName = "run_as_profile_id", bool requiresAuthentication = true, bool supportsConnectivityProbe = false, string? probeToolName = null) #Creates a run-as profile-reference authentication contract.
Parameters
- runAsProfileIdArgumentName string = "run_as_profile_id"
- requiresAuthentication bool = true
- supportsConnectivityProbe bool = false
- probeToolName string? = null
Returns
ToolAuthenticationContract