SearchModelFactory.McpServerAuthentication(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Authentication configuration for an MCP server knowledge source. Please note this is the abstract base class. The derived classes available for instantiation are: McpServerFoundryConnectionAuthentication and McpServerStoredHeadersAuthentication.
public static Azure.Search.Documents.Indexes.Models.McpServerAuthentication McpServerAuthentication(string kind = default);
static member McpServerAuthentication : string -> Azure.Search.Documents.Indexes.Models.McpServerAuthentication
Public Shared Function McpServerAuthentication (Optional kind As String = Nothing) As McpServerAuthentication
Parameters
- kind
- String
The kind of authentication to use.
Returns
A new McpServerAuthentication instance for mocking.